/* ==========================================================================
   Yati Global Solutions: site styles (v2)
   Editorial / print-inspired. Navy night, warm paper, teal + marigold.
   ========================================================================== */

:root {
  --paper: #f1ede4;
  --paper-2: #e6dfd1;
  --card: #f8f6f1;
  --ink: #0f141a;
  --ink-2: #39404a;
  --muted: #5b626b;
  --rule: rgba(15, 20, 26, 0.14);
  --rule-strong: #0f141a;
  --accent: #0c6b65;
  --accent-2: #5fd0c8;
  --sun: #f2b33d;
  --night: #0d1820;
  --night-2: #13222c;
  --night-3: #1c303c;
  --deep: #0c2a30;
  --on-night: #eeeae1;
  --on-night-2: rgba(238, 234, 225, 0.68);
  --on-night-rule: rgba(238, 234, 225, 0.14);

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 8vw, 116px);
  --header-h: 72px;
  --sc-overlap: min(24vw, 330px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.08 0 0 0 0 0.09 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --orbits: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%235fd0c8' stroke-opacity='.14'%3E%3Cellipse cx='400' cy='400' rx='390' ry='140' transform='rotate(-24 400 400)'/%3E%3Cellipse cx='400' cy='400' rx='300' ry='108' transform='rotate(-24 400 400)'/%3E%3Ccircle cx='400' cy='400' r='170' stroke-opacity='.08'/%3E%3C/g%3E%3Ccircle cx='659' cy='197' r='6' fill='%23f2b33d' fill-opacity='.8'/%3E%3C/svg%3E");
  --orbits-quiet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%235fd0c8' stroke-opacity='.14'%3E%3Cellipse cx='400' cy='400' rx='390' ry='140' transform='rotate(-24 400 400)'/%3E%3Cellipse cx='400' cy='400' rx='300' ry='108' transform='rotate(-24 400 400)'/%3E%3Ccircle cx='400' cy='400' r='170' stroke-opacity='.08'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: .7rem 1rem; text-decoration: none; }
.skip:focus { top: 12px; }
.label { font-family: var(--mono); font-size: .74rem; font-weight: 400; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; line-height: 1.4; }

/* dark surfaces share these */
.hero, .page-hero, .section--night, .section--deep, .site-header, .site-footer, .tech, .cta { --rule: var(--on-night-rule); }
.hero :focus-visible, .page-hero :focus-visible, .section--night :focus-visible, .section--deep :focus-visible,
.site-header :focus-visible, .site-footer :focus-visible, .tech :focus-visible { outline-color: var(--accent-2); }

/* ---------------------------------------------------------------- icons & buttons */
.i { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-ext { width: .9em; height: .9em; transition: transform .3s var(--ease); }
.li { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  background: var(--ink); color: var(--paper); font: 500 1rem/1 var(--sans);
  padding: 1.05rem 1.4rem; border: 0; border-radius: 3px; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn .i-arrow { transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffc85a; color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: .72rem 1rem; font-size: .92rem; }
.btn-block { display: flex; width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; text-decoration-color: var(--rule);
  transition: color .2s, text-decoration-color .2s;
}
.link-arrow:hover { color: var(--accent); text-decoration-color: currentColor; }
.link-light { color: var(--on-night); text-decoration-color: rgba(238, 234, 225, .3); }
.link-light:hover { color: var(--sun); }
.link-arrow .i-arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .i-arrow { transform: translateX(3px); }
.link-arrow:hover .i-ext { transform: translate(2px, -2px); }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(242, 179, 61, .6); animation: live 2.2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(242, 179, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 179, 61, 0); } }

.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .58rem 1rem;
  border: 1px solid rgba(15, 20, 26, .24); border-radius: 999px; background: transparent; color: var(--ink);
  font-size: .92rem; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }

/* ---------------------------------------------------------------- brand mark */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; white-space: nowrap; }
.mark { width: 34px; height: 34px; flex: none; overflow: visible; }
.mark-globe { fill: var(--accent); }
.mark-orbit { fill: none; stroke: var(--ink); stroke-width: 2.1; stroke-linecap: round; }
.mark-moon { fill: var(--ink); stroke: var(--paper); stroke-width: 2; transition: transform .4s var(--ease); }
.brand-word { font-size: 1.04rem; letter-spacing: -.01em; color: var(--on-night-2); }
.brand-word b { font-weight: 650; color: var(--on-night); }
.site-header .mark-globe, .site-footer .mark-globe, .mc-avatar .mark-globe { fill: var(--accent-2); }
.site-header .mark-orbit, .site-footer .mark-orbit, .mc-avatar .mark-orbit { stroke: var(--on-night); }
.site-header .mark-moon, .site-footer .mark-moon, .mc-avatar .mark-moon { fill: var(--on-night); stroke: var(--night); }
.brand:hover .mark-moon { transform: translate(-1px, 1px); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--on-night); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--on-night-rule); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2rem; }
.nav a {
  text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--on-night-2); padding: .4rem 0;
  background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-night); background-size: 100% 1.5px; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: .65rem; background: none; border: 1px solid var(--on-night-rule); border-radius: 3px; padding: .55rem .8rem; font-size: .9rem; font-weight: 500; cursor: pointer; color: var(--on-night); }
.menu-btn-icon { position: relative; width: 16px; height: 10px; }
.menu-btn-icon::before, .menu-btn-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn-icon::before { top: 1px; }
.menu-btn-icon::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn-icon::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon::after { top: 4px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--night) var(--orbits) no-repeat right -240px bottom -200px / 700px; overflow-y: auto; border-top: 1px solid var(--on-night-rule); padding: 16px 0 48px; }
.mobile-nav { list-style: none; }
.mobile-nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--serif); font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: 1.1; padding: .6rem 0; border-bottom: 1px solid var(--on-night-rule); text-decoration: none; color: var(--on-night); }
.mobile-nav .mono { font-size: .75rem; color: var(--sun); }
.mobile-cta { margin-top: 28px; }
.mobile-contact { display: grid; gap: .55rem; margin-top: 24px; }
.mobile-contact a { color: var(--on-night-2); text-decoration: none; font-size: 1.05rem; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- type & sections */
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.4vw, 4.9rem); line-height: .98; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.h2 em, .h3 em, .page-title em, .hero-title em, .cta-title em, .tech-title em { color: var(--accent); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1; letter-spacing: -.015em; }

.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2) var(--grain); }
.section--rule { border-top: 1px solid var(--rule); }
.section--flush { padding-top: 0; }
.section--night { background: var(--night); color: var(--on-night); }
.section--deep { background: var(--deep) var(--orbits-quiet) no-repeat left -320px bottom -380px / 900px; color: var(--on-night); }
.section--night .label, .section--deep .label { color: var(--on-night-2); }
.section--night .section-head, .section--deep .section-head { border-top-color: var(--on-night); }
.section--night .section-head .label, .section--deep .section-head .label { color: var(--on-night); }
.section--night .h2 em, .section--deep .h2 em, .page-hero .page-title em, .hero-title em, .tech-title em { color: var(--accent-2); }
.section--night .section-intro, .section--deep .section-intro { color: var(--on-night-2); }

.section-head { display: grid; grid-template-columns: minmax(150px, 3fr) 9fr; gap: 1.25rem 2rem; border-top: 1px solid var(--rule-strong); padding-top: 1.1rem; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .label { margin: 0; padding-top: .55rem; color: var(--ink); }
.section-intro { margin: 1.4rem 0 0; font-size: 1.12rem; line-height: 1.6; max-width: 54ch; color: var(--ink-2); }
.more { margin: clamp(40px, 5vw, 60px) 0 0; }

/* ---------------------------------------------------------------- home hero */
.hero { background: var(--night) var(--orbits) no-repeat right -300px top -200px / 1150px; color: var(--on-night); padding: clamp(28px, 4.5vw, 64px) 0 calc(var(--sc-overlap) + clamp(44px, 5.5vw, 80px)); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .35rem 0; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--on-night-2); border-top: 1px solid var(--on-night-rule); padding-top: .9rem; margin: 0; }
.hero-meta > span:not(:last-child)::after { content: "/"; margin: 0 .9rem; opacity: .45; }
.hero-time { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-night); }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.65rem, 10.4vw, 10.6rem); line-height: .9; letter-spacing: -.028em; margin: clamp(28px, 4vw, 56px) 0 0; color: var(--on-night); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-title .ln > span { display: inline-block; animation: rise .8s var(--ease) both; }
.hero-title .ln:nth-child(2) > span { animation-delay: .06s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(60%); opacity: .001; } to { transform: none; opacity: 1; } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.75rem 4rem; align-items: end; margin-top: clamp(30px, 4vw, 56px); }
.hero-lede { font-size: clamp(1.07rem, 1.35vw, 1.24rem); line-height: 1.55; color: var(--on-night-2); max-width: 50ch; margin: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; }

