:root {
  --paper: #f5f3ee;
  --paper-2: #ebe8e1;
  --ink: #141414;
  --ink-soft: #55534e;
  --muted: #c9c5bc;
  --line: rgba(20, 20, 20, 0.12);
  --accent: #d93a2b;
  --white: #ffffff;
  --inverse: #141414;
  --on-inverse: #f5f3ee;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --logo: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 3.4vw, 56px);
  --max: 2200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --paper: #131210;
  --paper-2: #1b1916;
  --ink: #f3f0ea;
  --ink-soft: #b3aea4;
  --muted: #6a655c;
  --line: rgba(243, 240, 234, 0.14);
  --inverse: #0e0d0b;
  --on-inverse: #f3f0ea;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.vcard-open { overflow: hidden; }

img { display: block; max-width: 100%; }
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; padding: 0; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.06), 0 4px 12px rgba(20, 20, 20, 0.04);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--light { color: var(--ink-soft); }
html[data-theme="dark"] .eyebrow {
  background: #1f1d19;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(0, 0, 0, 0.18);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.pill svg,
.footer__link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform 0.35s var(--ease); }
.pill:hover { background: var(--ink); color: var(--paper); }
.pill:hover svg,
.footer__link:hover svg { transform: translate(2px, -2px); }
.pill--light { border-color: rgba(255, 255, 255, 0.4); }
.pill--light:hover { background: var(--paper); color: var(--ink); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter);
  color: var(--white);
  transition: color 0.4s var(--ease);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header[data-tone="dark"] { color: var(--ink); }

.logo {
  justify-self: start;
  display: block;
  width: clamp(148px, 20vw, 220px);
  height: clamp(72px, 9.7vw, 106px);
  color: var(--white);
  transition: opacity 0.4s var(--ease);
}
.site-header[data-tone="dark"] .logo { color: var(--ink); }
.logo__mark {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask: url("assets/logo-mask.png") left center / contain no-repeat;
  mask: url("assets/logo-mask.png") left center / contain no-repeat;
  pointer-events: none;
}
.site-header.is-logo-hidden .logo {
  opacity: 0;
  pointer-events: none;
}
body.menu-open .logo {
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.site-header__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled .site-header__tag { opacity: 0; }

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle { display: none; }
.lang-toggle.is-enabled {
  display: inline-flex;
  height: 40px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.lang-toggle button {
  min-width: 34px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.7;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s;
}
.lang-toggle button:hover { opacity: 1; }
.lang-toggle button[aria-pressed="true"] {
  background: var(--white);
  color: #141414;
  opacity: 1;
}
.site-header[data-tone="dark"] .lang-toggle,
body.menu-open .lang-toggle {
  background: rgba(245, 243, 238, 0.72);
  border-color: var(--line);
}
.site-header[data-tone="dark"] .lang-toggle button[aria-pressed="true"],
body.menu-open .lang-toggle button[aria-pressed="true"] {
  background: #141414;
  color: #f5f3ee;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 16px 0 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header[data-tone="dark"] .menu-toggle {
  background: rgba(245, 243, 238, 0.72);
  border-color: var(--line);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header[data-tone="dark"] .theme-toggle,
body.menu-open .theme-toggle {
  background: rgba(245, 243, 238, 0.72);
  border-color: var(--line);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.theme-toggle__moon { fill: currentColor; stroke: none; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }
html:not([data-theme="dark"]) .theme-toggle__sun { display: none; }
html[data-theme="dark"] .craft__tab { background: var(--paper-2); }
.menu-toggle__icon { position: relative; width: 16px; height: 8px; }
.menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 3.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 3.25px; transform: rotate(-45deg); }

body.menu-open .site-header { color: var(--ink); }
body.menu-open .site-header__tag { opacity: 0; }
body.menu-open .menu-toggle { background: transparent; border-color: var(--line); }

html[data-theme="dark"] .lang-toggle.is-enabled,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .site-header[data-tone="dark"] .lang-toggle,
html[data-theme="dark"] .site-header[data-tone="dark"] .theme-toggle,
html[data-theme="dark"] .site-header[data-tone="dark"] .menu-toggle,
html[data-theme="dark"] body.menu-open .lang-toggle,
html[data-theme="dark"] body.menu-open .theme-toggle {
  background: rgba(14, 13, 11, 0.72);
  border-color: rgba(243, 240, 234, 0.3);
  color: #f3f0ea;
}
html[data-theme="dark"] .lang-toggle button[aria-pressed="true"],
html[data-theme="dark"] .site-header[data-tone="dark"] .lang-toggle button[aria-pressed="true"],
html[data-theme="dark"] body.menu-open .lang-toggle button[aria-pressed="true"] {
  background: #f3f0ea;
  color: #131210;
}
html[data-theme="dark"] body.menu-open .menu-toggle {
  background: transparent;
  border-color: rgba(243, 240, 234, 0.32);
}

/* Menu overlay */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 32px;
  background: var(--paper);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }

.menu__list a {
  display: inline-block;
  font-size: clamp(56px, 10vw, 156px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), color 0.3s;
}
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0.05s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0.1s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0.15s; }
.menu__list a:hover { color: var(--accent); }

.menu__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.menu__foot-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu .lang-toggle { display: none; }

/* Contact card */

.vcard {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.vcard.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vcard__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  cursor: pointer;
}

.vcard__card {
  position: relative;
  width: min(100%, 300px);
  padding: 32px 28px 26px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(20, 20, 20, 0.18), 0 0 0 1px var(--line);
  text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.5s var(--ease);
}
.vcard.is-open .vcard__card { transform: none; }

.vcard__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.3s, background 0.3s;
}
.vcard__close:hover { color: var(--ink); background: rgba(20, 20, 20, 0.06); }
.vcard__close svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.vcard__photo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 96%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 96%, transparent 100%);
}

