/* ============================================================
   MACK STROMME — HOMEPAGE STYLES (Redesign v2)
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --ink: #0F0F0F;
  --ink-secondary: #4A4A4A;
  --ink-tertiary: #8A8A8A;
  --paper: #F8F6F1;
  --paper-warm: #F0EDE6;
  --rule: #E0DDD6;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── NAV ─────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  transition: transform 0.4s var(--ease-smooth);
}
.site-nav.nav-hidden {
  transform: translateY(-100%);
}
.menu-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.menu-btn:hover {
  background: #2A2A2A;
  transform: scale(1.03);
}
.menu-btn-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.menu-btn-lines span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
body.menu-open .menu-btn-lines span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
body.menu-open .menu-btn-lines span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}
body.menu-open .menu-btn {
  background: var(--paper);
  color: var(--ink);
}

/* ── MENU OVERLAY ────────────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}
body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.menu-overlay-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 120px 48px 48px;
}
.menu-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 14px 28px 14px 14px;
  border: 1px solid rgba(248,246,241,0.15);
  border-radius: 999px;
  transition: border-color 0.2s;
}
.menu-profile:hover { border-color: rgba(248,246,241,0.4); }
.menu-profile-img {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.menu-profile-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.menu-profile-img .beacon {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  background: #57FC2A;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.menu-profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-profile-info strong {
  font-size: 16px;
  color: var(--paper);
  font-weight: 600;
}
.menu-profile-info span {
  font-size: 13px;
  color: rgba(248,246,241,0.5);
  font-weight: 300;
}
.menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.menu-links a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  padding: 14px 24px;
  transition: opacity 0.2s;
}
.menu-links a:hover { opacity: 0.6; }
.menu-footer {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(248,246,241,0.1);
  margin-top: auto;
}
.menu-footer a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(248,246,241,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.menu-footer a:hover { color: var(--paper); }

/* ============================================================
   PARALLAX LAYER SYSTEM
   Hero (z:2) scrolls away → reveals fixed Pills (z:1) →
   Content (z:2) scrolls up over pills
   ============================================================ */

/* ── HERO PANEL (fixed, content scrolls over it) ─────────────── */
.hero-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 100vh;
  min-height: 700px;
  background: var(--paper);
  background-image: radial-gradient(circle, #C8C4BC 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  overflow: hidden;
  pointer-events: none;
}
/* Allow interactive elements inside fixed hero to receive clicks */
.hero-panel a,
.hero-panel button,
.marquee {
  pointer-events: auto;
}
.hero-topbar {
  pointer-events: none;
}

/* Spacer to push content below the fixed hero */
.hero-spacer {
  height: 100vh;
  min-height: 700px;
  position: relative;
}

/* Content panel — scrolls over the fixed hero */
.content-panel {
  position: relative;
  z-index: 10;
}

/* ── Hero top bar: greeting + location ───────────────────────── */
.hero-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 48px 0;
}
.hero-greeting {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-greeting .wi {
  font-size: 1em;
  color: inherit;
}
.hero-location {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-tertiary);
}

/* ── Hero social icons — right side, vertically centered ────── */
.hero-socials {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-socials a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
}
.hero-socials a:hover {
  color: var(--ink);
}

/* ── Hero text container — holds title + subtitle aligned ─────── */
.hero-text {
  position: absolute;
  left: 48px;
  bottom: 34%;
  z-index: 1;
}
.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(72px, 14vw, 220px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
}

/* ── Avatar — right side, bottom anchored, in front of text ──── */
.hero-avatar {
  position: absolute;
  bottom: 0;
  right: 5%;
  z-index: 2;
  width: 650px;
  max-width: 60vw;
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.hero-avatar img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.15));
}

/* ── Avatar speech bubble ─────────────────────────────────────── */
.avatar-bubble {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: #5AB5E8;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  scale: 0.8;
  pointer-events: none;
  transition: opacity 0.2s ease, scale 0.2s ease;
}
.avatar-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: #5AB5E8;
  border-bottom: none;
}
.avatar-bubble.visible {
  opacity: 1;
  scale: 1;
}

