@font-face { font-family: "Reticen Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/fonts/ReticenSans-Light.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Light.otf") format("opentype"); }
@font-face { font-family: "Reticen Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/ReticenSans-Regular.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Regular.otf") format("opentype"); }
@font-face { font-family: "Reticen Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/ReticenSans-Medium.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Medium.otf") format("opentype"); }
@font-face { font-family: "Reticen Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/ReticenSans-Bold.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Bold.otf") format("opentype"); }

:root {
  color-scheme: light;
  --bg: #E9E9EC;
  --surface: #FFFFFF;
  --ink: #090909;
  --ink-hover: #2A2A2A;
  --surface-hover: #E0E0E4;
  --ink-2: #5E5E63;
  --ink-inv: #FFFFFF;
  --ink-inv-2: #8A8A90;
  --line: rgba(9, 9, 9, 0.12);
  --ring-dark: rgba(9, 9, 9, 0.08);
  --ring-light: rgba(255, 255, 255, 0.18);
  --radius-card: 16px;
  --radius-pill: 999px;

  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1200px;
  --gap: 12px;
  --head-h: 88px;
  --sec: clamp(120px, 12vw, 176px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Reticen Sans";
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--ink-inv); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { scroll-margin-top: 100px; }

.skip { position: absolute; left: var(--gutter); top: 8px; padding: 8px 16px; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 500; transform: translateY(-200%); }
.skip:focus { transform: none; z-index: 10; }

.ul { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ic { display: inline-block; flex: none; vertical-align: -0.2em; }
.arr { display: inline-block; }

.pill { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--ink); font-size: 0.8125rem; font-weight: 500; line-height: 1; white-space: nowrap; transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out; }
.pill-dark { background: var(--ink); color: var(--ink-inv); }
.pill-dark:hover { background: var(--ink-hover); }
.pill-line { background: transparent; color: var(--ink); }
.pill-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.pill-light:hover { background: var(--surface-hover); border-color: var(--surface-hover); }
.pill-line:hover { background: var(--ink); color: var(--ink-inv); }
.pill-sm { height: 38px; }

.site-header { position: sticky; top: 0; z-index: 10; background: transparent; pointer-events: none; }
.site-header .wrap > * { pointer-events: auto; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; justify-self: start; height: 38px; padding: 0 14px; background: var(--surface); border-radius: var(--radius-pill); transition: background-color 200ms ease-out; }
.brand:hover { background: var(--surface-hover); }
.brand img { height: 20px; width: auto; }
.nav { display: flex; gap: 2px; padding: 4px; background: var(--surface); border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--radius-pill); transition: background-color 200ms ease-out; }
.nav a:hover, .nav a.active { background: var(--bg); }
.site-header .pill { justify-self: end; }
@media (max-width: 767px) { .nav { display: none; } .site-header .wrap { grid-template-columns: 1fr auto; } }