.vcard__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.vcard__role {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.vcard__mail {
  display: block;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.vcard__mail:hover { color: var(--accent); }

.vcard__place {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .vcard,
  .vcard__card { transition: none; }
  .vcard__card { transform: none; }
}

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: #131210;
}

.hero__slides,
.hero__slide,
.hero__shade { position: absolute; inset: 0; }

.hero__slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 1;
}
picture.hero__slide { display: block; }
picture.hero__slide--dark { display: none; }
html[data-theme="dark"] picture.hero__slide--light { display: none; }
html[data-theme="dark"] picture.hero__slide--dark { display: block; }
picture.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 48%;
  transform-origin: 82% 48%;
  animation: hero-zoom 16s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  picture.hero__slide img { animation: none; }
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.16) 38%, rgba(0, 0, 0, 0) 60%);
}

.hero__content {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px var(--gutter);
  padding: 0 var(--gutter);
}

.hero__intro {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 470px;
}
.hero__intro p {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero__avatar {
  flex: none;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 96%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 96%, transparent 100%);
  transition: transform 0.4s var(--ease);
}
.hero__avatar:hover,
.hero__avatar[aria-expanded="true"] { transform: scale(1.06); }
.hero__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.hero__location {
  display: none;
  align-items: center;
  align-items: center;
  gap: 10px;
  justify-self: end;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__location .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 58, 43, 0.25);
}

.hero__title {
  grid-column: 1 / -1;
  padding-top: 0.1em;
  margin-bottom: clamp(4px, 1.4vw, 24px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fit-text { min-width: 0; font-size: 15vw; }
.fit-text > span { display: inline-block; }

.hero__bow {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(24px, 3.4vw, 48px);
  fill: var(--paper);
  z-index: 2;
}

/* Statement */

.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 240px) var(--gutter) clamp(140px, 18vw, 280px);
}
.statement .eyebrow { margin-bottom: 40px; }

.statement__text {
  font-size: clamp(30px, 4.3vw, 76px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.statement__text .w {
  color: var(--muted);
  transition: color 0.5s var(--ease);
}
.statement__text .w.is-on { color: var(--ink); }

.glyph {
  display: inline-block;
  width: 0.95em;
  height: 0.8em;
  margin: 0 0.12em;
  vertical-align: -0.08em;
}
.glyph svg { width: 100%; height: 100%; fill: var(--accent); }

/* Approach */

.approach { padding-bottom: clamp(64px, 8vw, 120px); }

.approach__head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vw, 96px);
}
.approach__lead {
  font-size: clamp(24px, 2.6vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.approach__stage { position: relative; height: 220vh; }

.approach__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  --p: 0;
}

.approach__panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p) * 100%);
  background: var(--accent);
}

.approach__media {
  position: relative;
  width: calc(62% + var(--p) * 28%);
  aspect-ratio: 16 / 9;
  max-height: calc(70svh + var(--p) * 20svh);
  border-radius: calc((1 - var(--p)) * 20px);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(20, 20, 20, 0.35);
}
.approach__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.15 - var(--p) * 0.15));
}

