/* =========================================================
   Darnell Delivers — site styles
   Palette pulled from the Darnell Delivers business cards
   ========================================================= */

:root {
  /* Brand */
  --sand: #dfd0bb;          /* card background */
  --sand-soft: #c9b89f;
  --sand-dim: #9c8c78;
  --brown: #4a3b2e;         /* card text + rules */
  --brown-light: #6e5846;

  /* Dark base */
  --ink: #120e0b;           /* page background */
  --espresso: #1a1410;      /* alt sections */
  --roast: #231b15;         /* cards / raised */
  --line: rgba(223, 208, 187, 0.16);
  --line-strong: rgba(223, 208, 187, 0.32);

  --text: #e9dfd0;
  --text-muted: #b3a491;

  /* Type */
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-serif: "Newsreader", "Georgia", serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--sand); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--sand); color: var(--ink);
  padding: 10px 16px; z-index: 200; font-family: var(--font-sans);
}
.skip-link:focus { left: 12px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
  color: var(--sand);
}

h1 { font-size: clamp(44px, 8.4vw, 124px); }
h2 { font-size: clamp(34px, 5.2vw, 72px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; }

.eyebrow {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 700;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--sand-soft);
  display: inline-block;
}

.rule-double {
  height: 5px;
  border-top: 1px solid var(--brown-light);
  border-bottom: 1px solid var(--brown-light);
  width: 100%;
}

.lede {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  color: var(--text);
  max-width: 34ch;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-stretch: 115%;
  font-variation-settings: "wdth" 115;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  padding: 18px 28px;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary { background: var(--sand); color: var(--ink); }
.btn-primary:hover { background: transparent; color: var(--sand); }

.btn-ghost { background: transparent; color: var(--sand); }
.btn-ghost:hover { background: var(--sand); color: var(--ink); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--sand);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease);
}
.text-link:hover { border-color: var(--sand); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(18, 14, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: 19px;
  color: var(--sand);
  letter-spacing: 0;
}

.brand-sub {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 8.5px;
  color: var(--sand-dim);
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid var(--brown-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--sand); }

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: var(--sand);
}

.nav-cta { padding: 14px 20px; font-size: 11.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--sand);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--ink);
    padding: 40px var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 36px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    overflow-y: auto;
  }
  .nav-open .nav-menu { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 26px; }
  .nav-links a { font-size: 22px; letter-spacing: 0.08em; font-weight: 800; color: var(--sand); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-cta { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 901px) {
  .nav-menu { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(110, 88, 70, 0.35), transparent 60%),
    radial-gradient(90% 70% at 10% 90%, rgba(74, 59, 46, 0.5), transparent 70%),
    var(--espresso);
}

.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,14,11,0.72) 0%, rgba(18,14,11,0.35) 55%, rgba(18,14,11,0.15) 100%),
    linear-gradient(180deg, rgba(18,14,11,0.6) 0%, rgba(18,14,11,0.3) 40%, rgba(18,14,11,0.94) 100%);
}

/* Placeholder frame until the hero reel exists */
.video-placeholder {
  position: absolute;
  inset: 96px var(--gutter) 24px var(--gutter);
  z-index: -1;
  border: 1px solid var(--line);
  display: grid;
  place-items: start end;
  padding: 22px 26px;
  text-align: right;
  color: var(--sand-dim);
  background:
    repeating-linear-gradient(135deg, rgba(223,208,187,0.03) 0 2px, transparent 2px 16px);
}

.video-placeholder::before,
.video-placeholder::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--sand);
  border-style: solid;
}
.video-placeholder::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.video-placeholder::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.video-placeholder .rec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.video-placeholder .rec::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #b4533c;
  animation: blink 1.6s infinite;
}
.video-placeholder small {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

@keyframes blink { 50% { opacity: 0.2; } }

.hero-content { position: relative; width: 100%; }

.hero h1 { font-size: clamp(32px, 4.6vw, 68px); max-width: 22ch; }

.hero .rule-double { margin: clamp(22px, 3vw, 34px) 0 18px; max-width: 760px; }

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 8vw, 100px);
  writing-mode: vertical-rl;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--sand-dim);
}

@media (max-width: 900px) {
  .video-placeholder { inset: 88px 12px 12px 12px; padding: 16px 18px; }
  .hero { padding-top: 160px; }
  .hero-meta { display: none; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--espresso);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--sand);
  padding: 0 28px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee span::after {
  content: "";
  width: 7px; height: 7px;
  background: var(--brown-light);
  transform: rotate(45deg);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; position: relative; }
