/* ==========================================================================
   SEEKSOLUTION — Luxury Editorial stylesheet
   All tokens sourced from DESIGN.md ("Cinematic Editorial" system).
   ========================================================================== */

/* ----- Design tokens (DESIGN.md) ----------------------------------------- */
:root {
  /* Colors — "Paper and Ink" palette */
  --ivory: #F4EEE3;        /* primary background */
  --cream: #EFE7D8;        /* secondary background / inset cards */
  --ink: #0C0A08;          /* primary text on light */
  --dark: #121110;         /* dark-mode section background */
  --gold: #B9925A;         /* accent */
  --taupe: #8A7F70;        /* subtext / metadata */
  --line-light: rgba(12, 10, 8, 0.12);   /* thin outlines on light */
  --line-dark: rgba(244, 238, 227, 0.14);/* thin outlines on dark */

  /* Typography */
  --font-display: "Bodoni Moda", "Playfair Display", Georgia, serif;
  --font-signature: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;

  /* Spacing */
  --margin: 24px;            /* mobile margin */
  --gutter: 32px;
  --section-pad: 96px;       /* mobile section padding */
  --nav-h: 72px;

  /* Type scale (mobile first; desktop overrides below) */
  --display-xl: clamp(44px, 13vw, 120px);
  --display-lg: clamp(34px, 7vw, 80px);
  --headline-md: clamp(26px, 4.5vw, 40px);
  --signature-md: clamp(20px, 3vw, 24px);
  --body-lg: 17px;
  --body-sm: 14px;
  --label-caps: 12px;
}

@media (min-width: 900px) {
  :root {
    --margin: 80px;
    --section-pad: 160px;
    --body-lg: 18px;
  }
}

/* ----- 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;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--body-lg);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

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

/* Sharp shape language — no rounding anywhere (circular play buttons excepted) */
button, input, .media-card, .btn { border-radius: 0; }

/* ----- Shared type helpers ----------------------------------------------- */
.label-caps {
  font-family: var(--font-sans);
  font-size: var(--label-caps);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.35;
}

.display-xl {
  font-family: var(--font-display);
  font-size: var(--display-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: var(--display-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.headline-md {
  font-family: var(--font-display);
  font-size: var(--headline-md);
  font-weight: 500;
  line-height: 1.2;
}

.signature {
  font-family: var(--font-signature);
  font-style: italic;
  font-size: var(--signature-md);
  font-weight: 400;
}

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

/* ----- Sections ----------------------------------------------------------- */
.section {
  padding: var(--section-pad) var(--margin);
  scroll-margin-top: calc(var(--nav-h) - 1px);
}

.section-inner { max-width: 1440px; margin: 0 auto; }

.section--dark {
  background: var(--dark);
  color: var(--ivory);
}
.section--dark .muted { color: rgba(244, 238, 227, 0.55); }

.section--ivory { background: var(--ivory); }

/* Section headers (number + title + description) */
.sec-head { margin-bottom: clamp(48px, 7vw, 88px); }

.sec-head__top {
  display: flex;
  align-items: baseline;
  gap: var(--gutter);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.section--dark .sec-head__top { border-color: var(--line-dark); }

.sec-head__num {
  font-family: var(--font-display);
  font-size: var(--display-lg);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.sec-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-transform: uppercase;
}

.sec-head__desc {
  max-width: 62ch;
  margin: 0;
  color: var(--taupe);
  font-size: var(--body-lg);
}
.section--dark .sec-head__desc { color: rgba(244, 238, 227, 0.6); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 120;
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  height: var(--nav-h);
  padding: 0 var(--margin);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
  color: var(--ivory); /* transparent over dark hero-adjacent top — set per theme below */
}

/* Transparent over the hero (ivory hero → ink text) */
.nav[data-theme="top"] { background: transparent; color: var(--ink); }

/* Scrolled states — solid per underlying section, cinematic blur */
.nav[data-theme="light"] {
  background: rgba(244, 238, 227, 0.82);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: var(--ink);
  border-bottom-color: var(--line-light);
}
.nav[data-theme="dark"] {
  background: rgba(18, 17, 16, 0.78);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: var(--ivory);
  border-bottom-color: var(--line-dark);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: var(--label-caps);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
  color: inherit;
}
.nav__link:hover { color: var(--gold); }
.nav__link.is-active { color: var(--gold); border-bottom-color: var(--gold); }

/* Expertise dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; }
.nav__dropdown-toggle::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  padding: 20px 0;
  margin: 0;
  list-style: none;
  background: rgba(18, 17, 16, 0.92);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border: 1px solid var(--line-dark);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.nav__dropdown.is-open .nav__menu,
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__menu .nav__link {
  display: block;
  padding: 10px 28px;
  color: var(--ivory);
  border-bottom: 0;
}
.nav__menu .nav__link:hover,
.nav__menu .nav__link.is-active { color: var(--gold); }

/* Hamburger (mobile) */
.nav__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  color: inherit;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: calc(var(--nav-h) + 32px) var(--margin) 48px;
  background: rgba(18, 17, 16, 0.94);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: var(--ivory);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu .nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu .nav__link.is-active { color: var(--gold); }

@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__burger, .mobile-menu { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 24px) var(--margin) 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--ivory);
}

.hero__topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--gutter);
  color: var(--taupe);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 16px;
}

