/* home.css: Homepage-only styling for tombosschaert.com.
   Loaded last via {% block page_css %}, so it overrides the base layers.
   Goal: full-bleed cinematic photography, restrained type floating low-left,
   generous negative space. No flat color fields, no boxes as the main event. */

/* ============================================================
   Tokens local to the homepage
   ============================================================ */
.page-home {
  --home-scrim-strong: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.40) 32%,
    rgba(0, 0, 0, 0.05) 60%,
    rgba(0, 0, 0, 0.45) 100%
  );
  --home-rule: rgba(180, 122, 82, 0.45);
  --home-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------
   Mycelium overlay contract (self-contained, see home.js).
   home.js injects its own <canvas class="myc-canvas"> into each
   [data-myc] section and animates a warm-copper filament network on a
   TRANSPARENT surface (clearRect each frame, additive 'lighter' glow).
   No shared engine, no near-black fill, so this renders identically in
   every environment. Layering:
     photo sections  -> media z0, canvas z1, copy z2
     SiD panel       -> canvas behind the text
   The canvas draws light on transparency, so no blend mode is needed;
   the filaments simply add a faint glow over the photo or panel.
   ------------------------------------------------------------ */
.page-home [data-myc] {
  position: relative;
}
.page-home .myc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
/* Photo sections: canvas glows on top of the photo, copy sits above both. */
.page-home .home-photo .myc-canvas {
  z-index: 1;
}
.page-home .home-photo > *:not(.myc-canvas) {
  z-index: 2;
}
.page-home .home-photo .home-hero__media,
.page-home .home-photo .home-feature__media,
.page-home .home-photo .home-cta__media {
  z-index: 0;
}
/* SiD split: canvas sits on the dark panel behind the text and image. */
.page-home .home-book {
  background: #0A0A0A;
}
.page-home .home-book .myc-canvas {
  z-index: 0;
}
.page-home .home-book__text,
.page-home .home-book__media {
  position: relative;
  z-index: 1;
}

/* Slow, subtle reveals for the homepage (override the 600ms base) */
.page-home .reveal {
  transition: opacity 0.9s var(--home-ease), transform 0.9s var(--home-ease);
}
.page-home .reveal--image {
  transition: opacity 1.1s var(--home-ease), transform 1.1s var(--home-ease);
}
.page-home .reveal[data-delay="1"] { transition-delay: 120ms; }
.page-home .reveal[data-delay="2"] { transition-delay: 240ms; }
.page-home .reveal[data-delay="3"] { transition-delay: 360ms; }
.page-home .reveal[data-delay="4"] { transition-delay: 480ms; }
.page-home .reveal[data-delay="5"] { transition-delay: 600ms; }

/* Full-bleed media wrappers get a will-change hint so the JS parallax
   transform stays on the compositor. Transform-only, no layout. */
.page-home [data-parallax] {
  will-change: transform;
}

/* All homepage anchors: no default underline (titles/desc sit inside links) */
.page-home a,
.home-pillar,
.home-tile,
.home-link {
  text-decoration: none;
}

/* Shared thin link used across the homepage */
.home-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.home-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transform: scaleX(1);
  transform-origin: left;
  transition: opacity 0.4s var(--home-ease), background 0.3s ease;
}
.home-link:hover {
  color: var(--accent-hover);
}
.home-link:hover::after {
  opacity: 1;
  background: var(--accent-hover);
}
.home-link .home-link__arrow {
  font-family: var(--font-body);
  transition: transform 0.4s var(--home-ease);
}
.home-link:hover .home-link__arrow {
  transform: translateX(4px);
}