/* ---------------------------------------------------------------- devices */
.devices { position: relative; padding: 0 8% 7% 0; }
.browser { margin: 0; background: #16242d; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.browser-bar { height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #1b2b35; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(238, 234, 225, .2); }
.browser-url { flex: 0 1 46%; margin: 0 auto; height: 19px; display: flex; align-items: center; justify-content: center; border-radius: 5px; background: rgba(255, 255, 255, .07); font: 400 11px/1 var(--mono); color: var(--on-night-2); overflow: hidden; white-space: nowrap; }
.browser-view { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 0; bottom: 0; width: 21%; margin: 0; padding: 3.2% 2.6%; border-radius: 15% / 7%; background: linear-gradient(160deg, #2a3a44, #0b1419 60%); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.devices .phone { padding: 0; border: 7px solid #0b1419; }
.phone-screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 11% / 5.2%; background: #fff; }
.phone-screen::before { content: ""; position: absolute; z-index: 1; top: 1.6%; left: 50%; width: 28%; height: 2.4%; transform: translateX(-50%); border-radius: 99px; background: #0b1419; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------------------------------------------------------------- showcase */
.showcase { position: relative; margin-top: calc(-1 * var(--sc-overlap)); padding-bottom: clamp(36px, 4vw, 56px); }
.sc-stage { display: grid; max-width: 1180px; margin-inline: auto; }
.sc-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
.sc-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s; }
.sc-stage .devices { padding: 0 7% 6% 0; }
.sc-stage .phone { width: 18.5%; }
.sc-bar { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem 2rem; max-width: 1180px; margin: 28px auto 0; align-items: start; }
.sc-caption { margin: 0; display: flex; flex-direction: column; gap: .2rem; }
.sc-caption b { font-family: var(--serif); font-size: 1.85rem; font-weight: 400; line-height: 1.05; }
.sc-caption > span { color: var(--muted); font-size: .95rem; }
.sc-caption .link-arrow { margin-top: .5rem; font-size: .95rem; align-self: flex-start; }
.sc-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.sc-tab { position: relative; overflow: hidden; border: 1px solid rgba(15, 20, 26, .2); background: transparent; border-radius: 999px; padding: .55rem 1rem; font-size: .88rem; font-weight: 500; cursor: pointer; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.sc-tab:hover { border-color: var(--ink); color: var(--ink); }
.sc-tab .mono { font-size: .68rem; color: var(--muted); margin-right: .2rem; }
.sc-tab.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sc-tab.is-active .mono { color: var(--sun); }
.sc-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--sun); }
.is-playing .sc-tab.is-active .sc-progress { animation: prog 6s linear forwards; }
@keyframes prog { to { width: 100%; } }

/* ---------------------------------------------------------------- ledger */
.ledger { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ledger-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.ledger-item { padding: clamp(28px, 3.4vw, 44px) 24px; border-left: 1px solid var(--rule); }
.ledger-item:first-child { border-left: 0; padding-left: 0; }
.ledger-item dt { font-family: var(--serif); font-size: clamp(2.6rem, 4.8vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
.ledger-item:nth-child(-n+2) dt { color: var(--accent); }
.ledger-item dd { margin: .85rem 0 0; color: var(--muted); font-size: .94rem; line-height: 1.45; max-width: 25ch; }
.mini { width: 58px; height: 36px; margin-bottom: 16px; overflow: visible; }
.mini rect.m0 { fill: rgba(15, 20, 26, .14); }
.mini rect.m1 { fill: var(--accent); }
.mini .m0:not(rect) { fill: none; stroke: rgba(15, 20, 26, .2); stroke-width: 2; }
.mini circle.m1 { fill: var(--accent); }
.mini circle.m2 { fill: var(--sun); }
.mini .arc { fill: none; stroke: var(--sun); stroke-width: 3.2; stroke-linecap: round; }
.mini .m3 { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* ---------------------------------------------------------------- services (home) */
.svc-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-list { list-style: none; border-top: 1px solid var(--rule); }
.svc-row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; gap: .8rem 1.2rem; padding: clamp(20px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--rule); }
.svc-n { padding-top: .8rem; font-size: .78rem; color: var(--muted); }
.svc-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.02; letter-spacing: -.015em; }
.svc-name a { text-decoration: none; transition: color .25s; }
.svc-name a::after { content: ""; position: absolute; inset: 0; }
.svc-detail p { margin: .45rem 0 .95rem; color: var(--ink-2); max-width: 48ch; }
.svc-arrow { justify-self: end; padding-top: .7rem; }
.svc-arrow .i { width: 26px; height: 26px; transition: transform .4s var(--ease); }
.svc-row:hover .svc-name a, .svc-row.is-active .svc-name a { color: var(--accent); font-style: italic; }
.svc-row:hover .svc-arrow .i, .svc-row.is-active .svc-arrow .i { transform: rotate(-45deg); color: var(--accent); }
.svc-preview { position: sticky; top: calc(var(--header-h) + 28px); }
.svc-preview-inner { position: relative; aspect-ratio: 5 / 4.6; background: var(--night) var(--orbits) no-repeat right -160px top -120px / 620px; border-radius: 6px; overflow: hidden; }
.svc-vis { position: absolute; inset: 0; display: grid; place-items: center; padding: 9% 8% 13%; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.svc-vis.is-active { opacity: 1; transform: none; }
.svc-vis-cap { position: absolute; left: 22px; bottom: 16px; margin: 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-2); }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.tags a, .tags--static li { position: relative; z-index: 1; display: inline-block; font-size: .82rem; line-height: 1.2; color: var(--ink-2); padding: .4rem .66rem; border: 1px solid var(--rule); border-radius: 2px; text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.tags a:hover { border-color: var(--ink); color: var(--ink); background: var(--card); }

/* ---------------------------------------------------------------- visual mock-ups */
.vis { width: 100%; display: grid; place-items: center; container-type: inline-size; }
.vis-web .devices { width: 100%; }
.vis-apps { display: flex; justify-content: center; align-items: flex-start; gap: 7%; }
.vis-apps .phone { position: relative; width: 36%; }
.vis-apps .phone:nth-child(2) { transform: translateY(12%); }
.mock { color: var(--ink); font-family: var(--sans); }

.mock-dash { width: 100%; aspect-ratio: 16 / 11; display: grid; grid-template-columns: 11% 1fr; background: #f7f5f0; border-radius: 1.6cqw; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.md-side { background: #0a141a; display: flex; flex-direction: column; align-items: center; gap: 3cqw; padding: 3.4cqw 0; }
.md-logo { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--accent-2); margin-bottom: 1cqw; }
.md-side i { width: 44%; height: 1.2cqw; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.md-side i.on { background: var(--sun); }
.md-main { padding: 3.2cqw; display: flex; flex-direction: column; gap: 2.4cqw; min-width: 0; }
.md-top { display: flex; justify-content: space-between; align-items: center; font-size: 3.2cqw; }
.md-pill { font-size: 1.9cqw; border: 1px solid #d9d2c4; padding: .6cqw 1.6cqw; border-radius: 99px; color: var(--muted); }
.md-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; }
.md-kpis > div { background: #fff; border: 1px solid #e6e0d4; border-radius: 1cqw; padding: 1.8cqw 2cqw; }
.md-kpis small { display: block; font-size: 1.8cqw; color: var(--muted); }
.md-kpis b { display: block; font-family: var(--serif); font-weight: 400; font-size: 4.4cqw; line-height: 1.1; }
.md-kpis em { font-style: normal; font-size: 1.7cqw; color: var(--accent); }
.md-kpis em.warn { color: #a35c12; }
.md-chart { height: 17cqw; display: flex; align-items: flex-end; gap: 1cqw; padding: 1.8cqw; background: #fff; border: 1px solid #e6e0d4; border-radius: 1cqw; }
.md-chart i { flex: 1; height: var(--h); background: linear-gradient(var(--accent-2), var(--accent)); border-radius: .4cqw .4cqw 0 0; }
.md-chart i:last-child { background: var(--sun); }
.md-rows > div { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 2cqw; align-items: center; padding: 1.2cqw 0; border-bottom: 1px solid #ebe5da; }
.md-rows span { height: 1.4cqw; background: #e2dccf; border-radius: 99px; }
.md-rows span:nth-child(2) { width: 70%; }
.st { font-size: 1.7cqw; font-weight: 600; padding: .4cqw 1.4cqw; border-radius: 99px; }
.st-paid { background: #dcefec; color: var(--accent); }
.st-due { background: #fbeccc; color: #7d5100; }
.st-sent { background: #e5eaf0; color: #34485c; }

.mock-chat { width: 80%; background: #f7f5f0; border-radius: 2.6cqw; padding: 3.4cqw; display: flex; flex-direction: column; gap: 2.4cqw; font-size: 2.85cqw; line-height: 1.38; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.mc-head { display: flex; gap: 2cqw; align-items: center; padding-bottom: 2.4cqw; border-bottom: 1px solid #e3ddd1; }
.mc-avatar { width: 7.6cqw; aspect-ratio: 1; border-radius: 50%; background: var(--night); display: grid; place-items: center; flex: none; }
.mc-avatar .mark { width: 72%; height: 72%; }
.mc-head b { display: block; font-size: 3cqw; }
.mc-head small { display: block; font-size: 2.2cqw; color: var(--muted); }
.mc-msg { max-width: 84%; padding: 2cqw 2.8cqw; border-radius: 2.6cqw; }
.mc-user { align-self: flex-end; background: var(--night); color: var(--on-night); border-bottom-right-radius: .6cqw; }
.mc-bot { background: #fff; border: 1px solid #e3ddd1; border-bottom-left-radius: .6cqw; }
.mc-src { display: block; margin-top: 1.2cqw; font: 400 1.9cqw var(--mono); color: var(--accent); }
.mc-typing { display: flex; gap: 1cqw; padding: 2.2cqw 2.8cqw; background: #fff; border: 1px solid #e3ddd1; border-radius: 2.6cqw; width: fit-content; }
.mc-typing i { width: 1.4cqw; aspect-ratio: 1; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.mc-typing i:nth-child(2) { animation-delay: .2s; }
.mc-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.mc-input { border: 1px solid #d6cfc2; border-radius: 99px; padding: 1.8cqw 3cqw; color: #858a90; font-size: 2.5cqw; background: #fff; }

.mock-seo { width: 86%; background: #fff; border-radius: 2cqw; padding: 3.6cqw; font-size: 2.6cqw; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.ms-search { display: flex; align-items: center; gap: 2cqw; border: 1px solid #ddd6c9; border-radius: 99px; padding: 1.8cqw 3cqw; margin-bottom: 3cqw; color: var(--ink-2); }
.ms-search svg { width: 3.4cqw; height: 3.4cqw; fill: none; stroke: var(--muted); stroke-width: 2.2; flex: none; }
.ms-result { padding: 2.4cqw; border-radius: 1.6cqw; margin-bottom: 1.4cqw; }
.ms-hl { background: #ecf6f4; box-shadow: inset 0 0 0 1.5px var(--accent-2); }
.ms-result small { display: block; color: var(--muted); font-size: 2.1cqw; }
.ms-result b { display: block; color: var(--accent); font-size: 3.3cqw; font-weight: 600; line-height: 1.25; margin: .6cqw 0 .8cqw; }
.ms-result p { margin: 0; color: var(--ink-2); font-size: 2.35cqw; line-height: 1.45; }
.sk { display: block; background: #ece6da; border-radius: 99px; }
.ms-result small.sk { width: 34%; height: 1.8cqw; }
.ms-result b.sk { width: 72%; height: 2.6cqw; margin: 1.2cqw 0; }
.ms-result p.sk { width: 92%; height: 3.6cqw; border-radius: 1cqw; }
.ms-checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw 3cqw; margin-top: 2.4cqw; padding-top: 3cqw; border-top: 1px solid #ece6da; }
.ms-checks li { display: flex; align-items: center; gap: 1.4cqw; font-size: 2.4cqw; font-weight: 500; }
.ms-checks .li { width: 3.2cqw; height: 3.2cqw; color: var(--accent); stroke-width: 2.6; }

.mock-brand { width: 86%; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.mb-logo { grid-row: span 2; background: var(--paper); border-radius: 2cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4cqw; padding: 5cqw 3cqw; }
.mb-logo .mark { width: 15cqw; height: 15cqw; }
.mb-logo span { font-family: var(--serif); font-size: 5.2cqw; line-height: .95; text-align: center; }
.mb-type, .mb-sans { background: #f7f5f0; border-radius: 2cqw; padding: 3cqw; display: flex; gap: 2.4cqw; align-items: center; }
.mb-aa { font-family: var(--serif); font-size: 9cqw; line-height: 1; color: var(--accent); }
.mb-aa2 { font-family: var(--sans); font-weight: 650; font-size: 7.6cqw; line-height: 1; }
.mb-type b, .mb-sans b { display: block; font-size: 2.3cqw; line-height: 1.2; }
.mb-type small, .mb-sans small { font-size: 1.9cqw; color: var(--muted); }
.mb-swatches { grid-column: span 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; }
.mb-swatches i { aspect-ratio: 1.5; background: var(--c); border-radius: 1.6cqw; display: flex; align-items: flex-end; padding: 1.4cqw; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.mb-swatches small { font: 400 1.8cqw var(--mono); color: var(--on-night); }
.mb-swatches i:nth-child(3) small, .mb-swatches i:nth-child(4) small { color: var(--ink); }

.mock-game { width: 92%; }
.mg-screen { aspect-ratio: 2 / 1; border-radius: 3.4cqw; overflow: hidden; border: 2.6cqw solid #070d11; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.mg-screen svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- case studies */
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.case--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--on-night-rule); }
.case--rev .case-media { order: 2; }
.case-name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.015em; margin: 0 0 1.4rem; }
.case-figure { display: flex; align-items: center; gap: 1.2rem; border-top: 1px solid var(--on-night-rule); border-bottom: 1px solid var(--on-night-rule); padding: 1.1rem 0; margin: 0 0 1.6rem; }
.case-figure b { font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 6.4vw, 6rem); line-height: .85; color: var(--sun); letter-spacing: -.02em; }
.case-figure span { color: var(--on-night-2); max-width: 13ch; line-height: 1.3; }
.case-quote { margin: 0 0 1.6rem; }
.case-quote p { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3; margin: 0; }
.case-quote cite { display: block; margin-top: .8rem; font-style: normal; color: var(--on-night-2); font-size: .92rem; }
.case-text { color: var(--on-night-2); font-size: 1.08rem; max-width: 40ch; }

/* ---------------------------------------------------------------- work */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.work-card { grid-column: span 4; }
.work-grid--all .work-card { grid-column: span 3; }
.work-grid--all .work-card--big, .work-card--big { grid-column: span 6; }
.work-link { display: block; text-decoration: none; color: inherit; }
.work-fig { position: relative; margin: 0; overflow: hidden; background: var(--paper-2); border-radius: 3px; }
.work-fig > img { width: 100%; aspect-ratio: 596 / 709; object-fit: cover; transition: transform 1s var(--ease); }
.work-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s var(--ease); }
.work-fig.has-shot::after { content: "Live site"; position: absolute; right: 12px; top: 12px; font: 400 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--night); color: var(--on-night); padding: .3rem .5rem; opacity: 0; transition: opacity .4s; }
.work-link:hover .work-shot, .work-link:focus-visible .work-shot, .work-link:hover .work-fig.has-shot::after { opacity: 1; }
.work-link:hover .work-fig > img { transform: scale(1.03); }
.work-card--big .work-fig { background: none; overflow: visible; }
.work-card--big .browser { transition: transform .6s var(--ease); }
.work-card--big .work-link:hover .browser { transform: translateY(-4px); }
.work-result { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: baseline; gap: .55rem; background: var(--paper); color: var(--ink); padding: .55rem .8rem .5rem; font-size: .86rem; line-height: 1.2; border-radius: 2px; }
.work-result b { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: .9; color: var(--accent); }
.work-meta { padding-top: 1rem; }
.work-name { font-size: 1.06rem; font-weight: 600; }
.work-name .i-ext { display: inline-block; vertical-align: -.05em; margin-left: .15rem; opacity: .45; }
.work-card--big .work-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); letter-spacing: -.01em; line-height: 1.05; }
.work-link:hover .work-name .i-ext { opacity: 1; transform: translate(2px, -2px); color: var(--accent); }
.work-meta p { margin: .3rem 0 0; color: var(--muted); font-size: .93rem; }
.dot { margin: 0 .2rem; }

.filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 32px 0; margin-bottom: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--rule); }
.filter-count { margin-left: auto; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--on-night-rule); }
.facts div { padding: 1.3rem 1.2rem 0 0; }
.facts dt { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--on-night); }
.facts div:first-child dt { color: var(--sun); }
.facts dd { margin: .45rem 0 0; color: var(--on-night-2); font-size: .9rem; }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); }
.step { position: relative; border-top: 1px solid var(--rule-strong); padding-top: 1.3rem; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(12, 107, 101, .1); color: var(--accent); margin-bottom: 1.3rem; }
.step-icon .li { width: 22px; height: 22px; }
.step-n { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(2.8rem, 4vw, 3.6rem); line-height: 1; color: var(--accent); margin-bottom: 1.4rem; }
.step-icon + .step-n { position: absolute; right: 0; top: 1.2rem; font-size: 2.4rem; margin: 0; color: rgba(12, 107, 101, .35); }
.step h3 { font-size: 1.22rem; margin: 0 0 .6rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .99rem; max-width: 34ch; }
.steps--list { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--rule); }
.steps--list .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 1rem; border-top: 1px solid var(--rule); padding: 1.1rem 0 1.2rem; }
.steps--list .step:first-child { border-top-color: var(--rule-strong); }
.steps--list .step-n { grid-row: span 2; font-size: 1.9rem; margin: 0; }
.steps--list .step h3 { font-size: 1.08rem; margin: .1rem 0 .3rem; }
.steps--list .step p { max-width: 60ch; }

/* ---------------------------------------------------------------- testimonials */
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3; margin: 0; text-wrap: pretty; }
.quote figcaption { margin-top: 1.4rem; display: flex; align-items: center; gap: .85rem; font-size: .94rem; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; }
.quote figcaption b { font-weight: 600; }
.quote figcaption span span { color: var(--on-night-2); }
.q-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-2); color: var(--night); font: 650 .82rem var(--sans); flex: none; }
.quote--lead { display: grid; grid-template-columns: minmax(150px, 3fr) 9fr; column-gap: 2rem; }
.quote--lead blockquote, .quote--lead figcaption { grid-column: 2; }
.quote--lead blockquote { position: relative; }
.quote--lead p { font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.1; letter-spacing: -.012em; max-width: 27ch; }
.quote--lead blockquote::before { content: "“"; position: absolute; left: -.55em; top: -.05em; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; color: var(--sun); }
.rail { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--on-night-rule); padding-top: clamp(32px, 4vw, 48px); }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.rail-track::-webkit-scrollbar { display: none; }
.quote--card { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 28px; background: var(--night-2); border: 1px solid var(--on-night-rule); border-radius: 4px; }
.quote--card p { font-size: 1.32rem; }
.quote--placeholder { border-style: dashed; border-color: rgba(242, 179, 61, .55); background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(242, 179, 61, .05) 14px 28px), var(--night-2); }
.quote--placeholder p { color: var(--on-night-2); font-size: 1.12rem; }
.quote--placeholder .q-avatar { background: transparent; border: 1px dashed var(--sun); color: var(--sun); }
.ph-badge { margin: 0 0 1rem; font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 28px; flex-wrap: wrap; }
.rail-btns { display: flex; gap: .5rem; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--on-night-rule); background: transparent; color: var(--on-night); font-size: 1.1rem; cursor: pointer; transition: background-color .2s, color .2s; }
.rail-btn:hover { background: var(--on-night); color: var(--night); }
.rail-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--on-night); }

/* ---------------------------------------------------------------- time zones + globe */
.zones-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.zones .h2 { max-width: 12ch; }
.clock-list { list-style: none; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--on-night-rule); }
.clock-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--on-night-rule); }
.clock-list b { display: block; font-weight: 600; }
.clock-list small { display: block; margin-top: .2rem; font: 400 .7rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--on-night-2); }
.clock-time { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.clock-list li:first-child .clock-time { color: var(--sun); }
[data-clock] small { display: block; margin-top: .4rem; font: 400 .7rem var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--on-night-2); }
.globe { position: relative; width: 100%; max-width: 640px; margin-left: auto; }
.globe img { width: 100%; height: auto; }
.globe-label { position: absolute; transform: translate(-50%, -190%); font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--on-night); background: rgba(13, 24, 32, .82); border: 1px solid var(--on-night-rule); padding: .32rem .55rem; border-radius: 3px; }
.gl-m { color: var(--sun); border-color: rgba(242, 179, 61, .45); }