.hero__masthead {
  position: relative;
  margin-top: clamp(24px, 6vh, 72px);
}

.hero__founder-of {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hero__word {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 11.2vw, 185px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Portrait sits in the founder row, clear of the giant word */
.hero__portrait {
  position: relative;
  margin: 0;
  width: clamp(200px, 24vw, 340px);
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  border: 1px solid var(--line-light);
  background: var(--cream);
}
.hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Circular rotating seal on the portrait's top-left corner */
.hero__seal {
  position: absolute;
  left: clamp(-48px, -5vw, -60px);
  top: clamp(-28px, -3vw, -40px);
  width: clamp(72px, 9vw, 120px);
  height: clamp(72px, 9vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.hero__seal svg { width: 100%; height: 100%; animation: seal-spin 24s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gutter);
  margin-top: clamp(40px, 7vh, 80px);
}

.hero__founder-block { max-width: 560px; }

.hero__founder-name {
  font-family: var(--font-signature);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  color: var(--gold);
  margin: 10px 0 18px;
}

.hero__desc { margin: 0; color: var(--taupe); max-width: 46ch; white-space: pre-line; }

.hero__scroll-hint {
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.hero__scroll-hint::after {
  content: "";
  display: block;
  width: 1px; height: 48px;
  background: var(--gold);
}

@media (max-width: 720px) {
  .hero__portrait { margin-left: auto; width: min(68vw, 300px); }
  .hero__seal { left: -16px; top: -20px; }
}

/* ==========================================================================
   EXPERTISE HEADER
   ========================================================================== */
.expertise-header { text-align: center; }
.expertise-header .display-lg { margin: 16px 0 20px; }
.expertise-header__sub { color: var(--taupe); max-width: 56ch; margin: 0 auto 28px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.link-arrow:hover { color: var(--gold); letter-spacing: 0.2em; }
.section--dark .link-arrow { color: var(--ivory); }
.section--dark .link-arrow:hover { color: var(--gold); }

/* ==========================================================================
   MEDIA CARDS & GRIDS
   ========================================================================== */
.media-card {
  position: relative;
  border: 1px solid var(--line-light);
  background: var(--cream);
  overflow: hidden;
}
.section--dark .media-card {
  border-color: var(--line-dark);
  background: rgba(244, 238, 227, 0.04);
}

.media-card__frame { position: relative; width: 100%; overflow: hidden; }

/* Aspect helpers */
.ar-916 .media-card__frame { aspect-ratio: 9 / 16; }
.ar-169 .media-card__frame { aspect-ratio: 16 / 9; }
.ar-11  .media-card__frame { aspect-ratio: 1 / 1; }
.ar-34  .media-card__frame { aspect-ratio: 3 / 4; }
.ar-43  .media-card__frame { aspect-ratio: 4 / 3; }

.media-card__frame > img,
.media-card__frame > video,
.media-card__frame > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Warm cinematic grade + film grain on real media */
.media-card__frame > img { transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
.media-card:hover .media-card__frame > img { transform: scale(1.05); }

.film-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.media-card__caption {
  display: block;
  padding: 14px 2px 0;
  color: var(--taupe);
  font-size: var(--body-sm);
}
.section--dark .media-card__caption { color: rgba(244, 238, 227, 0.55); }

/* Circular play button (the one permitted round shape) */
.play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(18, 17, 16, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.play-badge::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-left: 14px solid var(--gold);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.media-card:hover .play-badge { background: rgba(18, 17, 16, 0.6); transform: scale(1.06); }

/* Placeholder (empty) state — never breaks layout */
.media-card.is-placeholder .media-card__frame { background: var(--cream); }
.section--dark .media-card.is-placeholder .media-card__frame { background: #1a1816; }

.media-card.is-placeholder .media-card__frame > img { object-fit: cover; opacity: 0.9; }

.placeholder-tag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(18, 17, 16, 0.72);
  text-align: center;
}

/* --- 01 Full Production: row of phone-shaped reel cards ------------------- */
/* Column min width fits the official Instagram embed (326px min). */
.reel-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--gutter);
  align-items: start;
}
@media (min-width: 1100px) {
  /* subtle editorial stagger */
  .reel-row > :nth-child(even) { transform: translateY(28px); }
}

/* --- 02 Restaurants & Clubs: adaptive video cards -------------------------- */
.video-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: var(--gutter);
  align-items: start;
}
@media (min-width: 1100px) {
  /* subtle editorial stagger to echo section 01 */
  .video-grid-3 > :nth-child(even) { transform: translateY(28px); }
}

/* --- 03 Editing & PR: staggered editorial grid ---------------------------- */
.stagger-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 900px) {
  .stagger-grid { grid-template-columns: repeat(6, 1fr); align-items: start; }
  .stagger-grid > .ar-169 { grid-column: span 4; }
  .stagger-grid > .ar-916 { grid-column: span 2; }
  .stagger-grid > :nth-child(2) { margin-top: 64px; }
  .stagger-grid > :nth-child(4) { margin-top: -48px; }
}

/* --- 04 Design: masonry gallery ------------------------------------------- */
.masonry {
  column-count: 2;
  column-gap: 12px;
}
@media (min-width: 700px)  { .masonry { column-count: 3; } }
@media (min-width: 1100px) { .masonry { column-count: 4; } }

.masonry .media-card {
  break-inside: avoid;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.masonry .media-card__frame > img { position: static; height: auto; }
.masonry .media-card.is-placeholder .media-card__frame > img {
  position: absolute; height: 100%;
}

/* --- 06 Influencer: mixed editorial gallery -------------------------------- */
.mixed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}
@media (min-width: 900px) {
  .mixed-grid { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .mixed-grid > .ar-169 { grid-column: span 2; }
  .mixed-grid > :nth-child(2) { margin-top: 56px; }
  .mixed-grid > :nth-child(5) { margin-top: -40px; }
}
.mixed-grid .media-card[data-type="image"] { cursor: zoom-in; }

/* ==========================================================================
   05 — SOCIAL (Instagram profile feature card)
   ========================================================================== */
.social-feature {
  display: grid;
  gap: var(--gutter);
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .social-feature { grid-template-columns: 1fr 1fr; align-items: center; }
}

.ig-card {
  border: 1px solid var(--line-dark);
  background: rgba(244, 238, 227, 0.04);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}

.ig-card__handle {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 18px 0 8px;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

/* Profile screenshot on the social card */
.ig-card__shot {
  position: relative;
  max-width: 300px;
  margin: 0 auto 28px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.ig-card__shot img { width: 100%; height: auto; display: block; }

.ig-card__ring {
  width: 84px; height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
}

.social-feature__copy p { color: rgba(244, 238, 227, 0.6); }

/* Result stats under the social copy — big gold numerals per DESIGN.md */
.social-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--gutter);
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(24px, 3vw, 36px);
}
.social-stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.social-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 238, 227, 0.55);
  max-width: 20ch;
}

.ig-embed-wrap { display: flex; justify-content: center; }
.ig-embed-wrap .instagram-media { margin: 0 auto !important; }

/* ==========================================================================
   07 — LEAD GEN case-study card
   ========================================================================== */
.case-card {
  border: 1px solid var(--line-dark);
  background: rgba(244, 238, 227, 0.03);
  padding: clamp(36px, 6vw, 88px);
  display: grid;
  gap: var(--gutter);
  position: relative;
}
@media (min-width: 900px) {
  .case-card { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

.case-card__metric {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin: 0;
}

.case-card__metric-label { margin-top: 12px; color: rgba(244, 238, 227, 0.6); }

.case-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 8px 0 16px;
  line-height: 1.1;
}

.case-card__blurb { color: rgba(244, 238, 227, 0.6); max-width: 48ch; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 44px;
  font-family: var(--font-sans);
  font-size: var(--label-caps);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ivory); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn--ghost:hover { background: var(--gold); color: var(--ink); }

/* ==========================================================================
   06 — THE TEAM
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}
@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .team-grid > :nth-child(even) { margin-top: 40px; }
}

.team-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--cream);
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
  /* subtle warm editorial grade to unify mixed photo styles */
  filter: saturate(0.85) contrast(1.04) sepia(0.08);
}
.team-card:hover .team-card__photo img { transform: scale(1.05); }

.team-card__name {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.team-card__role { color: var(--gold); display: block; }

/* ==========================================================================
   PROCESS STRIP (optional section — delete freely)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 900px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step { border-top: 1px solid var(--line-light); padding-top: 24px; }
.process-step__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.process-step p { margin: 0; color: var(--taupe); font-size: var(--body-sm); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; overflow: hidden; }

.contact__cta {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.4vw, 110px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 clamp(48px, 8vw, 96px);
  max-width: 14ch;
}

.contact__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 96px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(32px, 4vw, 56px);
}
@media (min-width: 720px) {
  .contact__cols { grid-template-columns: 1fr 1fr; }
}

.contact__list { list-style: none; margin: 24px 0 0; padding: 0; }
.contact__list li { margin-bottom: 14px; }
.contact__list a {
  text-decoration: none;
  font-size: var(--body-lg);
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  overflow-wrap: anywhere;
}
.contact__list a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.contact__list .muted-note { color: rgba(244, 238, 227, 0.4); font-size: var(--body-sm); }

.contact__monogram {
  position: absolute;
  right: -0.05em;
  bottom: -0.18em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(160px, 26vw, 420px);
  line-height: 1;
  color: rgba(244, 238, 227, 0.05);
  pointer-events: none;
  user-select: none;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-dark);
  margin-top: clamp(48px, 8vw, 120px);
  padding-top: 28px;
  color: rgba(244, 238, 227, 0.45);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 10, 8, 0.92);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px var(--margin);
}
.lightbox.is-open { display: flex; }

.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--line-dark);
}

.lightbox__caption {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  text-align: center;
  color: var(--taupe);
}

.lightbox__btn {
  position: absolute;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--ivory);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__close { top: 24px; right: var(--margin); }
.lightbox__prev { left: var(--margin); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--margin); top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   CASE-STUDY PAGE
   ========================================================================== */
.cs-header {
  padding: calc(var(--nav-h) + clamp(48px, 10vh, 120px)) var(--margin) var(--section-pad);
  text-align: center;
}

.cs-header__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 auto clamp(40px, 6vw, 72px);
  max-width: 16ch;
}

.cs-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
  padding-top: 32px;
  text-align: left;
}
@media (min-width: 640px) {
  .cs-meta { grid-template-columns: repeat(3, 1fr); text-align: center; }
}
.cs-meta__value { display: block; margin-top: 8px; font-size: var(--body-lg); }

.cs-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 900px) {
  .cs-two-col { grid-template-columns: 5fr 7fr; }
}
.cs-two-col .gold-rule {
  width: 96px; height: 1px;
  background: var(--gold);
  border: 0;
  margin: 28px 0 0;
}

