/* ═══════════════════════════════════════════════════════════════
   HOME.CSS — homepage-only redesign layer
   Loaded after styles.min.css, on index.html ONLY.

   Rebuilt from ACTUAL screenshots of lightandshademedia.com (not
   just computed styles this time): full-bleed saturated color-block
   panels with corner viewfinder brackets and symmetric corner
   numbers, a letterboxed/framed full-bleed hero photo with camera-HUD
   corner text, full-bleed stacked work tiles (not a hairline list),
   an embedded "showreel" panel, oversized bleeding background word
   texture, and blur-to-sharp scroll reveals. Kept Everex's own orange
   as the single flat accent instead of L+S's red/cream/black.
   ═══════════════════════════════════════════════════════════════ */

body {
  --cream: #F3ECDF;
  --accent: var(--orange);
  --ink: #0c0a08;
  --display: 'Russo One', system-ui, sans-serif;
  --mono: 'Space Mono', 'Space Grotesk', monospace;
  /* Overrides the shared --max (1140px) just on this page. Uncapped — .wrap's
     max-width is 100%, so content is only ever constrained by --pad, the same
     way the Tower section's photo is unconstrained edge-to-edge. A fixed cap
     (even a wide one) still left a visible margin gutter on large screens
     that the Tower didn't have; this removes that gutter entirely. */
  --max: 100%;
  background: #000 !important;
  background-image: none !important;
  color: var(--cream);
}
/* Reclaims the shared grid-pattern pseudo-element (disabled above) as a fixed,
   viewport-covering grain layer — sits above body::before's gradient atmosphere
   but below all real content, so it reads through every black "border" gap
   (panel insets, hero-frame edge, work-project margins)
   without needing to be painted onto each one individually. */
body::after {
  display: block !important; content: ''; position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
/* Subtle Everex-gradient atmosphere behind the plain black sections (manifesto
   intro, social/phone section, contact, footer). Fixed + very low z-index, so
   it sits behind everything — the color panels, hero, and tower all have their
   own opaque backgrounds and simply paint over it, unaffected. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 10% 8%, rgba(247,147,30,.16), transparent),
    radial-gradient(ellipse 50% 38% at 92% 14%, rgba(233,30,99,.14), transparent),
    radial-gradient(ellipse 55% 42% at 50% 88%, rgba(47,167,167,.12), transparent);
}

main, .hero, .footer { color: var(--cream); }
main .lead, main p { color: rgba(243,236,223,.62); }

/* ── ANIMATED TEXT: per-word/letter stagger, driven by the shared .fade/.in reveal ── */
.split-unit { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); transition: opacity .5s ease, transform .5s ease; }
.in .split-unit, .fade.in .split-unit { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .split-unit { transition-delay: 0s !important; } }

/* ── GLOBAL TYPE SCALE ── */
main h2, .footer-manifesto h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 7.5vw, 6.6rem);
  line-height: .92;
  letter-spacing: 0;
  margin: 0;
  color: var(--cream);
}
main > section:not(.color-panel):not(.full-bleed) { border-top: 1px solid rgba(243,236,223,.1); padding: clamp(4rem, 9vw, 8rem) 0; }

/* ── BLUR-TO-SHARP SCROLL REVEAL (extends the shared .fade mechanic) ── */
.fade { filter: blur(6px); transition: opacity .6s ease, transform .6s ease, filter .6s ease; }
.fade.in { filter: blur(0); }