/* ── HERO LOAD ANIMATION ────────────────────────────────────── */
.anim-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 0.2s);
}
@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── MARQUEE (bottom of hero, cropped) ───────────────────────── */
.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  padding: 0;
  background: none;
  border: none;
}
.marquee-track {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}
.marquee-item {
  flex-shrink: 0;
  width: 180px;
  height: 140px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: var(--paper-warm);
  display: block;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.marquee-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.marquee-item.marquee-wide {
  width: 260px;
  height: 150px;
}
.marquee-item.marquee-tall {
  width: 150px;
  height: 170px;
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   FEATURED SCROLL-LOCKED SECTION
   300vh tall container, sticky inner pinned at 100vh.
   Labels fixed on left, content panels cross-fade on right.
   ============================================================ */

.featured-scroll {
  height: 300vh;
  position: relative;
  background: #E8A817;
}
.featured-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  overflow: hidden;
}

/* Labels (left side) */
.featured-labels {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.featured-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15,15,15,0.4);
  margin-bottom: 12px;
}
.featured-label {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: rgba(15,15,15,0.15);
  transition: color 0.5s var(--ease-out);
}
.featured-label.active {
  color: var(--ink);
}

/* Panels container (right side) */
.featured-panels {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 600px;
}

/* Individual panel — stacked, only active one visible */
.featured-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  pointer-events: none;
}
.featured-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Panel content styles ────────────────────────────────────── */

/* Featured: single tall image */
.featured-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 160px 45px 0 rgba(0, 0, 0, 0.00), 0 102px 41px 0 rgba(0, 0, 0, 0.03), 0 58px 35px 0 rgba(0, 0, 0, 0.10), 0 26px 26px 0 rgba(0, 0, 0, 0.17), 0 6px 14px 0 rgba(0, 0, 0, 0.20);
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-img--tall {
  width: 100%;
  max-width: 600px;
}
.featured-img--tall img {
  object-fit: contain;
  background: transparent;
}
a.featured-img {
  display: block;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
a.featured-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Featured: image grid */
.featured-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.featured-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.featured-grid-top .featured-img {
  aspect-ratio: 1;
}
.featured-img--wide {
  aspect-ratio: 2/1;
}

/* Featured: testimonials */
.featured-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  align-content: center;
}
.mini-quote {
  background: var(--paper-warm);
  border-radius: 12px;
  box-shadow: 0 160px 45px 0 rgba(0, 0, 0, 0.00), 0 102px 41px 0 rgba(0, 0, 0, 0.03), 0 58px 35px 0 rgba(0, 0, 0, 0.10), 0 26px 26px 0 rgba(0, 0, 0, 0.17), 0 6px 14px 0 rgba(0, 0, 0, 0.20);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-quote:first-child {
  grid-column: 1 / -1;
}
.mini-quote p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
  font-weight: 400;
  font-style: italic;
  margin: 0;
}
.mini-quote:first-child p {
  font-size: 16px;
}
.mini-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.mini-quote-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.mini-quote-author strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.mini-quote-author span {
  font-size: 10px;
  color: var(--ink-tertiary);
  font-weight: 300;
}

/* ── WORK GRID ───────────────────────────────────────────────── */
.work-section {
  padding: 120px 0;
  background: var(--paper);
}
.work-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.work-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0;
}
/* Filter pills */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 56px;
}
.work-filter {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-tertiary);
  background: none;
  border: 1px solid var(--rule);
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.work-filter:hover {
  color: var(--ink);
  border-color: var(--ink-tertiary);
}
.work-filter.active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

/* Filter hide/show */
.work-row.row-hidden {
  display: none;
}
.work-card.card-hidden {
  display: none;
}

