@font-face {
  font-family: "Overpass";
  src: url("/assets/fonts/overpass.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Tokens: concrete and steel under a molten-energy signal, the palette of a country that builds and produces. */
:root {
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light dark;
  --paper: #eeece8;
  --paper-2: #e3e0da;
  --surface: #f7f6f3;
  --ink: #111213;
  --ink-2: #3a3c3f;
  --muted: #5e6165;
  --line: #cfcbc4;
  --accent: #a63a0a;
  --accent-ink: #ffffff;
  --accent-soft: #f1ddd0;
  --gold: #c77700;
  --panel: #111213;
  --panel-ink: #f1efea;
  --panel-muted: #a9a59e;
  --shadow: 0 24px 60px -24px rgb(17 18 19 / 0.4);
  --radius: 14px;
  --display: "Overpass", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
}
/* Dark tokens: follow the system unless the visitor picked a theme with the toggle (stored by site.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0b0c;
    --paper-2: #141416;
    --surface: #1a1a1d;
    --ink: #f1efea;
    --ink-2: #c9c6c0;
    --muted: #9a968f;
    --line: #2a2a2e;
    --accent: #ff7a1a;
    --accent-ink: #140800;
    --accent-soft: #2a1608;
    --gold: #f2a900;
    --panel: #141416;
    --panel-ink: #f1efea;
    --panel-muted: #9a968f;
    --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.75);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
    --paper: #0b0b0c;
    --paper-2: #141416;
    --surface: #1a1a1d;
    --ink: #f1efea;
    --ink-2: #c9c6c0;
    --muted: #9a968f;
    --line: #2a2a2e;
    --accent: #ff7a1a;
    --accent-ink: #140800;
    --accent-soft: #2a1608;
    --gold: #f2a900;
    --panel: #141416;
    --panel-ink: #f1efea;
    --panel-muted: #9a968f;
    --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.75);
}

/* Theme-specific images: both variants are in the page, only the active one shows (and loads). */
.only-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark {
    display: block;
  }
  :root:not([data-theme="light"]) .only-light {
    display: none;
  }
}
:root[data-theme="dark"] .only-dark {
  display: block;
}
:root[data-theme="dark"] .only-light {
  display: none;
}

/* Theme toggle */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle:hover {
  background: var(--line);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .icon-sun {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.25rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 800;
}
h3 {
  font-size: 1.375rem;
  font-weight: 700;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.eyebrow {
  font: 700 0.8125rem/1.2 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 1rem/1.2 var(--body);
  text-decoration: none;
  border: 1.5px solid var(--accent);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px var(--accent);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  box-shadow: none;
}
.btn--small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}
.btn--large {
  min-height: 60px;
  padding: 16px 32px;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}
.link-arrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
}
.btn span {
  margin-left: 10px;
  transition: transform 0.2s ease;
}
.btn:hover span {
  transform: translateX(3px);
}
.link-arrow span {
  transition: transform 0.2s ease;
}
.link-arrow:hover span {
  transform: translateX(4px);
}

/* Header: at the top of the page, the full-width flat bar; once scrolled (site.js removes data-at-top from <html>) the
   row lifts into a centred glass pill that hugs its content. The header keeps its height, so nothing below moves. */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 68px;
  /* Contains the pill's top margin, so it floats below the window edge instead of collapsing through the header. */
  display: flow-root;
  --pill-edge: color-mix(in srgb, white 60%, transparent);
  --pill-drop: color-mix(in srgb, black 25%, transparent);
}
:root[data-theme="dark"] .top {
  --pill-edge: color-mix(in srgb, white 6%, transparent);
  --pill-drop: color-mix(in srgb, black 60%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .top {
    --pill-edge: color-mix(in srgb, white 6%, transparent);
    --pill-drop: color-mix(in srgb, black 60%, transparent);
  }
}
.top__row {
  display: flex;
  align-items: center;
  gap: 32px;
  width: fit-content;
  max-width: calc(100% - 16px);
  min-height: 56px;
  margin: 12px auto 0;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  box-shadow:
    inset 0 1px 0 var(--pill-edge),
    0 24px 48px -24px var(--pill-drop);
}
:root[data-at-top] .top {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
:root[data-at-top] .top__row {
  gap: 24px;
  width: min(1200px, 100% - 32px);
  max-width: 100%;
  min-height: 68px;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  box-shadow:
    inset 0 0 0 transparent,
    0 0 0 0 transparent;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    interpolate-size: allow-keywords;
  }
  .top,
  .top__row {
    transition:
      width 0.25s var(--ease-fluid),
      max-width 0.25s var(--ease-fluid),
      margin 0.25s var(--ease-fluid),
      padding 0.25s var(--ease-fluid),
      min-height 0.25s var(--ease-fluid),
      border-radius 0.25s var(--ease-fluid),
      background-color 0.25s var(--ease-fluid),
      border-color 0.25s var(--ease-fluid),
      box-shadow 0.25s var(--ease-fluid);
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__logo {
  display: block;
  width: auto;
  height: 28px;
  color: var(--ink);
}
.top__nav {
  display: none;
  gap: 28px;
  margin-inline: auto;
}
.top__nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 0.9375rem;
}
.top__nav a:hover {
  color: var(--ink);
}
.top__end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.lang {
  font-weight: 400;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--muted);
  min-height: 40px;
  min-width: 40px;
  display: grid;
  place-items: center;
}
/* On the narrowest phones the header keeps the brand and the toggles; the hero carries the same action. */
.top .btn--small {
  font-weight: 500;
}
@media (max-width: 419px) {
  .top .btn--small {
    display: none;
  }
}
@media (min-width: 880px) {
  .top__nav {
    display: flex;
  }
  .top__end {
    margin-left: 0;
  }
}

/* Hero: the promise on the left, the product doing it on the right. */
/* The hero fills the screen below the sticky header (68px row + 1px border). */
.hero {
  min-height: calc(100vh - 69px);
  min-height: calc(100svh - 69px);
  display: grid;
  align-content: center;
  padding: 40px 0 72px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.hero h1 {
  font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 15ch;
}
/* Each sentence of the title starts its own line. */
.hero h1 span {
  display: block;
  text-wrap: balance;
}
.hero__lead {
  text-wrap: pretty;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  color: var(--ink-2);
  max-width: 30em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 8px;
}
.hero__art {
  position: relative;
  width: min(100%, 460px);
  justify-self: center;
  padding-bottom: 10%;
}
/* The owner's photograph with its painted treatment, and both products overlapping its lower corners. */
.hero__photo {
  margin: 0 0 0 auto;
  width: 82%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}
.hero__photo figcaption {
  position: absolute;
  right: 12px;
  top: 12px;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(17 18 19 / 0.78);
  color: #f6f3ee;
  font-size: 0.75rem;
  backdrop-filter: blur(6px);
}
.hero__art .phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  padding: 5px;
  border-radius: 28px;
}
.hero__art .phone img {
  border-radius: 23px;
}
.hero__art .phone--second {
  left: auto;
  right: 0;
}
@media (min-width: 960px) {
  .hero {
    padding: 48px 0;
  }
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}
/* The phone settles from a slight tilt as the visitor scrolls, where the browser supports scroll timelines. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero__art .phone {
      animation: settle linear both;
      animation-timeline: scroll();
      animation-range: 0 60vh;
    }
    .hero__art .phone--second {
      animation-name: settle-second;
    }
  }
}
@keyframes settle-second {
  from {
    transform: perspective(1200px) rotateY(10deg) rotateX(4deg);
  }
  to {
    transform: none;
  }
}
@keyframes settle {
  from {
    transform: perspective(1200px) rotateY(-10deg) rotateX(4deg);
  }
  to {
    transform: none;
  }
}

.phone {
  margin: 0;
  padding: 7px;
  border-radius: 36px;
  background: #0a1116;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  box-shadow: var(--shadow);
}
.phone img {
  border-radius: 29px;
  width: 100%;
  aspect-ratio: 560 / 1212;
  object-fit: cover;
  object-position: top;
}

/* Sections */
.section {
  padding: 96px 0;
}
.section--alt {
  background: var(--paper-2);
}
.intro {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 40rem;
  margin-bottom: 56px;
}
.intro > p:last-child {
  color: var(--ink-2);
  font-size: 1.1875rem;
}
.intro__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.intro__kind {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9375rem;
}
h2 {
  letter-spacing: -0.03em;
}

/* Text beside a group of screens. */
.feature {
  display: grid;
  gap: 48px;
  align-items: center;
}
.feature__text {
  display: grid;
  gap: 16px;
  justify-items: start;
  max-width: 34rem;
}
.feature__text > p:not(.intro__kind) {
  color: var(--ink-2);
  font-size: 1.125rem;
}
.feature__text > .btn {
  margin-top: 8px;
}
.feature__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
  width: min(100%, 520px);
  justify-self: center;
}
.feature__media .phone:last-child {
  margin-top: 48px;
}
/* Mirrored: the outer screen sits lower, as in the block it mirrors. */
.feature--reverse .feature__media .phone:first-child {
  margin-top: 48px;
}
.feature--reverse .feature__media .phone:last-child {
  margin-top: 0;
}
@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .feature--reverse .feature__media {
    order: -1;
  }
}