/* ── GRAIN TEXTURE (reused on hero + color panels) ── */
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── CORNER VIEWFINDER BRACKETS ── */
.frame-mark { position: absolute; width: 20px; height: 20px; z-index: 3; }
.frame-mark--tl { top: 22px; left: 22px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; }
.frame-mark--tr { top: 22px; right: 22px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; }
.frame-mark--bl { bottom: 22px; left: 22px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.frame-mark--br { bottom: 22px; right: 22px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }

/* ── BUTTONS / LINKS: flat, no gradient pills ── */
.btn { border-radius: 0; padding: 1rem 1.9rem; text-transform: uppercase; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; font-weight: 700; }
.btn-primary { background: var(--accent); color: var(--ink); border: 1px solid var(--accent); box-shadow: none; }
.btn-primary:hover { background: transparent; color: var(--cream); opacity: 1; }
.btn-secondary { background: transparent; border: 1px solid rgba(243,236,223,.25); color: var(--cream); }
.btn-secondary:hover { border-color: var(--cream); background: rgba(243,236,223,.06); color: var(--cream); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--cream); border-bottom: 1px solid var(--accent); padding-bottom: .2rem; }
.text-link:hover { color: var(--accent); }
.color-panel .text-link, .color-panel .btn-secondary { color: var(--ink); border-color: var(--ink); }

/* ── NAV: corner-style stacked two-line links ── */
.nav { background: transparent; border-bottom: 1px solid transparent; height: 96px; }
.nav.scrolled { background: rgba(0,0,0,.9); backdrop-filter: blur(16px); border-color: rgba(243,236,223,.1); }
.nav-inner { height: 96px; align-items: center; padding-left: clamp(12px, 2vw, 20px); }
.nav-brand img { height: 44px; width: 44px; }
.nav-brand-word { background: none; -webkit-text-fill-color: currentColor; color: var(--cream); font-family: var(--display); font-weight: 900; letter-spacing: .04em; }
.nav-links { gap: clamp(1rem, 3vw, 2.4rem); }
.nav-links a {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(.85rem, 1.3vw, 1.05rem);
  color: rgba(243,236,223,.55);
}
.nav-links a span:first-child { color: rgba(243,236,223,.35); font-size: .8em; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover span:first-child, .nav-links a.active span:first-child { color: var(--accent); }
.nav-links a::after { display: none; }
.nav-cta { background: var(--accent); border: 1px solid var(--accent); padding: .6rem 1.2rem; font-family: var(--mono); text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--ink); transition: background .2s ease, color .2s ease; }
.nav-cta:hover { background: transparent; color: var(--cream); }
.nav-drawer a { font-family: var(--display); font-weight: 900; text-transform: uppercase; }

/* ── HERO: framed full-bleed photo ── */
.hero { min-height: 100svh; padding-top: 96px; overflow: hidden; }
.hero .hero-photo { display: none; }

.hero-frame {
  position: absolute; inset: clamp(10px, 2vw, 20px);
  top: calc(96px + clamp(10px, 2vw, 20px));
  overflow: hidden;
  border-radius: clamp(12px, 2vw, 20px);
}
.hero-media-inner { position: absolute; inset: -6% -3%; will-change: transform; }
.hero-frame img, .hero-frame .hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-frame .hero-video { filter: brightness(.72) saturate(1.05); }
.hero-frame::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 28%, rgba(0,0,0,.2) 70%, rgba(0,0,0,.75) 100%);
}
/* Grittier than the shared .grain default (reused elsewhere at a subtler
   level) — the hero is the one place on the page still carrying an actual
   photo, so it's the one place a heavier film-grain texture reads as
   intentional grit rather than noise. */
.hero-frame .grain { z-index: 2; opacity: .22; }

.hero-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; font-family: var(--mono); }
.hero-eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(243,236,223,.85); display: flex; align-items: center; gap: .55rem; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }

.hero-wordmark-wrap { position: relative; z-index: 2; text-align: center; }
.hero .hero-wordmark {
  font-family: var(--display); text-transform: uppercase; font-weight: 900;
  letter-spacing: 0; line-height: .82;
  font-size: clamp(4.8rem, 17vw, 15.5rem);
  margin: 0;
  color: var(--cream);
  white-space: normal;
}
.hero-tagline {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.3rem, 3.2vw, 3rem); line-height: 1.15; letter-spacing: 0;
  margin-top: 1rem; color: rgba(243,236,223,.9);
}
.hero-tagline > span { display: inline; }
/* home.js sizes both lines so EVEREX is always exactly as wide as the tagline
   (tagline kept on one line and shrunk to fit narrow screens). */
