/*
Theme Name: H Prod
Theme URI: https://hprodstudio.com/
Author: H Prod
Description: Online video and photography studio for businesses.
Version: 1.0.0
Text Domain: hprod
*/

@font-face {
  font-family: "H Prod Display";
  src: url("assets/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "H Prod Text";
  src: url("assets/literata-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "H Prod Mono";
  src: url("assets/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #e7e1d6;
  --ink: #221e18;
  --lime: #e2ff57;
  --magenta: #c8365a;
  --monitor: #121417;
  --frame: #f6f3ec;
  --line: #c9c0b2;
  --muted: #6d675e;
  --display: "H Prod Display", "Iowan Old Style", Palatino, Georgia, serif;
  --text: "H Prod Text", "Iowan Old Style", Palatino, Georgia, serif;
  --mono: "H Prod Mono", Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; overflow-wrap: break-word; }
p { overflow-wrap: break-word; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}
.skip-link:focus { left: 8px; top: 8px; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.slate { background: var(--monitor); color: #f4f0e8; }
.slate-top {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px 0 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
}
.brand-name { font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; }
.brand-bay {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b7b1a6;
}
.slate-meta {
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9d3c7;
}
.slate-tools { display: flex; align-items: center; gap: 8px; }
.search-form { display: flex; }
.search-form input {
  width: 148px;
  background: transparent;
  color: #f4f0e8;
  border: 1px solid #3c4046;
  padding: 8px 10px;
  font: 13px var(--mono);
}
.search-form button,
.menu-btn,
.scene button {
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}
.menu-btn { display: none; }
.edge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.sprockets {
  width: 78px;
  height: 46px;
  flex: none;
  background: radial-gradient(circle, var(--ink) 3px, transparent 3.5px) 8px 50% / 16px 16px repeat-x;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 12px 8px 12px 0;
}
.site-nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--magenta); }

.board { padding: 28px 0 8px; }
.board-frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 8px 10px 0;
}
.frame {
  position: relative;
  min-height: 230px;
  background: var(--frame);
  border: 1px solid var(--ink);
  padding: 16px 16px 14px;
  box-shadow: 7px 7px 0 var(--lime);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.frame-shift { margin-top: 16px; box-shadow: 7px 7px 0 var(--magenta); }
.frame-nudge { margin-top: 7px; }
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--ink);
  border-style: solid;
}
.frame::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.frame::after { right: 8px; bottom: 8px; border-width: 0 2px 2px 0; }
.frame-no { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; }
.frame-cap { margin: 12px 0 0; font-family: var(--mono); font-size: 13px; }
.call, .finder { margin: 18px 8px; }
.call {
  border: 1px solid var(--ink);
  min-height: 92px;
  display: grid;
  grid-template-columns: 28px 28px 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px;
}
.call span { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); border: 1px solid var(--ink); }
.call span:nth-child(2) { background: var(--magenta); }
.call p { margin: 0; font-family: var(--mono); font-size: 13px; }
.finder {
  width: 112px;
  height: 84px;
  border: 1px solid var(--ink);
  position: relative;
}
.finder::before,
.finder::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--magenta);
}
.finder::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.finder::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
.files { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.files li {
  border: 1px solid var(--ink);
  padding: 6px 8px;
  font-family: var(--mono);
  font-size: 13px;
  background: var(--lime);
}
.files li:nth-child(2) { background: transparent; margin-left: 14px; }
.stamp {
  position: absolute;
  top: 46px;
  right: 18px;
  border: 1.5px solid var(--magenta);
  color: var(--magenta);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 6px;
  transform: rotate(-8deg);
}
.board h1 {
  margin: 26px 0 0;
  font-size: clamp(42px, 6.4vw, 78px);
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.markline { display: block; width: min(280px, 46%); height: 16px; margin: 6px 0 14px; }
.lede { max-width: 64ch; }
.lede p { font-size: 1.12rem; }

.bay-section { padding: 18px 0 10px; }
.bay {
  display: grid;
  grid-template-columns: 1.4fr 0.72fr;
  gap: 34px;
  align-items: start;
}
.bay h2, .sheet h2, .roll h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
}
.shots { list-style: none; margin: 0; padding: 0; }
.shots li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.tc { font-family: var(--mono); color: var(--magenta); font-size: 14px; padding-top: 6px; }
.shots h3 { margin: 0 0 4px; font-size: 28px; }
.shots p { margin: 0; color: var(--ink); }
.monitor {
  position: sticky;
  top: 16px;
  background: var(--monitor);
  color: #f4f0e8;
  padding: 22px 20px 10px;
  border-radius: 22px 8px 28px 12px;
}
.monitor-label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.monitor ul { list-style: none; margin: 0; padding: 0; }
.monitor li {
  padding: 14px 0;
  border-top: 1px solid #2e3338;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.15;
}

.sheet { padding: 28px 0 8px; }
.sheet-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
}
.sheet-grid a {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  background: var(--frame);
  border: 1px solid var(--ink);
  padding: 12px;
}
.sheet-grid a:hover { background: var(--lime); }
.sheet-no { font-family: var(--mono); font-size: 12px; }
.sheet-name { font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 0.95; }

