/* ============================================================
   Et al. Consulting — Website
   Brand: Midnight + Copper. Masculine. Striking. Professional.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand serif (italic-only — used for the 'et al.' wordmark) */
  --f-serif:   'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  /* Palette */
  --midnight:      #0A1428;
  --midnight-2:    #0F1B33;
  --midnight-3:    #16243E;
  --ink:           #050912;
  --steel:         #1E2A3E;
  --slate:         #3A4A63;
  --mist:          #B7C2D4;
  --pearl:         #F4EFE6;
  --cream:         #EBE3D1;
  --copper:        #C97B3C;
  --copper-bright: #E08B3C;
  --copper-deep:   #9B5A26;
  --bronze:        #7A4A1F;
  --white:         #FFFFFF;
  --rule:          rgba(244, 239, 230, 0.10);
  --rule-strong:   rgba(244, 239, 230, 0.22);

  /* Type */
  --f-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --f-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Scale */
  --step--1: clamp(0.85rem, 0.83rem + 0.1vw, 0.95rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.2vw, 1.10rem);
  --step-1:  clamp(1.15rem, 1.10rem + 0.3vw, 1.30rem);
  --step-2:  clamp(1.35rem, 1.25rem + 0.5vw, 1.65rem);
  --step-3:  clamp(1.75rem, 1.55rem + 1.0vw, 2.30rem);
  --step-4:  clamp(2.30rem, 1.95rem + 1.7vw, 3.40rem);
  --step-5:  clamp(3.00rem, 2.45rem + 2.7vw, 5.20rem);

  /* Layout */
  --maxw:    1240px;
  --gutter:  clamp(1.25rem, 3vw, 2.5rem);
  --radius:  14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--pearl);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
/* Barely-there paper grain across the whole page — adds material feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.87  0 0 0 0 0.72  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px 280px;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--pearl);
  margin: 0;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--copper);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 3. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 20, 40, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 20, 40, 0.88);
  border-bottom-color: var(--rule);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--pearl);
  letter-spacing: -0.005em;
}
.brand-name {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--mist);
  padding-left: 0.85rem;
  margin-left: 0.1rem;
  border-left: 1px solid var(--rule-strong);
  height: 1.4rem;
}
.brand-soft {
  display: none;
}
.brand-mark-accent {
  color: var(--copper);
  /* italic + weight inherited from .brand-mark */
}
.footer-name-accent {
  color: var(--copper);
  font-style: italic;
  font-family: var(--f-serif);
  font-weight: 600;
}
.site-footer .brand-mark { font-size: 1.55rem; }
.site-footer .brand-name { font-size: 0.65rem; }

.site-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mist);
  position: relative;
}
.nav-list a:hover { color: var(--pearl); }
.nav-list a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--copper);
  transition: width 0.3s var(--ease);
}
.nav-list a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--rule-strong);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: var(--pearl) !important;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--copper);
  color: var(--ink) !important;
  border-color: var(--copper);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  padding: 0.5rem;
  width: 42px; height: 42px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--pearl);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 76px;
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--midnight-2);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    padding: 1rem;
    min-width: 220px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    padding: 0.6rem 0.5rem;
  }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
}

/* ---------- 4. Buttons / common ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary {
  background: var(--copper);
  color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(201, 123, 60, 0.7);
}
.btn-primary:hover {
  background: var(--copper-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(224, 139, 60, 0.85);
}
.btn-ghost {
  background: transparent;
  color: var(--pearl);
  border-color: var(--rule-strong);
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper-bright);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 1.25rem;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(201, 123, 60, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 123, 60, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(201, 123, 60, 0.06); }
}

.accent {
  color: var(--copper);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.section-title { margin: 0 0 1.25rem; }
.section-lede {
  font-size: var(--step-1);
  color: var(--mist);
  max-width: 64ch;
  line-height: 1.55;
}
.section-head { max-width: 780px; margin-bottom: 3.5rem; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 18% 22%, rgba(201, 123, 60, 0.20), transparent 60%),
    radial-gradient(ellipse 50% 50% at 82% 78%, rgba(30, 60, 110, 0.32), transparent 65%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-copy h1 {
  margin: 0 0 1.5rem;
  font-weight: 700;
}
.hero-copy .lede {
  font-size: var(--step-1);
  color: var(--mist);
  max-width: 56ch;
  margin: 0 0 2.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-meta {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--rule);
}
.hero-meta li { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-meta strong {
  font-family: var(--f-display);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--copper);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-meta span {
  font-size: 0.85rem;
  color: var(--mist);
  line-height: 1.4;
}
@media (max-width: 540px) {
  .hero-meta { grid-template-columns: 1fr; gap: 1rem; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(201, 123, 60, 0.08),
    inset 0 0 0 1px rgba(244, 239, 230, 0.04);
  transform: rotate(-0.6deg);
  isolation: isolate;
  background: var(--midnight-3);
}
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter:
    contrast(1.25)
    saturate(1.05)
    brightness(0.94);
  transition: transform 1.4s var(--ease), filter 0.6s var(--ease);
}
.hero-frame:hover img {
  transform: scale(1.04);
  filter:
    contrast(1.28)
    saturate(1.1)
    brightness(0.96);
}
.hero-frame-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Editorial vignette — dark edges pull focus to face */
    radial-gradient(ellipse 95% 100% at 50% 35%, transparent 45%, rgba(5, 9, 18, 0.55) 100%),
    /* Bottom-up midnight wash for legibility under marquee */
    linear-gradient(180deg, rgba(10, 20, 40, 0) 55%, rgba(10, 20, 40, 0.78) 100%),
    /* Strong copper rim light from upper-right — the cinematic glow */
    radial-gradient(ellipse 65% 75% at 105% -5%, rgba(224, 139, 60, 0.40) 0%, transparent 55%),
    /* Cool teal shadow from lower-left — complementary contrast */
    radial-gradient(ellipse 70% 65% at -10% 105%, rgba(20, 60, 90, 0.30) 0%, transparent 50%);
  pointer-events: none;
  mix-blend-mode: normal;
}
.hero-frame::after {
  /* Subtle film grain to break studio flatness */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0 0.7  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.badge-stack {
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 460px;
  padding: 0 1rem;
}
.badge {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--midnight-3);
  color: var(--cream);
  border: 1px solid var(--rule-strong);
  white-space: nowrap;
}