.hero-tagline, .hero .hero-wordmark { white-space: nowrap; }
.hero-tagline > span:last-child .split-unit { color: var(--accent); }
.hero-tagline > span + span .split-unit:first-child::before { content: '\2014  '; color: rgba(243,236,223,.4); }

.hero-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }
.hero-descriptor { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(243,236,223,.65); }
.hero-descriptor span { display: block; }

@media (max-width: 700px) {
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* ── SECTION EYEBROW WITH NUMBER ── */
.eyebrow-num { display: flex; align-items: baseline; gap: .7rem; font-family: var(--mono); margin-bottom: 1.4rem; }
.eyebrow-num em { font-style: normal; font-weight: 700; font-size: .95rem; color: var(--accent); }
.eyebrow-num span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(243,236,223,.5); }

/* ── 01 MANIFESTO (brief black intro, mirrors the reference's short paragraph before its first color panel) ── */
.manifesto-intro { max-width: 640px; }
.manifesto-intro p { font-size: 1.25rem; color: rgba(243,236,223,.62); line-height: 1.75; margin-bottom: 1.4rem; }

/* ── FULL-BLEED COLOR PANEL (base) ── */
/* Inset from the viewport edge + rounded corners, matching the reference
   site's actual treatment (checked their computed styles: no literal border,
   just a ~19px margin revealing the black background behind, plus a ~19px
   border-radius — a "framed tile" rather than true edge-to-edge). */
.color-panel {
  position: relative; overflow: hidden;
  background: var(--accent); color: var(--ink);
  border-top: none !important;
  padding: clamp(3rem, 9vw, 6rem) 0 !important;
  margin: 0 clamp(10px, 2vw, 20px);
  border-radius: clamp(12px, 2vw, 20px);
}
.color-panel .wrap { position: relative; z-index: 2; }
.color-panel .eyebrow-num em, .color-panel .eyebrow-num span { color: var(--ink); opacity: .85; }
.color-panel .frame-mark { color: var(--ink); opacity: .4; }
/* Brand-color variants — spreads the panels across mag/red/orange/teal
   instead of every color-panel defaulting to orange via --accent. */
.color-panel[data-color="mag"]    { background: var(--mag); }
.color-panel[data-color="red"]    { background: var(--red); }
.color-panel[data-color="orange"] { background: var(--orange); }
.color-panel[data-color="teal"]   { background: var(--teal); }

/* Work section — each client gets one of the four core Everex colours, used
   consistently for that client across the homepage and the Work page. */
.color-panel[data-color="blissful"]     { background: var(--mag); }
.color-panel[data-color="classiccycle"] { background: var(--teal); }
.color-panel[data-color="michaelblast"] { background: var(--orange); }
.color-panel[data-color="dyna"]         { background: var(--red); }

/* Panel texture — diagonal hatch instead of the default noise grain in this
   context. Angle/spacing shifts per data-color so a run of panels (the Work
   section especially) doesn't read as one repeated stamp. */
.color-panel .grain { mix-blend-mode: multiply; opacity: .3; background-size: auto; }
.color-panel[data-color="mag"]          .grain { background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1.5px, transparent 1.5px, transparent 5px); }
.color-panel[data-color="red"]          .grain { background-image: repeating-linear-gradient(115deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 8px); }
.color-panel[data-color="orange"]       .grain { background-image: repeating-linear-gradient(60deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 5px); }
.color-panel[data-color="teal"]         .grain { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 7px); }
.color-panel[data-color="blissful"]     .grain { background-image: repeating-linear-gradient(100deg, rgba(0,0,0,.85) 0, rgba(0,0,0,.85) 1px, transparent 1px, transparent 9px); }
.color-panel[data-color="classiccycle"] .grain { background-image: repeating-linear-gradient(30deg, rgba(0,0,0,.7) 0, rgba(0,0,0,.7) 1px, transparent 1px, transparent 6px); }
.color-panel[data-color="michaelblast"] .grain { background-image: repeating-linear-gradient(150deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1.5px, transparent 1.5px, transparent 6px); }
.color-panel[data-color="dyna"]         .grain { background-image: repeating-linear-gradient(75deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 5px); }