/* Mono eyebrow label, wide tracking */
.home-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* ============================================================
   1. HERO  -- full-bleed river delta, name low-left
   ============================================================ */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: scale(1.06);
  transition: transform 2.4s var(--home-ease), opacity 1.6s ease;
}
.home-hero.is-visible .home-hero__media img,
.home-hero .home-hero__media img.is-visible {
  transform: scale(1);
}
/* Scrim: darken bottom-left so the name reads, keep the delta visible */
.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.30) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 55%);
}
.home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--side-pad) clamp(3rem, 9vh, 7rem);
}
.home-hero__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #F2EDE6;
  margin: 0;
}
.home-hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(242, 237, 230, 0.82);
  max-width: 30rem;
  margin-top: var(--space-md);
}
.home-hero__cue {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 230, 0.6);
}
.home-hero__cue-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: homeCue 3.2s ease-in-out infinite;
}
@keyframes homeCue {
  0%, 100% { opacity: 0.35; transform: scaleY(0.8); }
  50% { opacity: 0.9; transform: scaleY(1); }
}

/* ============================================================
   2. IDENTITY  -- light, quiet, typographic; portrait small + grayscale
   ============================================================ */
.home-identity {
  background: #F5F0E8;
  color: #1A1714;
  padding: clamp(7rem, 16vh, 12rem) 0;
}
.home-identity__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 22vw, 280px);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.home-identity__lead .home-eyebrow {
  color: #6B5E52;
  margin-bottom: var(--space-md);
}
.home-identity__statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #1A1714;
  max-width: 22ch;
}
.home-identity__statement p {
  color: inherit;
  margin-bottom: 0.6em;
}
.home-identity__statement p:last-child { margin-bottom: 0; }
.home-identity__statement em,
.home-identity__statement strong {
  font-style: italic;
  font-weight: 300;
  color: #8B5E3C;
}
.home-identity__meta {
  padding-top: 0.6rem;
}
.home-identity__portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  border-radius: 1px;
}
.home-identity__caption {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5E52;
  margin-top: var(--space-sm);
  line-height: 1.6;
}

/* ============================================================
   3. PILLARS  -- editorial 3-column type, hairline copper underline
   ============================================================ */
.home-pillars {
  background: #0A0A0A;
  padding: clamp(7rem, 15vh, 11rem) 0;
}
.home-pillars__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.home-pillars__head {
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}
.home-pillars__head .home-eyebrow {
  margin-bottom: var(--space-sm);
}
.home-pillars__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #F2EDE6;
  max-width: 18ch;
}
.home-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.home-pillar {
  display: block;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  transition: border-color 0.5s var(--home-ease);
}
.home-pillar:hover {
  border-color: var(--home-rule);
}
.home-pillar__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-sm);
}
.home-pillar__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #F2EDE6;
  margin-bottom: var(--space-sm);
}
.home-pillar__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  max-width: 30ch;
}
.home-pillar__link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.4s ease;
}
.home-pillar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s var(--home-ease);
}
.home-pillar:hover .home-pillar__link {
  color: var(--accent-hover);
}
.home-pillar:hover .home-pillar__link::after {
  width: 2.25rem;
}

/* ============================================================
   4. PRACTICE  -- full-bleed timber gridshell, text bottom-left
   ============================================================ */
.home-feature {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.home-feature__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.20) 50%, rgba(0, 0, 0, 0.40) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
}
.home-feature__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--side-pad) clamp(3.5rem, 9vh, 6.5rem);
  max-width: 46rem;
}
.home-feature__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin-bottom: var(--space-sm);
}
.home-feature__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.home-feature__desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-top: var(--space-md);
}
.home-feature__content .home-link {
  margin-top: var(--space-md);
  color: #FFFFFF;
}

/* ============================================================
   5. QUOTE  -- mycelium dimmed, large Fraunces italic centered
   ============================================================ */
.home-quote {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.home-quote__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-quote__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.home-quote__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.72) 70%, rgba(0, 0, 0, 0.86) 100%);
}
.home-quote__content {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  padding: var(--space-2xl) var(--side-pad);
}
.home-quote__mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0;
  color: var(--accent);
  opacity: 0.55;
  display: block;
  margin-bottom: var(--space-md);
  height: 0.4em;
}
.home-quote__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.625rem, 3.4vw, 2.625rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: #F2EDE6;
}
.home-quote__attr {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 237, 230, 0.6);
  margin-top: clamp(2rem, 5vh, 3rem);
}