/* ---------------------------------------------------------------- founder & team */
.founder { display: grid; grid-template-columns: minmax(150px, 3fr) 9fr; gap: 1.25rem 2rem; border-top: 1px solid var(--rule-strong); padding-top: 1.1rem; }
.founder > .label { margin: 0; padding-top: .55rem; color: var(--ink); }
.founder-quote { grid-column: 2; margin: 0; }
.founder-quote blockquote { margin: 0; }
.founder-quote p { font-family: var(--serif); font-size: clamp(2.3rem, 5.2vw, 4.8rem); line-height: 1; letter-spacing: -.022em; margin: 0; max-width: 17ch; text-indent: -.38em; text-wrap: balance; }
.founder-quote figcaption { margin-top: 1.5rem; font-size: 1rem; color: var(--muted); }
.founder-quote figcaption b { color: var(--ink); font-weight: 600; }
.founder-side { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--rule); }
.founder-side > p { margin: 0; font-size: 1.07rem; color: var(--ink-2); max-width: 56ch; }
.founder .team-cards { grid-column: 2; margin-top: clamp(32px, 4vw, 48px); }
.founder--dark { border-top-color: var(--on-night); }
.founder--dark > .label { color: var(--on-night); }
.founder--dark .founder-quote figcaption, .founder--dark .founder-side > p { color: var(--on-night-2); }
.founder--dark .founder-quote figcaption b { color: var(--on-night); }
.team-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.tc { display: flex; flex-direction: column; gap: .15rem; }
.tc-mono { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 4.4; margin-bottom: .9rem; border-radius: 4px; font-family: var(--serif); font-size: clamp(2.8rem, 4.8vw, 4.6rem); color: var(--on-night); background: var(--accent); }
.tc-mono::after { content: ""; position: absolute; width: 150%; height: 46%; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; transform: rotate(-24deg); }
.tc-1 .tc-mono { background: var(--night); }
.tc-2 .tc-mono { background: var(--sun); color: var(--ink); }
.tc-2 .tc-mono::after { border-color: rgba(15, 20, 26, .2); }
.tc-3 .tc-mono { background: var(--deep); }
.tc b { font-weight: 600; }
.tc > span:last-child { color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------- tech strip */
.tech { background: var(--night); color: var(--on-night); padding-block: clamp(56px, 7vw, 96px); }
.tech-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.tech .label { color: var(--on-night-2); }
.tech-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1; letter-spacing: -.015em; }
.tech-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--on-night-rule); border-left: 1px solid var(--on-night-rule); }
.tech-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem .4rem 1.2rem; border-right: 1px solid var(--on-night-rule); border-bottom: 1px solid var(--on-night-rule); transition: background-color .3s; }
.tech-grid li:hover { background: var(--night-2); }
.tech-logo { width: 30px; height: 30px; fill: var(--on-night); opacity: .82; transition: fill .3s, opacity .3s; }
.tech-grid li:hover .tech-logo { fill: var(--accent-2); opacity: 1; }
.tech-grid span { font: 400 .64rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-2); text-align: center; }