.cs-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 96px) var(--gutter);
}
@media (min-width: 900px) {
  .cs-steps { grid-template-columns: 1fr 1fr; }
  .cs-steps > :nth-child(even) { margin-top: 96px; }
}
.cs-step__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.85;
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}
.cs-step h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
}
.cs-step p { color: var(--taupe); margin: 0; }

.cs-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 5vw, 0px);
  text-align: center;
}
@media (min-width: 900px) {
  .cs-results { grid-template-columns: repeat(3, 1fr); }
  .cs-results > * + * { border-left: 1px solid var(--line-light); }
}
.cs-result__value {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 110px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.cs-result__label {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}
.cs-result__note { color: var(--taupe); font-size: var(--body-sm); max-width: 30ch; margin: 0 auto; }

.cs-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 900px) {
  .cs-gallery { grid-template-columns: repeat(6, 1fr); align-items: start; }
  .cs-gallery > .ar-169 { grid-column: span 4; }
  .cs-gallery > .ar-34, .cs-gallery > .ar-916 { grid-column: span 2; }
  .cs-gallery > :nth-child(2) { margin-top: 72px; }
}

/* Placeholder notice banner (case-study page, pre-PDF) */
.placeholder-note {
  border: 1px dashed var(--gold);
  background: rgba(185, 146, 90, 0.07);
  color: var(--taupe);
  padding: 18px 24px;
  font-size: var(--body-sm);
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

/* ----- Utilities ----------------------------------------------------------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(40px, 6vw, 72px); }

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 300;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
