/*
Theme Name: Cooper
Theme URI: https://kirkcooper.us
Author: Kirk Cooper
Description: One-page portfolio for Kirk Cooper. Warm editorial layout, seafoam accents, and a large monochrome portrait.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: cooper
*/

:root {
  --ink: #131416;
  --hero: #111214;
  --paper: #f7f7f3;
  --paper-2: #eeefea;
  --white: #ffffff;
  --line: #d5d7d0;
  --muted: #5e6260;
  --muted-dark: #b4b7b3;
  --sea: #78c8c3;
  --sea-deep: #3f7f7b;
  --sea-text: #467f7b;
  --focus: #3f7f7b;
  --radius: 5px;
  --serif: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --header: 76px;
  --wrap: 1160px;
  --wide: 1200px;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: #d7efed; color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header) + 12px); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--sea);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip:focus { top: 0.6rem; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), calc(100% - 2rem)); }

.eyebrow,
.availability,
.hero-kicker,
.hero-meta,
.service-no,
.caps,
.work-count,
.project-domain,
.subhead,
.footer-tag {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--sea-deep);
  font-size: 0.72rem;
}
.eyebrow-light { color: var(--sea); }
h2.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #dedfd9;
}
.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.monogram {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.08em;
  line-height: 1;
}
.monogram span { color: var(--sea-deep); }
.monogram i { font-style: normal; color: #6b716d; }
.mark-role {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.25;
}
.mark-role span { color: #7b807c; letter-spacing: 0.12em; }
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav-link {
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #575b58;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover,
.nav-link[aria-current="true"] { color: var(--ink); }
.nav-link[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--sea-deep); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.95rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--sea); color: var(--ink); }
.nav-toggle,
.nav-button { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 760px;
  background: var(--hero);
  color: #f7f7f3;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62vw, 860px);
  z-index: 0;
}
.portrait-frame { position: relative; width: 100%; height: 100%; }
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #111214 0%, rgba(17, 18, 20, 0.82) 16%, rgba(17, 18, 20, 0.28) 42%, rgba(17, 18, 20, 0.05) 68%),
    linear-gradient(180deg, rgba(17, 18, 20, 0.25), transparent 16%, transparent 78%, #111214);
}
.hero-portrait {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 16%;
  filter: grayscale(1) contrast(1.06);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 5.2rem 0 4.6rem;
}
.hero .lede,
.hero .hero-actions,
.hero h1,
.hero .hero-positioning,
.hero .availability,
.hero .hero-kicker,
.hero .hero-meta { max-width: 34rem; }
.availability {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  color: var(--muted-dark);
  font-size: 0.68rem;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 0 4px rgba(120, 200, 195, 0.22);
}
.hero-kicker {
  margin: 0 0 0.9rem;
  color: var(--sea);
  font-size: 0.68rem;
}
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.4rem, 8.4vw, 7.6rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.84;
}
.hero h1 span { display: inline; }
.hero-positioning {
  margin: 1.15rem 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.hero-positioning em { font-style: italic; color: var(--sea); }
.lede {
  margin-top: 1.15rem;
  color: #c1c4c0;
  font-size: 1.02rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-meta { margin-top: 1.15rem; color: #9aa09b; font-size: 0.68rem; }
.hero-meta + .hero-meta { margin-top: 0.45rem; }
.text-link {
  color: #f6f7f3;
  text-underline-offset: 0.22em;
}
.text-link:hover { color: var(--sea); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  background: transparent;
}
.btn-sea { background: var(--sea); color: var(--ink); }
.btn-sea:hover { background: #a6ded9; }
.btn-ghost { color: #f7f7f3; border-color: rgba(247, 247, 243, 0.45); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2d2c; }

.stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}
.stats-brand {
  margin: 0.15rem 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}
.stats-grid { margin: 0; display: grid; gap: 1.25rem; }
.stats-grid div { margin: 0; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.stats-grid dt {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.stats-grid dd { margin: 0.4rem 0 0; max-width: 14rem; color: #696e69; font-size: 0.95rem; }

.section { padding: 4.75rem 0; }
.section-services { background: var(--paper-2); }
.section-tight { padding-top: 0.5rem; background: var(--paper-2); }
.section h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}
.section-lead { max-width: 40rem; margin-top: 0.9rem; color: #626762; font-size: 1rem; }
.section-head { margin-bottom: 1.8rem; }
.subhead { margin: 2.2rem 0 0.9rem; color: var(--sea-deep); font-size: 0.72rem; }
.prose { max-width: 65ch; }
.prose p + p { margin-top: 1rem; }
.section-cta { margin-top: 1.6rem; }

.about-grid { display: grid; gap: 1.6rem; }
.about-photo { margin: 0; max-width: 240px; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.about-photo figcaption {
  margin-top: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--sea-text);
}

.values { display: grid; gap: 1rem; }
.values article { padding-top: 0.9rem; border-top: 1px solid var(--line); }
.values h4 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.values p { margin: 0; color: var(--muted); }

.services { display: grid; gap: 0.9rem; }
.service {
  background: #fff;
  border: 1px solid #d1d4cd;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
}
.service h3 { margin: 0.35rem 0 0.45rem; font-size: 1.35rem; }
.service p { margin: 0; color: #626762; }
.service .caps { color: var(--sea-text); margin-top: 0.8rem; }
.service-no { margin: 0; color: var(--sea-deep); font-size: 0.72rem; }
.caps { font-size: 0.75rem; letter-spacing: 0.03em; line-height: 1.55; text-transform: none; }

.tool-band { margin-top: 2.4rem; padding: 1.6rem 0 1.8rem; }
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tools li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.45rem 0.8rem 0.45rem 0.55rem;
  background: #fff;
  border: 1px solid #d1d4cd;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--sea-deep);
}
.tool-icon svg { width: 22px; height: 22px; display: block; }

.work-tools { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin-bottom: 0.75rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border: 1px solid #c9cdc5;
  border-radius: var(--radius);
  background: transparent;
  color: #616761;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter:hover { border-color: var(--sea-deep); }
.search-label { flex: 1 1 200px; margin-left: auto; max-width: 260px; }
.search-label input {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.work-count { margin: 0 0 1rem; color: #7a817b; font-size: 0.72rem; }
.project-grid { display: grid; gap: 1.15rem; }
.project-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #d1d4cd;
  border-radius: var(--radius);
  overflow: hidden;
}
.project-link:hover { border-color: #aeb5ae; }
.project-media {
  position: relative;
  display: block;
  aspect-ratio: 1200 / 780;
  overflow: hidden;
  background: #e8eae5;
}
.project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}
.project-media--empty {
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: var(--hero);
  color: #f7f7f3;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-body { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.9rem 1rem 1rem; }
.project-domain { color: var(--sea-deep); font-size: 0.68rem; }
.project-title { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.04em; line-height: 1.15; }
.project-meta { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 0.3rem; color: var(--muted); font-size: 0.9rem; }
.project-go { color: var(--sea-deep); font-weight: 600; white-space: nowrap; }
.project[hidden] { display: none; }
.work-empty { margin-top: 1rem; }
.work-note { margin-top: 1.15rem; color: #7e857f; font-size: 0.92rem; }

.industry-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.industry-list li {
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.process li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
}
.process h3 { margin: 0.4rem 0 0.3rem; font-size: 1.45rem; }
.step-kicker { font-weight: 600; color: var(--sea-text); }
.process li p:last-child { margin-top: 0.35rem; color: var(--muted); }

.faq-wrap { max-width: 800px; }
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--sea-deep); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { margin: 0; font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.faq details p { margin: 0 0 1.05rem; max-width: 65ch; color: var(--muted); }
.faq a { color: var(--sea-deep); }

.contact { background: #171819; color: #f7f7f3; padding: 4.6rem 0 3.2rem; }
.contact h2 { color: #f7f7f3; max-width: 14ch; }
.section-lead.light { color: #b2b6b1; }
.contact-grid { display: grid; gap: 2rem; }
.contact-list { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.contact-list a { color: #fff; text-underline-offset: 0.18em; }
.contact-list li:last-child { color: #b2b6b1; margin-top: 0.35rem; }
.wa-link { display: inline-flex; align-items: center; gap: 0.45rem; }
.wa-link svg { width: 18px; height: 18px; color: #25d366; flex: none; }
.form-card {
  background: #202222;
  color: #f7f7f3;
  border: 1px solid #454947;
  border-radius: var(--radius);
  padding: 1.35rem;
}
.form-card h3 { margin: 0 0 0.4rem; font-size: 1.7rem; color: #f7f7f3; }
.form-card > p { color: #b2b6b1; margin-bottom: 1rem; }
.field { margin-bottom: 0.85rem; }
.field label { display: block; margin-bottom: 0.35rem; font-size: 0.82rem; font-weight: 600; color: #b2b6b1; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #4b514d;
  border-radius: var(--radius);
  background: #151616;
  color: #f7f7f3;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--sea); outline: 2px solid rgba(120, 200, 195, 0.35); outline-offset: 1px; }
.field select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, #f7f7f3 50%), linear-gradient(135deg, #f7f7f3 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-card .btn { width: 100%; background: var(--sea); color: var(--ink); }
.form-card .btn:hover { background: #a6ded9; }
.form-note { margin-top: 0.8rem; color: #8e958f; font-size: 0.88rem; }
.form-note a { color: var(--sea); }
.notice { padding: 0.85rem 0.9rem; margin: 0 0 1rem; border-radius: var(--radius); }
.notice a { color: inherit; }
.notice-ok { background: #e7f4f2; color: #14332f; }
.notice-bad { background: #f8e8e4; color: #5c2418; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-footer { background: #111212; color: #a4aaa4; padding: 0 0 2rem; }
.footer-grid {
  display: grid;
  gap: 1.4rem;
  padding-top: 2rem;
  border-top: 1px solid #303331;
}
.footer-name { margin: 0; font-family: var(--serif); font-size: 1.8rem; color: #f7f7f3; letter-spacing: -0.04em; }
.footer-tag { margin-top: 0.3rem; color: var(--sea); font-size: 0.66rem; }
.footer-line { margin-top: 0.7rem; max-width: 28ch; }
.footer-links { display: grid; gap: 0.15rem; align-content: start; }
.footer-links a { color: #f7f7f3; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #303331;
  font-size: 0.88rem;
}
.footer-base a { color: #f7f7f3; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(19, 20, 22, 0.28);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #1ebe5d; }

.prose-page { padding: 3.5rem 0 5rem; }
.prose-page h1 { margin: 0 0 1rem; font-size: clamp(2.4rem, 6vw, 4rem); }
.prose-page h2 { margin: 2rem 0 0.55rem; font-size: 1.5rem; }
.reading { max-width: 68ch; }
.reading p { margin: 0.8rem 0; }
.reading a { color: var(--sea-deep); }
.reading ul { margin: 0.4rem 0 0.8rem; padding-left: 1.1rem; color: var(--muted); }

@media (min-width: 700px) {
  .wrap { width: min(var(--wrap), calc(100% - 3rem)); }
  .wrap.wrap-wide { width: min(var(--wide), calc(100% - 3rem)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { padding: 1.7rem; }
  .form-card .btn { width: auto; }
}

@media (min-width: 900px) {
  .hero-copy { padding: 6rem 0 5rem; }
  .about-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 4rem; align-items: start; }
  .stats-grid,
  .values,
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid,
  .footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 3rem; align-items: start; }
  .section { padding: 6.2rem 0; }
  .section-tight { padding-top: 0; }
}

@media (min-width: 1100px) {
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .mark-role { display: none; }
  .nav-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
  }
  .nav-button-lines,
  .nav-button-lines::before,
  .nav-button-lines::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    position: relative;
  }
  .nav-button-lines::before,
  .nav-button-lines::after { content: ""; position: absolute; left: 0; }
  .nav-button-lines::before { top: -6px; }
  .nav-button-lines::after { top: 6px; }
  .nav-toggle {
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    right: 0;
    margin: 0;
    opacity: 0;
  }
  .nav-toggle:focus-visible + .nav-button { outline: 2px solid var(--focus); outline-offset: 3px; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.45rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-cta { justify-content: center; margin-top: 0.35rem; }
  .search-label { max-width: none; margin-left: 0; flex-basis: 100%; }
  .hero { min-height: 0; }
  .hero-art { position: relative; width: 100%; height: 78vw; min-height: 320px; max-height: 520px; }
  .portrait-frame::before {
    background: linear-gradient(180deg, rgba(17, 18, 20, 0.05), rgba(17, 18, 20, 0.2) 40%, #111214 96%);
  }
  .hero-copy { padding: 0.2rem 0 2.6rem; margin-top: -3.2rem; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 4.6rem); }
  .hero-actions { padding-right: 4.25rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header,
  .hero-actions,
  .work-tools,
  .form-card,
  .wa-float,
  .nav-button { display: none !important; }
  .hero,
  .contact,
  .site-footer { background: #fff; color: #000; }
  .hero-portrait { filter: grayscale(1); }
}