/* ── Work rows (alternating layout) ──────────────────────────── */
.work-row {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}
.work-row--lg-sm {
  grid-template-columns: 2fr 1fr;
}
.work-row--sm-lg {
  grid-template-columns: 1fr 2fr;
}
.work-row--triple {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Card base */
.work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: none;
  border-radius: 0;
  overflow: visible;
  transition: transform 0.3s var(--ease-out);
}
.work-card:hover {
  transform: translateY(-4px);
}
.work-card:hover .work-card-img {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Card image */
.work-card-img {
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 14px;
}
.work-card--lg .work-card-img {
  aspect-ratio: 16/9;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.work-card:hover .work-card-img img {
  transform: scale(1.04);
}

/* Card info */
.work-card-info {
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-card-type {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}
.work-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.work-card--sm .work-card-title,
.work-card--tri .work-card-title {
  font-size: 16px;
}
.work-card-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  font-weight: 300;
  margin: 0;
}
.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.work-card-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ── WORK CARD ACCENT HOVER (full-page background color change) ── */
body.work-accent-hover,
body.work-accent-hover .content-panel {
  background: var(--work-hover-accent);
  color: var(--work-hover-fg);
}
body.work-accent-hover .work-heading { color: var(--work-hover-fg); }
body.work-accent-hover .work-section {
  background: var(--work-hover-accent);
}
body.work-accent-hover .work-card:hover .work-card-img {
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
body.work-accent-hover .work-card-type { color: var(--work-hover-fg-muted); }
body.work-accent-hover .work-card-title { color: var(--work-hover-fg); }
body.work-accent-hover .work-card-sub { color: var(--work-hover-fg-muted); }
body.work-accent-hover .work-card-tag { color: var(--work-hover-fg-muted); border-color: var(--work-hover-fg-muted); }
body.work-accent-hover .principles-section { background: transparent; }
body.work-accent-hover .principles-header .section-eyebrow { color: var(--work-hover-fg-muted); }
body.work-accent-hover .principles-header .section-eyebrow::after { background: var(--work-hover-rule); }
body.work-accent-hover .principles-headline { color: var(--work-hover-fg); }
body.work-accent-hover .principles-sub { color: var(--work-hover-fg-muted); }
body.work-accent-hover .site-footer {
  background: var(--ink);
}

/* ── PRINCIPLES ──────────────────────────────────────────────── */
.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: rgba(248,246,241,0.1);
}
.principles-header .section-eyebrow {
  justify-content: center;
}
.principles-header .section-eyebrow::after {
  display: none;
}
.principles-section {
  background: var(--ink);
  padding: 120px 0;
}
.principles-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.principles-header {
  margin-bottom: 72px;
  max-width: 675px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.principles-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.principles-sub {
  font-size: 17px;
  color: rgba(248,246,241,0.45);
  font-weight: 300;
  line-height: 1.65;
}
/* ── Skeuomorphic accordion ───────────────────────────────────── */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-shell {
  background: #1A1A1A;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.04) inset,
    0 -2px 4px rgba(0,0,0,0.3) inset,
    0 8px 32px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* Tab / trigger button */
.accordion-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.accordion-tab:last-of-type {
  border-bottom: none;
}
.accordion-tab:hover {
  background: rgba(255,255,255,0.03);
}
.accordion-tab.is-open {
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 -1px 3px rgba(0,0,0,0.2) inset;
  border-radius: 14px;
  margin: 4px;
  border-bottom: none;
}

.accordion-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(248,246,241,0.25);
  flex-shrink: 0;
  width: 28px;
}
.accordion-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: rgba(248,246,241,0.5);
  letter-spacing: -0.01em;
  line-height: 1.35;
  flex: 1;
  transition: color 0.2s;
}
.accordion-tab.is-open .accordion-label {
  color: var(--paper);
}
.accordion-tab:hover .accordion-label {
  color: rgba(248,246,241,0.75);
}

/* Plus/minus icon */
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(248,246,241,0.3);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.accordion-icon::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.accordion-icon::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.accordion-tab.is-open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.accordion-tab.is-open .accordion-icon::before {
  background: var(--paper);
}

/* Expandable body */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.accordion-body p {
  padding: 0 28px 28px 72px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(248,246,241,0.5);
  font-weight: 300;
  margin: 0;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

/* Top section — giant CTA */
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 48px 100px;
  text-align: center;
}
.footer-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.4);
  margin-bottom: 24px;
}
.footer-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(64px, 12vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.footer-headline a {
  color: var(--paper);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-headline a:hover {
  opacity: 0.7;
}
.footer-arrow {
  display: inline-block;
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 8px;
  transition: transform 0.3s var(--ease-out);
}
.footer-headline a:hover .footer-arrow {
  transform: translate(6px, -6px);
}
.footer-email {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(248,246,241,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(248,246,241,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-email:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(248,246,241,0.08);
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(248,246,241,0.3);
}
.footer-socials {
  display: flex;
  gap: 28px;
}
.footer-socials a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(248,246,241,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-socials a:hover {
  color: var(--paper);
}
.footer-location {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(248,246,241,0.3);
}

/* ============================================================
   SCROLL REVEAL ANIMATION SYSTEM
   ============================================================ */

/* Base state: invisible, shifted down */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

/* Revealed state */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside a revealed parent.
   Add `reveal-stagger` alongside `reveal` on the parent. */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .featured-scroll {
    height: 420vh;
  }
  .featured-sticky {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 24px;
    overflow: visible;
  }
  .featured-labels {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
    padding-top: 80px;
  }
  .featured-eyebrow {
    text-align: center;
  }
  .featured-label {
    font-size: clamp(40px, 10vw, 64px);
  }
  .featured-panels {
    height: auto;
    max-height: none;
  }
  .featured-panel {
    position: relative;
    inset: auto;
    padding: 0 16px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
  }
  .featured-panel.active {
    opacity: 1;
    pointer-events: auto;
    height: auto;
    overflow: visible;
  }
  .work-section {
    border-top: 550px solid #E8A817;
  }
  .featured-img--tall {
    margin-left: 0;
    max-width: 100%;
  }
  .featured-img {
    max-width: 100%;
  }
  .featured-img img {
    max-width: 100%;
  }
  .featured-grid-top {
    gap: 8px;
  }
  .featured-testimonials {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }
  .mini-quote {
    padding: 20px;
  }
  .mini-quote:first-child {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .hero-panel { min-height: 100svh; }
  .hero-topbar { padding: 100px 24px 0; }
  .hero-location { display: none; }
  .hero-text {
    left: 24px;
    bottom: auto;
    top: 160px;
  }
  .hero-title {
    font-size: clamp(56px, 16vw, 120px);
  }
  .hero-socials {
    right: 24px;
    top: auto;
    bottom: 22%;
    transform: none;
  }
  .hero-avatar {
    width: 100vw;
    max-width: 100vw;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10%;
  }
  .marquee-item {
    width: 130px;
    height: 100px;
  }
  .marquee-item.marquee-wide {
    width: 180px;
    height: 110px;
  }
  .marquee-item.marquee-tall {
    width: 110px;
    height: 125px;
  }

  .featured-sticky {
    padding: 0 24px;
    gap: 20px;
  }
  .featured-panels {
    height: 50vh;
  }

  .work-section { padding: 80px 0; }
  .work-inner { padding: 0 24px; }
  .work-row--lg-sm,
  .work-row--sm-lg,
  .work-row--triple {
    grid-template-columns: 1fr;
  }
  .work-heading { margin-bottom: 0; }

  .principles-inner { padding: 0 24px; }

  .footer-inner {
    padding: 0 24px;
    flex-direction: column;
    gap: 40px;
  }
  .footer-top { padding: 80px 24px 64px; }
  .footer-bottom-inner {
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================================
   LARGE SCREENS (1600px+)
   ============================================================ */
@media (min-width: 1600px) {
  .work-inner,
  .principles-inner,
  .footer-inner,
  .footer-base {
    max-width: 1500px;
  }
  .featured-sticky {
    max-width: 1500px;
    gap: 120px;
  }
  .hero-topbar {
    padding: 80px 80px 0;
  }
  .hero-text {
    left: 80px;
  }
  .hero-title {
    font-size: clamp(100px, 14vw, 280px);
  }
  .hero-socials {
    right: 80px;
  }
  .hero-avatar {
    width: 800px;
    max-width: 55vw;
  }
  .featured-label {
    font-size: clamp(64px, 7vw, 120px);
  }
  .featured-eyebrow {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .featured-img--tall {
    max-width: 700px;
  }
  .work-heading {
    font-size: 88px;
    margin-bottom: 0;
  }
  .work-row {
    gap: 48px;
    margin-bottom: 72px;
  }
  .work-card-title {
    font-size: 26px;
  }
  .work-card--sm .work-card-title,
  .work-card--tri .work-card-title {
    font-size: 20px;
  }
  .work-card-sub {
    font-size: 16px;
  }
  .work-card-type {
    font-size: 11px;
  }
  .work-card-img {
    border-radius: 18px;
  }
  .marquee-item {
    width: 280px;
    height: 190px;
    border-radius: 14px 14px 0 0;
  }
  .marquee-item.marquee-wide {
    width: 380px;
    height: 210px;
  }
  .marquee-item.marquee-tall {
    width: 220px;
    height: 240px;
  }
  .principles-headline {
    font-size: 60px;
  }
  .accordion {
    max-width: 900px;
  }
  .accordion-label {
    font-size: 24px;
  }
  .accordion-tab {
    padding: 28px 36px;
  }
  .accordion-body p {
    font-size: 18px;
    padding: 0 36px 32px 80px;
  }
  .mini-quote p {
    font-size: 16px;
  }
  .mini-quote:first-child p {
    font-size: 20px;
  }
  .mini-quote {
    padding: 32px;
    border-radius: 16px;
  }
}

/* ============================================================
   ULTRA-WIDE / 4K (2200px+)
   ============================================================ */
@media (min-width: 2200px) {
  .work-inner,
  .principles-inner,
  .footer-inner,
  .footer-base {
    max-width: 1900px;
  }
  .featured-sticky {
    max-width: 1900px;
    gap: 160px;
  }
  .hero-topbar {
    padding: 100px 120px 0;
  }
  .hero-text {
    left: 120px;
  }
  .hero-title {
    font-size: 320px;
  }
  .hero-socials {
    right: 120px;
  }
  .hero-avatar {
    width: 1000px;
  }
  .featured-label {
    font-size: 140px;
  }
  .featured-eyebrow {
    font-size: 17px;
  }
  .featured-img--tall {
    max-width: 900px;
  }
  .featured-panels {
    max-height: 800px;
  }
  .work-heading {
    font-size: 110px;
    margin-bottom: 0;
  }
  .work-row {
    gap: 60px;
    margin-bottom: 96px;
  }
  .work-card-title {
    font-size: 32px;
  }
  .work-card--sm .work-card-title,
  .work-card--tri .work-card-title {
    font-size: 24px;
  }
  .work-card-sub {
    font-size: 18px;
  }
  .work-card-type {
    font-size: 12px;
  }
  .work-card-tag {
    font-size: 10px;
    padding: 5px 14px;
  }
  .work-card-info {
    padding-top: 20px;
    gap: 8px;
  }
  .work-card-img {
    border-radius: 22px;
  }
  .marquee-item {
    width: 360px;
    height: 240px;
    border-radius: 16px 16px 0 0;
  }
  .marquee-item.marquee-wide {
    width: 480px;
    height: 270px;
  }
  .marquee-item.marquee-tall {
    width: 280px;
    height: 310px;
  }
  .marquee-track {
    gap: 20px;
  }
  .principles-section {
    padding: 160px 0;
  }
  .principles-headline {
    font-size: 72px;
  }
  .accordion {
    max-width: 1100px;
  }
  .accordion-label {
    font-size: 28px;
  }
  .accordion-tab {
    padding: 32px 44px;
  }
  .accordion-body p {
    font-size: 20px;
    padding: 0 44px 40px 96px;
  }
  .footer-top {
    max-width: 1900px;
    padding: 200px 120px 180px;
  }
  .footer-headline {
    font-size: 240px;
  }
  .footer-bottom-inner {
    max-width: 1900px;
    padding: 32px 120px;
  }
  .mini-quote {
    padding: 40px;
    border-radius: 20px;
  }
  .mini-quote p {
    font-size: 18px;
  }
  .mini-quote:first-child p {
    font-size: 24px;
  }
  .mini-quote-author img {
    width: 44px;
    height: 44px;
  }
  .mini-quote-author strong {
    font-size: 15px;
  }
  .mini-quote-author span {
    font-size: 12px;
  }
}

/* ── Hero sub text ────────────────────────────────────────────── */
.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  font-weight: 300;
  max-width: 680px;
  margin-top: 32px;
}
.hero-sub a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s;
}
.hero-sub a:hover {
  color: var(--ink);
}
@media (max-width: 768px) {
  .hero-sub {
    max-width: 400px;
    font-size: 14px;
  }
}
