/* ==========================================================================
   Tom Brady — Street Photography
   Design system: pure monochrome, editorial grid, numbered orderliness.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #141311;
  --ink-soft: #35332e;
  --paper: #f5f2ea;
  --paper-alt: #ece8dd;
  --gray-700: #55524a;
  --gray-400: #928d80;
  --gray-200: #d9d4c6;
  --line: #c9c3b3;
  --white: #fffdf8;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1400px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 92px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

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

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Plain uppercase tag — no number, no rule. Used for page-type labels. */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.section--ink .eyebrow { color: var(--gray-200); }

/* Numbered chapter label — italic index number + short underline beneath the
   text itself (not a rule spanning the section). */
.section-label {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.section-label .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}
.section-label .text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}
.section--ink .section-label .num { color: var(--gray-400); }
.section--ink .section-label .text { color: var(--paper); border-bottom-color: rgba(245,242,234,0.45); }

.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--alt { background: var(--paper-alt); }
.section--ink { background: var(--ink); color: var(--paper); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--ease) .25s, color var(--ease) .25s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn:hover { background: var(--paper); color: var(--ink); }
.btn--ghost { border-color: rgba(20,19,17,0.3); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity var(--ease) .2s;
}
.link-arrow:hover { opacity: 0.6; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--ease) .3s, height var(--ease) .3s, border-color var(--ease) .3s;
  border-bottom: 1px solid transparent;
}
.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header {
  background: var(--ink);
  color: var(--paper);
}
.site-header.is-scrolled {
  height: 68px;
  border-bottom-color: rgba(245,242,234,0.12);
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right var(--ease) .3s;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 200;
}
.nav-toggle span {
  height: 1px;
  background: currentColor;
  transition: transform var(--ease) .3s, opacity var(--ease) .3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform var(--ease) .4s;
    z-index: 150;
  }
  body.nav-open .main-nav { transform: translateY(0); }
  .main-nav a { font-size: 20px; font-family: var(--font-display); text-transform: none; letter-spacing: 0.02em; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero (split editorial layout, not a full-bleed slideshow) ---------- */
.hero-split {
  padding: calc(var(--header-h) + 56px) 0 clamp(48px, 8vw, 96px);
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-split-grid { grid-template-columns: 1fr; }
}
.hero-split-text .eyebrow { margin-bottom: 26px; }
.hero-split-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
  max-width: 14ch;
}
.hero-split-title em { font-style: italic; font-weight: 400; }
.hero-split-lede {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 46ch;
}
.hero-split-text .link-arrow { margin-top: 32px; }

.hero-split-media {
  margin: 0;
  border: 1px solid var(--line);
  padding: 14px;
}
.hero-split-media .frame {
  overflow: hidden;
}
.hero-split-media img {
  width: 100%; height: auto;
  display: block;
  filter: contrast(1.05);
}
.hero-split-media figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .hero-split-media { max-width: 420px; }
}

/* ---------- About teaser (homepage) ---------- */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .about-teaser-grid { grid-template-columns: 1fr; }
}
.about-teaser-media {
  margin: 0;
  overflow: hidden;
}
.about-teaser-media img {
  width: 100%; height: auto;
  display: block;
  filter: contrast(1.05);
}
.about-teaser-copy .section-label { margin-bottom: 28px; }
.about-teaser-copy .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.45;
  color: var(--ink);
}
.about-teaser-copy p.body {
  margin-top: 24px;
  font-size: 16px;
  color: var(--gray-700);
  max-width: 52ch;
}
.about-teaser-copy .link-arrow { margin-top: 28px; }