/* Products index: one card per product, same shape and weight. */
.products {
  display: grid;
  gap: 20px;
}
.product {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.product:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.product__name {
  font: 700 1.75rem/1.1 var(--display);
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.product__line {
  color: var(--ink-2);
  font-size: 1.125rem;
  max-width: 30em;
}
.product .link-arrow {
  margin-top: 8px;
}
@media (min-width: 760px) {
  .products {
    grid-template-columns: 1fr 1fr;
  }
}

/* Principles: three numbered lines on how the work is done. */
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}
.principles li {
  display: grid;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.principles__n {
  font: 700 0.875rem/1 var(--display);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.principles p {
  color: var(--ink-2);
  max-width: 28em;
}
@media (min-width: 860px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* Studio: the owner's own photo with its place, and two lines. */
.studio {
  display: grid;
  gap: 40px;
  align-items: center;
}
.studio__photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: min(100%, 420px);
  justify-self: center;
}
.studio__photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(17 18 19 / 0.78);
  color: #f6f3ee;
  font-size: 0.75rem;
  backdrop-filter: blur(6px);
}
.studio__text {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.studio__text > p:not(.eyebrow):not(.studio__sign) {
  color: var(--ink-2);
  font-size: 1.1875rem;
  max-width: 32em;
}
.studio__sign {
  display: grid;
  font: 700 1.125rem/1.3 var(--display);
}
.studio__sign span {
  font: 400 0.9375rem/1.4 var(--body);
  color: var(--muted);
}
.studio .link-arrow {
  overflow-wrap: anywhere;
}
@media (min-width: 900px) {
  .studio {
    grid-template-columns: 420px 1fr;
    gap: 72px;
  }
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 32px;
}
.foot__brand {
  display: grid;
  gap: 12px;
  align-content: start;
}
.foot__head {
  font: 700 0.8125rem/1.2 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot a {
  text-decoration: none;
  overflow-wrap: anywhere;
}
.foot li a {
  display: inline-block;
  padding-block: 10px;
}
.foot a:hover {
  color: var(--ink);
}
.foot .brand {
  color: var(--ink);
}
.foot__legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

/* Entrances come into focus: from blur, transparent and lower to sharp and in place, 1s on a curve that does most
   of the travel early. The hero copy on load, line by line; the rest once, when it scrolls into view. Only when JS
   runs and motion is welcome; content is always visible without it. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes focus-in {
    from {
      opacity: 0;
      filter: blur(12px);
      transform: translateY(2rem);
    }
  }
  .js .hero__copy > * {
    animation: focus-in 1s var(--ease-fluid) both;
  }
  .js .hero__copy > :nth-child(2) {
    animation-delay: 0.1s;
  }
  .js .hero__copy > :nth-child(3) {
    animation-delay: 0.2s;
  }
  .js .hero__copy > :nth-child(n + 4) {
    animation-delay: 0.3s;
  }
  .js [data-reveal] {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(4rem);
    transition:
      opacity 1s var(--ease-fluid),
      filter 1s var(--ease-fluid),
      transform 1s var(--ease-fluid);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