/* ---------------------------------------------------------------- journal cards & covers */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 48px) clamp(16px, 2vw, 28px); }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card .cover { transition: transform .6s var(--ease); }
.post-card a:hover .cover { transform: translateY(-4px); }
.post-body { display: flex; flex-direction: column; flex: 1; padding-top: 1.15rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 .6rem; font: 400 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-cat { color: var(--accent); text-decoration: none; }
.post-title { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .9rem; text-wrap: balance; }
.post-desc { color: var(--ink-2); margin: 0 0 1.2rem; max-width: 52ch; }
.post-more { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; font-size: .95rem; }
.post-card a:hover .post-more { color: var(--accent); }
.post-card a:hover .post-more .i-arrow { transform: translateX(3px); }
.post-card--big { grid-column: 1 / -1; }
.post-card--big a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(28px, 4vw, 56px); align-items: center; }
.post-card--big .cover { aspect-ratio: 16 / 9; }
.post-card--big .post-title { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }

.cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--night); color: var(--on-night); container-type: inline-size; }
.cv-code { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6cqw; font: 400 3.4cqw/1 var(--mono); color: var(--on-night-2); }
.cv-c2 { padding-left: 4cqw; }
.cv-c3 { padding-left: 8cqw; }
.cv-hl { color: var(--sun); background: rgba(242, 179, 61, .12); outline: 1px dashed rgba(242, 179, 61, .6); outline-offset: 1cqw; border-radius: .6cqw; margin-left: 8cqw; padding: .6cqw 1cqw; }
.cv-code small { margin-top: 2.6cqw; font-size: 2.1cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.cover--redirect { background: var(--accent); }
.cv-redirect { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-items: center; gap: 2cqw 2.4cqw; }
.cv-redirect b { grid-column: 1 / -1; font-family: var(--serif); font-weight: 400; font-size: 24cqw; line-height: .8; color: var(--on-night); letter-spacing: -.03em; }
.cv-url { font: 400 3cqw var(--mono); background: rgba(0, 0, 0, .2); color: var(--on-night); padding: 1.2cqw 2.4cqw; border-radius: 99px; }
.cv-new { background: var(--on-night); color: var(--accent); }
.cv-arrow { color: var(--sun); font-size: 4.4cqw; }
.cover--versus { background: linear-gradient(90deg, var(--night) 50%, var(--deep) 50%); }
.cv-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; }
.cv-versus span { text-align: center; font-family: var(--serif); font-size: 7.4cqw; letter-spacing: -.01em; }
.cv-versus span:last-child { color: var(--accent-2); }
.cv-versus b { display: grid; place-items: center; width: 12cqw; aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); font: italic 400 5cqw var(--serif); }
.cover--globe { background: var(--deep); }
.cv-globe { position: absolute; inset: 0; }
.cv-globe img { position: absolute; width: 74%; left: 50%; top: 12%; transform: translateX(-50%); }
.cv-tz { position: absolute; left: 5cqw; bottom: 4.6cqw; font: 500 3.2cqw var(--mono); letter-spacing: .1em; color: var(--sun); background: rgba(12, 42, 48, .85); padding: 1cqw 2cqw; border-radius: 1cqw; }
.cover--pin { background: var(--sun); color: var(--ink); }
.cv-pin { position: absolute; inset: 0; display: grid; place-items: center; }
.cv-pin svg { position: relative; z-index: 1; width: 17cqw; height: 17cqw; fill: var(--night); }
.cv-pin svg circle { fill: var(--sun); }
.cv-ring { position: absolute; top: 58%; left: 50%; width: 34cqw; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(13, 24, 32, .4); transform: translate(-50%, -50%) scaleY(.38); }
.cv-ring.r2 { width: 58cqw; border-color: rgba(13, 24, 32, .2); }
.cv-search { position: absolute; top: 9cqw; left: 50%; transform: translateX(-50%); background: var(--paper); color: var(--ink); font: 500 3cqw var(--sans); padding: 1.4cqw 3.4cqw; border-radius: 99px; box-shadow: 0 1.6cqw 4cqw rgba(13, 24, 32, .2); }
.cover--brief { background: var(--paper-2); color: var(--ink); }
.cv-doc { width: 46cqw; display: flex; flex-direction: column; gap: 2cqw; padding: 4.4cqw; background: #fff; border-radius: 1.4cqw; transform: rotate(-3deg); box-shadow: 0 3cqw 7cqw rgba(13, 24, 32, .16); }
.cv-doc b { font-family: var(--serif); font-weight: 400; font-size: 4.6cqw; margin-bottom: .6cqw; }
.cv-doc span { display: flex; align-items: center; gap: 1.8cqw; font-size: 2.7cqw; color: var(--ink-2); }
.cv-doc i { width: 3cqw; height: 3cqw; border: 1.5px solid var(--ink-2); border-radius: .6cqw; flex: none; }
.cv-doc .done i { background: var(--accent); border-color: var(--accent); }
.cv-default { padding: 6cqw; font-family: var(--serif); font-size: 5cqw; text-align: center; }

/* ---------------------------------------------------------------- faq */
.faq-wrap { display: grid; grid-template-columns: minmax(150px, 3fr) 9fr; column-gap: 2rem; }
.faq-wrap .section-head { grid-column: 1 / -1; }
.faq-wrap .faq-list { grid-column: 2; }
.faq { border-top: 1px solid var(--rule); }
.faq:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-size: clamp(1.1rem, 1.6vw, 1.32rem); font-weight: 500; line-height: 1.35; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; margin-top: .32em; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a p { margin: -.2rem 0 1.6rem; color: var(--ink-2); max-width: 64ch; font-size: 1.04rem; line-height: 1.65; }

/* ---------------------------------------------------------------- cta */
.cta { background: var(--accent) var(--orbits) no-repeat right -260px top -260px / 900px; color: var(--paper); padding-block: clamp(80px, 10vw, 150px); }
.cta .label { color: rgba(241, 237, 228, .78); }
.cta-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.cta-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8.4vw, 8.2rem); line-height: .92; letter-spacing: -.026em; max-width: 13ch; text-wrap: balance; }
.cta .cta-title em { color: var(--sun); }
.cta-pick p { margin: 0 0 .9rem; color: rgba(241, 237, 228, .9); font-weight: 500; }
.cta .chip { border-color: rgba(241, 237, 228, .42); color: var(--paper); }
.cta .chip:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(32px, 5vw, 80px); align-items: end; border-top: 1px solid rgba(241, 237, 228, .38); padding-top: clamp(24px, 3vw, 36px); }
.cta-mail { font-family: var(--serif); font-size: clamp(1.55rem, 3.5vw, 3.2rem); line-height: 1.1; color: var(--paper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; overflow-wrap: anywhere; }
.cta-mail:hover { text-decoration-thickness: 2px; color: var(--sun); }
.cta-side p { margin: 0 0 1.3rem; color: rgba(241, 237, 228, .88); max-width: 40ch; }
.cta-side a:not(.btn) { color: var(--paper); white-space: nowrap; }
.cta :focus-visible { outline-color: var(--paper); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--night); color: var(--on-night-2); padding-top: clamp(64px, 7vw, 96px); font-size: .97rem; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 2.4fr) minmax(0, 1.5fr) minmax(0, 2.8fr); gap: 40px clamp(20px, 2.6vw, 40px); }
.footer-about p { max-width: 36ch; margin: 1.3rem 0 1.1rem; }
.footer-about address { font-style: normal; line-height: 1.6; margin-bottom: .9rem; }
.footer-h { font: 400 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(238, 234, 225, .48); margin: .6rem 0 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { display: inline-flex; align-items: center; gap: .35rem; overflow-wrap: anywhere; }
.footer-time { display: flex; align-items: center; gap: .55rem; margin: 1.4rem 0 0; font: 400 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.footer-word { font-family: var(--serif); font-size: clamp(2.4rem, 13.6vw, 12.9rem); line-height: .86; letter-spacing: -.035em; color: var(--on-night); white-space: nowrap; margin: clamp(56px, 7vw, 104px) 0 0; overflow: hidden; }
.footer-word em { color: var(--accent-2); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid var(--on-night-rule); margin-top: clamp(20px, 2vw, 32px); padding: 22px 0 30px; font-size: .84rem; color: rgba(238, 234, 225, .5); }

/* ---------------------------------------------------------------- inner page hero */
.page-hero { background: var(--night) var(--orbits) no-repeat right -320px top -260px / 1000px; color: var(--on-night); padding: clamp(24px, 3.5vw, 48px) 0 clamp(56px, 7vw, 100px); }
.page-hero .label { color: var(--on-night-2); }
.page-hero--center { padding-block: clamp(80px, 12vw, 180px); text-align: left; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 clamp(36px, 5vw, 64px); font-size: .84rem; color: var(--on-night-2); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .55; }
.crumbs a { color: var(--on-night-2); text-underline-offset: .2em; }
.crumbs a:hover { color: var(--on-night); }
.crumbs [aria-current] { color: var(--on-night); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px clamp(32px, 5vw, 80px); align-items: center; }
.page-hero--split .page-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 6.9rem); line-height: .95; letter-spacing: -.024em; max-width: 16ch; text-wrap: balance; color: var(--on-night); }
.page-hero--split .page-title { font-size: clamp(2.5rem, 5.4vw, 5.6rem); max-width: 15ch; }
.page-lede { font-size: clamp(1.08rem, 1.45vw, 1.26rem); line-height: 1.52; color: var(--on-night-2); max-width: 52ch; margin: clamp(22px, 2.6vw, 32px) 0 0; }
.page-lede a { color: var(--sun); }
.page-hero .hero-actions { margin-top: clamp(26px, 3vw, 36px); }
.page-hero--service .page-hero-aside .vis { max-width: 560px; margin-left: auto; }
.page-hero--about .globe { max-width: 500px; }
.jump .label { margin-bottom: .6rem; }
.jump ol { list-style: none; border-top: 1px solid var(--on-night-rule); }
.jump a { display: flex; align-items: baseline; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--on-night-rule); color: var(--on-night); text-decoration: none; font-size: 1.05rem; transition: color .2s, padding .3s var(--ease); }
.jump a:hover { color: var(--sun); padding-left: .4rem; }
.jump .mono { font-size: .72rem; color: var(--accent-2); }
.hero-contact a { display: flex; align-items: center; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid var(--on-night-rule); color: var(--on-night); text-decoration: none; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); overflow-wrap: anywhere; }
.hero-contact a:first-child { border-top: 1px solid var(--on-night-rule); }
.hero-contact a:hover { color: var(--sun); }
.hero-contact .li { color: var(--accent-2); width: 22px; height: 22px; }
.hero-contact-time { display: flex; align-items: center; gap: .55rem; margin: 1.2rem 0 0; font: 400 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-2); }