.hero-marquee {
  position: relative;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(5, 9, 18, 0.4);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 2.5rem;
  animation: marquee 40s linear infinite;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mist);
}
.marquee-track span:nth-child(odd) { color: var(--cream); }
.marquee-track span:nth-child(even) { color: var(--copper); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 6. Positioning band ---------- */
.positioning {
  background: linear-gradient(180deg, var(--midnight-2) 0%, var(--midnight) 100%);
  padding: clamp(5rem, 9vw, 8rem) 0;
  text-align: center;
}
.positioning .section-title {
  max-width: 24ch;
  margin: 0 auto 1.5rem;
}
.positioning .section-lede {
  margin: 0 auto;
  max-width: 60ch;
}

/* ---------- 7. Sections (shared) ---------- */
section { position: relative; }
.services, .approach, .industries, .work, .stack, .about, .faq, .contact {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

/* ---------- 8. Services ---------- */
.services {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(201, 123, 60, 0.06), transparent 60%),
    var(--midnight);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  background: linear-gradient(180deg, var(--midnight-2), var(--midnight-3));
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem 2rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--copper);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}
.service-card h3 {
  font-size: var(--step-2);
  margin-bottom: 0.4rem;
}
.service-tag {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mist);
  margin-bottom: 1.25rem;
}
.service-card > p { color: var(--cream); margin-bottom: 1.25rem; }

.service-list {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.5rem;
}
.service-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--mist);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 1px;
  background: var(--copper);
}
.service-proof {
  margin: 1.25rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px dashed var(--rule);
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--mist);
  font-family: var(--f-body);
}
.service-proof a {
  color: var(--copper);
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 123, 60, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.service-proof a:hover {
  color: var(--copper-bright);
  border-bottom-color: var(--copper-bright);
}

/* ---------- 9. Approach ---------- */
.approach {
  background: var(--midnight);
}
.approach-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
@media (max-width: 900px) {
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .approach-steps { grid-template-columns: 1fr; }
}
.approach-steps li {
  position: relative;
  padding: 2rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--midnight-2);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.approach-steps li:hover {
  border-color: rgba(201, 123, 60, 0.35);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--copper);
  margin-bottom: 1rem;
  opacity: 0.85;
}
.approach-steps h3 {
  font-size: var(--step-1);
  margin-bottom: 0.75rem;
}
.approach-steps p {
  font-size: 0.95rem;
  color: var(--mist);
  margin: 0;
}

/* ---------- 10. Industries ---------- */
.industries {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
}
.industries-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.industries-grid li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--midnight-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--cream);
  transition: all 0.25s var(--ease);
}
.industries-grid li:hover {
  border-color: var(--copper);
  background: rgba(201, 123, 60, 0.08);
}
.ind-icon {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(201, 123, 60, 0.14);
  color: var(--copper);
  font-size: 1.1rem;
}

/* ---------- 11. Work ---------- */
.work {
  background: var(--midnight);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
}
.case-card p a {
  color: var(--copper);
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 123, 60, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.case-card p a:hover {
  color: var(--copper-bright);
  border-bottom-color: var(--copper-bright);
}
.case-card {
  background:
    linear-gradient(180deg, var(--midnight-3) 0%, var(--midnight-2) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
}
.case-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-3px);
}
.case-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.case-year { color: var(--copper); }
.case-card h3 {
  font-size: var(--step-1);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.case-card p {
  font-size: 0.95rem;
  color: var(--mist);
  margin-bottom: 1.25rem;
}
.case-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.case-tags li {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.05);
  border: 1px solid var(--rule);
  color: var(--cream);
}