.section-alt { background: var(--espresso); }

.section-sand {
  background: var(--sand);
  color: var(--brown);
}
.section-sand h2,
.section-sand h3 { color: #17120e; }
.section-sand .eyebrow { color: var(--brown-light); }
.section-sand .muted { color: var(--brown-light); }
.section-sand .rule-double { border-color: var(--brown); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { max-width: 46ch; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Intro statement ---------- */

.statement {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.22;
  color: var(--text);
  max-width: 24ch;
  font-weight: 300;
}
.statement em { color: var(--sand); }

.intro-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px 64px;
}
.intro-grid .copy { max-width: 60ch; color: var(--text-muted); margin-top: 40px; }

@media (max-width: 800px) {
  .intro-grid { grid-template-columns: 1fr; }
}

/* ---------- Service pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pillar {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  position: relative;
  transition: background 0.45s var(--ease);
}

.pillar:hover { background: var(--roast); }

.pillar-num {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--sand-dim);
}

.pillar h3 { margin-top: auto; }

.pillar p { color: var(--text-muted); font-size: 16px; line-height: 1.55; margin: 0; }

.pillar .tags {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-dim);
  line-height: 1.9;
}

.pillar .go {
  position: absolute;
  top: clamp(28px, 3vw, 44px);
  right: clamp(28px, 3vw, 44px);
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sand);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pillar:hover .go { background: var(--sand); color: var(--ink); transform: rotate(-45deg); }

@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

/* ---------- Work grid (placeholders) ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.work-item {
  position: relative;
  overflow: hidden;
  background: var(--roast);
  border: 1px solid var(--line);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.work-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 90% at 70% 20%, rgba(110, 88, 70, 0.4), transparent 70%),
    repeating-linear-gradient(135deg, rgba(223,208,187,0.03) 0 2px, transparent 2px 16px);
  transition: transform 0.8s var(--ease);
}
.work-item:hover::before { transform: scale(1.05); }

.work-item .meta { position: relative; }
.work-item .meta .eyebrow { font-size: 10.5px; }
.work-item .meta h3 { margin-top: 10px; font-size: clamp(18px, 1.6vw, 24px); }

.w-7 { grid-column: span 7; min-height: 420px; }
.w-5 { grid-column: span 5; min-height: 420px; }
.w-4 { grid-column: span 4; }

@media (max-width: 800px) {
  .w-7, .w-5, .w-4 { grid-column: span 12; min-height: 260px; }
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.step {
  padding: 34px 28px 0 0;
  border-top: 1px solid var(--brown);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: 54px;
  line-height: 1;
  display: block;
  margin-bottom: 22px;
  color: var(--brown-light);
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: 16px; line-height: 1.55; }

@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); gap: 40px 0; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote {
  margin: 0;
  background: var(--roast);
  border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
}

.quote .mark {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 0.6;
  color: var(--brown-light);
  height: 30px;
}

.quote cite {
  font-style: normal;
  margin-top: auto;
}

@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band {
  text-align: left;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px 64px;
  align-items: end;
}

.cta-band h2 { font-size: clamp(40px, 6.6vw, 96px); }

.cta-band .actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.cta-band .phone {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--sand);
  letter-spacing: 0.02em;
}

.section-sand .btn-primary { background: #17120e; border-color: #17120e; color: var(--sand); }
.section-sand .btn-primary:hover { background: transparent; color: #17120e; }
.section-sand .btn-ghost { border-color: #17120e; color: #17120e; }
.section-sand .btn-ghost:hover { background: #17120e; color: var(--sand); }
.section-sand .phone { color: #17120e; }

@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  padding: clamp(150px, 18vw, 220px) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(110, 88, 70, 0.28), transparent 60%),
    var(--ink);
}
.page-hero h1 { font-size: clamp(44px, 9vw, 132px); }
.page-hero .rule-double { margin: 28px 0 24px; max-width: 760px; }
.page-hero .lede { max-width: 44ch; color: var(--text-muted); }

/* ---------- Services detail ---------- */

.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.service-index a {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 10px 16px;
  border-radius: 40px;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.service-index a:hover { border-color: var(--sand); color: var(--sand); }

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px clamp(40px, 7vw, 110px);
  padding: clamp(70px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.service-block .head .num {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--sand-dim);
  display: block;
  margin-bottom: 20px;
}
.service-block .head h2 { font-size: clamp(26px, 3.6vw, 50px); overflow-wrap: normal; hyphens: none; }
.service-block .head .rule-double { margin: 26px 0; max-width: 280px; }
.service-block .head .eyebrow { line-height: 1.8; }

.service-block .body > p { color: var(--text-muted); max-width: 54ch; }
.service-block .body > p:first-child { color: var(--text); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; }

.deliverables {
  list-style: none;
  padding: 0;
  margin: 36px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.deliverables li {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.deliverables li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  background: var(--sand);
  transform: rotate(45deg) translateY(-2px);
}

.ideal {
  font-size: 15px;
  color: var(--text-muted);
  border-left: 2px solid var(--brown-light);
  padding-left: 18px;
  margin-bottom: 32px;
}
.ideal strong {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-soft);
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .service-block { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .deliverables { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px clamp(40px, 7vw, 110px);
  align-items: start;
}

.portrait {
  aspect-ratio: 4 / 5;
  position: sticky;
  top: 110px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 70% at 50% 30%, rgba(110, 88, 70, 0.5), transparent 70%),
    repeating-linear-gradient(135deg, rgba(223,208,187,0.035) 0 2px, transparent 2px 14px),
    var(--roast);
  display: grid;
  place-items: end start;
  padding: 24px;
}

.about-copy p { color: var(--text-muted); }
.about-copy p.big {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.4;
  color: var(--text);
  font-weight: 300;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.fact {
  padding: 24px 20px 24px 0;
  border-bottom: 1px solid var(--line);
}
.fact .eyebrow { font-size: 10.5px; margin-bottom: 8px; display: block; }
.fact div { font-size: 17px; color: var(--text); line-height: 1.4; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { position: relative; top: 0; max-width: 480px; }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px clamp(40px, 7vw, 110px);
}

.contact-aside .item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.contact-aside .item:first-child { border-top: 1px solid var(--line); }
.contact-aside .item .eyebrow { font-size: 10.5px; display: block; margin-bottom: 8px; }
.contact-aside .item a,
.contact-aside .item span.val {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--sand);
  word-break: break-word;
}
.contact-aside .item a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 22px;
}
.form .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-soft);
  margin-bottom: 10px;
  font-weight: 600;
}
.field label .req { color: var(--sand-dim); }

.legend {
  padding: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-soft);
  margin-bottom: 12px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--roast);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 17px;
  padding: 15px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--sand) 50%), linear-gradient(135deg, var(--sand) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sand);
  background: #2b221b;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.checks label {
  margin: 0;
  cursor: pointer;
}
.checks label { position: relative; }
.checks input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.checks span {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.checks input:checked + span { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.checks input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }

.form-note { font-size: 14px; color: var(--text-muted); }

.form-status {
  grid-column: 1 / -1;
  font-family: var(--font-sans);
  font-size: 14px;
  display: none;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
}
.form-status.is-visible { display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand-name { font-size: 28px; display: block; line-height: 1; }
.footer-brand .brand-sub { font-size: 9.5px; display: block; width: fit-content; max-width: 100%; margin-top: 10px; padding-top: 8px; line-height: 1.8; letter-spacing: 0.26em; white-space: normal; overflow-wrap: normal; }
.footer-brand p { margin-top: 22px; color: var(--text-muted); font-size: 16px; max-width: 34ch; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-dim);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 16px; color: var(--text-muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--sand); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sand-dim);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Mobile call bar ---------- */

.call-bar {
  display: none;
}
@media (max-width: 700px) {
  .call-bar {
    display: grid;
    grid-template-columns: 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: var(--ink);
    border-top: 1px solid var(--line-strong);
  }
  .call-bar a {
    text-align: center;
    padding: 16px 10px calc(16px + env(safe-area-inset-bottom));
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
  }
  .call-bar a { background: var(--sand); color: var(--ink); }
  body { padding-bottom: 60px; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .video-placeholder .rec::before { animation: none; }
}

@media (max-width: 560px) {
  .btn { white-space: normal; line-height: 1.35; text-align: left; padding: 16px 22px; }
}

h1, h2, h3, .statement, .lede { text-wrap: balance; }
.statement { max-width: 28ch; }

@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Photo tiles and portrait */
.work-item.has-img > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform 0.8s var(--ease);
}
.work-item.has-img:hover > img { transform: scale(1.04); }
.work-item.has-img::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(18,14,11,0) 45%, rgba(18,14,11,0.88) 100%);
}
.work-item.has-img .meta { z-index: 2; }
.portrait.has-img { padding: 0; overflow: hidden; background: var(--roast); }
.portrait.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