/* ---------- Section heading row ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.section-head .section-label { margin-bottom: 18px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter) 40px;
}
@media (max-width: 620px) { .work-grid { grid-template-columns: 1fr; } }

.work-card { display: block; }
.work-card-frame {
  position: relative;
  overflow: hidden;
  background: var(--gray-200);
}
.work-card-frame img {
  width: 100%; height: auto;
  display: block;
  filter: contrast(1.05);
  transition: transform 1s var(--ease), filter 1s var(--ease);
}
.work-card:hover .work-card-frame img { transform: scale(1.04); filter: contrast(1.08); }

.work-card-meta { margin-top: 20px; }
.work-card-meta-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.work-card-meta .idx {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}
.work-card-meta h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.work-card-meta h3::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right var(--ease) .35s;
}
.work-card:hover .work-card-meta h3::after { right: 0; }
.work-card-arrow {
  margin-left: auto;
  font-size: 15px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--ease) .3s, transform var(--ease) .3s;
}
.work-card:hover .work-card-arrow { opacity: 1; transform: translateX(0); }
.work-card-meta p {
  font-size: 13px;
  color: var(--gray-700);
  margin-top: 6px;
}

/* ---------- Prints notice (Prints page) ---------- */
.prints-notice {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.prints-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0 0 40px;
}
.prints-example {
  margin: 0;
  width: 220px;
  border: 1px solid var(--line);
  padding: 14px;
}
.prints-example img {
  width: 100%; height: auto;
  display: block;
  filter: contrast(1.05);
  cursor: zoom-in;
  transition: opacity var(--ease) .2s;
}
.prints-example img:hover { opacity: 0.85; }
@media (max-width: 560px) { .prints-example { width: 68vw; max-width: 260px; } }
.prints-notice .lede { font-size: 17px; color: var(--gray-700); margin-bottom: 28px; }
.prints-notice .btn { display: inline-flex; }

/* ---------- Spotlight ---------- */
.spotlight {
  position: relative;
  height: 80vh;
  min-height: 480px;
  max-height: 820px;
  overflow: hidden;
}
.spotlight img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}
.spotlight::after {
  content: '';
  position: absolute; inset: 0;
  /* Layered so text stays legible over any photo: a strong dark base behind the
     quote, plus a light wash across the whole frame so bright skies never blow
     out the contrast entirely. */
  background: linear-gradient(0deg,
    rgba(20,19,17,0.82) 0%,
    rgba(20,19,17,0.5) 38%,
    rgba(20,19,17,0.2) 68%,
    rgba(20,19,17,0.32) 100%);
}
.spotlight-quote {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--gutter);
  padding-top: calc(var(--gutter) * 2);
  max-width: 900px;
  /* A dedicated dark panel behind the text itself, not just a gradient over the
     photo — guarantees contrast regardless of what's in that part of the image. */
  background: linear-gradient(0deg,
    rgba(20,19,17,0.88) 0%,
    rgba(20,19,17,0.88) 65%,
    rgba(20,19,17,0.6) 88%,
    rgba(20,19,17,0) 100%);
}
.spotlight-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--paper);
  line-height: 1.4;
  text-shadow: 0 2px 16px rgba(20,19,17,0.55);
}
.spotlight-quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-200);
  text-shadow: 0 1px 8px rgba(20,19,17,0.55);
}

/* ---------- CTA / newsletter ---------- */
.cta { text-align: center; }
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta .section-title { margin: 20px 0 16px; }
.cta p.lede { color: var(--gray-200); margin-bottom: 40px; }
.cta-form {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(245,242,234,0.35);
  padding-bottom: 14px;
}
.cta-form input {
  flex: 1;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 15px;
  padding: 8px 4px;
}
.cta-form input::placeholder { color: var(--gray-400); }
.cta-form input:focus { outline: none; }
.cta-form:focus-within { border-bottom-color: var(--paper); }
.cta-note { margin-top: 18px; font-size: 12px; color: var(--gray-400); }
@media (max-width: 520px) { .cta-form { flex-direction: column; gap: 16px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { color: var(--gray-700); max-width: 34ch; font-size: 14px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; transition: color var(--ease) .2s; }
.footer-col a:hover { color: var(--gray-700); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { display: flex; }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding: calc(var(--header-h) + 72px) 0 64px;
}
.page-head--compact {
  padding: calc(var(--header-h) + 40px) 0 32px;
}
.page-head .eyebrow { margin-bottom: 22px; display: block; }
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  max-width: 16ch;
}
.page-head .lede {
  margin-top: 24px;
  max-width: 60ch;
  font-size: 17px;
  color: var(--gray-700);
}

/* ---------- Theme gallery page ---------- */
.theme-intro {
  position: relative;
  height: 38vh;
  min-height: 320px;
  max-height: 480px;
  overflow: hidden;
  margin-top: var(--header-h);
}
.theme-intro img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.theme-intro::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,19,17,0.75) 0%, rgba(20,19,17,0.05) 55%);
}
.theme-intro-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--gutter);
  color: var(--paper);
}
.theme-intro-content .section-label { margin-bottom: 18px; }
.theme-intro-content .section-label .num { color: var(--gray-200); }
.theme-intro-content .section-label .text { color: var(--paper); border-bottom-color: rgba(245,242,234,0.4); }
.theme-intro-content h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 72px);
}

