/* morpii — site styles. Light ceramic ground, black type, cobalt accents.
   Product scenes take their own palette from the catalog through --p-bg / --p-ink / --p-accent. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/geist-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; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/geist-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; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/geist-mono-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; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/geist-mono-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; }

:root {
  --bg: #EFEEEA;
  --bg-raised: #F7F6F3;
  --ink: #111111;
  --ink-2: #3A3935;
  --ink-3: #5C5A55;
  --line: rgba(17, 17, 17, 0.14);
  --cobalt: #2046D8;
  --cobalt-deep: #1736B0;
  --cobalt-tint: #DCE3FF;
  --night: #111214;
  --gutter: clamp(16px, 4vw, 64px);
  --inset: clamp(8px, 1.2vw, 20px);
  --radius: clamp(20px, 2vw, 32px);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
::selection { background: var(--cobalt); color: #fff; }
[hidden] { display: none !important; }
.no-js [data-requires-js] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; }
.skip:focus { top: 16px; }

/* ── Type & small parts ─────────────────────────────────────────────────────── */
.eyebrow { display: block; font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow--light { color: var(--cobalt-tint); }
.display { font-size: clamp(48px, 8vw, 140px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 500; text-wrap: balance; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn--cobalt { background: var(--cobalt); color: #fff; }
.btn--cobalt:hover { background: var(--cobalt-deep); }
.btn--ghost { background: rgba(239, 238, 234, 0.6); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.22); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: var(--cobalt); color: #fff; }
.btn--light { background: #fff; color: var(--cobalt-deep); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn--product { align-self: flex-start; background: var(--p-ink); color: var(--p-bg); }
.btn--product:hover { background: var(--p-accent); color: var(--p-ink); }

.pill { background: rgba(239, 238, 234, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07); border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); }
.text-link { font-size: 15px; font-weight: 500; color: var(--cobalt); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--ink); }
.inline-link:hover { color: var(--cobalt); }
.arrow-link { color: var(--cobalt); font-size: 15px; font-weight: 500; }
.arrow-link:hover { color: var(--ink); }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(12px, 2.4vw, 32px); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header__logo { display: flex; align-items: center; height: 48px; padding: 0 22px; }
.site-header__logo img { height: 20px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; height: 48px; padding: 4px; }
.site-nav a { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color 0.2s; }
.site-nav a:hover { background: rgba(17, 17, 17, 0.06); }
.site-nav .site-nav__contact { background: var(--ink); color: var(--bg); padding: 0 18px; }
.site-nav .site-nav__contact:hover { background: var(--cobalt); color: #fff; }
.menu-button { display: none; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.no-js .menu-button { display: none !important; }
.mobile-menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 96px 24px 32px; background: var(--bg); overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 40px; font-weight: 500; letter-spacing: -0.04em; }
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu .mobile-menu__contact { color: var(--cobalt); }
.mobile-menu__reach { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
@media (max-width: 759px) {
  .site-nav { display: none; }
  .menu-button { display: block; }
  .no-js .site-nav { display: flex; height: auto; flex-wrap: wrap; border-radius: 24px; }
  .no-js .site-header { flex-wrap: wrap; position: absolute; }
}

/* ── Hero + belief, over the sticky 3D stage ────────────────────────────────── */
.scene-track { position: relative; }
.scene-stage { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: 0; overflow: hidden; pointer-events: none; }
morpii-scene { position: absolute; inset: 0; display: block; }
.scene-still { position: absolute; left: 50%; top: max(96px, 14vh); width: min(86vw, 980px); height: auto; transform: translateX(-50%); transition: opacity 0.6s ease; }
.scene-stage canvas { transition: opacity 0.8s ease; }

.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) clamp(28px, 6vh, 64px); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.hero__title { font-size: clamp(56px, min(10.4vw, 17vh), 196px); line-height: 0.88; letter-spacing: -0.055em; font-weight: 500; }
.hero__side { flex: 0 1 380px; display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(4px, 1.2vw, 18px); }
.hero__lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: #2B2A27; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__featured { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 14px; color: var(--ink-3); }
.hero__featured .eyebrow { margin-right: 4px; }
.hero__featured a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(17, 17, 17, 0.25); text-underline-offset: 4px; }
.hero__featured a:hover { color: var(--cobalt); text-decoration-color: currentColor; }

.belief { position: relative; z-index: 1; padding: 0 var(--gutter); }
.beat { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0; }
.beat__inner { max-width: min(560px, 44vw); display: flex; flex-direction: column; gap: 28px; }
.beat__title { font-size: clamp(40px, 5.4vw, 88px); line-height: 0.96; letter-spacing: -0.05em; font-weight: 500; text-wrap: balance; }
.beat__title--lead { font-size: clamp(44px, 6.2vw, 104px); line-height: 0.94; }
.beat__text { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
@media (max-aspect-ratio: 21/20) {
  .beat { justify-content: flex-end; padding-bottom: 56px; }
  .beat__inner { max-width: 560px; }
}

/* ── Section heads ──────────────────────────────────────────────────────────── */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head__title { display: flex; flex-direction: column; gap: 20px; }
.section-head__side { flex: 0 1 400px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* ── Featured products ──────────────────────────────────────────────────────── */
/* Opaque so it slides over the sticky 3D stage, which may overhang the end of its track. */
.featured { position: relative; z-index: 2; padding-top: clamp(96px, 14vh, 180px); background: var(--bg); }
.featured > .section-head { padding: 0 var(--gutter); }
.featured__list { display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 20px); padding: 0 var(--inset); }

.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(24px, 3vw, 48px); min-height: min(92vh, 980px); padding: clamp(16px, 3.4vw, 56px); border-radius: var(--radius); background: var(--p-bg); color: var(--p-ink); scroll-margin-top: 16px; }
.feature--stage-left { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.feature--stage-left .feature__stage { order: -1; }
.feature__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(8px, 1vw, 16px); min-width: 0; container-type: inline-size; }
.feature__copy .chips { opacity: 0.85; }
.feature__text { display: flex; flex-direction: column; gap: 22px; }
/* Sized against its column so long single-word names such as TheFileTool stay on one line. */
.feature__name { font-size: clamp(44px, min(7.2vw, 25cqi), 128px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 500; }
.feature__tagline { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.feature__desc { font-size: 18px; line-height: 1.5; max-width: 440px; opacity: 0.82; text-wrap: pretty; }
.feature__summary { font-size: 15px; line-height: 1.55; max-width: 420px; opacity: 0.68; text-wrap: pretty; }
.points { display: flex; flex-wrap: wrap; gap: 6px; }
.points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 8px; background: color-mix(in srgb, var(--p-ink) 7%, transparent); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.points li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--p-accent); }
.feature .btn--product { margin-top: 6px; }

.feature__stage { position: relative; min-height: 520px; border-radius: clamp(14px, 1.4vw, 22px); background: color-mix(in srgb, var(--p-bg) 55%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-ink) 8%, transparent); overflow: hidden; display: flex; align-items: center; padding: clamp(18px, 3vw, 48px); }

.browser { position: relative; width: 86%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(20, 20, 40, 0.45), 0 0 0 1px rgba(17, 17, 17, 0.07); }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #F4F3F0; border-bottom: 1px solid rgba(17, 17, 17, 0.06); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(17, 17, 17, 0.14); }
.browser__address { flex: 0 1 auto; margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: #fff; font-family: var(--mono); font-size: 11px; color: #55534E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__shot { width: 100%; height: auto; }
.feature--stage-right .browser { width: 88%; margin-bottom: 10%; }
.feature--stage-left .browser { margin-left: auto; align-self: flex-start; margin-top: 2%; }

.phone { position: absolute; right: 5%; bottom: 5%; width: clamp(150px, 26%, 290px); aspect-ratio: var(--ar, 9 / 16); border-radius: clamp(20px, 2.2vw, 32px); border: clamp(4px, 0.45vw, 7px) solid #121212; background: #121212; overflow: hidden; box-shadow: 0 50px 80px -30px rgba(10, 10, 25, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); isolation: isolate; }
.phone__poster, .phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__video { z-index: 1; background: transparent; }
.phone.is-failed .phone__video { display: none; }
.video-toggle { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(17, 17, 17, 0.62); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-toggle:hover { background: rgba(17, 17, 17, 0.85); }
.video-toggle__icon { width: 12px; height: 12px; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.video-toggle[data-state='paused'] .video-toggle__icon { width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

/* Roadster Dash: the game's own scene behind the copy, gameplay in a phone. */
.feature--immersive { grid-template-columns: minmax(0, 1fr) auto; align-items: end; min-height: min(94vh, 1000px); overflow: hidden; isolation: isolate; color: var(--p-ink); background: var(--p-bg); }
.feature__bg, .feature__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature__bg { z-index: -2; }
.feature__bg img { object-fit: cover; object-position: 60% 50%; }
.feature__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 15, 32, 0.9) 0%, rgba(22, 15, 32, 0.55) 38%, rgba(22, 15, 32, 0.05) 68%), linear-gradient(0deg, rgba(22, 15, 32, 0.6) 0%, rgba(22, 15, 32, 0) 40%); }
.feature--immersive .feature__copy { justify-content: space-between; align-self: stretch; }
.feature--immersive .feature__text { max-width: 560px; }
.feature--immersive .feature__name { font-size: clamp(52px, min(8.4vw, 30cqi), 152px); line-height: 0.88; }
.feature--immersive .feature__stage { background: none; box-shadow: none; overflow: visible; min-height: 0; padding: 0; align-self: center; }
.phone--hero { position: relative; right: auto; bottom: auto; width: clamp(220px, 21vw, 360px); }
.feature--immersive .chips li { background: rgba(36, 26, 51, 0.45); }

/* TheFileTool: a conversion card running through real tool pairs. */
.convert { position: absolute; left: 5%; bottom: 6%; width: min(400px, 58%); display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; color: #16201E; box-shadow: 0 40px 70px -30px rgba(16, 32, 30, 0.45), 0 0 0 1px rgba(22, 32, 30, 0.08); }
.convert__head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.convert__mark { width: 26px; height: 26px; border-radius: 8px; background: var(--p-accent); color: #fff; display: grid; place-items: center; font-size: 14px; }
.convert__formats { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.convert__fmt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #C9D6D2; min-width: 0; }
.convert__fmt small { font-size: 10px; color: #5E6B67; }
.convert__fmt b { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.convert__fmt--out { background: #E6F2EF; box-shadow: inset 0 0 0 1px #BFDCD5; color: #0F5E54; }
.convert__arrow { color: #5E6B67; }
.convert__file { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 8px; align-items: center; padding: 12px; border-radius: 10px; border: 1px dashed #BCCBC6; }
.convert__ext { grid-row: 1 / 3; width: 40px; height: 48px; border-radius: 8px; background: #EEF3F1; box-shadow: inset 0 0 0 1px #D5E0DC; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; font-family: var(--mono); font-size: 9px; font-weight: 500; color: var(--p-accent); }
.convert__name { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; min-width: 0; }
.convert__name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convert__status { flex: none; color: var(--p-accent); font-weight: 500; }
.convert__bar { height: 5px; border-radius: 99px; background: #E3EBE8; overflow: hidden; }
.convert__bar span { display: block; height: 100%; width: 100%; border-radius: 99px; background: var(--p-accent); transform-origin: left; }
.convert__groups { display: flex; flex-wrap: wrap; gap: 6px; }
.convert__group { font-family: var(--mono); font-size: 11px; padding: 5px 9px; border-radius: 7px; background: #F1F5F4; color: #3E4C48; transition: background-color 0.3s, color 0.3s; }
.convert__group.is-on { background: var(--p-accent); color: #fff; }

@media (max-width: 899px) {
  .feature, .feature--stage-left { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .feature--stage-left .feature__stage { order: 0; }
  .feature__copy { gap: 28px; }
  .feature__stage { display: block; min-height: 0; padding: 16px 16px 0; }
  .browser, .feature--stage-left .browser { width: 100%; margin: 0; }
  .phone { position: relative; right: auto; bottom: auto; width: 44%; margin: -30% 6% 18px auto; }
  .convert { position: relative; left: auto; bottom: auto; width: auto; margin: -14% 6% 16px; }
  .feature--immersive { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .feature--immersive .feature__stage { order: -1; padding: clamp(28px, 8vw, 56px) 0 0; display: flex; justify-content: center; }
  .phone--hero { width: min(64vw, 300px); margin: 0; }
  .feature__shade { background: linear-gradient(0deg, rgba(22, 15, 32, 0.94) 0%, rgba(22, 15, 32, 0.72) 42%, rgba(22, 15, 32, 0.25) 100%); }
  .feature__bg img { object-position: 50% 30%; }
}

/* ── All products ───────────────────────────────────────────────────────────── */
.catalog { padding: clamp(120px, 16vh, 200px) var(--gutter) clamp(96px, 12vh, 160px); scroll-margin-top: 24px; }
.filters-wrap { gap: 14px; }
.filters__label { font-size: 15px; color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.22); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.filter:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filter[aria-pressed='true'] { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.filter__count { font-family: var(--mono); font-size: 12px; opacity: 0.7; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
/* A product link such as /#vuppa lands on its card clear of the fixed header and outlines it. */
.card { display: flex; scroll-margin-top: 96px; }
.card:target .card__link { box-shadow: 0 0 0 2px var(--cobalt), 0 24px 48px -24px rgba(20, 20, 40, 0.3); }
.card__link { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 10px 10px 22px; border-radius: 22px; background: var(--bg-raised); box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card__link:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(20, 20, 40, 0.3), 0 0 0 1px rgba(17, 17, 17, 0.08); }
.card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--p-bg); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card__link:hover .card__img { transform: scale(1.025); }
.card__fallback { position: absolute; inset: 0; display: none; align-items: flex-end; padding: 18px; font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -0.03em; color: var(--p-ink); background: radial-gradient(70% 90% at 85% 100%, var(--p-accent), transparent 70%); }
.is-missing > img { display: none; }
.is-missing > .card__fallback { display: flex; }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 0 12px; }
.badge { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--cobalt); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
.card__cat { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.card__desc { flex: 1; font-size: 15px; line-height: 1.5; color: #55534E; text-wrap: pretty; }
.card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-top: 8px; }
.card__cta { font-size: 14px; font-weight: 500; color: var(--cobalt); }
.card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #6A6862; }
.cards__empty { margin-top: 24px; font-size: 18px; color: #55534E; }

/* ── Work with us ───────────────────────────────────────────────────────────── */
.propose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 5vw, 96px); margin: 0 var(--inset); padding: clamp(56px, 8vw, 128px) clamp(16px, 3.4vw, 56px); border-radius: var(--radius); background: var(--night); color: #F1F0EC; scroll-margin-top: 16px; }
.propose .eyebrow { color: #A6A49E; }
.propose :focus-visible { outline-color: #9DB3FF; }
.propose__copy { display: flex; flex-direction: column; gap: 28px; }
.propose__title { font-size: clamp(52px, 7vw, 124px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 500; }
.propose__lede { max-width: 460px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: #D7D5CF; text-wrap: pretty; }
.propose__how { max-width: 460px; margin-top: auto; font-size: 14px; line-height: 1.6; color: #A6A49E; text-wrap: pretty; }
.propose__how a, .propose__alt a, .propose__alt button { color: #F1F0EC; text-decoration: underline; text-decoration-color: rgba(241, 240, 236, 0.4); text-underline-offset: 4px; }
.propose__how a:hover, .propose__alt a:hover, .propose__alt button:hover { text-decoration-color: currentColor; }
.propose__form { display: flex; flex-direction: column; gap: 24px; padding: clamp(20px, 2.6vw, 40px); border-radius: 24px; background: #1A1B1E; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); }
.propose__topics { margin: 0; padding: 0; border: 0; min-width: 0; }
.propose__label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 500; color: #D7D5CF; }
.propose__opt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: #8F8D87; font-weight: 400; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.topic span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); font-size: 14px; font-weight: 500; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.topic:hover span { box-shadow: inset 0 0 0 1px #F1F0EC; }
.topic input:checked + span { background: #F1F0EC; color: var(--night); box-shadow: inset 0 0 0 1px #F1F0EC; }
.topic input:focus-visible + span { outline: 2px solid #9DB3FF; outline-offset: 3px; }
.propose__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 14px; background: #24252A; color: #F6F5F1; font: inherit; font-size: 16px; line-height: 1.5; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: box-shadow 0.2s; }
.field textarea { min-height: 176px; resize: vertical; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px #9DB3FF; }
.propose__hint { margin-top: 8px; font-size: 13px; color: #8F8D87; }
.propose__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.propose .btn--cobalt:hover { background: #F1F0EC; color: var(--cobalt-deep); }
.propose__alt { font-size: 14px; color: #A6A49E; }
.propose__alt button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.propose__status { flex-basis: 100%; font-size: 14px; color: #9DB3FF; }
.propose__status:empty { margin-top: -14px; }
@media (max-width: 899px) {
  .propose { grid-template-columns: minmax(0, 1fr); }
  .propose__how { margin-top: 0; }
}

/* ── Company ────────────────────────────────────────────────────────────────── */
.company { padding: clamp(120px, 16vh, 200px) var(--gutter) clamp(96px, 12vh, 140px); scroll-margin-top: 16px; }
.company__title { margin-top: 20px; font-size: clamp(56px, 11vw, 200px); line-height: 0.86; letter-spacing: -0.06em; font-weight: 500; }
.company__intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 64px; margin-top: clamp(40px, 6vw, 96px); }
.company__statement { flex: 1 1 520px; max-width: 920px; font-size: clamp(26px, 3vw, 48px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; text-wrap: pretty; }
.company__side { flex: 0 1 380px; font-size: 18px; line-height: 1.55; color: #55534E; text-wrap: pretty; }
.company__rows { margin-top: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px 48px; padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.row__head { display: flex; gap: 20px; align-items: baseline; }
.row__num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.row h3 { font-size: clamp(30px, 3.4vw, 56px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.row__body { display: flex; flex-direction: column; gap: 14px; max-width: 580px; }
.row__body p { font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.company__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ── Contact & footer ───────────────────────────────────────────────────────── */
.contact-wrap { margin: 0 var(--inset); border-radius: var(--radius) var(--radius) 0 0; background: var(--cobalt); color: #fff; }
.contact { padding: clamp(64px, 9vw, 140px) clamp(16px, 3.4vw, 56px) clamp(48px, 6vw, 88px); scroll-margin-top: 16px; }
.contact__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-top: 20px; }
.contact__title { font-size: clamp(64px, 13vw, 232px); line-height: 0.84; letter-spacing: -0.06em; font-weight: 500; }
.contact__lede { flex: 0 1 380px; font-size: 18px; line-height: 1.55; color: #E6EBFF; text-wrap: pretty; }
.contact__link { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.reach { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(22px, 2.6vw, 36px); border-radius: 22px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.reach__value { font-size: clamp(26px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; overflow-wrap: anywhere; }
.reach__value:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.reach__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact :focus-visible, .footer :focus-visible { outline-color: #fff; }

.footer { padding: 0 clamp(16px, 3.4vw, 56px) clamp(28px, 3vw, 40px); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 36px 32px; padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid rgba(255, 255, 255, 0.24); }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 28px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.footer__brand p { font-size: 15px; color: #E6EBFF; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: 15px; }
.footer__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-top: clamp(40px, 5vw, 72px); font-size: 13px; line-height: 1.6; color: var(--cobalt-tint); }
.footer__operator { display: flex; flex-direction: column; flex: 1 1 100%; }

/* ── 404 ────────────────────────────────────────────────────────────────────── */
.not-found__main { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 48px var(--gutter); }
.not-found__main img { height: 28px; width: auto; margin-bottom: 24px; }
.not-found__text { max-width: 520px; font-size: 18px; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .card__link:hover { transform: none; }
}
