:root {
  --ink: #11100e;
  --ink-soft: #1c1915;
  --paper: #e8e7e2;
  --paper-light: #f7f7f4;
  --wood: #84441f;
  --amber: #e6a55b;
  --muted: #655d54;
  --line: rgba(17, 16, 14, .18);
  --display: "Newsreader", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--wood) var(--ink); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; }
body::selection, body *::selection { background: var(--amber); color: var(--ink); }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
button { font: inherit; }
.icon { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: -.14em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; }
h2 { font-size: clamp(3rem, 6.4vw, 6rem); line-height: .94; }
em { color: var(--wood); font-style: normal; font-weight: 400; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--paper-light); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.scroll-line { position: fixed; z-index: 80; inset: 0 0 auto; height: 3px; background: transparent; }
.scroll-line span { display: block; width: 0; height: 100%; background: var(--amber); }

.loader { position: fixed; z-index: 200; inset: 0; display: none; place-items: center; background: var(--ink); color: var(--paper-light); }
.has-loader .loader { display: grid; }
.has-loader body { overflow: hidden; }
.loader-mark { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.loader-word { font-family: var(--display); font-size: clamp(5.5rem, 26vw, 22rem); font-weight: 500; line-height: .82; letter-spacing: -.02em; color: rgba(247,247,244,.14); background: var(--wood) center / cover no-repeat; -webkit-background-clip: text; background-clip: text; }
.loader-word.has-image { color: transparent; }
.loader-sub { display: flex; align-items: center; gap: 14px; color: var(--amber); font-size: clamp(.62rem, 1.2vw, .85rem); font-weight: 700; letter-spacing: .5em; text-transform: uppercase; opacity: 0; transition: opacity .5s ease .2s; }
.loader-sub::before, .loader-sub::after { content: ""; width: clamp(24px, 4vw, 56px); height: 1px; background: currentColor; }
.loader.is-running .loader-sub { opacity: 1; }
.loader.is-leaving { transition: clip-path .8s cubic-bezier(.76,0,.24,1); clip-path: inset(0 0 100% 0); }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; right: 0; min-height: 90px; padding: 16px clamp(20px, 4vw, 70px); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; background: transparent; color: white; }
.brand { width: fit-content; display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: auto; height: 46px; }
.main-nav { display: flex; gap: 28px; align-items: center; font-size: .73rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--amber); transition: right .3s ease; }
.main-nav a:hover::after { right: 0; }
.header-action { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--amber); color: var(--ink); font-size: .73rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.menu-toggle { display: none; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; padding: 10px; background: var(--ink); color: white; }
.hero-panels { height: 100%; display: flex; gap: 10px; }
.hero-panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 14px; isolation: isolate; transition: flex-grow .7s cubic-bezier(.65,0,.35,1); }
.hero-panel-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.hero-panel-kitchen .hero-panel-bg { object-position: 62% 60%; }
.hero-panel-living .hero-panel-bg { object-position: 40% 55%; }
.hero-panel-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(17,16,14,.8) 0%, rgba(17,16,14,.2) 42%, rgba(17,16,14,0) 60%), linear-gradient(180deg, rgba(17,16,14,.45) 0%, rgba(17,16,14,0) 22%); transition: background-color .6s ease; }
.hero-panel-copy { position: absolute; left: clamp(20px, 3vw, 44px); right: 20px; bottom: clamp(22px, 4vh, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.hero-panel-kicker { margin-bottom: 10px; color: var(--amber); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-panel-title { margin-bottom: 22px; font-family: var(--display); font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: .95; letter-spacing: -.03em; }
.hero-panel-cta { display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 700; }
.hero-panel-cta i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: var(--paper-light); color: var(--ink); font-style: normal; transition: background .3s ease, transform .3s ease; }
.hero-preview { position: absolute; top: 50%; left: 50%; width: clamp(150px, 15vw, 230px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, -46%) scale(.92); transition: opacity .45s ease, transform .6s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.hero-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-preview img.is-on { opacity: 1; }
.hero-tagline { position: absolute; z-index: 5; left: 50%; top: 106px; margin: 0; padding: 10px 18px; transform: translateX(-50%); border-radius: 999px; background: rgba(17,16,14,.72); backdrop-filter: blur(8px); font-family: var(--display); font-size: clamp(1rem, 1.4vw, 1.25rem); white-space: nowrap; pointer-events: none; }
.hero-tagline em { color: var(--amber); }
@media (hover: hover) and (min-width: 901px) {
  .hero-panels:hover .hero-panel { flex-grow: .78; }
  .hero-panels:hover .hero-panel:hover { flex-grow: 1.22; }
  .hero-panels:hover .hero-panel:not(:hover) .hero-panel-shade { background-color: rgba(17,16,14,.55); }
  .hero-panel:hover .hero-panel-bg { transform: scale(1.03); }
  .hero-panel:hover .hero-preview { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .hero-panel:hover .hero-panel-cta i { background: var(--amber); transform: translateX(3px); }
}

.manifesto { padding: clamp(90px, 12vw, 180px) clamp(20px, 7vw, 110px); display: grid; grid-template-columns: .45fr 1.55fr; gap: 8vw; background: var(--paper); }
.manifesto-aside { padding-top: 16px; display: flex; flex-direction: column; gap: 9px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.manifesto h2 { max-width: 1120px; margin-bottom: 40px; }
.manifesto p { max-width: 620px; margin: 0 0 0 auto; color: var(--muted); font-size: 1.08rem; }


.projects-wheel { position: relative; height: calc(var(--count) * 42vh + 100vh); background: var(--paper-light); }
.wheel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(0, 1fr); align-items: center; padding: 0 clamp(20px, 7vw, 120px); }
.wheel-kicker { margin-bottom: 26px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.wheel-copy { position: relative; z-index: 200; }
.wheel-copy h2 { margin-bottom: 48px; }
.wheel-current { min-height: 64px; margin-bottom: 18px; display: flex; flex-direction: column; }
.wheel-current strong { font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.15; }
.wheel-current span { color: var(--muted); font-size: .8rem; font-weight: 600; }
.wheel-count { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.wheel-count span { color: var(--wood); }
.wheel { --card-w: min(34vw, 500px); --card-h: min(calc(var(--card-w) * 1.08), 62vh); position: relative; height: 100%; margin: 0; padding: 0; list-style: none; perspective: 1500px; transform-style: preserve-3d; }
.wheel-card { position: absolute; top: 50%; left: 50%; width: var(--card-w); height: var(--card-h); margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2); overflow: hidden; border-radius: 28px; background: #e4ded4; transform-origin: center center; will-change: transform; backface-visibility: hidden; }
.wheel-card img, .wheel-card video { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.wheel-label { position: absolute; left: 26px; bottom: 22px; padding: 6px 10px; background: rgba(17,16,14,.72); color: white; font-size: .72rem; font-weight: 700; letter-spacing: .04em; transition: opacity .25s ease; }
.wheel-card.is-far { background: linear-gradient(#efece6, #e6e1d9); }
.wheel-card.is-far img, .wheel-card.is-far video, .wheel-card.is-far .wheel-label { opacity: 0; }
.wheel-dots { position: absolute; right: clamp(16px, 2.4vw, 40px); top: 50%; display: flex; flex-direction: column; gap: 7px; transform: translateY(-50%); }
.wheel-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); transition: background .2s ease, transform .2s ease; }
.wheel-dots i.is-active { background: var(--ink); transform: scale(1.4); }
.projects-wheel.is-static { height: auto; }
.projects-wheel.is-static .wheel-sticky { position: static; height: auto; padding-top: 110px; padding-bottom: 110px; grid-template-columns: 1fr; gap: 50px; }
.projects-wheel.is-static .wheel { height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; perspective: none; }
.projects-wheel.is-static .wheel-card { position: relative; top: auto; left: auto; width: auto; height: auto; aspect-ratio: 1 / 1.08; margin: 0; transform: none !important; }
.projects-wheel.is-static .wheel-current, .projects-wheel.is-static .wheel-count, .projects-wheel.is-static .wheel-dots { display: none; }

.process { padding: clamp(90px, 10vw, 150px) clamp(20px, 6vw, 96px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; background: var(--ink); color: white; }
.process-title { position: sticky; top: 50px; align-self: start; }
.process-title h2 { margin-bottom: 34px; }
.process-title p { max-width: 430px; color: #b9afa3; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.24); }
.process-list li { min-height: 180px; padding: 34px 0; display: grid; grid-template-columns: 70px 1fr; gap: 22px; border-bottom: 1px solid rgba(255,255,255,.24); }
.process-list > li > span { color: var(--amber); font-family: var(--display); font-size: 1.5rem; }
.process-list h3 { margin-bottom: 10px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; }
.process-list p { max-width: 540px; margin-bottom: 0; color: #b9afa3; }


.instagram-band { min-height: 150px; padding: 28px clamp(20px, 6vw, 96px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; background: var(--wood); color: #fff8ef; }
.instagram-band img { width: 72px; height: 72px; object-fit: cover; border: 1px solid rgba(255,248,239,.62); border-radius: 50%; }
.instagram-band p { margin: 0; display: flex; flex-direction: column; }
.instagram-band strong { font-family: var(--display); font-size: 1.7rem; font-weight: 500; }
.instagram-band span { font-size: .78rem; }
.instagram-band a { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.location { min-height: 760px; display: grid; grid-template-columns: .8fr 1.2fr; background: var(--paper-light); }
.location-copy { padding: clamp(90px, 11vw, 170px) clamp(20px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.location-copy h2 { margin-bottom: 36px; }
.location-copy > p { max-width: 500px; color: var(--muted); }
.location-actions { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.location-actions a { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: .8rem; font-weight: 700; }
.map-wrap { min-height: 620px; background: #d7d0c5; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 620px; border: 0; filter: grayscale(1) sepia(.14) contrast(.95); }

.finale { padding: clamp(16px, 4vw, 64px) clamp(10px, 3vw, 48px) clamp(40px, 6vw, 96px); background: var(--ink); }
.finale-card { position: relative; min-height: min(86vh, 820px); display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: #1a1714; color: white; isolation: isolate; }
.finale-media { position: absolute; z-index: -1; inset: 0; }
.finale-media img, .finale-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale-end { opacity: 0; transition: opacity .6s ease; }
.finale.is-ended .finale-end, .finale.is-static .finale-end { opacity: 1; }
.finale-shade { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(17,16,14,.62), rgba(17,16,14,.42) 50%, rgba(17,16,14,.7)), linear-gradient(0deg, rgba(17,16,14,.55), rgba(17,16,14,0) 45%, rgba(17,16,14,.25)); transition: opacity .9s ease; }
.finale:not(.is-revealed):not(.is-static) .finale-shade { opacity: .35; }
.finale-mark { position: absolute; z-index: 1; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-size: clamp(3.4rem, 7.5vw, 7rem); font-weight: 500; line-height: .8; letter-spacing: .03em; color: rgba(230,165,91,.14); -webkit-text-stroke: 1.5px var(--amber); transform: translate(-50%, -50%); transform-origin: center; pointer-events: none; will-change: transform, opacity; }
.finale.is-static .finale-mark { display: none; }
.finale-copy { position: relative; z-index: 2; max-width: 860px; padding: clamp(80px, 12vh, 140px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.finale.is-revealed .finale-copy, .finale.is-static .finale-copy { opacity: 1; transform: none; }
.finale-kicker { margin-bottom: 22px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.finale-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.finale-copy h2 { margin-bottom: 24px; font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1; text-wrap: balance; }
.finale-copy h2 em { color: var(--amber); }
.finale-lead { max-width: 520px; margin-bottom: 36px; color: rgba(255,255,255,.76); font-size: 1.02rem; }
.finale-actions { display: flex; flex-wrap: wrap; justify-content: center; }
.finale-btn { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; border: 1px solid var(--paper-light); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.finale-btn-solid { background: var(--paper-light); color: var(--ink); border-radius: 3px 0 0 3px; }
.finale-btn-solid:hover { background: var(--amber); border-color: var(--amber); }
.finale-btn-ghost { margin-left: -1px; background: rgba(17,16,14,.35); color: white; border-color: rgba(255,255,255,.4); border-radius: 0 3px 3px 0; }
.finale-btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 560px) {
  .finale-card { min-height: 640px; }
  .finale-mark { -webkit-text-stroke-width: 1px; }
  .finale-btn { padding: 0 16px; }
}

.site-footer { padding: 66px clamp(20px, 6vw, 96px) 28px; display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 46px; background: var(--ink); color: white; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand .brand-logo { height: 52px; }
.footer-brand p { margin: 0; display: flex; flex-direction: column; }
.footer-brand small { color: #aaa095; }
.site-footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; font-size: .82rem; }
.site-footer > div:not(.footer-brand) > strong { margin-bottom: 6px; color: #aaa095; font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a:hover { color: var(--amber); }
.to-top { width: fit-content; margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.to-top-mark { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.9rem; font-weight: 500; line-height: .82; letter-spacing: .04em; color: rgba(230,165,91,.1); -webkit-text-stroke: 1px var(--amber); transition: color .3s ease, transform .3s ease; }
.to-top:hover .to-top-mark { color: rgba(230,165,91,.32); transform: translateY(-3px); }
.site-footer > small { grid-column: 1 / -1; padding-top: 28px; color: #aaa095; border-top: 1px solid rgba(255,255,255,.18); }

@media (prefers-reduced-motion: no-preference) {
  body.is-ready .hero-panel { animation: panel-rise 1.1s cubic-bezier(.16,1,.3,1) both; }
  body.is-ready .hero-panel + .hero-panel { animation-delay: .12s; }
  body.is-ready .hero-panel-bg { animation: hero-settle 2.2s cubic-bezier(.16,1,.3,1) backwards; }
  @keyframes panel-rise { from { clip-path: inset(100% 0 0 0 round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
  @keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes copy-rise { from { opacity: .001; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 900px) {
  .site-header { min-height: 76px; grid-template-columns: 1fr auto; gap: 14px; }
  .site-header .brand-logo { height: 38px; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; padding: 24px 20px; display: none; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--paper-light); color: var(--ink); }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .header-action { display: none; }
  .menu-toggle { position: relative; width: 62px; height: 40px; display: grid; align-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.44); background: rgba(17,16,14,.5); color: white; cursor: pointer; }
  .menu-toggle span { width: 20px; height: 1px; margin-left: 11px; background: currentColor; }
  .hero { height: auto; min-height: 0; padding-top: 86px; }
  .hero-panels { flex-direction: column; }
  .hero-panel { flex: none; height: 62svh; min-height: 400px; }
  .hero-preview { display: none; }
  .hero-tagline { position: static; margin: 18px auto 8px; width: fit-content; transform: none; background: transparent; backdrop-filter: none; font-size: 1.15rem; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


  .manifesto, .process, .location { grid-template-columns: 1fr; }
  .manifesto { gap: 42px; }
  .manifesto-aside { flex-direction: row; gap: 18px; }
  .manifesto p { margin-left: 0; }
  .wheel-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 96px; padding-bottom: 24px; }
  .wheel-copy h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .wheel-kicker { margin-bottom: 14px; }
  .wheel-current { min-height: 0; margin-bottom: 6px; }
  .wheel-count { display: none; }
  .wheel { --card-w: min(78vw, 420px); --card-h: min(calc(var(--card-w) * 1.08), 46svh); }
  .wheel-card { border-radius: 22px; }
  .wheel-dots { display: none; }
  .process-title { position: static; }
        .location-copy { padding-bottom: 76px; }
  .map-wrap, .map-wrap iframe { min-height: 480px; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h2 { font-size: clamp(2.9rem, 13vw, 4.5rem); }
  .manifesto, .process { padding-left: 20px; padding-right: 20px; }
  .manifesto-aside { flex-wrap: wrap; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 14px; }
  .process-list > li > span { font-size: 1.2rem; }
    .instagram-band { grid-template-columns: auto 1fr; gap: 14px; }
  .instagram-band strong { font-size: 1.35rem; }
  .instagram-band a { grid-column: 2; width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