.work-footer {
  margin: 2.5rem 0 0;
  padding: 1.5rem;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.95rem;
  color: var(--mist);
}
.work-footer a {
  color: var(--copper);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.work-footer a:hover { border-bottom-color: var(--copper); }

/* ---------- 12. Stack ---------- */
.stack {
  background: linear-gradient(180deg, var(--midnight-2) 0%, var(--midnight) 100%);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.stack-block {
  padding: 1.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--midnight-3);
}
.stack-block h3 {
  font-size: var(--step-1);
  margin-bottom: 0.85rem;
  color: var(--copper);
}
.stack-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cream);
}

/* ---------- 13. About ---------- */
.about {
  background: var(--midnight);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-copy p {
  color: var(--cream);
  font-size: var(--step-0);
  max-width: 62ch;
}
.about-copy .section-title {
  max-width: 18ch;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.cred-block h4 {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.85rem;
}
.cred-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.cred-block li {
  font-size: 0.92rem;
  color: var(--mist);
  line-height: 1.5;
}
.cred-block strong { color: var(--pearl); font-weight: 600; }

.about-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.5rem;
}
/* Magazine drop-cap on the lede paragraph of About */
.about-lede::first-letter {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  float: left;
  font-size: 4.5rem;
  line-height: 0.85;
  padding: 0.45rem 0.65rem 0 0;
  color: var(--copper);
}

.about-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  aspect-ratio: 3 / 4;
  position: relative;
  isolation: isolate;
  background: var(--midnight-3);
  box-shadow:
    0 30px 70px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(201, 123, 60, 0.06);
}
.about-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter:
    contrast(1.22)
    saturate(1.0)
    brightness(0.93);
}
.about-figure::after {
  content: '';
  position: absolute; inset: 0;
  background:
    /* Editorial vignette */
    radial-gradient(ellipse 95% 100% at 50% 35%, transparent 45%, rgba(5, 9, 18, 0.55) 100%),
    /* Bottom midnight wash */
    linear-gradient(180deg, transparent 55%, rgba(10, 20, 40, 0.85) 100%),
    /* Copper rim light, upper-right */
    radial-gradient(ellipse 60% 70% at 105% -5%, rgba(224, 139, 60, 0.36) 0%, transparent 55%),
    /* Cool teal shadow, lower-left */
    radial-gradient(ellipse 65% 60% at -10% 105%, rgba(20, 60, 90, 0.26) 0%, transparent 50%);
  pointer-events: none;
}
.about-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0 0.7  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.pull-quote {
  position: relative;
  margin: 0;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(180deg, var(--midnight-2), var(--midnight-3));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.pull-quote::before {
  /* Oversized opening quotation mark as a luxe watermark */
  content: '\201C';   /* curly opening double quote */
  position: absolute;
  top: -0.45em;
  left: 0.35em;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 7.5rem;
  line-height: 1;
  color: var(--copper);
  opacity: 0.18;
  pointer-events: none;
}
.pull-quote p {
  position: relative;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.35;
  color: var(--pearl);
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.pull-quote cite {
  display: inline-block;
  position: relative;
  padding-left: 1.75rem;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.pull-quote cite::before {
  /* Hairline copper rule before the attribution */
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--copper);
}

/* ---------- 14. FAQ ---------- */
.faq {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
}
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 880px;
  margin: 0 auto;
}
.faq-list details {
  background: var(--midnight-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-list details[open] {
  border-color: rgba(201, 123, 60, 0.4);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--pearl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--copper);
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  color: var(--mist);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ---------- 15. Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(201, 123, 60, 0.10), transparent 60%),
    var(--midnight);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.c-label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.contact-list a {
  color: var(--pearl);
  border-bottom: 1px solid var(--rule-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-list a:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.contact-form {
  background: var(--midnight-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.contact-form .field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 0.97rem;
  background: var(--midnight);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--pearl);
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%), linear-gradient(135deg, var(--copper) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(201, 123, 60, 0.18);
}
.contact-form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--mist);
  margin: 0;
}
.form-note a { color: var(--copper); }

@media (max-width: 540px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--rule);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr auto;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-brand, .footer-nav { justify-content: center; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-name {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pearl);
}
.footer-tag {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mist);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--copper); }
.footer-copy {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 17. Reveal animation (progressive) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 18. Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1100;
  background: linear-gradient(180deg, var(--midnight-2), var(--midnight-3));
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(201, 123, 60, 0.08);
  padding: 1.25rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  animation: cookie-slide-up 0.5s var(--ease) both;
}
@keyframes cookie-slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
.cookie-title {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin: 0 0 0.35rem;
}
.cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cream);
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}
@media (max-width: 640px) {
  .cookie-banner { left: 0.5rem; right: 0.5rem; padding: 1rem; }
  .cookie-inner { grid-template-columns: 1fr; gap: 0.85rem; }
  .cookie-actions { justify-content: flex-end; }
}

/* ---------- 19. Section ornament divider (bespoke) ---------- */
/* Apply with: <div class="ornament-divider" aria-hidden="true"></div> */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 320px;
  padding: 1.5rem 0 0.5rem;
  color: var(--copper);
  opacity: 0.55;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.ornament-divider span {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1;
}

/* ---------- 20. Print ---------- */
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .hero-marquee, .contact-form, .nav-toggle, .hero-cta, .cookie-banner { display: none; }
  h1, h2, h3, h4 { color: black; }
}