.hero { text-align: center; padding-top: clamp(56px, 13vw, 190px); padding-bottom: clamp(96px, 17vw, 240px); }
.hero h1 { font-size: clamp(2rem, 3vw + 1rem, 2.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.hero .sub { margin: 16px auto 0; max-width: 46ch; font-size: 1.125rem; line-height: 1.4; color: var(--ink-2); text-wrap: balance; }
.hero .actions { margin-top: 28px; display: flex; justify-content: center; gap: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 500ms var(--ease) both; }
  .hero .sub { animation-delay: 60ms; }
  .hero .actions { animation-delay: 120ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

h2 { font-size: 1.5rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 24px; }

.carousel { --edge: max(var(--gutter), (100% - var(--wrap)) / 2); display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--edge); scroll-padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel { align-items: flex-start; padding-block: 8px; margin-block: -8px; }
.work-card { position: relative; z-index: 0; display: block; flex: 0 0 clamp(240px, 78vw, 390px); scroll-snap-align: start; }
.work-card:hover, .work-card:focus-visible { z-index: 1; }
.work-hover-frame { margin: -8px; padding: 8px; overflow: hidden; overflow: clip; contain: paint; pointer-events: none; }
.work-media { position: relative; aspect-ratio: 4 / 5; background: var(--surface); border-radius: var(--radius-card); overflow: hidden; transform: scale(1); transform-origin: center; transition: transform 300ms var(--ease); }
.work-media .more { position: absolute; left: 24px; bottom: 24px; right: 24px; font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.work-card:hover .work-media, .work-card:focus-visible .work-media { transform: scale(1.02); }
.work-media img { position: absolute; left: 50%; top: 8%; width: 88%; height: auto; transform: translateX(-50%); }
.work-title { margin-top: 14px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.work-meta { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.4; }
.head-row { display: flex; justify-content: space-between; align-items: baseline; }
.head-row h2 { margin-bottom: 24px; }
.text-link { font-size: 0.875rem; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.text-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.intro { font-size: clamp(1.5rem, 1.2vw + 1rem, 1.75rem); line-height: 1.25; letter-spacing: -0.015em; max-width: 30ch; margin-bottom: 56px; text-wrap: pretty; }
.intro .dim { color: var(--ink-2); }
.carousel-nav { display: flex; gap: 8px; margin-top: 20px; }
.round { width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color 200ms ease-out, opacity 200ms ease-out; }
.round .ic { vertical-align: 0; }
.round:hover:not(:disabled) { background: var(--surface-hover); }
.round:disabled { opacity: 0.4; cursor: default; }

.chapter { margin-top: var(--sec); padding-top: 40px; border-top: 1px solid var(--line); }
.chapter { padding-top: 0; border-top: 0; }

.svc-list { display: grid; grid-template-columns: 1fr; row-gap: 32px; }
.svc { display: grid; grid-template-columns: 72px 1fr; padding-top: 24px; border-top: 1px solid var(--line); }
.svc .n { font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; padding-top: 0.6em; }
.svc h3 { font-size: 1.75rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.svc p { margin-top: 14px; color: var(--ink-2); line-height: 1.5; max-width: 46ch; text-wrap: pretty; }
@media (min-width: 768px) {
  .svc-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 64px; row-gap: 48px; }
}
@media (max-width: 480px) { .svc { grid-template-columns: 44px 1fr; } .svc h3 { font-size: 1.5rem; } }

.steps { display: grid; gap: var(--gap); }
.step { background: var(--surface); border-radius: var(--radius-card); }
.step-btn { display: grid; grid-template-columns: 120px 1fr 1.3fr; column-gap: 24px; align-items: center; width: 100%; min-height: 116px; padding: 28px 32px; border: 0; border-radius: var(--radius-card); background: none; text-align: left; cursor: pointer; }
.step .k { font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: color 200ms ease-out; }
.step .t { font-size: 1.75rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.step .d { max-width: 44ch; color: var(--ink-2); text-wrap: pretty; }
.step-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease); }
.sd-clip { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s 350ms; }
.sd-in { display: grid; grid-template-columns: 120px 1fr 1.3fr; column-gap: 24px; padding: 0 32px 28px; }
.sd-body { grid-column: 3; padding-top: 20px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity 250ms ease-out, transform 250ms ease-out; }
.sd-label { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 12px; }
.sd-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-list li { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--ink); border-radius: var(--radius-pill); font-size: 0.8125rem; line-height: 1; white-space: nowrap; }
.step.is-open .step-details, .step:has(.step-btn:focus-visible) .step-details { grid-template-rows: 1fr; }
.step.is-open .sd-clip, .step:has(.step-btn:focus-visible) .sd-clip { visibility: visible; transition: visibility 0s; }
.step.is-open .sd-body, .step:has(.step-btn:focus-visible) .sd-body { opacity: 1; transform: none; transition-delay: 80ms; }
.step.is-open .k, .step:has(.step-btn:focus-visible) .k { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .step:hover .step-details { grid-template-rows: 1fr; }
  .step:hover .sd-clip { visibility: visible; transition: visibility 0s; }
  .step:hover .sd-body { opacity: 1; transform: none; transition-delay: 80ms; }
  .step:hover .k { color: var(--ink); }
}
@media (max-width: 767px) {
  .step-btn { grid-template-columns: 1fr; grid-template-areas: "k" "t" "d"; row-gap: 10px; padding: 22px 22px; }
  .step .k { grid-area: k; } .step .t { grid-area: t; } .step .d { grid-area: d; }
  .sd-in { display: block; padding: 0 22px 22px; }
}

.cta { margin-top: var(--sec); background: var(--ink); color: var(--ink-inv); min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px var(--gutter); }
.cta h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 2.375rem); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.cta h2 .dim { color: var(--ink-inv-2); }
.cta .row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; font-size: 0.8125rem; font-weight: 500; }
.cta .row .or { color: var(--ink-inv-2); }
.cta .row a.ul { display: inline-flex; align-items: center; min-height: 44px; }

.site-footer { margin-top: 72px; padding-bottom: 28px; }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 40px; }
.foot-logo { display: inline-block; }
.foot-logo img { height: 32px; width: auto; }
.foot-line { margin-top: 16px; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); max-width: 30ch; }
.foot-mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 0.9375rem; overflow-wrap: anywhere; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; }
.foot-cols h3 { font-size: 0.8125rem; font-weight: 400; color: var(--ink-2); line-height: 1.4; margin-bottom: 16px; }
.foot-cols li a { display: flex; align-items: center; min-height: 44px; font-size: 0.9375rem; line-height: 1.2; }
.foot-cols .hd { color: var(--ink-2); }
.foot-cols .ic { color: var(--ink-2); margin-left: 6px; vertical-align: 0; }
.foot-cols li a:hover .nm { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.8125rem; color: var(--ink-2); }
.foot-bottom .text-link { color: var(--ink); font-size: 0.8125rem; }
@media (min-width: 768px) {
  .foot-top { grid-template-columns: 1fr auto; gap: 64px; }
  .foot-cols { grid-template-columns: repeat(3, auto); column-gap: 56px; }
  .foot-cols li a { min-height: 32px; }
}