/* ---------------------------------------------------------------- services index */
.cat-block--alt { background: var(--paper-2) var(--grain); }
.cat-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(32px, 5vw, 72px); padding-block: clamp(56px, 6vw, 88px); }
.cat-head .mono { font-size: .78rem; color: var(--muted); }
.cat-head .h3 { margin: .7rem 0 .9rem; }
.cat-head p { color: var(--ink-2); max-width: 36ch; margin: 0; }
.cat-vis { margin-top: 28px; display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 8%; overflow: hidden; border-radius: 6px; background: var(--night) var(--orbits-quiet) no-repeat right -140px top -100px / 520px; }
.cat-list { list-style: none; border-top: 1px solid var(--rule-strong); align-self: start; }
.cat-list a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 24px; gap: .4rem 1.5rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .35s var(--ease), color .2s; }
.cat-item-name { font-weight: 600; font-size: 1.1rem; }
.cat-item-text { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.cat-list .i-arrow { align-self: center; width: 20px; height: 20px; transition: transform .35s var(--ease); }
.cat-list a:hover { padding-left: .7rem; color: var(--accent); }
.cat-list a:hover .i-arrow { transform: translateX(3px); }
.industries { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); }
.industries li { border-top: 1px solid var(--rule); padding: 1.3rem 0 2.6rem; }
.industries .mono { font-size: .74rem; color: var(--on-night-2); }
.industries h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.3vw, 2.1rem); line-height: 1.05; letter-spacing: -.01em; margin: .55rem 0 .65rem; }
.industries p { margin: 0; color: var(--on-night-2); max-width: 36ch; font-size: .99rem; }
.industries .ind-eg { margin-top: .9rem; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); }