.theme-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.theme-meta div { max-width: 46ch; }
.theme-meta h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.theme-meta p { font-size: 15px; color: var(--ink-soft); }

/* Natural aspect ratio throughout — images are never cropped, only laid out.
   Every photo keeps its own proportions; only the column width is fixed. */
.theme-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}
.theme-gallery figure { margin: 0; }
.theme-gallery img {
  width: 100%; height: auto;
  display: block;
  filter: contrast(1.05);
  cursor: zoom-in;
  transition: opacity var(--ease) .2s;
}
.theme-gallery img:hover { opacity: 0.85; }
.theme-gallery figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}
.tg-feature { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .theme-gallery { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20,19,17,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 6vw, 64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease) .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
body.lightbox-open { overflow: hidden; }
.lightbox-content {
  max-width: 1300px;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  color: var(--gray-200);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  text-align: center;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid rgba(245,242,234,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: border-color var(--ease) .2s, background var(--ease) .2s;
}
.lightbox-close:hover,
.lightbox-nav:hover { border-color: var(--paper); background: rgba(245,242,234,0.08); }
.lightbox-close {
  top: 20px; right: 20px;
  width: 44px; height: 44px;
}
.lightbox-close svg { width: 16px; height: 16px; }
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
}
.lightbox-nav svg { width: 18px; height: 18px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: var(--gray-400);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

.theme-nav {
  margin-top: 96px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.theme-nav a { max-width: 45%; }
.theme-nav .dir {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.theme-nav .name {
  font-family: var(--font-display);
  font-size: 22px;
}
.theme-nav .next { text-align: right; }

/* ---------- About page ---------- */
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }
.about-side { position: sticky; top: calc(var(--header-h) + 40px); }
.about-portrait { border: 1px solid var(--line); padding: 14px; }
.about-portrait img { width: 100%; height: auto; display: block; filter: contrast(1.05); }
@media (max-width: 860px) { .about-side { position: static; } }

.vital-stats { margin-top: 28px; }
.vital-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.vital-stat dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.vital-stat dd { margin: 0; font-size: 14px; color: var(--ink-soft); text-align: right; }

.about-copy p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 62ch;
}
.about-copy .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink);
  margin: 36px 0;
  padding-left: 24px;
  border-left: 2px solid var(--ink);
}

.info-grid {
  margin-top: 24px;
}
@media (max-width: 620px) { .info-grid { grid-template-columns: 1fr; } }
.info-list { display: flex; flex-direction: column; }
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-row .year { color: var(--gray-400); font-variant-numeric: tabular-nums; flex: 0 0 60px; }
.info-row .what { flex: 1; }
.info-row .where { color: var(--gray-700); text-align: right; }
@media (max-width: 600px) {
  .info-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .info-row .where { text-align: left; }
}

.process-list { margin-top: 24px; display: flex; flex-direction: column; gap: 36px; }
.process-item { display: flex; gap: 20px; }
.process-item .idx {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--gray-400);
  flex: 0 0 28px;
  padding-top: 2px;
}
.process-item p {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Contact page ---------- */
.contact-single { max-width: 480px; }
.contact-single p.lede { font-size: 17px; color: var(--gray-700); margin-bottom: 28px; max-width: 50ch; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.form-row input,
.form-row textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  resize: vertical;
  transition: border-color var(--ease) .2s;
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
button.btn { appearance: none; -webkit-appearance: none; background: none; font-family: inherit; cursor: pointer; }
.form-status { min-height: 18px; font-size: 13px; color: var(--gray-700); margin: -8px 0 0; }

.contact-single .note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--gray-400);
}
.contact-single .note a { color: inherit; text-decoration: underline; }

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--gutter);
}
.not-found .big {
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 200px);
  line-height: 1;
  color: var(--gray-200);
}
.not-found h1 { font-family: var(--font-display); font-size: 28px; margin-top: 8px; }
.not-found p { color: var(--gray-700); margin: 18px 0 32px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