.approach__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) var(--gutter);
  counter-reset: step;
}
.approach__steps li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.approach__num {
  display: block;
  margin-bottom: 40px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.approach__steps h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.approach__steps p {
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.approach__wide {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.approach__wide img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 20px;
}

/* Craft */

.craft {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(120px, 14vw, 200px);
  scroll-margin-top: 24px;
}

.craft__head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px var(--gutter);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.craft__lead {
  font-size: clamp(24px, 2.6vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px);
}
.craft__card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
}
.craft__num {
  display: block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.craft__demo {
  display: flex;
  align-items: center;
  min-height: 120px;
  margin-bottom: 28px;
}
.craft__card h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.craft__card p {
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.craft__card--space .craft__demo {
  align-items: stretch;
}
.craft__space-frame {
  position: relative;
  flex: 1;
  min-height: 120px;
  border: 1px solid var(--line);
}
.craft__space-frame i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.craft__specimens {
  align-items: baseline;
  gap: 20px;
}
.craft__spec {
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.craft__spec--sans {
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 600;
}
.craft__spec--serif {
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 96px);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.craft__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.06);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.craft__tab img {
  width: 16px;
  height: 16px;
  flex: none;
}

.craft__serp {
  width: 100%;
  max-width: 36ch;
}
.craft__card .craft__serp-url {
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}
.craft__card .craft__serp-title {
  margin-bottom: 6px;
  max-width: none;
  color: #1a0dab;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.craft__card .craft__serp-desc {
  max-width: none;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.craft__card--motion .craft__demo {
  justify-content: flex-start;
}
.craft__orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(0);
  transition: transform 0.7s var(--ease);
}
.craft__card--motion:hover .craft__orb {
  transform: translateX(48px);
}

.craft__metrics {
  gap: 28px;
}
.craft__metrics span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.craft__metrics b {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--ink);
}

/* Work */

.work {
  background: var(--inverse);
  color: var(--on-inverse);
  padding: clamp(100px, 12vw, 180px) 0;
  overflow: hidden;
}

.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 72px);
  padding: 0 var(--gutter);
}
.work__title {
  font-size: clamp(56px, 8vw, 140px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.work__title em { color: var(--accent); }
.work__crumb { font-size: 14px; color: rgba(245, 243, 238, 0.6); }
.work__crumb span { margin: 0 6px; }

.work__strip {
  display: flex;
  gap: 14px;
  padding: 0 var(--gutter);
  height: clamp(360px, 62vh, 720px);
  transform: translateX(calc(var(--shift, 0) * 1px));
  will-change: transform;
}

.work__item {
  position: relative;
  flex: none;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #222;
}
.work__item--tall { aspect-ratio: 3 / 4; }
.work__item--wide { aspect-ratio: 4 / 3; }
.work__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.work__item:hover img { transform: scale(1.04); }

.work__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(245, 243, 238, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work__item:hover .work__tag,
.work__item:focus-visible .work__tag { opacity: 1; transform: none; }

.work__meta {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 24px var(--gutter);
  max-width: var(--max);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 var(--gutter);
}
.work__meta h3 {
  font-size: clamp(36px, 4.6vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.work__meta p { max-width: 42ch; color: rgba(245, 243, 238, 0.66); }

/* Pricing */

.pricing {
  --plan-cols: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 0.7fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(100px, 12vw, 180px) var(--gutter) clamp(140px, 14vw, 220px);
}

.pricing__head {
  display: grid;
  grid-template-columns: var(--plan-cols);
  gap: 24px var(--gutter);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.pricing__lead {
  grid-column: 2 / -1;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.plans { border-top: 1px solid var(--line); }
.plan { border-bottom: 1px solid var(--line); }

.plan__row {
  display: grid;
  grid-template-columns: var(--plan-cols);
  align-items: center;
  gap: 24px var(--gutter);
  padding: clamp(28px, 3vw, 44px) 0;
}

.plan__name h3 {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.plan__toggle { transition: color 0.3s; }
.plan__toggle:hover { color: var(--accent); }

.plan__time {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.plan__details-btn {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--muted);
}
.plan__details-btn[aria-expanded="true"] { color: var(--accent); text-decoration-color: currentColor; }

.plan__desc p:first-child {
  max-width: 40ch;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.35;
}
.plan__note { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }

.plan__price {
  text-align: right;
  font-size: clamp(40px, 4.6vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}
.plan__price small {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.plan__details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.plan__details.is-open { grid-template-rows: 1fr; }
.plan__details > * {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;
  transition: visibility 0s 0.6s;
}
.plan__details.is-open > * { visibility: visible; transition-delay: 0s; }

.plan__details-inner {
  display: grid;
  grid-template-columns: var(--plan-cols);
  gap: 24px var(--gutter);
}
.plan__details-inner > div { padding-bottom: 40px; }
.plan__details-inner > div:last-child { max-width: 28ch; justify-self: end; }
.plan__details h4 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.plan__details li,
.plan__details-inner p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }

.pricing__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 32px;
}
.included__toggle {
  display: inline-flex;
  gap: 10px;
  height: 48px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}
.included__plus { transition: transform 0.4s var(--ease); }
.included__toggle[aria-expanded="true"] .included__plus { transform: rotate(45deg); }
.included__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 4px 40px;
  padding-top: 8px;
}
.included__list li::before { content: "— "; color: var(--accent); }

/* Footer */

.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--white);
  background: #121417;
}

.footer__bow {
  position: absolute;
  inset: -1px 0 auto;
  width: 100%;
  height: clamp(24px, 3.4vw, 48px);
  fill: var(--paper);
  z-index: 2;
}

.footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.footer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(140px, 14vw, 220px) var(--gutter) 28px;
}

.footer__cta {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: end;
  flex: 1;
  gap: 40px var(--gutter);
  padding-bottom: clamp(56px, 6vw, 96px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer__title {
  font-size: clamp(52px, 7.4vw, 132px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.footer__title em { color: var(--accent); }

.footer__aside p {
  max-width: 28ch;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.footer__link svg { width: 14px; height: 14px; }
.footer__mail { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.footer__mail:hover { color: var(--white); }

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 13px;
}
.footer__bar span { color: rgba(255, 255, 255, 0.6); }
.footer__nav { display: flex; gap: clamp(20px, 3vw, 48px); }
.footer__nav a { opacity: 0.85; transition: opacity 0.3s; }
.footer__nav a:hover { opacity: 1; }

.footer__mark {
  display: block;
  margin: clamp(20px, 4vw, 48px) 0 clamp(16px, 2.5vw, 32px);
  width: clamp(148px, 20vw, 220px);
  height: clamp(72px, 9.7vw, 106px);
  background-color: currentColor;
  -webkit-mask: url("assets/logo-mask.png") left center / contain no-repeat;
  mask: url("assets/logo-mask.png") left center / contain no-repeat;
}

.footer__legal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__legal nav { display: flex; gap: 20px; }
.footer__legal > span:last-child { justify-self: end; }
.footer__legal a:hover { color: var(--white); }

@media (max-width: 1200px) {
  .craft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Responsive */

@media (max-width: 900px) {
  .logo,
  .footer__mark { width: 168px; height: 81px; }

  .site-header { grid-template-columns: 1fr auto; }
  .site-header__tag { display: none; }
  body:not(.soon) .site-header .lang-toggle.is-enabled { display: none; }
  .menu .lang-toggle.is-enabled { display: inline-flex; }
  .lang-toggle,
  .menu-toggle { height: 36px; }
  .theme-toggle { width: 36px; height: 36px; }
  .menu-toggle { padding: 0 14px 0 16px; }

  .hero__content { grid-template-columns: minmax(0, 1fr); }
  .hero__location { justify-self: start; }
  .hero__title { font-size: 21vw; line-height: 0.84; white-space: normal; }
  .hero__title > span { display: inline; }

  .approach__head,
  .craft__head,
  .pricing__head { grid-template-columns: 1fr; }
  .craft__grid { grid-template-columns: 1fr; gap: 40px; }
  .craft__demo { min-height: 100px; margin-bottom: 20px; }
  .craft__space-frame { min-height: 100px; }
  .approach__stage { height: 160vh; }
  .approach__media { width: calc(84% + var(--p) * 6%); }
  .approach__steps { grid-template-columns: 1fr; gap: 48px; }
  .approach__num { margin-bottom: 20px; }

  .work__head { flex-direction: column; align-items: flex-start; }
  .work__strip {
    transform: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: 56vh;
  }
  .work__strip::-webkit-scrollbar { display: none; }
  .work__item { scroll-snap-align: center; }
  .work__meta { grid-template-columns: 1fr; justify-items: start; }

  .plan__row { grid-template-columns: 1fr auto; }
  .plan__desc { grid-column: 1 / -1; grid-row: 2; }
  .pricing__lead { grid-column: auto; }
  .plan__details-inner { grid-template-columns: 1fr; gap: 0; }
  .plan__details-inner > div:last-child { justify-self: start; }
  .plan__details-inner > div { padding-bottom: 24px; }
  .pricing__foot { flex-direction: column; }
  .included__list { grid-template-columns: 1fr; }

  .footer__cta { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; }
  .footer__legal { grid-template-columns: 1fr; }
  .footer__legal > span:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .approach__stage { height: auto; }
  .approach__sticky { position: relative; height: auto; padding: 0 var(--gutter); --p: 1; }
  .approach__panel { display: none; }
  .approach__media { border-radius: 20px; max-height: none; }
  .statement__text .w { color: var(--ink); }
}
