/* Zimmermannplatz 6, Stylesheet. Palette und Typografie laut Brand-Broschuere 2609. */

@font-face { font-family: "AvantGarde"; src: url("../fonts/URWGothic-Book.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "AvantGarde"; src: url("../fonts/URWGothic-BookOblique.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "AvantGarde"; src: url("../fonts/URWGothic-Demi.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ivory: #e6e5db;
  --ivory-2: #edece4;
  --greige: #c7beb1;
  --greige-2: #d8d1c6;
  --bronze: #8e8170;
  --terra: #b86a55;
  --olive: #45442d;
  --olive-2: #3a3926;

  --ink: var(--olive);
  --ink-soft: var(--bronze);
  --line: rgba(69, 68, 45, 0.18);
  --line-strong: rgba(69, 68, 45, 0.4);

  --font: "AvantGarde", "Avant Garde", "ITC Avant Garde Gothic", "Century Gothic", "Futura", system-ui, sans-serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --col-gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 14vw, 200px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --z6-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='88' viewBox='0 0 72 88'%3E%3Cg transform='translate(24 26) scale(0.3)' fill='%2345442d' fill-opacity='0.06'%3E%3Cpath d='M44.7,0H1.1v6.71h35.3L0,67.31v6.7h35.59c-.1-.79-.15-1.6-.15-2.43,0-1.46.15-2.89.44-4.27H8.4L44.7,6.71V0Z'/%3E%3Cpath d='M53.74,45.58c-2.4,0-4.8.6-6.9,1.6l-.2-.1,17.1-25.11h-8.4l-21.3,31.51c-2.61,3.91-4.95,8.68-5.73,13.83-.17,1.17-.27,2.36-.27,3.57,0,1.06.05,2.11.16,3.13,1.35,13.34,11.3,23.17,25.14,23.17,14.91,0,25.31-11.8,25.31-25.9s-10.81-25.7-24.91-25.7ZM53.34,90.48c-9.21,0-16.64-7.13-17.75-16.47-.1-.79-.15-1.6-.15-2.43,0-1.46.15-2.89.44-4.27,1.74-8.45,8.59-15.03,17.36-15.03,10.7,0,18.01,8.8,18.01,19.1s-7.31,19.1-17.91,19.1Z'/%3E%3C/g%3E%3C/svg%3E");
  --z6-pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='88' viewBox='0 0 72 88'%3E%3Cg transform='translate(24 26) scale(0.3)' fill='%23e6e5db' fill-opacity='0.035'%3E%3Cpath d='M44.7,0H1.1v6.71h35.3L0,67.31v6.7h35.59c-.1-.79-.15-1.6-.15-2.43,0-1.46.15-2.89.44-4.27H8.4L44.7,6.71V0Z'/%3E%3Cpath d='M53.74,45.58c-2.4,0-4.8.6-6.9,1.6l-.2-.1,17.1-25.11h-8.4l-21.3,31.51c-2.61,3.91-4.95,8.68-5.73,13.83-.17,1.17-.27,2.36-.27,3.57,0,1.06.05,2.11.16,3.13,1.35,13.34,11.3,23.17,25.14,23.17,14.91,0,25.31-11.8,25.31-25.9s-10.81-25.7-24.91-25.7ZM53.34,90.48c-9.21,0-16.64-7.13-17.75-16.47-.1-.79-.15-1.6-.15-2.43,0-1.46.15-2.89.44-4.27,1.74-8.45,8.59-15.03,17.36-15.03,10.7,0,18.01,8.8,18.01,19.1s-7.31,19.1-17.91,19.1Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--terra); color: var(--ivory); }

/* ---------- Typography ---------- */
.display-1 { font-weight: 400; font-size: clamp(2.4rem, 7.6vw, 8.4rem); line-height: 0.96; letter-spacing: -0.025em; text-wrap: balance; }
.display-2 { font-weight: 400; font-size: clamp(2rem, 4.6vw, 4.9rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.display-3 { font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.5; }
.body-s { font-size: clamp(0.85rem, 0.95vw, 0.95rem); line-height: 1.6; }
.muted { color: var(--ink-soft); }
.label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; color: var(--ink-soft); }
.num { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.italic { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { padding-top: var(--section); padding-bottom: var(--section); position: relative; }
.section-rule { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 96px); }
.section-rule .label { color: var(--ink); }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

.theme-dark { background: var(--olive); color: var(--ivory); --ink: var(--ivory); --ink-soft: rgba(230, 229, 219, 0.62); --line: rgba(230, 229, 219, 0.22); --line-strong: rgba(230, 229, 219, 0.5); }
.theme-greige { background: var(--greige); --line: rgba(69, 68, 45, 0.22); }

/* ---------- Links and buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 22px; border: 1px solid var(--line-strong); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; position: relative; overflow: hidden; transition: color 0.45s var(--ease), border-color 0.45s var(--ease); isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--olive); transform: translateY(101%); transition: transform 0.55s var(--ease); z-index: -1; }
.btn:hover { color: var(--ivory); border-color: var(--olive); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { width: 12px; height: 12px; transition: transform 0.45s var(--ease); }
.btn:hover .arr { transform: translate(2px, -2px); }
.theme-dark .btn::before { background: var(--ivory); }
.theme-dark .btn:hover { color: var(--olive); border-color: var(--ivory); }
.btn--terra::before { background: var(--terra); }
.btn--terra:hover { border-color: var(--terra); color: var(--ivory); }

.textlink { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 6px; position: relative; }
.textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform 0.5s var(--ease); }
.textlink:hover::after { transform: scaleX(0); transform-origin: right; }
.textlink .arr { width: 11px; height: 11px; transition: transform 0.4s var(--ease); }
.textlink:hover .arr { transform: translate(3px, -3px); }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ivory); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 28px; }
.loader__mark { width: clamp(64px, 8vw, 110px); position: relative; }
.loader__mark svg { width: 100%; height: auto; fill: var(--olive); }
.loader__mark .loader__fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.loader__mark .loader__fill svg { fill: var(--olive); }
.loader__mark .loader__ghost svg { fill: var(--greige); }
.loader__count { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--terra); font-variant-numeric: tabular-nums; }
.loader__count span { display: inline-block; min-width: 3ch; text-align: right; }
.loader__word { position: absolute; bottom: clamp(24px, 4vw, 48px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.loader.is-done { pointer-events: none; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 22px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: padding 0.5s var(--ease), color 0.4s var(--ease), transform 0.6s var(--ease); color: var(--olive); }
.header.is-scrolled { padding-top: 14px; padding-bottom: 14px; }
.header.is-scrolled::before { opacity: 1; }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(230, 229, 219, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.4s var(--ease); z-index: -1; }
.header.is-light { color: var(--ivory); }
.header.is-light::before { background: rgba(69, 68, 45, 0.82); border-bottom-color: rgba(230, 229, 219, 0.14); }
.header.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; }
.brand svg { height: clamp(34px, 3.2vw, 46px); width: auto; fill: currentColor; transition: height 0.5s var(--ease); }
.header.is-scrolled .brand svg { height: clamp(28px, 2.4vw, 34px); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); justify-self: center; }
.nav a { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header .btn { padding: 12px 18px; font-size: 0.7rem; border-color: currentColor; }
.header.is-light .btn::before { background: var(--ivory); }
.header.is-light .btn:hover { color: var(--olive); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1px; background: currentColor; top: 50%; transition: transform 0.45s var(--ease), opacity 0.3s; }
.burger span:first-child { transform: translateY(-5px); }
.burger span:last-child { transform: translateY(5px); }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--olive); color: var(--ivory); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(28px, 6vw, 56px); transform: translateY(-100%); transition: transform 0.7s var(--ease-io); visibility: hidden; }
.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a { display: block; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid rgba(230, 229, 219, 0.18); }
.mobile-menu .mobile-menu__foot { margin-top: 28px; display: flex; justify-content: space-between; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(230, 229, 219, 0.6); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(140px, 18vw, 240px); min-height: 100svh; position: relative; }
.hero__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 32px; align-items: end; }
.hero__title { grid-column: 1 / span 9; }
.hero__aside { grid-column: 10 / span 3; max-width: 34ch; }
.hero__aside p { margin-bottom: 22px; }
.hero__meta { display: flex; justify-content: space-between; padding: 22px 0 0; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.hero__media { margin-top: clamp(28px, 4vw, 56px); position: relative; height: clamp(360px, 78vh, 900px); }
.hero__frame { position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) + 8.333%); right: calc(var(--gutter) + 8.333%); overflow: hidden; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transform-origin: center; }
.hero__caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: -34px; display: flex; justify-content: space-between; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.hero__scroll { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 1px; height: 64px; background: var(--line-strong); overflow: hidden; display: none; }

/* ---------- Project ---------- */
.project__intro { grid-column: 1 / span 5; }
.project__intro .display-2 { margin-bottom: 32px; }
.project__intro p + p { margin-top: 18px; }
.project__facts { grid-column: 7 / span 6; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); position: relative; }
.facts::before { content: ""; position: absolute; inset: 0; background-image: var(--z6-pattern); opacity: 0.9; pointer-events: none; mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.2)); }
.fact { padding: clamp(20px, 2.4vw, 34px) clamp(16px, 1.8vw, 28px) clamp(18px, 2vw, 30px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; position: relative; }
.fact__value { font-size: clamp(1.9rem, 3.2vw, 3.4rem); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.fact__value small { font-size: 0.45em; font-weight: 400; letter-spacing: 0; margin-left: 0.15em; }
.fact__value small.pre { margin-left: 0; margin-right: 0.2em; }
.fact__label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.project__collage { margin-top: clamp(80px, 12vw, 180px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 32px; align-items: start; }
.project__collage figure { position: relative; overflow: hidden; }
.project__collage figure img { width: 100%; height: 100%; object-fit: cover; }
.project__collage figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.collage-a { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.collage-b { grid-column: 9 / span 4; aspect-ratio: 3 / 4; margin-top: clamp(60px, 10vw, 180px); }
.collage-c { grid-column: 3 / span 5; aspect-ratio: 16 / 10; margin-top: clamp(-40px, -3vw, -20px); }
.collage-text { grid-column: 9 / span 4; align-self: center; }
.collage-text p { margin-bottom: 24px; }

/* ---------- Marquee band ---------- */
.band { display: block; overflow: hidden; padding: clamp(22px, 2.6vw, 38px) 0; position: relative; white-space: nowrap; }
.band__track { display: inline-flex; gap: 0; will-change: transform; animation: band 38s linear infinite; }
.band:hover .band__track { animation-play-state: running; }
.band__item { display: inline-flex; align-items: center; gap: clamp(26px, 3vw, 48px); padding-right: clamp(26px, 3vw, 48px); font-size: clamp(1.8rem, 4.2vw, 4.4rem); letter-spacing: -0.02em; line-height: 1; }
.band__item svg { height: 0.78em; width: auto; fill: currentColor; opacity: 0.8; }
.band__item .arr { width: 0.5em; height: 0.5em; transition: transform 0.5s var(--ease); }
.band:hover .arr { transform: translate(0.1em, -0.1em); }
.band--olive { background: var(--olive); color: var(--ivory); }
.band--greige { background: var(--greige); color: var(--olive); }
.band--olive .band__item svg.mark { fill: var(--terra); opacity: 1; }
@keyframes band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- History ---------- */
.history__head { grid-column: 1 / span 8; }
.history__text { grid-column: 8 / span 5; margin-top: clamp(40px, 5vw, 72px); }
.history__text p + p { margin-top: 18px; }
.history__text .lead { margin-bottom: 20px; }
.chars .word { display: inline-block; white-space: nowrap; }
.chars .char { display: inline-block; will-change: transform, opacity; }

.thennow { margin-top: clamp(80px, 10vw, 160px); position: relative; }
.thennow__stage { position: relative; height: clamp(380px, 82vh, 880px); overflow: hidden; background: var(--greige); }
.thennow__img { position: absolute; inset: 0; }
.thennow__img img { width: 100%; height: 100%; object-fit: cover; }
.thennow__img--then img { filter: sepia(0.25) contrast(0.96); }
.thennow__img--now { clip-path: inset(0 0 0 100%); }
.thennow__line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ivory); left: 100%; transform: translateX(-1px); }
.thennow__labels { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.thennow__labels span { transition: opacity 0.4s; }
.thennow__foot { display: flex; justify-content: space-between; margin-top: 16px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

.timeline { margin-top: clamp(80px, 10vw, 160px); position: relative; }
.timeline__rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); position: relative; }
.timeline__progress { position: absolute; top: -1px; left: 0; height: 1px; background: var(--terra); width: 0; }
.tl { padding: 28px clamp(12px, 1.4vw, 24px) 0 0; position: relative; }
.tl::before { content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--ivory); border: 1px solid var(--line-strong); border-radius: 50%; }
.tl__year { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; font-weight: 600; margin-bottom: 14px; }
.tl__year small { font-size: 0.5em; font-weight: 400; letter-spacing: 0; display: block; margin-bottom: 6px; color: var(--ink-soft); }
.tl p { font-size: 0.9rem; color: var(--ink-soft); max-width: 24ch; }
.tl--accent .tl__year { color: var(--terra); }
.tl--accent::before { background: var(--terra); border-color: var(--terra); }
.timeline__cta { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: flex-end; }

/* ---------- Location ---------- */
.location { background: var(--ivory-2); }
.location__map { grid-column: 1 / span 7; position: relative; }
.location__side { grid-column: 9 / span 4; }
.radius { width: 100%; height: auto; font-family: var(--font); }
.radius .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.radius .ring-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--bronze); }
.radius .pin { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transform-box: fill-box; transform-origin: center; }
.radius .pin circle { fill: var(--olive); }
.radius .pin text { font-size: 11.5px; fill: var(--olive); letter-spacing: 0.02em; }
.radius .pin .sub { font-size: 9.5px; fill: var(--bronze); letter-spacing: 0.08em; text-transform: uppercase; }
.radius.has-focus .pin { opacity: 0.18; }
.radius.has-focus .pin.is-on { opacity: 1; }
.radius .pin.is-on circle { fill: var(--terra); }
.radius .center { fill: var(--terra); }
.radius .center-ring { fill: none; stroke: var(--terra); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
.radius .north { font-size: 9px; letter-spacing: 0.2em; fill: var(--bronze); }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-note { position: absolute; left: 0; bottom: 0; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

.cats { border-top: 1px solid var(--line); }
.cat { border-bottom: 1px solid var(--line); padding: 20px 0; cursor: default; transition: padding-left 0.45s var(--ease); }
.cat:hover, .cat.is-on { padding-left: 10px; }
.cat__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cat__title { font-size: 1.1rem; }
.cat__count { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.cat ul { margin-top: 10px; display: grid; gap: 6px; }
.cat li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9rem; color: var(--ink-soft); }
.cat li b { font-weight: 400; color: var(--ink); }
.cat li span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.location__prose { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(64px, 8vw, 120px); padding-top: 32px; border-top: 1px solid var(--line); }
.location__prose .display-3 { grid-column: 1 / span 5; }
.location__prose p { grid-column: 7 / span 5; }

/* ---------- Living ---------- */
.living__types { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; }
.type { grid-column: span 6; padding-top: 24px; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2.4vw, 40px); align-items: start; }
.type__num { font-size: clamp(4rem, 9vw, 10rem); line-height: 0.85; letter-spacing: -0.05em; font-weight: 400; }
.type__num sup { font-size: 0.28em; font-weight: 400; letter-spacing: 0; vertical-align: top; position: relative; top: 0.35em; margin-left: 0.1em; color: var(--ink-soft); }
.type__body h3 { margin-bottom: 14px; }
.type__body p { color: var(--ink-soft); }
.type__body ul { margin-top: 18px; display: grid; gap: 6px; font-size: 0.9rem; }
.type__body li { padding-left: 14px; position: relative; }
.type__body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: var(--terra); }

.drift { margin-top: clamp(100px, 14vw, 220px); position: relative; height: clamp(520px, 80vh, 860px); }
.drift__stage { position: absolute; inset: 0; }
.drift__item { position: absolute; overflow: hidden; }
.drift__item img { width: 100%; height: 100%; object-fit: cover; }
.drift__item figcaption { position: absolute; left: 10px; bottom: 8px; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.drift__1 { left: 0; top: 8%; width: 26%; aspect-ratio: 3 / 4; }
.drift__2 { left: 30%; top: 0; width: 20%; aspect-ratio: 1; }
.drift__3 { right: 0; top: 4%; width: 30%; aspect-ratio: 4 / 3; }
.drift__4 { left: 12%; bottom: 0; width: 22%; aspect-ratio: 4 / 5; }
.drift__5 { right: 18%; bottom: 6%; width: 24%; aspect-ratio: 1; }
.drift__text { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); text-align: center; max-width: 24ch; z-index: 2; }
.drift__text .display-2 { margin-bottom: 18px; }
.drift__pattern { position: absolute; right: 8%; top: 36%; width: 18%; aspect-ratio: 1; background-image: var(--z6-pattern); background-size: 36px 44px; opacity: 0.9; }

.spec { margin-top: clamp(100px, 14vw, 220px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
.spec__media { grid-column: 1 / span 5; position: sticky; top: 110px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--greige); }
.spec__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.spec__media img.is-on { opacity: 1; transform: scale(1); }
.spec__media figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); z-index: 2; text-shadow: 0 1px 10px rgba(0,0,0,0.3); }
.spec__list { grid-column: 7 / span 6; }
.spec__list .display-3 { margin-bottom: 36px; }
.spec-item { border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: 3ch 1fr; gap: 20px; transition: padding-left 0.45s var(--ease); cursor: default; }
.spec-item:last-of-type { border-bottom: 1px solid var(--line); }
.spec-item:hover, .spec-item.is-on { padding-left: 10px; }
.spec-item .idx { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-soft); padding-top: 6px; }
.spec-item h4 { font-size: 1.25rem; font-weight: 400; margin-bottom: 8px; letter-spacing: -0.01em; }
.spec-item p { color: var(--ink-soft); font-size: 0.95rem; }
.spec__cta { margin-top: 40px; }