.roll { padding: 28px 0 36px; }
.roll-list { margin-top: 8px; }
.roll-row {
  display: grid;
  grid-template-columns: 92px 88px minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.roll-frame {
  width: 92px;
  height: 60px;
  background: var(--monitor);
  color: var(--lime);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--mono);
  text-decoration: none;
}
.roll-frame img { width: 100%; height: 100%; object-fit: cover; }
.roll-row time { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.roll-row h2 { margin: 0; font-size: 1.55rem; }
.roll-row h2 a { text-decoration: none; }
.roll-row h2 a:hover { color: var(--magenta); }
.roll-cat { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.blank-frame {
  margin-top: 12px;
  min-height: 92px;
  border: 1px dashed var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  text-align: center;
  padding: 16px;
}
.pager { margin: 16px 0 0; font-family: var(--mono); font-size: 14px; }
.pager a, .pager span { margin-right: 12px; }

.scene { padding: 28px 0 70px; }
.scene-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.scene h1 { margin: 8px 0 12px; font-size: clamp(36px, 5vw, 64px); max-width: 18ch; }
.scene-inner { max-width: 760px; }
.entry-content h2 { font-size: 32px; margin: 1.4em 0 0.4em; }
.entry-content h3 { font-size: 24px; }
.entry-content a { text-underline-offset: 3px; }
.featured { margin: 12px 0 18px; border: 1px solid var(--ink); }
.meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.scene form { display: grid; gap: 12px; max-width: 520px; margin-top: 8px; }
.scene input, .scene textarea {
  width: 100%;
  background: var(--frame);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px;
  font: 16px var(--text);
}

.foot { background: var(--lime); color: var(--ink); padding: 34px 0 16px; }
.foot-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h2 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot p { margin: 0; max-width: 36ch; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 6px; }
.foot a { text-decoration: none; }
.foot a:hover { box-shadow: inset 0 -2px 0 var(--ink); }
.legal { margin: 22px auto 0; font-family: var(--mono); font-size: 12px; }

@media (max-width: 980px) {
  .sheet-grid { grid-template-columns: repeat(3, 1fr); }
  .bay { grid-template-columns: 1fr; }
  .monitor { position: static; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .slate-meta { display: none; }
  .slate-top { grid-template-columns: 1fr auto; }
  .edge { display: none; }
  .edge.is-open { display: block; }
  .sprockets { display: none; }
  .site-nav ul { flex-direction: column; align-items: flex-start; padding: 8px 16px 16px; }
  .board-frames { grid-template-columns: 1fr; }
  .frame, .frame-shift, .frame-nudge { margin-top: 0; }
  .sheet-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-row { grid-template-columns: 1fr; }
  .roll-row { grid-template-columns: 72px minmax(0, 1fr); }
  .roll-frame { width: 72px; height: 52px; }
  .roll-row time, .roll-cat { grid-column: 2; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap, .slate-top { width: min(1120px, calc(100% - 28px)); }
  .brand-bay { display: none; }
  .search-form input { width: 92px; }
  .shots li { grid-template-columns: 1fr; gap: 2px; }
  .sheet-grid { grid-template-columns: 1fr 1fr; }
  .board h1 { font-size: 40px; }
}
