/* Bundled fonts (SIL Open Font License 1.1, see OFL-*.txt). Generated by scripts/fetch-fonts.mjs. */
/* DM Sans italic 300 500 latin-ext */
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/dm-sans-italic-300-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans italic 300 500 latin */
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/dm-sans-italic-300-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans normal 300 700 latin-ext */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/dm-sans-normal-300-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans normal 300 700 latin */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/dm-sans-normal-300-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Italiana normal 400 latin */
@font-face {
  font-family: "Italiana";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/italiana-normal-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Generated from tokens.json */
:root {
  --bg: #121414;
  --bg-2: #0b0c0c;
  --ink: #e6e4df;
  --dim: #9a9a96;
  --accent: #34c49a;
  --on-accent: #0b1c16;
  --light: #e7e4dd;
  --light-ink: #151716;
  --display: "Italiana", "Didot", "Bodoni 72", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 2.9vw, 42px);
  --head: 80px;
  --ease: cubic-bezier(.22, .9, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { overflow-x: clip; } /* blocks waiting to slide in must not widen the page on phones */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h2 { font: 400 42px/1.4 var(--display); letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.caps { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border: 0; border-radius: 0; background: var(--accent); color: var(--on-accent); font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s; }
.btn:hover { background: var(--ink); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.ph { position: relative; overflow: hidden; background: #1d2120; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Header: transparent over the slider, solid once you scroll */
header { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: var(--head); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); transition: background-color .4s, backdrop-filter .4s; }
header.solid { background: rgba(18, 20, 20, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
header nav { display: flex; gap: 34px; }
header nav a, .lang { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; transition: color .3s; }
header nav a:hover { color: var(--accent); }
.nav-l { justify-content: flex-end; padding-right: 38px; }
.nav-r { padding-left: 38px; }
.right { display: flex; align-items: center; justify-content: space-between; }
.logo { font: 400 34px/1 var(--display); letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.lang { justify-self: end; font-weight: 700; }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }

/* Slider */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.slide.on img { transform: scale(1); transition: transform 6.5s linear; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 60%), linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 40%); }
.cap { position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-50%); max-width: 70vw; }
.cap h2 { overflow: hidden; font: 400 64px/1.2 var(--display); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.cap h2 .l { display: inline-block; white-space: pre; transform: translateY(100%); opacity: 0; }
.slide.on .cap h2 .l { transform: none; opacity: 1; transition: transform .9s var(--ease), opacity .9s; transition-delay: calc(.25s + var(--i) * 32ms); }
.cap .btn { margin-top: 22px; padding: 10px 14px; font-weight: 400; opacity: 0; transform: translateY(12px); }
.slide.on .cap .btn { opacity: 1; transform: none; transition: opacity .8s .7s, transform .8s .7s var(--ease), background-color .3s, color .3s; }
.hero-ctl { position: absolute; z-index: 3; right: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 18px; color: #fff; }
.hero-ctl .count { font: 400 22px/1 var(--display); letter-spacing: .08em; }
.hero-ctl .count b { font-weight: 400; color: var(--accent); }
.hero-ctl button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: border-color .3s, color .3s; }
.hero-ctl button:hover { border-color: var(--accent); color: var(--accent); }
.bars { position: absolute; z-index: 3; left: var(--pad); bottom: 40px; display: flex; gap: 8px; }
.bars i { position: relative; width: 44px; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.bars i.done::after { transform: scaleX(1); }
.bars i.run::after { transform: scaleX(1); transition: transform var(--dur, 5s) linear; }

section { padding: 120px 0; }
.lead { max-width: 52ch; margin: 18px auto 0; text-align: center; color: var(--dim); }

/* Projects: three categories in a row that scrolls sideways */
.cats { display: flex; gap: 42px; margin-top: 56px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; cursor: grab; }
.cats::-webkit-scrollbar { display: none; }
.cats.drag { cursor: grabbing; scroll-snap-type: none; }
.cat { position: relative; flex: 0 0 min(620px, 80vw); aspect-ratio: 620 / 460; scroll-snap-align: start; }
.cat img { transition: transform 1.2s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%); }
.cat span { position: absolute; z-index: 1; left: 30px; bottom: 26px; font: 400 26px/1.2 var(--display); color: #fff; }
.cat em { position: absolute; z-index: 1; right: 30px; bottom: 30px; font-style: normal; color: var(--accent); transition: transform .5s var(--ease); }
.cat:hover em { transform: translateX(6px); }

/* Philosophy */
.phil-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 70px; margin-top: 60px; padding-left: calc(var(--pad) + 80px); }
.phil-grid .ph { aspect-ratio: 4 / 5; }
.phil-txt h3 { font: 400 46px/1.15 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.phil-txt p { max-width: 48ch; margin-top: 26px; color: #cfcdc8; }
.phil-txt .sign { margin-top: 32px; color: #fff; }
.phil-txt .sign b { display: block; font-weight: 700; }
.phil-txt .btn { margin-top: 34px; }

/* Services */
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; padding: 0 var(--pad); }
.svc a { display: block; }
.svc .top { position: relative; height: 170px; padding: 22px 24px; background: var(--light); color: var(--light-ink); transition: background-color .4s; }
.svc a:hover .top { background: var(--accent); }
.svc .top h3 { position: absolute; left: 24px; bottom: 20px; font: 400 26px/1.15 var(--sans); letter-spacing: .01em; text-transform: uppercase; }
.svc .more { position: absolute; top: 18px; right: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #3d4441; }
.svc .more svg { width: 54px; height: 54px; color: var(--accent); transition: transform .5s var(--ease), color .4s; }
.svc a:hover .more svg { color: var(--light-ink); transform: translate(4px, -4px); }
.svc .ph { aspect-ratio: 4 / 5; }
.svc .ph img { transition: transform 1.2s var(--ease); }
.svc a:hover .ph img { transform: scale(1.06); }

/* Studio numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--pad); border-top: 1px solid rgba(230, 228, 223, .18); border-bottom: 1px solid rgba(230, 228, 223, .18); }
.nums div { padding: 46px 10px; text-align: center; }
.nums div + div { border-left: 1px solid rgba(230, 228, 223, .18); }
.nums b { display: block; font: 400 58px/1 var(--display); color: #fff; }
.nums span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* Contact: a light section with running headings and the form */
.contact { padding: 110px 0 120px; background: var(--light); color: var(--light-ink); overflow: hidden; }
.run { display: flex; width: max-content; font: 400 64px/1.15 var(--display); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.run span { padding-right: .8em; }
.run.l { animation: run-l 40s linear infinite; }
.run.r { animation: run-r 40s linear infinite; }
@keyframes run-l { to { transform: translateX(-50%); } }
@keyframes run-r { from { transform: translateX(-50%); } to { transform: none; } }
.contact .sub { margin-top: 26px; text-align: center; font-style: italic; color: #4c524f; }
.mark { display: block; width: 34px; height: 34px; margin: 22px auto 0; color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; width: min(640px, calc(100% - 2 * var(--pad))); margin: 34px auto 0; }
.fl { position: relative; padding-top: 16px; }
.fl.full { grid-column: 1 / -1; }
.fl input, .fl textarea { width: 100%; padding: 10px 0 8px; border: 0; border-bottom: 1px solid #8e928f; border-radius: 0; background: none; color: var(--light-ink); font-size: 16px; outline: none; transition: border-color .3s; }
.fl textarea { min-height: 110px; resize: vertical; }
.fl label { position: absolute; left: 0; top: 26px; color: #4c524f; pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s; }
.fl input:focus, .fl textarea:focus { border-bottom-color: var(--light-ink); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { top: 0; font-size: 12px; color: #1e7a5d; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; border: 0; }
.chips legend { width: 100%; margin-bottom: 8px; color: #4c524f; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chips span { display: inline-block; padding: 7px 16px; border: 1px solid #8e928f; border-radius: 999px; font-size: 14px; transition: background-color .25s, color .25s, border-color .25s; }
.chips label:hover span { border-color: var(--light-ink); }
.chips input:checked + span { background: var(--light-ink); color: var(--light); border-color: var(--light-ink); }
.chips input:focus-visible + span { outline: 2px solid #1e7a5d; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form .btn { grid-column: 1 / -1; justify-self: center; margin-top: 30px; padding: 18px 44px; border-radius: 999px; }
.form .btn:hover { background: var(--light-ink); color: var(--light); }
.form .btn:disabled { opacity: .6; cursor: progress; }
.status { grid-column: 1 / -1; text-align: center; font-size: 14px; }
.status:empty { display: none; }
.status.err { color: #b3261e; }
.credit { grid-column: 1 / -1; text-align: center; font-size: 12px; color: #5b615e; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.thanks { display: none; grid-column: 1 / -1; padding: 26px 0; text-align: center; }
.thanks strong { display: block; font: 400 34px/1.2 var(--display); text-transform: uppercase; }
.thanks button { margin-top: 18px; padding: 10px 20px; border: 1px solid var(--light-ink); border-radius: 999px; background: none; cursor: pointer; }
.form.is-sent > :not(.thanks):not(.status) { display: none; }
.form.is-sent .thanks { display: block; }

footer { background: var(--bg-2); color: #9e9e9a; padding: 64px var(--pad) 26px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr; gap: 30px; }
footer .logo { font-size: 30px; }
footer ul { list-style: none; }
footer li a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; line-height: 2.4; transition: color .3s; }
footer a:hover { color: var(--accent); }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #3a3d3c; border-radius: 50%; }
.social svg { width: 16px; height: 16px; }
.f-contact p { margin-top: 14px; }
.f-contact .tel { display: block; margin-top: 18px; font-size: 18px; color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #222524; font-size: 12px; color: rgba(255, 255, 255, .35); }
.f-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* Scroll-in fades (scripts on, motion allowed) */
.anim [data-in] { opacity: 0; transition: opacity 1s ease, transform 1s var(--ease); }
.anim [data-in="up"] { transform: translateY(40px); }
.anim [data-in="down"] { transform: translateY(-40px); }
.anim [data-in="right"] { transform: translateX(-60px); }
.anim [data-in="left"] { transform: translateX(60px); }
.anim [data-in].in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  header nav { gap: 22px; }
  .nav-l { padding-right: 26px; }
  .nav-r { padding-left: 26px; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phil-grid { padding-left: var(--pad); gap: 44px; }
  .phil-txt h3 { white-space: normal; font-size: 38px; }
}
@media (max-width: 860px) {
  :root { --head: 64px; }
  header { grid-template-columns: auto 1fr auto; }
  header nav { display: none; }
  .logo { font-size: 26px; }
  .right { justify-content: flex-end; gap: 6px; }
  .burger { display: grid; place-items: center; }
  header.open { background: var(--bg); }
  header.open nav { display: flex; position: fixed; left: 0; right: 0; flex-direction: column; gap: 0; padding: 0 var(--pad); background: var(--bg); }
  header.open .nav-l { top: var(--head); padding: 14px var(--pad) 0; }
  header.open .nav-r { top: calc(var(--head) + 104px); padding: 0 var(--pad) 18px; border-bottom: 1px solid #2a2d2c; }
  header.open nav a { padding: 12px 0; }
  .cap h2 { font-size: 40px; }
  .cap { max-width: none; right: var(--pad); }
  .hero-ctl .count { display: none; }
  section { padding: 80px 0; }
  .h2 { font-size: 32px; }
  .cats { gap: 16px; }
  .phil-grid { grid-template-columns: 1fr; padding: 0 var(--pad); }
  .phil-txt h3 { font-size: 32px; }
  .svc { grid-template-columns: 1fr; }
  .svc .top { height: 140px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums div:nth-child(3) { border-left: 0; }
  .nums div:nth-child(n+3) { border-top: 1px solid rgba(230, 228, 223, .18); }
  .nums b { font-size: 44px; }
  .run { font-size: 40px; }
  .form { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Generator additions: inline styles of the original moved here */
.hero { padding: 0; }
.nums-wrap { padding-bottom: 120px; }
.f-about { margin-top: 14px; max-width: 26ch; }