.panel-corner-num { position: absolute; top: 26px; font-family: var(--mono); font-size: .78rem; font-weight: 700; opacity: .5; z-index: 2; }
.panel-corner-num--l { left: 30px; }
.panel-corner-num--r { right: 30px; }

/* Panel B — bleeding background word texture, slow drift.
   Confined to the right portion of the panel and kept very faint so it reads
   as a background texture, not competing text overlapping the headline/copy. */
.bg-bleed { position: absolute; top: 0; right: 0; bottom: 0; left: 58%; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-bleed span {
  display: block; white-space: nowrap; text-align: right;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.15;
  color: rgba(12,10,8,.06);
  animation: bgDrift 20s ease-in-out infinite;
}
.bg-bleed span:nth-child(even) { animation-direction: alternate-reverse; animation-duration: 26s; }
@keyframes bgDrift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-6%); } }
@media (prefers-reduced-motion: reduce) { .bg-bleed span { animation: none; } }
@media (max-width: 900px) { .bg-bleed { display: none; } }

/* ── 02 WORK: accordion of solid core-colour bars ──
   Closed: one clean line (number · title · tag · +) on flat colour with the
   site's diagonal hatch; no screenshot behind the text. Open (exactly one):
   the bar grows to show the copy beside a clean screenshot (stacked on
   phones). Colours are the four core colours only. */
.work-list { display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 12px); padding: 0 clamp(10px, 2vw, 20px); }
.work-row {
  --c: var(--orange); --hatch: 60deg;
  display: block; text-decoration: none; color: var(--ink);
  border-radius: clamp(12px, 2vw, 20px); overflow: hidden;
  background-color: var(--c);
  background-image: repeating-linear-gradient(var(--hatch), rgba(0,0,0,.08) 0, rgba(0,0,0,.08) 1px, transparent 1px, transparent 6px);
}
.work-row[data-color="mag"]    { --c: var(--mag);    --hatch: 135deg; }
.work-row[data-color="teal"]   { --c: var(--teal);   --hatch: 45deg; }
.work-row[data-color="orange"] { --c: var(--orange); --hatch: 60deg; }
.work-row[data-color="red"]    { --c: var(--red);    --hatch: 115deg; }

.work-row-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2rem); padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.3rem, 3vw, 2.5rem);
}
.work-row-num { font-family: var(--mono); font-size: .8rem; font-weight: 700; opacity: .7; }
main .work-row h3 {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--ink);
  font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: 0;
  overflow-wrap: normal; word-break: normal; hyphens: none;
}
.work-row-tag { font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: .75; }
.work-row-toggle { position: relative; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); flex: none; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.work-row-toggle::before, .work-row-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--c); }
.work-row-toggle::after { transform: rotate(90deg); }
.work-row.is-open .work-row-toggle { transform: rotate(45deg); }