/* ============================================================
   6. SELECTED WORK  -- irregular masonry mosaic, overlaid text,
      assembles on scroll
   ============================================================ */
.home-work {
  background: #0C0B0A;
  padding: clamp(7rem, 15vh, 11rem) 0;
}
.home-work__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.home-work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.home-work__head .home-eyebrow {
  margin-bottom: var(--space-sm);
}
.home-work__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #F2EDE6;
  max-width: 20ch;
}

/* The mosaic: a 12-column grid with hand-tuned spans so five tiles
   tessellate into a composed, irregular wall rather than a uniform grid.
   Row height is a fixed track; tall tiles span two rows. Spans are keyed
   by :nth-child, not a per-tile class, so the layout stays correct after
   the SiD/Omnibus book tile is filtered out of the loop server-side.
   Five tiles, position 1 is the cinematic lead at the largest size. */
.home-work__mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 18vw, 230px);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}
/* Row 1: a wide cinematic lead beside a tall portrait companion. */
.home-tile:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.home-tile:nth-child(2) { grid-column: span 4; grid-row: span 2; }
/* Row 2: three balanced tiles, the center one a touch wider. */
.home-tile:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.home-tile:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.home-tile:nth-child(5) { grid-column: span 4; grid-row: span 1; }

.home-tile {
  position: relative;
  overflow: hidden;
  background: #141414;
  display: block;
  color: inherit;
  border-radius: 2px;
  /* Scroll-build start state. JS adds .is-built to reveal each tile. */
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.7s var(--home-ease),
    transform 0.7s var(--home-ease);
}
.home-tile.is-built {
  opacity: 1;
  transform: none;
}
.home-tile__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.home-tile__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.92);
  transform: scale(1.02);
  transition: transform 1.2s var(--home-ease), filter 0.8s ease;
}
/* Bottom scrim so overlaid text always reads. */
.home-tile__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.42) 32%,
    rgba(0, 0, 0, 0) 64%
  );
  transition: opacity 0.5s ease;
}
.home-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.1rem, 2vw, 1.75rem);
}
.home-tile__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hover);
  display: block;
  margin-bottom: 0.55rem;
}
.home-tile__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.875rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #F4EFE8;
  margin-bottom: 0.4rem;
  transition: color 0.4s ease;
}
.home-tile__line {
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  line-height: 1.5;
  color: rgba(244, 239, 232, 0.78);
  max-width: 34ch;
  /* Small tiles keep the one-liner tight; the lead tile shows it in full. */
}
/* Small single-row tiles (the bottom row of three): trim the one-liner so
   it never crowds. */
.home-tile:nth-child(3) .home-tile__line,
.home-tile:nth-child(4) .home-tile__line,
.home-tile:nth-child(5) .home-tile__line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Copper hairline that draws on hover. */
.home-tile__rule {
  position: absolute;
  left: clamp(1.1rem, 2vw, 1.75rem);
  bottom: clamp(0.9rem, 1.6vw, 1.4rem);
  z-index: 2;
  height: 1px;
  width: 0;
  background: var(--accent-hover);
  transition: width 0.6s var(--home-ease);
}
.home-tile:hover .home-tile__frame img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.02) brightness(1);
}
.home-tile:hover .home-tile__frame::after {
  opacity: 0.85;
}
.home-tile:hover .home-tile__title {
  color: var(--accent-hover);
}
.home-tile:hover .home-tile__rule {
  width: clamp(2rem, 5vw, 3.5rem);
}
.home-work__foot {
  margin-top: clamp(3rem, 7vh, 5rem);
}

/* ============================================================
   7. SiD BOOK  -- dark split, book as the subject, mycelium ok
   ============================================================ */
