:root {
  --bg: #f5f5f5;
  --ink: #000;
  --white: #fff;
  --grey: #b9b9b9;
  --accent: #c8b38a; /* warm sandstone */
  --line: rgba(0, 0, 0, .2);
  --pad: clamp(16px, 3vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter Tight", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.4; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 13px; text-transform: uppercase; font-weight: 400; letter-spacing: .02em; }
.mono-copy { font-family: var(--mono); font-size: 14px; line-height: 1.55; display: flex; flex-direction: column; gap: 18px; max-width: 46ch; }

/* ---------- Chips / buttons ---------- */
.chip {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink);
  padding: 5px 12px; border-radius: 3px; display: inline-block; transition: background .2s, color .2s;
}
.chip:hover, .chip.is-on { background: var(--ink); color: var(--white); }
.chip--dark { background: rgba(0,0,0,.35); color: var(--white); border-color: var(--white); backdrop-filter: blur(6px); }
.chip--dark:hover { background: var(--white); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.btn {
  display: inline-flex; align-items: stretch; font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  border: 1px solid var(--ink); background: transparent; border-radius: 3px; overflow: hidden;
}
.btn > :not(span), .btn { padding-left: 14px; }
.btn span { display: grid; place-items: center; border-left: 1px solid currentColor; padding: 8px 12px; margin-left: 40px; transition: background .2s, color .2s; }
.btn { line-height: 1; align-items: center; }
.btn:hover span { background: var(--ink); color: var(--white); }
.btn--light { color: var(--white); border-color: var(--white); }
.btn--light:hover span { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover span { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.head { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad) 18px calc(var(--pad) + 56px); pointer-events: none; }
.head > * { pointer-events: auto; }
.head__logo { position: fixed; z-index: 51; top: 12px; left: var(--pad); font-size: 40px; font-weight: 600; line-height: 1; color: var(--white); mix-blend-mode: difference; }
.head__nav { display: flex; gap: 4px; }
.head__nav .chip { border-color: transparent; }
.head__menu { display: none; margin-left: auto; }
.drawer { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--white); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--pad); transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer a { font-size: 44px; font-weight: 500; letter-spacing: -.02em; }
body.drawer-open .drawer { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__bg { position: absolute; inset: 0; transform: scale(1.08); animation: settle 2s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.1) 55%, rgba(0,0,0,.25)); }
.hero__title { position: relative; z-index: 2; font-size: clamp(44px, 6.4vw, 96px); font-weight: 500; letter-spacing: -.035em; line-height: .98; padding: 0 var(--pad); margin-bottom: 48px; }
.hero__bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); padding: 0 var(--pad) 24px; }
.hero__see, .hero__latest { border-top: 1px solid rgba(255,255,255,.6); padding-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card { display: grid; grid-template-columns: 90px 1fr; background: var(--white); color: var(--ink); border-radius: 3px; overflow: hidden; cursor: pointer; text-align: left; border: 0; height: 90px; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card div { padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.card .mono { font-size: 11px; }
.card h3 { font-size: 15px; font-weight: 500; line-height: 1.1; }
@keyframes settle { to { transform: scale(1); } }

/* ---------- Statement ---------- */
.statement { padding: 26vh var(--pad); }
.fill { font-size: clamp(28px, 3.5vw, 52px); font-weight: 500; letter-spacing: -.025em; line-height: 1.12; max-width: 24ch; max-width: 1150px; }
.fill .w { color: #c8c8c8; transition: color .25s; }
.fill .w.on { color: var(--ink); }

/* ---------- Values ---------- */
.values { padding: 0 var(--pad) 140px; }
.values__row { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; margin-bottom: 120px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.values__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); align-items: end; }
.values__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }

/* ---------- Diff (full bleed) ---------- */
.diff { position: relative; min-height: 100vh; color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); padding: 120px var(--pad); align-items: start; overflow: hidden; }
.diff__bg { position: absolute; inset: 0; z-index: 0; }
.diff::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.5); }
.diff > :not(img) { position: relative; z-index: 2; }
.diff__title { font-size: clamp(48px, 6vw, 92px); font-weight: 500; letter-spacing: -.04em; line-height: .98; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--pad); padding: 140px var(--pad); background: var(--white); align-items: center; }
.process__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; filter: grayscale(1) contrast(1.05); transition: filter .8s ease; }
.process__img:hover { filter: none; }
.process__text { display: flex; flex-direction: column; gap: 28px; }
.lead { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; max-width: 26ch; }
.steps { list-style: none; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 24px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: 1fr 1.4fr; padding: 120px var(--pad); gap: var(--pad); }
.work__side { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--line); padding-right: var(--pad); min-height: 60vh; }
.work__side h2 { font-size: clamp(48px, 5vw, 80px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.work__side p { font-size: 18px; font-weight: 500; max-width: 26ch; }
.work__list { list-style: none; }
.work__item { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 14px 0 24px; border-top: 1px solid var(--line); cursor: pointer; }
.work__item.hide { display: none; }
.work__item h3 { font-size: 15px; font-weight: 600; text-transform: uppercase; }
.work__item .mono { color: #666; display: block; margin-top: 4px; font-size: 12px; }
.work__item .more { margin-top: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.work__item:hover .more { opacity: 1; transform: none; }
.work__thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }
.work__thumb img { transition: transform .8s var(--ease); }
.work__item:hover .work__thumb img { transform: scale(1.05); }

/* ---------- Feature ---------- */
.feature { position: relative; height: 100vh; min-height: 560px; color: var(--white); overflow: hidden; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 45%); }
.feature__bar { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 32px; display: grid; grid-template-columns: 1fr 2fr auto; align-items: end; border-top: 1px solid rgba(255,255,255,.6); padding-top: 12px; gap: 20px; }
.feature__bar h2 { font-size: clamp(32px, 3.6vw, 56px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }

/* ---------- Contact ---------- */
.contact { background: var(--accent); display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); padding: 120px var(--pad); }
.contact__left { display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; }
.contact__left h2 { font-size: clamp(30px, 3vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
.contact__big { background: var(--ink); color: var(--white); font-size: clamp(56px, 7vw, 108px); font-weight: 500; letter-spacing: -.04em; line-height: .92; padding: 14px 18px 18px; width: fit-content; border-radius: 3px; }
.contact__big span { display: inline-block; transition: transform .4s var(--ease); }
.contact__big:hover span { transform: translateX(10px); }
.contact__intro { font-weight: 500; font-size: 16px; max-width: 52ch; margin-bottom: 48px; }
.contact__intro a { text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.form label { display: flex; flex-direction: column; gap: 4px; }
.form input:not([type=radio]), .form textarea { font: inherit; font-size: 16px; background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; outline: none; border-radius: 0; }
.form textarea { border: 1px solid var(--ink); padding: 10px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form legend { margin-bottom: 10px; }
.check { flex-direction: row !important; align-items: center; gap: 8px !important; font-family: var(--mono); font-size: 12px; text-transform: uppercase; cursor: pointer; }
.check input { appearance: none; width: 14px; height: 14px; border: 1px solid var(--ink); border-radius: 2px; display: grid; place-items: center; }
.check input:checked { background: var(--ink); }
.full-end { grid-column: 1 / -1; justify-self: end; }

/* ---------- Footer ---------- */
.foot { padding: 40px var(--pad) 0; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); margin-bottom: 80px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pad); }
.foot__cols div { display: flex; flex-direction: column; }
.foot__cols h4 { font-family: "Inter Tight", sans-serif; font-size: 13px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.foot__cols a, .foot__cols span { padding: 6px 0; border-bottom: 1px solid var(--line); }
.foot__cols a:hover { opacity: .6; }
.foot__mark { font-size: clamp(80px, 21.5vw, 420px); font-weight: 600; letter-spacing: -.06em; line-height: .78; margin-top: 70px; white-space: nowrap; padding-bottom: 10px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: var(--pad); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.modal__head h3 { font-size: clamp(32px, 3.6vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1; margin-top: 6px; }
.modal__desc { max-width: 70ch; }
.modal__stage { min-height: 0; overflow: hidden; border-radius: 3px; background: #e8e8e8; }
.modal__stage img { object-fit: contain; }
.modal__nav { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
html.pl-on, html.pl-on body { overflow: hidden; }
html.pl-on .preloader { display: block; position: fixed; inset: 0; z-index: 200; background: var(--white); transition: opacity .5s ease; }
.preloader__mark { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: 80vh; line-height: 1; letter-spacing: -.06em; color: var(--ink); }
.preloader__slides { position: absolute; inset: 0; overflow: hidden; transform: scale(.25); transition: transform .9s cubic-bezier(.76, 0, .24, 1); }
.preloader__slide { position: absolute; inset: 0; }
.preloader__slide--last::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.1) 55%, rgba(0,0,0,.25)); opacity: 0; transition: opacity .9s ease; }
html.pl-play .preloader__slide:not(.preloader__slide--last) { animation: plOut .36s cubic-bezier(.76, 0, .24, 1) calc(var(--i) * .32s) forwards; }
@keyframes plOut { to { transform: translateY(100%); } }
html.pl-grow .preloader__slides { transform: none; }
html.pl-grow .preloader__slide--last::after { opacity: 1; }
html.pl-done .preloader { opacity: 0; pointer-events: none; }
.hero__title { animation: titleUp 1s var(--ease) .1s both; }
.hero__bar { animation: titleUp 1s var(--ease) .3s both; }
html.pl-on:not(.pl-done) .hero__title, html.pl-on:not(.pl-done) .hero__bar { animation-play-state: paused; }
@keyframes titleUp { from { opacity: 0; transform: translateY(40px); } }

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--ink); color: var(--white); font-family: var(--mono); text-transform: uppercase; font-size: clamp(16px, 2vw, 28px); overflow: hidden; }
.ticker__wrap { flex: 1; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ticker__track span { padding: 16px 0; white-space: nowrap; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__cta { display: grid; place-items: center; padding: 0 clamp(16px, 2vw, 32px); white-space: nowrap; background: var(--ink); border-left: 1px solid rgba(255,255,255,.3); transition: background .2s, color .2s; }
.ticker:hover .ticker__cta { background: var(--accent); color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .head__nav { display: none; }
  .head__menu { display: inline-block; }
  .hero__bar, .values__grid, .diff, .process, .work, .contact, .form { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:nth-child(n+2) { display: none; }
  .values__row { margin-bottom: 48px; }
  .work__side { position: static; border-right: 0; padding-right: 0; min-height: 0; }
  .work__item { grid-template-columns: 1fr; }
  .work__item .more { opacity: 1; transform: none; }
  .feature__bar { grid-template-columns: 1fr; }
  .foot__top, .foot__cols { grid-template-columns: 1fr 1fr; }
  .statement { padding: 14vh var(--pad); }
}