.nf { text-align: center; padding-block: clamp(96px, 16vw, 220px); }
.nf h1 { font-size: clamp(2rem, 3vw + 1rem, 2.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.nf .actions { margin-top: 28px; display: flex; justify-content: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: reduce) { .work-card:hover .work-media, .work-card:focus-visible .work-media { transform: scale(1); } }
.nw { white-space: nowrap; }
@media (max-width: 600px) { .br-d { display: none; } .hero h1::after { content: none; } }

.cta h2 .dim { display: inline; }
@media (max-width: 599px) {
  .cta h2 .dim { display: block; }
  .cta h2 { font-size: clamp(1.5rem, 6vw, 1.75rem); }
  .nw-m { white-space: nowrap; }
}
@media (max-width: 340px) { .nw-m { white-space: normal; } }
@media (max-width: 767px) {
  .foot-cols { column-gap: 24px; }
  .foot-cols > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
}

.site-header .brand, .site-header .nav, .site-header .pill { position: relative; isolation: isolate; }
.site-header .brand::before, .site-header .nav::before, .site-header .pill::before {
  content: ""; position: absolute; inset: -4px; z-index: -1; padding: 4px; border-radius: 999px; pointer-events: none;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 200ms ease-out;
}
.site-header .brand::before, .site-header .nav::before { background: var(--ring-dark); }
.site-header .pill::before { background: var(--ring-light); }
.site-header .has-same::before { opacity: 1; }

.work-soon { cursor: default; }
.work-soon:hover .work-media, .work-soon:focus-visible .work-media { transform: scale(1); }
.work-soon .work-media::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
.soon-label { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; color: var(--ink-inv); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; opacity: 0; transition: opacity 300ms var(--ease); }
.work-soon:hover .work-media::after, .work-soon:focus-visible .work-media::after { opacity: 0.72; }
.work-soon:hover .soon-label, .work-soon:focus-visible .soon-label { opacity: 1; }