/* ---------------------------------------------------------------- service page */
.prose p { font-size: 1.1rem; line-height: 1.68; color: var(--ink-2); max-width: 66ch; text-wrap: pretty; }
.prose a { color: var(--accent); text-underline-offset: .2em; }
.prose--lead p:first-child { font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.05rem); line-height: 1.28; color: var(--ink); letter-spacing: -.005em; max-width: 34ch; margin-bottom: 1.4em; }
.prose--narrow { max-width: 70ch; }
.prose--narrow h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 2.4rem 0 .6rem; }
.prose--narrow h2:first-child { margin-top: 0; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { border: 1px solid var(--rule-strong); background: var(--card); padding: clamp(22px, 2.4vw, 30px); border-radius: 4px; }
.aside-card .label { margin: 0 0 .7rem; color: var(--ink); }
.checks { list-style: none; margin-bottom: 1.8rem; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); font-size: .97rem; line-height: 1.45; }
.checks .li { width: 18px; height: 18px; color: var(--accent); margin-top: .1em; stroke-width: 2.2; }
.aside-cta { margin-top: 1.9rem; padding-top: 1.4rem; border-top: 1px solid var(--rule-strong); }
.aside-cta p { margin: 0 0 1rem; font-weight: 600; }
.aside-phone { display: block; margin-top: .85rem; text-align: center; font-size: .93rem; color: var(--ink-2); text-underline-offset: .2em; }
.svc-h { margin: clamp(56px, 6vw, 84px) 0 1.6rem; }
.includes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 36px); margin: 0; border-top: 1px solid var(--rule-strong); }
.includes > div { padding: 1.15rem 0 1.35rem; border-bottom: 1px solid var(--rule); }
.includes dt { display: flex; align-items: baseline; gap: .7rem; font-weight: 600; font-size: 1.06rem; }
.includes dt .mono { font-size: .72rem; color: var(--accent); font-weight: 500; }
.includes dd { margin: .4rem 0 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.honest { margin-top: clamp(56px, 6vw, 84px); background: var(--night) var(--orbits-quiet) no-repeat right -200px top -160px / 520px; color: var(--on-night); padding: clamp(26px, 3vw, 40px); border-left: 4px solid var(--sun); border-radius: 0 4px 4px 0; }
.honest .label { color: var(--sun); margin-bottom: .8rem; }
.honest p { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; max-width: 40ch; }
.launches { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.launches a { display: block; text-decoration: none; color: inherit; }
.launches .browser { transition: transform .5s var(--ease); }
.launches a:hover .browser { transform: translateY(-5px); }
.launch-meta { display: flex; flex-direction: column; gap: .2rem; margin-top: 1rem; }
.launch-meta b { font-weight: 600; }
.launch-meta b .i-ext { display: inline-block; vertical-align: -.05em; opacity: .6; }
.launch-meta > span { color: var(--on-night-2); font-size: .92rem; }
.related { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.related a { display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2.4vw, 30px); background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; transition: border-color .25s, transform .35s var(--ease); }
.related a:hover { border-color: var(--ink); transform: translateY(-3px); }
.related .mono { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.related h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.05; margin: .8rem 0 .7rem; letter-spacing: -.01em; }
.related p { color: var(--ink-2); font-size: .97rem; margin: 0 0 1.6rem; }
.related .i-arrow { margin-top: auto; width: 24px; height: 24px; transition: transform .35s var(--ease); }
.related a:hover .i-arrow { transform: translateX(4px); color: var(--accent); }

/* ---------------------------------------------------------------- about */
.story { display: grid; grid-template-columns: minmax(150px, 3fr) 9fr; gap: 1.25rem 2rem; border-top: 1px solid var(--rule-strong); padding-top: 1.1rem; }
.story > .label { margin: 0; padding-top: .55rem; color: var(--ink); }
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.principles li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 1rem; border-top: 1px solid var(--rule-strong); padding: 1.4rem 0 2.8rem; position: relative; }
.pr-icon { grid-row: span 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(12, 107, 101, .1); color: var(--accent); }
.pr-icon .li { width: 24px; height: 24px; }
.principles .step-n { position: absolute; right: 0; top: 1.3rem; margin: 0; font-size: 2.2rem; color: rgba(12, 107, 101, .35); }
.principles h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.5vw, 2.25rem); line-height: 1.05; letter-spacing: -.01em; margin: .3rem 0 .7rem; padding-right: 3rem; }
.principles p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: stretch; }
.visit-address { font-style: normal; font-size: 1.15rem; line-height: 1.6; margin: 1.6rem 0 1.4rem; }
.visit-links { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin: 0; }
.visit-links a:not(.link-arrow) { text-underline-offset: .22em; }
.map { border: 1px solid var(--rule-strong); min-height: 380px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px clamp(40px, 6vw, 96px); padding-top: clamp(48px, 6vw, 80px); align-items: start; }
.chips-field { border: 0; padding: 0; margin: 0 0 1.8rem; }
.chips-field legend { padding: 0; margin-bottom: .75rem; font-size: .92rem; font-weight: 500; }
.opt { margin-left: .4rem; color: var(--muted); font-weight: 400; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-check:has(input:checked)::before { content: "✓"; color: var(--sun); font-weight: 700; }
.chip-check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.field label { font-size: .92rem; font-weight: 500; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; font-size: 1.04rem; line-height: 1.4; background: var(--card); border: 1px solid rgba(15, 20, 26, .3); border-radius: 3px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 9rem; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23111417' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(12, 107, 101, .18); }
.field ::placeholder { color: #7a7f84; }
.field-hint { margin: .2rem 0 0; font-size: .86rem; color: var(--muted); }
.field-hint a { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: .4rem; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); max-width: 36ch; }
.form-note a { color: var(--ink-2); }
.next { background: var(--night) var(--orbits-quiet) no-repeat right -180px bottom -200px / 520px; color: var(--on-night); padding: clamp(24px, 2.6vw, 32px); border-radius: 4px; margin-bottom: 28px; }
.next .label { color: var(--sun); }
.next ol { list-style: none; counter-reset: n; }
.next li { counter-increment: n; position: relative; padding-left: 2.8rem; margin-bottom: 1.2rem; color: var(--on-night-2); font-size: .97rem; line-height: 1.5; }
.next li:last-child { margin-bottom: 0; }
.next li::before { content: counter(n); position: absolute; left: 0; top: -.05em; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--accent-2); color: var(--accent-2); font: 500 .75rem var(--mono); }
.next b { display: block; color: var(--on-night); font-weight: 600; }
.ci-block { border-top: 1px solid var(--rule-strong); padding: 1.1rem 0 1.9rem; }
.ci-block .label { margin-bottom: .65rem; }
.ci-block address { font-style: normal; font-size: 1.05rem; line-height: 1.6; margin-bottom: .8rem; }

/* ---------------------------------------------------------------- journal article */
.page-hero--post { padding-bottom: clamp(120px, 14vw, 200px); }
.post-meta--hero { color: var(--on-night-2); margin-bottom: 1.4rem; }
.post-meta--hero .post-cat { color: var(--sun); }
.post-h1 { max-width: 22ch; font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.byline { display: flex; align-items: center; gap: .6rem; margin: 1.8rem 0 0; color: var(--on-night-2); font-size: .94rem; }
.byline .li { color: var(--accent-2); }
.post-cover-wrap { margin-top: calc(-1 * clamp(90px, 11vw, 160px)); }
.post-cover-wrap .cover { aspect-ratio: 21 / 8; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.post-section { padding-top: clamp(48px, 6vw, 80px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.toc ol { list-style: none; border-left: 1px solid var(--rule); }
.toc a { display: block; margin-left: -1px; padding: .45rem 0 .45rem 1rem; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-current { color: var(--ink); border-left-color: var(--accent); }
.share { margin-top: 2rem; }
.share ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.share a, .share button { display: inline-block; padding: .4rem .7rem; border: 1px solid var(--rule); border-radius: 99px; background: none; font-size: .82rem; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.prose-article { max-width: 68ch; font-size: 1.12rem; line-height: 1.72; color: var(--ink-2); }
.prose-article > p:first-child { font-size: 1.28rem; color: var(--ink); line-height: 1.6; }
.prose-article > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.4em; line-height: .78; padding: .08em .1em 0 0; color: var(--accent); }
.prose-article p { margin: 0 0 1.3em; }
.prose-article h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.45rem); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin: 2.1em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose-article h3 { font-size: 1.2rem; color: var(--ink); margin: 1.8em 0 .5em; }
.prose-article ul, .prose-article ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose-article li { margin-bottom: .55em; padding-left: .2em; }
.prose-article li::marker { color: var(--accent); }
.prose-article strong { color: var(--ink); font-weight: 600; }
.prose-article a { color: var(--accent); text-underline-offset: .2em; }
.prose-article code { font-family: var(--mono); font-size: .84em; background: rgba(15, 20, 26, .07); padding: .1em .35em; border-radius: 3px; color: var(--ink); }
.prose-article pre.code { margin: 0 0 1.6em; padding: 1.4rem 1.6rem; overflow-x: auto; background: var(--night); color: var(--on-night); border-radius: 6px; font-size: .88rem; line-height: 1.7; }
.prose-article pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.prose-article blockquote { margin: 1.6em 0; padding: .3em 0 .3em 1.4em; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.prose-article blockquote p { margin: 0; }
.callout { margin: 2.2em 0; padding: 1.6rem 1.8rem; background: var(--night); color: var(--on-night); border-left: 4px solid var(--sun); border-radius: 0 4px 4px 0; }
.callout-label { margin: 0 0 .5rem !important; font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.callout p:last-child { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.32; color: var(--on-night); }
.callout a { color: var(--accent-2); }
.prose-article hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.post-end { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.post-end p { font-size: 1rem; margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .ledger-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .ledger-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps--list { row-gap: 0; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zones-grid { grid-template-columns: 1fr; }
  .globe { margin-inline: auto; max-width: 520px; }
  .case, .case--rev { grid-template-columns: 1fr; }
  .case--rev .case-media { order: 0; }
  .work-grid--all .work-card { grid-column: span 4; }
  .work-grid--all .work-card--big { grid-column: span 6; }
  .tech-inner { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid .post-card:nth-child(3):last-child { display: none; }
  .post-grid--all .post-card:nth-child(3):last-child { display: block; }
  .rail-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .cta-top { grid-template-columns: 1fr; }
  .launches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launches li:nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .section-head, .founder, .story, .faq-wrap, .quote--lead, .page-hero--split .page-hero-grid, .svc-wrap, .post-layout, .sc-bar { grid-template-columns: 1fr; }
  .founder-quote, .founder-side, .founder .team-cards, .faq-wrap .faq-list, .quote--lead blockquote, .quote--lead figcaption { grid-column: auto; }
  .quote--lead blockquote::before { position: static; display: block; margin-bottom: -.2em; }
  .section-head .label { padding-top: 0; }
  .svc-preview { display: none; }
  .svc-layout, .contact-grid, .visit, .cat-grid { grid-template-columns: 1fr; }
  .svc-aside, .post-aside { position: static; }
  .post-aside { order: 2; }
  .toc { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .work-card, .work-grid--all .work-card { grid-column: span 6; }
  .work-card--big, .work-grid--all .work-card--big { grid-column: span 12; }
  .founder-side { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .team-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--big a { grid-template-columns: 1fr; }
  .sc-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .sc-tabs::-webkit-scrollbar { display: none; }
  .sc-tab { flex: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(n+3) { margin-top: 1rem; }
  .page-hero--service .page-hero-aside .vis, .page-hero--about .globe { margin-inline: auto; }
  .cat-vis { max-width: 520px; }
  .tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .post-cover-wrap .cover { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-meta > span:not(:last-child)::after { margin: 0 .6rem; }
  .ledger-item { padding-inline: 16px; }
  .ledger-item:nth-child(odd) { padding-left: 0; }
  .steps, .industries, .includes, .field-row, .post-grid, .launches { grid-template-columns: 1fr; }
  .launches li:nth-child(3), .post-grid .post-card:nth-child(3):last-child { display: block; }
  .steps { row-gap: 32px; }
  .svc-row { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: .6rem .8rem; }
  .svc-arrow .i { width: 22px; height: 22px; }
  .svc-n { padding-top: .6rem; }
  .cat-list a { grid-template-columns: minmax(0, 1fr) 20px; }
  .cat-item-text { grid-column: 1; }
  .cat-list .i-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .work-grid { row-gap: 32px; }
  .work-meta p { font-size: .85rem; }
  .work-result { left: 10px; bottom: 10px; }
  .rail-track { grid-auto-columns: 86%; gap: 14px; }
  .quote--card { min-height: 0; padding: 22px; }
  .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .devices { padding: 0 9% 9% 0; }
  .phone { width: 24%; }
  .devices .phone { border-width: 4px; }
  .browser-bar { height: 24px; padding: 0 8px; }
  .browser-dots i { width: 6px; height: 6px; }
  .browser-url { height: 14px; font-size: 9px; }
  .sc-caption b { font-size: 1.5rem; }
  .filter { padding: 24px 0; }
  .filter-count { width: 100%; margin: .4rem 0 0; }
  .principles .step-n { display: none; }
  .principles h3 { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .showcase, .cta, .site-footer, .svc-aside, .post-aside, .tech { display: none !important; }
  body { background: #fff; }
}

/* ---------------------------------------------------------------- v3: extra covers */
.cover--cart { background: var(--deep); }
.cv-cart { position: relative; display: flex; gap: 4cqw; align-items: flex-end; }
.cv-card { width: 22cqw; background: var(--paper); border-radius: 1.6cqw; padding: 2cqw; display: flex; flex-direction: column; gap: 1.2cqw; transform: rotate(-4deg); box-shadow: 0 2cqw 5cqw rgba(0,0,0,.3); }
.cv-card--b { transform: rotate(3deg) translateY(-3cqw); }
.cv-img { display: block; aspect-ratio: 1; border-radius: 1cqw; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.cv-card--b .cv-img { background: linear-gradient(135deg, var(--sun), #e07a3d); }
.cv-card b { height: 1.6cqw; width: 80%; background: #d8d1c3; border-radius: 99px; }
.cv-card span { height: 1.4cqw; width: 45%; background: #e6e0d4; border-radius: 99px; }
.cv-card em { font: 600 1.9cqw var(--sans); font-style: normal; text-align: center; background: var(--night); color: var(--on-night); border-radius: 99px; padding: 1cqw; }
.cv-pay { position: absolute; left: 50%; bottom: -8cqw; transform: translateX(-50%); white-space: nowrap; font: 500 2.4cqw var(--mono); color: var(--sun); letter-spacing: .08em; }
.cover--chat { background: var(--night); }
.cv-chat { width: 70%; display: flex; flex-direction: column; gap: 2cqw; font: 400 2.6cqw/1.3 var(--sans); }
.cv-b { max-width: 78%; padding: 1.8cqw 2.6cqw; border-radius: 2.2cqw; }
.cv-b1 { align-self: flex-end; background: var(--accent-2); color: var(--night); }
.cv-b2 { align-self: flex-start; background: var(--night-3); color: var(--on-night); }
.cv-tool { align-self: flex-start; font: 500 2.2cqw var(--mono); color: var(--sun); border: 1px dashed rgba(242,179,61,.5); padding: 1.2cqw 2cqw; border-radius: 1.2cqw; }
.cover--team { background: var(--accent); }
.cv-team { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; max-width: 80%; }
.cv-av { display: grid; place-items: center; width: 15cqw; aspect-ratio: 1; border-radius: 50%; margin-left: -3cqw; border: .8cqw solid var(--accent); font: 400 5.4cqw var(--serif); color: var(--on-night); background: var(--night); }
.cv-av1 { background: var(--deep); } .cv-av2 { background: var(--sun); color: var(--ink); } .cv-av3 { background: var(--night-3); } .cv-av4 { background: transparent; border-style: dashed; border-color: var(--on-night); }
.cv-team small { width: 100%; text-align: center; margin-top: 3cqw; font: 500 2.3cqw var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night); }
.cover--checklist { background: var(--paper-2); color: var(--ink); }
.cv-check { display: grid; grid-template-columns: repeat(3, auto); gap: 2.4cqw 4cqw; }
.cv-check span { display: flex; align-items: center; gap: 1.6cqw; font: 500 3cqw var(--sans); background: #fff; padding: 2cqw 3cqw; border-radius: 1.4cqw; box-shadow: 0 1cqw 3cqw rgba(13,24,32,.08); }
.cv-check i { width: 3cqw; height: 3cqw; border-radius: 50%; border: 1.5px solid var(--muted); }
.cv-check .ok i { background: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------- v3: growth pages */
.post-sched { color: var(--sun); background: var(--night); padding: .1rem .45rem; border-radius: 2px; }
.principles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.loc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.chips--static .chip { cursor: default; background: var(--card); }
.chips--static .chip:hover { border-color: rgba(15,20,26,.24); }
.loc-note { margin-top: 36px; padding: 24px 26px; background: var(--night); color: var(--on-night); border-left: 4px solid var(--sun); border-radius: 0 4px 4px 0; }
.loc-note .label { color: var(--sun); }
.loc-note p:not(.label) { font-family: var(--serif); font-size: 1.35rem; line-height: 1.32; }
.loc-note .link-arrow { color: var(--on-night); text-decoration-color: rgba(238,234,225,.3); font-size: .95rem; }
.loc-clocks { display: grid; gap: 0; border-top: 1px solid var(--on-night-rule); max-width: 420px; margin-left: auto; }
.loc-clock { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--on-night-rule); }
.loc-clock .label { margin: 0; color: var(--on-night); }
.loc-clock:first-child .clock-time { color: var(--sun); }
.loc-same { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 0; font: 400 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-2); }
.loc-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 5vw, 72px); }
.loc-country .h3 a { text-decoration: none; }
.loc-country .h3 a:hover { color: var(--accent); }
.loc-country > p { color: var(--ink-2); margin: .9rem 0 1.4rem; max-width: 52ch; }
.related--plain li { display: flex; }
.model { padding: clamp(22px, 2.4vw, 30px); background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; width: 100%; }
.model .mono { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.model h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; margin: .7rem 0 .6rem; }
.model p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.svc-main .related { grid-template-columns: 1fr; }
.checks--wide { margin: 0; }
.checks--wide li { font-size: 1.05rem; }
.includes--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-where { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--on-night-rule); font-size: .9rem; }
.footer-where .footer-h { width: 100%; margin: 0 0 .4rem; }
.footer-where a { color: var(--on-night-2); }
.work-with { margin-top: 0; }
@media (max-width: 900px) {
  .principles--3, .loc-grid, .loc-hub, .includes--wide { grid-template-columns: 1fr; }
  .loc-clocks { margin-left: 0; }
}
.section--night .step, .section--deep .step { border-top-color: var(--on-night-rule); }
.section--night .step p, .section--deep .step p { color: var(--on-night-2); }
.section--night .step-n, .section--deep .step-n { color: var(--accent-2); }
.section--night .step-icon + .step-n { color: rgba(95, 208, 200, .4); }
.section--night .step-icon { background: rgba(95, 208, 200, .12); color: var(--accent-2); }

/* ---------------------------------------------------------------- v4: article photos, tables, takeaways */
.cover--photo { background: var(--paper-2); }
.cover--photo img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-photo { margin: 0; }
.post-hero-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); background: var(--paper-2); }
.post-hero-photo figcaption { margin-top: .6rem; text-align: right; }
.post-figure { margin: 2.2em 0; }
.post-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: var(--paper-2); }
.post-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; margin-top: .7rem; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.post-figure figcaption > span:first-child:not(.photo-credit) { color: var(--ink-2); }
.photo-credit { font: 400 .72rem var(--mono); letter-spacing: .02em; color: var(--muted); }
.photo-credit a { color: inherit; text-underline-offset: .2em; }
.table-wrap { margin: 1.8em 0; overflow-x: auto; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }
.prose-article table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; min-width: 520px; }
.prose-article th, .prose-article td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.prose-article thead th { background: var(--night); color: var(--on-night); font-weight: 600; font-size: .85rem; }
.prose-article tbody th { color: var(--ink); font-weight: 600; }
.prose-article tbody tr:last-child > * { border-bottom: 0; }
.callout ul { margin: .6rem 0 0; padding-left: 1.2em; color: var(--on-night); }
.callout li { margin-bottom: .45em; font-size: 1.02rem; line-height: 1.5; }
.callout li::marker { color: var(--sun); }
.callout--key { background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-left: 4px solid var(--accent); margin-top: 0; }
.callout--key .callout-label { color: var(--accent); }
.callout--key ul, .callout--key p:last-child { color: var(--ink); font-family: var(--sans); font-size: 1.02rem; }
.callout--key li::marker { color: var(--accent); }
.prose-article > p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; line-height: inherit; font-family: inherit; }
.prose-article > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 4.4em; line-height: .78; padding: .08em .1em 0 0; color: var(--accent); }