.work-row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.16,1,.3,1); }
.work-row.is-open .work-row-body { grid-template-rows: 1fr; }
.work-row-body-in {
  min-height: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: end;
  padding: 0 clamp(1.3rem, 3vw, 2.5rem);
}
.work-row.is-open .work-row-body-in { padding-bottom: clamp(1.3rem, 3vw, 2.5rem); }
.work-row-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: .3rem; min-width: 0; }
.work-row-url { font-family: var(--mono); font-size: .74rem; opacity: .7; overflow-wrap: anywhere; }
main .work-row-desc { margin: 0; color: var(--ink); opacity: .85; font-size: 1.08rem; line-height: 1.6; max-width: 42ch; }
.work-row-cta { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--cream); padding: .95rem 1.5rem; transition: background .2s ease, color .2s ease; }
.work-row:hover .work-row-cta, .work-row:focus-visible .work-row-cta { background: var(--cream); color: var(--ink); }
.work-row-media { aspect-ratio: 16 / 10; border-radius: clamp(8px, 1.2vw, 12px); overflow: hidden; background: rgba(12,10,8,.2); box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.work-row-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (prefers-reduced-motion: reduce) { .work-row-body, .work-row-toggle { transition: none; } }

@media (max-width: 820px) {
  .work-row-head { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: .35rem; }
  .work-row-tag { grid-column: 2; grid-row: 2; white-space: normal; }
  .work-row-toggle { grid-column: 3; grid-row: 1 / span 2; width: 2.1rem; height: 2.1rem; }
  .work-row-body-in { grid-template-columns: 1fr; align-items: start; }
  .work-row-media { order: -1; }
  main .work-row-desc { font-size: 1rem; }
}

/* ── 03 SERVICES: numbered full-width rows. Resting state is hairline-on-black;
   hover/focus fills the row with that service's Everex colour + the same
   diagonal hatch the colour panels use, so it reads as a panel "opening". ── */
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.svc-head .manifesto-intro { justify-self: end; }
.svc-head .manifesto-intro p { font-size: 1.1rem; margin-bottom: 1.2rem; }


/* ── SOCIAL: half-width layout, large phone, fake-Instagram feed of real posts ── */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.social-copy p { font-size: 1.15rem; line-height: 1.7; color: rgba(243,236,223,.7); max-width: 46ch; }
@media (max-width: 900px) {
  .social-grid { grid-template-columns: 1fr; }
  .social-copy { text-align: center; }
  .social-copy p { margin-left: auto; margin-right: auto; }
}

.phone-mockup { display: flex; justify-content: center; }
.phone-mockup-frame {
  width: min(430px, 100%); aspect-ratio: 9/18.5;
  border: 12px solid #151515; border-radius: 52px;
  background: #000; position: relative; overflow: hidden;
  box-shadow: 0 50px 110px rgba(0,0,0,.55), 0 0 0 1px rgba(243,236,223,.08);
}
.phone-mockup-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 46%; height: 26px; background: #151515; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-mockup-screen { position: absolute; inset: 0; overflow: hidden; background: #fff; }

.ig-feed { display: flex; flex-direction: column; animation: phoneFeedScroll 42s linear infinite; }
@keyframes phoneFeedScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .ig-feed { animation-duration: 140s; } }
.phone-mockup:hover .ig-feed { animation-play-state: paused; }