.section-graphic { margin-top: clamp(100px, 14vw, 200px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
.section-graphic figure { grid-column: 1 / span 7; }
.section-graphic .dsec { width: 100%; height: auto; }
.dsec .wall { fill: none; stroke: var(--olive); stroke-width: 1.2; }
.dsec .soft { fill: none; stroke: var(--bronze); stroke-width: 1; }
.dsec .fill-greige { fill: var(--greige-2); }
.dsec .fill-olive { fill: var(--olive); }
.dsec .fill-terra { fill: var(--terra); }
.dsec text { font-family: var(--font); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--bronze); }
.dsec .ray { stroke: var(--terra); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.8; }
.section-graphic__text { grid-column: 9 / span 4; }
.section-graphic__text h3 { margin-bottom: 14px; }
.section-graphic__text p { color: var(--ink-soft); }

/* ---------- Finder ---------- */
.finder { background: var(--ivory); position: relative; overflow: clip; }
.finder__watermark { position: absolute; right: -4%; top: 6%; width: min(38vw, 520px); opacity: 0.05; pointer-events: none; }
.finder__watermark svg { width: 100%; height: auto; fill: var(--olive); }
.finder__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.finder__head .display-2 { grid-column: 1 / span 7; }
.finder__head p { grid-column: 9 / span 4; color: var(--ink-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 34px 48px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: center; }
.filter { display: flex; align-items: center; gap: 18px; }
.filter__label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); min-width: 7ch; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); }
.seg button { padding: 10px 16px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; border-right: 1px solid var(--line-strong); transition: background 0.35s var(--ease), color 0.35s var(--ease); min-width: 46px; }
.seg button:last-child { border-right: 0; }
.seg button:hover { background: rgba(69, 68, 45, 0.06); }
.seg button.is-on { background: var(--olive); color: var(--ivory); }
.filter__result { margin-left: auto; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.filter__result b { font-weight: 600; color: var(--terra); }
.filter select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); font: inherit; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding: 8px 26px 8px 0; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2345442d'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }

.finder__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(40px, 5vw, 72px); align-items: start; }

.finder__list { grid-column: 1 / span 12; }
.units { width: 100%; border-collapse: collapse; }
.units th { text-align: left; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; color: var(--ink-soft); padding: 0 12px 14px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.units th:last-child, .units td:last-child { text-align: right; padding-right: 0; }
.units td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: middle; white-space: nowrap; }
.units tr.unit { cursor: pointer; transition: background 0.3s var(--ease); }
.units tr.unit:hover td { background: rgba(69, 68, 45, 0.035); }
.units tr.unit.is-open td { border-bottom-color: transparent; }
.units td.top { font-weight: 600; letter-spacing: -0.01em; }
.units td .m2 { color: var(--ink-soft); font-size: 0.85em; margin-left: 2px; }
.units .status { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.units .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }
.units .status.is-reserved { color: var(--ink-soft); }
.units .status.is-reserved::before { background: var(--terra); }
.units .status.is-sold { color: var(--ink-soft); }
.units .status.is-sold::before { background: var(--greige); }
.units td.chev { width: 20px; }
.units .chev svg { width: 12px; height: 12px; transition: transform 0.4s var(--ease); }
.units tr.is-open .chev svg { transform: rotate(45deg); }
.units tr.detail td { padding: 0; border-bottom: 1px solid var(--line); white-space: normal; text-align: left; }
.detail__inner { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; padding: 4px 0 28px; align-items: end; overflow: hidden; }
.detail__inner dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 0.88rem; }
.detail__inner dt { color: var(--ink-soft); }
.detail__inner dd { margin: 0; }
.detail__inner .note { font-size: 0.85rem; color: var(--ink-soft); max-width: 36ch; }
.units .empty td { padding: 40px 0; text-align: center; color: var(--ink-soft); }
.finder__foot { margin-top: 20px; display: flex; justify-content: space-between; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background-color: var(--olive); background-image: var(--z6-pattern-light); background-size: 108px 132px; }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro .display-2 { margin-bottom: 28px; }
.contact__intro p { color: var(--ink-soft); max-width: 36ch; }
.contact__details { margin-top: 48px; display: grid; gap: 20px; font-size: 0.95rem; }
.contact__details .label { margin-bottom: 4px; }
.contact__form { grid-column: 7 / span 6; }
.field { position: relative; margin-bottom: 30px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ivory); font: inherit; font-size: 1.05rem; padding: 14px 0 12px; outline: none; border-radius: 0; transition: border-color 0.4s var(--ease); -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field label { position: absolute; left: 0; top: 14px; font-size: 1.05rem; color: var(--ink-soft); pointer-events: none; transition: transform 0.4s var(--ease), font-size 0.4s var(--ease), color 0.4s; transform-origin: left top; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ivory); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field.is-filled label { transform: translateY(-22px); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.field select option { color: var(--olive); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23e6e5db'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); cursor: pointer; margin-bottom: 36px; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box { flex: 0 0 auto; width: 16px; height: 16px; border: 1px solid var(--line-strong); margin-top: 3px; position: relative; transition: background 0.3s; }
.check input:checked + .box { background: var(--ivory); }
.check input:checked + .box::after { content: ""; position: absolute; inset: 4px; background: var(--olive); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.form__msg { font-size: 0.85rem; color: var(--ink-soft); min-height: 1.4em; }
.form__msg.is-ok { color: var(--ivory); }

/* ---------- Footer ---------- */
.footer { background: var(--olive-2); color: var(--ivory); padding: clamp(60px, 8vw, 120px) var(--gutter) 28px; --line: rgba(230, 229, 219, 0.18); }
.footer__mark { width: 100%; }
.footer__mark svg { width: 100%; height: auto; fill: var(--ivory); opacity: 0.94; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 32px; margin-top: clamp(48px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.footer__col { grid-column: span 3; font-size: 0.88rem; color: rgba(230, 229, 219, 0.7); }
.footer__col .label { color: rgba(230, 229, 219, 0.5); margin-bottom: 14px; }
.footer__col a { display: block; padding: 4px 0; color: var(--ivory); }
.footer__col a:hover { color: var(--greige); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(230, 229, 219, 0.5); }
.footer__bottom a { color: rgba(230, 229, 219, 0.75); margin-left: 22px; }

/* ---------- Reveal helpers ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal="words"] { opacity: 1; transform: none; }
[data-reveal="words"] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-reveal="words"] .w > span { display: inline-block; transform: translateY(115%); will-change: transform; }
[data-reveal="words"].is-in .w > span { transform: none; transition: transform 1.15s var(--ease); }
[data-reveal="chars"] { opacity: 1; transform: none; }
[data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; }
[data-reveal="line"].is-in { transform: scaleX(1); transition: transform 1.4s var(--ease); }
.media-reveal { clip-path: inset(0 0 100% 0); }
.media-reveal.is-in { clip-path: inset(0); transition: clip-path 1.3s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__title { grid-column: 1 / span 12; }
  .hero__aside { grid-column: 1 / span 6; }
  .project__intro { grid-column: 1 / span 12; margin-bottom: 56px; }
  .project__facts { grid-column: 1 / span 12; }
  .history__head { grid-column: 1 / span 12; }
  .history__text { grid-column: 1 / span 9; }
  .location__map { grid-column: 1 / span 12; margin-bottom: 56px; }
  .location__side { grid-column: 1 / span 12; }
  .location__prose .display-3, .location__prose p { grid-column: 1 / span 12; }
  .location__prose p { margin-top: 24px; }
  .spec__media { grid-column: 1 / span 12; position: relative; top: 0; aspect-ratio: 16 / 10; margin-bottom: 40px; }
  .spec__list { grid-column: 1 / span 12; }
  .section-graphic figure, .section-graphic__text { grid-column: 1 / span 12; }
  .section-graphic__text { margin-top: 32px; }
  .finder__head .display-2, .finder__head p { grid-column: 1 / span 12; }
  .finder__head p { margin-top: 20px; }
  .finder__list { grid-column: 1 / span 12; }
  .contact__intro, .contact__form { grid-column: 1 / span 12; }
  .footer__col { grid-column: span 6; }
}
@media (max-width: 820px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .header { grid-template-columns: 1fr auto; }
  .hero { padding-top: 120px; }
  .hero__frame { left: var(--gutter); right: var(--gutter); }
  .hero__media { height: 62vh; }
  .hero__meta { flex-direction: column; gap: 8px; }
  .hero__caption { bottom: -52px; flex-direction: column; gap: 4px; }
  .hero { padding-bottom: 40px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage-a { grid-column: 1 / span 12; }
  .collage-b { grid-column: 6 / span 7; margin-top: 0; }
  .collage-c { grid-column: 1 / span 8; margin-top: 0; }
  .collage-text { grid-column: 1 / span 12; }
  .timeline__rail { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
  .timeline__progress { display: none; }
  .tl { padding: 0 0 28px 24px; }
  .tl::before { top: 6px; left: -3px; }
  .type { grid-column: span 12; }
  .drift { height: auto; display: flex; flex-direction: column; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow: clip; }
  .drift__text { position: relative; left: auto; top: auto; transform: none; text-align: left; max-width: none; margin-bottom: 36px; order: -1; }
  .drift__stage { position: relative; inset: auto; display: flex; align-items: flex-start; gap: 14px; width: max-content; padding-bottom: 48px; will-change: transform; }
  .drift__item { position: relative; inset: auto; flex: 0 0 auto; width: 56vw; height: 70vw; aspect-ratio: auto; }
  .drift__item:nth-child(even) { margin-top: 48px; width: 44vw; height: 56vw; }
  .drift__item img { will-change: transform; }
  .drift__pattern { display: none; }
  .units th:nth-child(5), .units td:nth-child(5), .units th:nth-child(6), .units td:nth-child(6) { display: none; }
  .detail__inner { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .footer__col { grid-column: span 12; }
  .thennow__stage { height: 60vh; }
  .filter__result { margin-left: 0; width: 100%; }
  .filters { gap: 26px 32px; }
  .filter { flex-wrap: wrap; gap: 12px 16px; }
  .filter__label { min-width: 0; width: 100%; }
  .seg button { padding: 10px 12px; font-size: 0.7rem; min-width: 40px; }
}

@media (max-width: 600px) {
  .type { grid-template-columns: 1fr; gap: 18px; }
  .type__num { font-size: 4.6rem; }
  .radius .pin text { font-size: 15px; }
  .radius .pin .sub { display: none; }
  .radius .pin:not(.pin--key) text { display: none; }
  .radius .ring-label { font-size: 13px; }
  .radius .north { font-size: 12px; }
  .dsec text { font-size: 15px; letter-spacing: 0.1em; }
  .dsec text.minor { display: none; }
  .display-1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 120px; }
  .fact__value { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="words"] .w > span, .media-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .band__track { animation: none; }
  .hero__frame { left: var(--gutter); right: var(--gutter); }
  .hero__frame img { transform: none; }
  .thennow__img--now { clip-path: inset(0 0 0 50%); }
  .thennow__line { left: 50%; }
  .radius .center-ring { animation: none; }
}