.home-book {
  position: relative;
  background: #0A0A0A;
  display: grid;
  grid-template-columns: 52fr 48fr;
  min-height: 88vh;
  overflow: hidden;
}
.home-book__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 12vh, 9rem) clamp(2rem, 5vw, 5rem) clamp(5rem, 12vh, 9rem) var(--side-pad);
}
.home-book__inner {
  max-width: 30rem;
}
.home-book__inner .home-eyebrow {
  margin-bottom: var(--space-md);
}
.home-book__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #F2EDE6;
  margin-bottom: var(--space-md);
}
.home-book__desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
.home-book__media {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #060606;
}
.home-book__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Deeper grade so the bright book image sits with the dark sections:
     lower brightness, a little more contrast, slightly desaturated. Not so
     far that it crushes to mud. */
  filter: saturate(0.82) contrast(1.08) brightness(0.7);
}
/* Subtle dark overlay: a soft vignette plus a left-edge fade into the panel.
   Pulls the image temperature down to match #0A0A0A without flattening it. */
.home-book__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(0, 0, 0, 0) 55%, rgba(10, 10, 10, 0.7) 100%),
    radial-gradient(ellipse at 60% 45%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
}

/* ============================================================
   8. DATA MOMENT  -- stats, hairline rules top and bottom
   ============================================================ */
.home-data {
  background: #0A0A0A;
  padding: clamp(4.5rem, 10vh, 7rem) 0;
}
.home-data__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: clamp(3rem, 6vh, 4.5rem) var(--side-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.home-stat {
  text-align: center;
}
.home-stat__value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-gold);
  display: block;
}
.home-stat__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  display: block;
}

/* ============================================================
   9. CLOSING CTA  -- full-bleed wetland, quiet line + thin link
   ============================================================ */
.home-cta {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.home-cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.home-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
}
.home-cta__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--side-pad) clamp(4rem, 10vh, 7rem);
  max-width: 40rem;
}
.home-cta__line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F2EDE6;
  margin-bottom: var(--space-lg);
}
.home-cta__content .home-link {
  font-size: 0.8125rem;
  color: #F2EDE6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .home-pillars__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-pillar {
    padding: var(--space-md) 0;
  }
  /* Tablet: 6-column mosaic for five tiles. Full-width cinematic lead,
     a 2-up pair, then a 2-up pair (one slightly wider). */
  .home-work__mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(150px, 26vw, 220px);
  }
  .home-tile:nth-child(1) { grid-column: span 6; grid-row: span 2; }
  .home-tile:nth-child(2) { grid-column: span 3; grid-row: span 1; }
  .home-tile:nth-child(3) { grid-column: span 3; grid-row: span 1; }
  .home-tile:nth-child(4) { grid-column: span 3; grid-row: span 1; }
  .home-tile:nth-child(5) { grid-column: span 3; grid-row: span 1; }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 100svh;
  }
  .home-hero__content {
    padding-bottom: clamp(2.5rem, 8vh, 4rem);
  }
  .home-identity__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .home-identity__portrait {
    max-width: 220px;
    aspect-ratio: 4 / 5;
  }
  .home-feature,
  .home-cta {
    min-height: 78vh;
  }
  .home-quote {
    min-height: 80vh;
  }
  /* Mobile: single stacked column, each tile a comfortable landscape.
     Overlaid text still reads at full width. */
  .home-work__mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: var(--space-md);
  }
  .home-tile {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 16 / 11;
  }
  .home-tile:nth-child(1) { aspect-ratio: 16 / 12; }
  .home-tile__frame { position: absolute; }
  .home-book {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .home-book__media {
    order: -1;
    min-height: 50vh;
  }
  .home-book__text {
    padding: var(--space-xl) var(--side-pad);
  }
  .home-data__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 420px) {
  .home-data__inner {
    grid-template-columns: 1fr 1fr;
  }
}