.ig-post { background: #fff; color: #111; }
.ig-post-head { display: flex; align-items: center; gap: .55rem; padding: .65rem .8rem; }
.ig-avatar {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: .9rem; color: #fff;
}
.ig-avatar[data-brand="blissful"]    { background: var(--mag); }
.ig-avatar[data-brand="classiccycle"] { background: var(--teal); }
.ig-avatar[data-brand="dyna"]        { background: var(--red); }
.ig-post-names { display: flex; flex-direction: column; line-height: 1.2; }
.ig-post-names b { font-size: .78rem; font-weight: 700; color: #111; }
.ig-post-names small { font-size: .66rem; color: #8a8a8a; font-weight: 400; }
.ig-more { margin-left: auto; color: #8a8a8a; font-size: .7rem; letter-spacing: .08em; }
.ig-post-img { width: 100%; aspect-ratio: 1/1; overflow: hidden; }
.ig-post-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ig-post-actions { display: flex; align-items: center; gap: .95rem; padding: .6rem .8rem .25rem; }
.ig-icon { display: flex; color: #111; }
.ig-icon svg { width: 22px; height: 22px; }
.ig-icon--end { margin-left: auto; }
.ig-post-likes { padding: .15rem .8rem 0; font-size: .72rem; color: #111; }
.ig-post-likes b { font-weight: 700; }
.ig-post-caption { padding: .3rem .8rem .95rem; font-size: .72rem; line-height: 1.45; color: #111; }
.ig-post-caption b { font-weight: 700; margin-right: .35rem; }

/* ── 03 TRUST / CAPABILITY panel ── */
.trust-panel-inner { position: relative; z-index: 2; }
.trust-panel-inner p { font-size: 1.3rem; line-height: 1.7; margin-bottom: 1.6rem; }
.trust-panel-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.trust-panel-left h2 { margin-bottom: 1.8rem; }
@media (max-width: 900px) { .trust-panel-grid { grid-template-columns: 1fr; } }

/* ── REVIEW CAROUSEL — right column, one quote visible at a time, blurred slide right-to-left ── */
.review-carousel { position: relative; min-height: 200px; }
.review-slide {
  position: absolute; inset: 0;
  background: rgba(243,236,223,.96);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.4);
  opacity: 0; filter: blur(14px); transform: translateX(48px);
  transition: opacity .7s ease, filter .7s ease, transform .7s ease;
  pointer-events: none;
}
.review-slide.is-active { position: relative; opacity: 1; filter: blur(0); transform: translateX(0); pointer-events: auto; }
.review-slide.is-leaving { opacity: 0; filter: blur(14px); transform: translateX(-48px); }
.review-stars { color: var(--ink); letter-spacing: .2em; font-size: 1.5rem; margin-bottom: 1rem; opacity: .9; }
.review-quote { color: var(--ink) !important; opacity: .85; font-size: 1.3rem; line-height: 1.7; margin-bottom: 1rem; }
.review-author { display: flex; align-items: baseline; gap: .5rem; font-family: Inter, system-ui, sans-serif; font-size: .95rem; opacity: .95; }
.review-name { font-weight: 700; }
.review-role { font-weight: 400; opacity: .75; }
.review-role::before { content: '\2014'; margin-right: .5rem; }
@media (prefers-reduced-motion: reduce) { .review-slide { transition: opacity .3s ease; filter: none !important; transform: none !important; } }

/* ── CONTACT ── */
.contact-grid { gap: clamp(2rem, 5vw, 4rem); }
.contact-info.card, .contact-form.card { background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; }
.contact-info.card::before, .contact-info.card::after,
.contact-form.card::before, .contact-form.card::after { display: none; }
.contact-info { border-right: 1px solid rgba(243,236,223,.1); padding-right: clamp(1.5rem, 3vw, 2.5rem) !important; }
.contact-info h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0; color: var(--cream); }
.contact-info > p { font-size: 1.15rem; line-height: 1.7; }
.contact-list b { color: var(--cream); font-size: 1.05rem; }
.contact-list span { font-family: var(--mono); color: rgba(243,236,223,.4); }
.form-group label { font-family: var(--mono); text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; color: rgba(243,236,223,.5); }
.form-group input, .form-group select, .form-group textarea { background: transparent; border: 1px solid rgba(243,236,223,.2); color: var(--cream); border-radius: 0; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
@media (max-width: 900px) { .contact-info { border-right: none; border-bottom: 1px solid rgba(243,236,223,.1); padding-right: 0 !important; padding-bottom: 2rem !important; } }

/* ── FOOTER manifesto CTA ── */
.footer-manifesto { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; padding-bottom: clamp(2.5rem, 6vw, 4rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid rgba(243,236,223,.1); }
.footer-manifesto h2 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); max-width: 16ch; }
.footer-col-heading { font-family: var(--mono) !important; }
.footer-badges span { font-family: var(--mono); }

/* ── PHONE FEED: post variety (carousels, reels, designed tiles, timestamps) ── */
.ig-avatar[data-brand="t4b"] { background: var(--red); }
.ig-avatar[data-brand="everex"] { background: var(--orange); color: var(--ink); }
.ig-post-img { position: relative; }
.ig-carousel { overflow: hidden; }
.ig-track { display: flex; width: 100%; height: 100%; animation: igSwipe 7s ease-in-out infinite; }
.ig-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
@keyframes igSwipe { 0%, 42% { transform: translateX(0); } 50%, 92% { transform: translateX(-100%); } 100% { transform: translateX(0); } }
.ig-reel { aspect-ratio: 4 / 5 !important; }
.ig-reel img { object-position: center 35%; }
.ig-badge { position: absolute; top: .55rem; right: .55rem; font-size: .62rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.6); padding: .15rem .45rem; border-radius: 999px; font-family: Inter, system-ui, sans-serif; }
.ig-tile { --c: var(--orange); position: relative; overflow: hidden; aspect-ratio: 1 / 1; display: flex; flex-direction: column; gap: .5rem; padding: 9% 9% 8%; background: var(--c); color: var(--ink);
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.09) 0, rgba(0,0,0,.09) 1px, transparent 1px, transparent 6px); }
.ig-tile[data-color="red"]  { --c: var(--red); }
.ig-tile[data-color="mag"]  { --c: var(--mag); }
.ig-tile[data-color="teal"] { --c: var(--teal); }
.ig-tile::after { content: ''; position: absolute; right: -20%; bottom: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.ig-tile > * { position: relative; z-index: 1; }
.ig-tile-kicker { font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.ig-tile-head { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.75rem; line-height: .9; max-width: 10ch; }
.ig-tile ul { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.ig-tile li { font-family: Inter, system-ui, sans-serif; font-size: .7rem; font-weight: 600; }
.ig-tile li::before { content: '— '; }
.ig-tile-foot { margin-top: auto; font-family: var(--mono); font-size: .56rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ig-post-time { padding: 0 .8rem .95rem; margin-top: -.6rem; font-size: .58rem; letter-spacing: .04em; text-transform: uppercase; color: #8a8a8a; font-family: Inter, system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { .ig-track { animation: none; } }

/* ── HERO extras ── */
.hero-next { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(243,236,223,.5); padding-bottom: .2rem; }
.hero-next .exi { transform: rotate(90deg); }

/* ── 01 STUDIO (space): one statement with room around it ── */
main > section.h-intro { padding: clamp(6rem, 14vw, 12rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem) !important; border-top: none !important; }
.h-intro-inner { max-width: 1180px; }
main .h-statement { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .92; margin: 0 0 clamp(2rem, 4vw, 3rem); color: var(--cream); max-width: 18ch; }
.h-intro-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; max-width: 900px; margin-left: auto; }
main .h-intro-foot p { margin: 0; font-size: 1.15rem; line-height: 1.75; color: rgba(243,236,223,.62); max-width: 52ch; }
.h-clients { max-width: 1180px; margin-top: clamp(4rem, 9vw, 7rem); padding-top: 1.4rem; border-top: 1px solid rgba(243,236,223,.14); display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; }
.h-clients-label { font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,236,223,.5); }
.h-clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; }
.h-clients li { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1rem, 1.6vw, 1.35rem); color: rgba(243,236,223,.82); white-space: nowrap; }
@media (max-width: 760px) {
  .h-intro-foot, .h-clients { grid-template-columns: 1fr; }
  .h-clients li { white-space: normal; }
}

/* ── 02 SERVICES (bento) ── */
main > section.h-services { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.h-head { padding: 0 var(--pad, clamp(1.25rem, 4vw, 2.5rem)); margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.h-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: clamp(10px, 1.4vw, 16px); padding: 0 clamp(10px, 2vw, 20px); }
.hb { --c: var(--orange); --hatch: 60deg; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.4rem, 2.8vw, 2.4rem); border-radius: clamp(12px, 2vw, 20px); background-color: var(--c); color: var(--ink); text-decoration: none; transition: transform .4s cubic-bezier(.16,1,.3,1);
  background-image: repeating-linear-gradient(var(--hatch), rgba(0,0,0,.09) 0, rgba(0,0,0,.09) 1px, transparent 1px, transparent 6px); }
.hb:hover, .hb:focus-visible { transform: translateY(-6px); }
.hb[data-color="mag"]   { --c: var(--mag); --hatch: 135deg; }
.hb[data-color="teal"]  { --c: var(--teal); --hatch: 45deg; }
.hb[data-color="red"]   { --c: var(--red); --hatch: 115deg; }
.hb[data-color="cream"] { --c: var(--cream); background-image: none; }
.hb-num { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
main .hb h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: .9; color: inherit; }
main .hb p { margin: 0; color: inherit; opacity: .85; font-size: 1rem; line-height: 1.55; max-width: 38ch; }
.hb-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: .2rem; }
/* Rows split on the same 8/4 lines so the gutters line up. */
.hb--web    { grid-column: span 8; grid-row: span 2; }
.hb--brand  { grid-column: span 4; }
.hb--social { grid-column: span 4; }
.hb--seo    { grid-column: span 8; }
.hb--all    { grid-column: span 4; justify-content: space-between; }
main .hb--web h3 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.hb-shot { margin: .6rem 0 .4rem; border-radius: clamp(8px, 1.2vw, 12px); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.hb-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hb-mark { position: absolute; right: -6%; bottom: -14%; width: 46%; max-width: 220px; opacity: .9; z-index: -1; transform: rotate(-8deg); }
.hb--motion { background: #0c1a1b !important; color: var(--cream); }
.hb--motion .panel-motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .9; }
@media (max-width: 1000px) {
  .hb--web, .hb--brand, .hb--social, .hb--seo, .hb--all { grid-column: span 6; grid-row: auto; }
  .hb--web { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hb--web, .hb--brand, .hb--social, .hb--seo, .hb--all { grid-column: 1 / -1; }
  .hb--social { min-height: 300px; }
}

/* ── Services bento: colour as accent ──
   Web design is the one filled tile; the rest are ink with a coloured
   number and top rule. */
.hb:not(.hb--web) { background-color: #141210 !important; background-image: none !important; color: var(--cream) !important;
  box-shadow: inset 0 0 0 1px rgba(243,236,223,.1), inset 0 3px 0 var(--c); }
.hb:not(.hb--web) .hb-num { color: var(--c); opacity: 1; }
.hb--all { --c: var(--cream); }
.hb-mark { opacity: .35; }

/* ── Design review ── */
/* Tagline: a real space before the dash. */
.hero-tagline > span + span { margin-left: .4em; }
/* Phones: the badge overlapped the Brand tile's copy, and the Social and
   All-services tiles carried desktop heights with nothing to fill them. */
@media (max-width: 900px) {
  .hb-mark { display: none; }
  .hb--social { min-height: 0; }
  .hb--all { justify-content: flex-start; gap: 1.4rem; }
}
/* Review byline wraps as a unit instead of splitting the name. */
.review-author { flex-wrap: wrap; row-gap: .2rem; }
.review-name { white-space: nowrap; }
@media (max-width: 640px) { .review-quote { font-size: 1.05rem; line-height: 1.6; } }

/* Recent clients as a logo strip: six equal cells split by hairlines, each
   linking to its project. Logos are white-on-transparent in
   /assets/images/clients/; wide and square marks get different heights so
   they read at the same visual weight. */
.h-clients { align-items: center; }
.h-clients ul.h-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.h-logos li { border-left: 1px solid rgba(243,236,223,.1); white-space: normal; }
.h-logos li:first-child { border-left: 0; }
.h-logos a { display: flex; align-items: center; justify-content: center; height: 96px; padding: 0 1rem; opacity: .62; transition: opacity .25s ease; }
.h-logos a:hover, .h-logos a:focus-visible { opacity: 1; }
.h-logos img { display: block; max-width: 100%; height: auto; max-height: 34px; object-fit: contain; }
.h-logos a.is-tall img { max-height: 70px; }
.h-logos a.is-mark img { max-height: 46px; }
.h-logo-word { font-family: var(--display); font-size: .82rem; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: var(--cream); }
@media (max-width: 900px) {
  .h-clients ul.h-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-logos li:nth-child(3n+1) { border-left: 0; }
  .h-logos li:nth-child(n+4) { border-top: 1px solid rgba(243,236,223,.1); }
  .h-logos a { height: 84px; padding: 0 .6rem; }
  .h-logos img { max-height: 26px; }
  .h-logos a.is-tall img { max-height: 56px; }
  .h-logos a.is-mark img { max-height: 36px; }
}

/* Reviews share one grid cell, so the card is always as tall as the longest
   quote and the panel doesn't jump when the carousel changes slide. */
.review-carousel { display: grid; min-height: 0; }
.review-slide, .review-slide.is-active { position: relative; inset: auto; grid-area: 1 / 1; }
.review-slide { display: flex; flex-direction: column; justify-content: center; }
