/* ==========================================================================
   Aivior — site styles
   Ivory and black, light serif display type, soft sculptural illustrations.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-opsz-normal.woff2) format('woff2-variations'); 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: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2-variations'); 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-opsz-italic.woff2) format('woff2-variations'); 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: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-ext-opsz-italic.woff2) format('woff2-variations'); 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans-latin-opsz-normal.woff2) format('woff2-variations'); 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: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans-latin-ext-opsz-normal.woff2) format('woff2-variations'); 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans-latin-opsz-italic.woff2) format('woff2-variations'); 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; }

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f0e8;
  --bg-soft: #f8f5ef;
  --paper: #faf8f3;
  --ink: #161513;
  --ink-2: #3a3732;
  --muted: #736c62;
  --muted-2: #9a9286;
  --line: #e3ddd2;
  --line-2: #d4ccbf;
  --gold: #94714b;
  --gold-2: #b8966c;
  --dark: #151412;
  --dark-line: #2c2925;
  --on-dark: #f1ece3;
  --on-dark-muted: #a7a093;
  --error: #a3422c;

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: #e4d6c1; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */
.display, .h1, .h2 { font-family: var(--serif); font-weight: 300; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(44px, 5.5vw, 80px); line-height: 1.02; letter-spacing: -0.025em; }
.h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.06; letter-spacing: -0.022em; }
.h2 { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.14; letter-spacing: -0.015em; }
.title-accent { display: block; font-style: italic; font-weight: 300; }
.title-accent--gold { color: var(--gold); }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 32em; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-2); }
.kicker { font-size: 12.5px; color: var(--gold); letter-spacing: .01em; margin-bottom: 14px; }
.small-label { font-size: 13px; color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 50px; padding: 7px 7px 7px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--ease), background-color .25s; }
.btn__icon .icon { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark .btn__icon { background: #34312d; color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light .btn__icon { background: #e0d9cc; }
.btn--light:hover { background: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline .btn__icon { background: #e6e0d4; }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 5px 5px 5px 18px; font-size: 14px; gap: 12px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--lg { min-height: 56px; padding-left: 28px; font-size: 15.5px; }
.btn--lg .btn__icon { width: 40px; height: 40px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 7px; border-bottom: 1px solid currentColor;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink);
}
.text-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--light { color: var(--on-dark); }

.circle-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center; flex: none;
  border: 1px solid var(--line-2); background: transparent; color: inherit; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.circle-btn .icon { width: 16px; height: 16px; }
.circle-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.circle-btn--dark { border-color: #3b3732; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--center { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 17px; border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: var(--ink-2); font-size: 14px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip--sm { padding: 8px 15px; font-size: 13.5px; }

.badge { display: inline-flex; align-self: flex-start; align-items: center; padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.badge--dark { border-color: #3b3732; color: var(--on-dark-muted); }

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; margin-top: 42px; }
.actions--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__cta { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 14px; justify-self: start; color: var(--ink); text-decoration: none; }
.brand__mark { width: 38px; height: auto; }
.brand__word { font-size: 17px; font-weight: 500; letter-spacing: .34em; margin-right: -.34em; }
.brand__custom { height: 36px; width: auto; }
.brand--light { color: var(--on-dark); }

.site-nav { display: flex; gap: 38px; font-size: 15px; }
.site-nav a { position: relative; padding: 6px 0; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }

.menu-toggle { display: none; justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-toggle__bar { width: 17px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-open .menu-toggle__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-toggle__bar:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--header-h)); overflow-y: auto; background: var(--bg); padding-block: 24px 40px; }
.mobile-menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 36px; font-weight: 300; line-height: 1.15; text-decoration: none; }
.mobile-menu__nav a span { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.mobile-menu__nav a[aria-current] { font-style: italic; }
.mobile-menu__foot { margin-top: 32px; }
.mobile-menu__foot a { font-family: var(--serif); font-size: 22px; text-decoration: none; border-bottom: 1px solid var(--line-2); }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(84px, 9.5vw, 136px); }
.section--dark { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.section--dark .h1, .section--dark .h2, .section--dark .display { color: var(--on-dark); }
.section--dark > .container { position: relative; z-index: 1; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px 48px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.split-head p { font-size: 15.5px; color: var(--muted); }
.section--dark .split-head p { color: var(--on-dark-muted); }
.split-head--end { grid-template-columns: minmax(0, 1fr) auto; }
.rule { display: block; width: 44px; height: 1px; background: var(--gold-2); margin-block: 28px 18px; }

.dots { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(160px, 20vw, 270px); pointer-events: none; z-index: 0; }
.dots--right { left: 30%; width: 70%; }

/* ---------- Spheres ---------- */
.sph {
  --s: 60px;
  position: absolute;
  width: var(--s); height: var(--s);
  left: calc(var(--x, 50%) - var(--s) / 2);
  top: calc(var(--y, 50%) - var(--s) / 2);
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, var(--hi) 0%, var(--mid) 40%, var(--lo) 80%, var(--edge) 100%);
  box-shadow:
    inset calc(var(--s) * -.05) calc(var(--s) * -.07) calc(var(--s) * .14) rgba(255, 255, 255, .16),
    0 calc(var(--s) * .14) calc(var(--s) * .22) calc(var(--s) * -.1) rgba(56, 42, 24, .3);
  transition: transform .8s var(--ease);
}
.sph::after {
  content: ''; position: absolute; z-index: -1;
  left: 6%; right: 6%; top: 84%; height: 26%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 38, 20, .3), transparent);
  filter: blur(calc(var(--s) * .035));
}
.sph--ivory, .sph--stone { --hi: #fffefb; --mid: #f2ede4; --lo: #d9d0c2; --edge: #c5b9a7; }
.sph--black, .sph--ink { --hi: #6d6863; --mid: #2b2825; --lo: #141311; --edge: #0c0b0a; }
.sph--sand { --hi: #fdf6ea; --mid: #eedcc0; --lo: #d2b58b; --edge: #bc9c6f; }
.sph--sage { --hi: #f8faf4; --mid: #dce5d1; --lo: #b2c3a3; --edge: #98ad87; }
.sph--lavender { --hi: #fcfbff; --mid: #e4ddf1; --lo: #bcaed8; --edge: #a08fc6; }
.sph--sky { --hi: #fbfdff; --mid: #dcebf8; --lo: #a8c8e6; --edge: #8db2d8; }
.sph--cream { --hi: #fffaf0; --mid: #efe2c8; --lo: #cdb48e; --edge: #b39872; }
.sph--rose { --hi: #fffaf8; --mid: #f0e1dc; --lo: #d6bab2; --edge: #c3a299; }

/* ---------- Covers (post artwork) ---------- */
.cover { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; border-radius: 18px; background: #e8e2d7; }
.cover__stage { position: absolute; top: 0; bottom: 0; left: 50%; translate: -50% 0; aspect-ratio: 4 / 3; container-type: inline-size; isolation: isolate; }
.cover--image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cover--sage-pair { background: linear-gradient(160deg, #e3e8dc 0%, #c9d3be 100%); }
.cover--sand-duo { background: linear-gradient(160deg, #f2eadd 0%, #e6d8c3 100%); }
.cover--stone-trio { background: linear-gradient(160deg, #e6e1d8 0%, #d8d0c3 100%); }
.cover--lavender-solo { background: linear-gradient(160deg, #ebe7f1 0%, #ddd5e8 100%); }
.cover--ivory-cluster { background: linear-gradient(160deg, #f0ebe2 0%, #e3dbcd 100%); }
.cover--night-moon { background: radial-gradient(circle at 50% 45%, #24211e 0%, #141311 70%); }
.cover--night-moon .sph { box-shadow: inset calc(var(--s) * -.05) calc(var(--s) * -.07) calc(var(--s) * .14) rgba(255,255,255,.12), 0 calc(var(--s) * .14) calc(var(--s) * .24) calc(var(--s) * -.08) rgba(0,0,0,.6); }
.cover--mint-pair { background: linear-gradient(160deg, #e6ebe0 0%, #d4ddca 100%); }
a:hover .cover .sph:nth-child(1) { transform: translateY(-1.2cqw); }
a:hover .cover .sph:nth-child(2) { transform: translateY(-2cqw); }
a:hover .cover--image img { transform: scale(1.03); }

/* ---------- Browser mockups ---------- */
.mock {
  position: relative; display: flex; overflow: hidden; container-type: inline-size;
  height: 100%; padding: 8% 7% 0; border-radius: 22px;
  background: linear-gradient(165deg, #e4e9dd 0%, #cfd8c4 100%);
}
.mock--sage { background: linear-gradient(165deg, #e4e9dd 0%, #cbd5bf 100%); }
.mock--lavender { background: linear-gradient(165deg, #f2eff8 0%, #e3dcef 100%); }
.mock--sand { background: linear-gradient(165deg, #f3eadc 0%, #dfcaa9 100%); }
.mock--rose { background: linear-gradient(165deg, #f2e6e2 0%, #e0c9c2 100%); }
.mock--sky { background: linear-gradient(165deg, #eef5fb 0%, #d5e5f3 100%); }
.mock--stone { background: linear-gradient(165deg, #eee9e0 0%, #d9d1c3 100%); }
.mock--ink { background: radial-gradient(circle at 50% 42%, #2b2825 0%, #151412 72%); }
.mock__win {
  flex: 1; display: flex; flex-direction: column; overflow: hidden;
  background: #fdfcf9; border-radius: 1.6cqw 1.6cqw 0 0;
  box-shadow: 0 3cqw 7cqw -2cqw rgba(50, 40, 25, .22), 0 0 0 1px rgba(40, 30, 20, .04);
  transition: transform .7s var(--ease);
}
.mock__bar { display: flex; align-items: center; gap: .9cqw; flex: none; height: 4.6cqw; padding: 0 2.2cqw; background: #f3f0ea; border-bottom: 1px solid #ebe6dd; }
.mock__bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #d9d3c9; }
.mock__bar span { width: 36%; height: 1.9cqw; margin-left: 2cqw; border-radius: 1cqw; background: #e8e3da; }
.mock__shot { flex: 1; width: 100%; min-height: 0; object-fit: cover; object-position: top center; }
.mock--identity { align-items: center; justify-content: center; padding: 0; }
.mock__mark { width: 34%; filter: drop-shadow(0 2.4cqw 3cqw rgba(0, 0, 0, .45)); transition: transform .8s var(--ease); }
a:hover .mock__win { transform: translateY(-1.2cqw); }
a:hover .mock__mark { transform: translateY(-1cqw) rotate(-2deg); }

.mk { display: flex; flex-direction: column; gap: 1.5cqw; padding: 3cqw 3.6cqw 0; }
.mk i, .mk b, .mk span, .mk em { display: block; }
.mk__nav { display: flex; align-items: center; gap: 1.4cqw; margin-bottom: 1.8cqw; }
.mk__logo { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #75866a; flex: none; }
.mk__logo--sq { border-radius: .6cqw; background: #8a80a6; }
.mk__logo--ring { background: transparent; border: .45cqw solid #34302b; }
.mk__navtext { width: 9cqw; height: 1.2cqw; border-radius: 1cqw; background: #e3dfd7; }
.mk__links { display: flex !important; gap: 1.4cqw; margin-left: auto; }
.mk__links i { width: 5.5cqw; height: 1.1cqw; border-radius: 1cqw; background: #e6e2da; }
.mk__pill { width: 9cqw; height: 3cqw; margin-left: auto; border-radius: 2cqw; background: #24221f; }
.mk__h { width: 54%; height: 2.6cqw; border-radius: .6cqw; background: #2b2926; }
.mk__h--short { width: 38%; }
.mk__h--center { align-self: center; }
.mk__line { width: 64%; height: 1.2cqw; border-radius: 1cqw; background: #e5e0d8; }
.mk__line--short { width: 46%; }

/* Find My Therapist: calm, botanical booking site */
.mk--therapist, .mk--directory { gap: 0; padding: 0; }
.mk__band { display: flex !important; flex-direction: column; gap: 1.7cqw; padding: 2.6cqw 3.6cqw 3.6cqw; }
.mk--therapist .mk__band { background: linear-gradient(180deg, #eef3e2 0%, #e3ebd3 100%); }
.mk__leaf { position: relative; width: 3.2cqw; height: 2.4cqw; flex: none; }
.mk__leaf i { position: absolute; bottom: 0; width: 1.8cqw; height: 1.2cqw; border-radius: 0 100% 0 100%; background: #5e7a45; }
.mk__leaf i:first-child { left: 0; transform: rotate(-35deg); }
.mk__leaf i:last-child { right: 0; transform: scaleX(-1) rotate(-35deg); background: #86a366; }
.mk--therapist .mk__navtext { background: #b9c6a5; }
.mk--therapist .mk__links i { background: #c9d4b7; }
.mk--therapist .mk__pill { margin-left: 2cqw; background: #56713f; }
.mk--therapist .mk__hero, .mk--directory .mk__hero { display: grid !important; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2cqw; }
.mk--therapist .mk__copy, .mk--directory .mk__copy { display: flex !important; flex-direction: column; gap: 1.3cqw; }
.mk--therapist .mk__h { width: 94%; height: 2.8cqw; background: #2f3b25; }
.mk--therapist .mk__h--short { width: 72%; }
.mk--therapist .mk__line { width: 88%; background: #c3cfb0; }
.mk__btns { display: flex !important; gap: 1cqw; margin-top: .6cqw; }
.mk__btns em { width: 11.5cqw; height: 3.3cqw; border-radius: 2cqw; background: #56713f; }
.mk__btns em + em { width: 9.5cqw; background: transparent; box-shadow: inset 0 0 0 .3cqw #56713f; }
.mk__garden { position: relative; height: 21cqw; }
.mk__garden .sun { position: absolute; right: 1cqw; top: 0; width: 14cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fbf8e4 0%, #eef0cc 70%, #e4e8bc 100%); }
.mk__garden .lf { position: absolute; left: calc(50% - 2.3cqw); bottom: 4.4cqw; width: 4.6cqw; height: 11cqw; border-radius: 50%; transform-origin: 50% 100%; box-shadow: inset -.5cqw 0 0 rgba(0, 0, 0, .08); }
.mk__garden .l1 { height: 9cqw; background: #7f9e5f; transform: rotate(-58deg); }
.mk__garden .l2 { height: 12cqw; background: #5f7f45; transform: rotate(-28deg); }
.mk__garden .l3 { height: 13.5cqw; background: #4b6a37; transform: rotate(2deg); }
.mk__garden .l4 { height: 11.5cqw; background: #6f8f52; transform: rotate(30deg); }
.mk__garden .l5 { height: 8.5cqw; background: #9ab878; transform: rotate(60deg); }
.mk__garden .pot { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 10cqw; height: 5.4cqw; border-radius: .6cqw .6cqw 2.2cqw 2.2cqw; background: linear-gradient(180deg, #cf9168, #a86a48); box-shadow: 0 1cqw 1.6cqw -1cqw rgba(90, 60, 30, .5); }
.mk--therapist .mk__search { position: relative; z-index: 1; display: flex !important; align-items: center; gap: 2cqw; height: 5.2cqw; margin: -2.4cqw 3.6cqw 0; padding: 0 .7cqw 0 2.4cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 1.2cqw 2.4cqw -1.4cqw rgba(60, 75, 40, .4); }
.mk--therapist .mk__search i { width: 11cqw; height: 1cqw; border-radius: 1cqw; background: #e1e6d8; }
.mk--therapist .mk__search em { margin-left: auto; width: 12cqw; height: 3.7cqw; border-radius: 2cqw; background: #56713f; }
.mk__people { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 3cqw 3.6cqw; }
.mk__people > span { display: flex !important; flex-direction: column; gap: .9cqw; padding: 1.8cqw; border-radius: 1.3cqw; background: #fff; border: 1px solid #e6ebdc; }
.mk__people .av { width: 4.6cqw; height: 4.6cqw; border-radius: 50%; margin-bottom: .3cqw; }
.mk__people .av1 { background: radial-gradient(circle at 50% 66%, #e9c6a2 0 36%, transparent 37%), #5b3a2a; }
.mk__people .av2 { background: radial-gradient(circle at 50% 66%, #c9906a 0 36%, transparent 37%), #2b2320; }
.mk__people .av3 { background: radial-gradient(circle at 50% 66%, #f1d5b8 0 36%, transparent 37%), #8a5a3c; }
.mk__people b { width: 72%; height: 1.2cqw; border-radius: .4cqw; background: #2f3b25; }
.mk__people .ln { width: 52%; height: .9cqw; border-radius: 1cqw; background: #dde3d2; }
.mk__people .tags { display: flex !important; gap: .6cqw; }
.mk__people .tags i { width: 5cqw; height: 1.8cqw; border-radius: 2cqw; background: #edf2e3; }
.mk__people em { height: 2.8cqw; margin-top: .4cqw; border-radius: 2cqw; background: #56713f; }

.mk__searchbar { height: 3.8cqw; margin-top: 1cqw; border-radius: 2cqw; background: #f3f1f6; border: 1px solid #e6e2ee; }
.mk__filters { display: flex !important; gap: 1cqw; }
.mk__filters i { width: 8.5cqw; height: 2.4cqw; border-radius: 2cqw; background: #eeebf2; }

/* GritView: directory of women-led startups */
.mk--directory { background: #fbfaf8; }
.mk--directory .mk__band { background: linear-gradient(160deg, #f4f0fc 0%, #e9e2f8 100%); }
.mk--directory .mk__logo--sq { background: #7a55cf; border-radius: .8cqw; }
.mk--directory .mk__navtext { background: #a993e0; }
.mk--directory .mk__links i { background: #d4c8f0; }
.mk--directory .mk__pill { margin-left: 2cqw; background: #7a55cf; }
.mk--directory .mk__h { width: 96%; height: 2.8cqw; background: #3b2a5e; }
.mk--directory .mk__h--short { width: 74%; background: #7a55cf; }
.mk--directory .mk__line { width: 90%; background: #d6cbef; }
.mk--directory .mk__line--short { width: 70%; }
.mk--directory .mk__searchbar { display: flex !important; align-items: center; gap: 1.6cqw; height: 4.8cqw; margin-top: 1cqw; padding: 0 .7cqw 0 2cqw; border: 1px solid #e2d9f5; border-radius: 1cqw; background: #fff; }
.mk--directory .mk__searchbar i { width: 8cqw; height: 1cqw; border-radius: 1cqw; background: #e6e1ef; }
.mk--directory .mk__searchbar em { margin-left: auto; width: 3.6cqw; height: 3.6cqw; border-radius: .8cqw; background: #7a55cf; }
.mk__globe { position: relative; width: 84%; aspect-ratio: 1; justify-self: center; }
.mk__globe::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f1ebfd 0%, #cbb9f0 68%, #b29be6 100%); box-shadow: 0 2cqw 4cqw -1.6cqw rgba(80, 50, 140, .35); }
.mk__globe .land { position: absolute; background: #f5f0fe; opacity: .9; }
.mk__globe .g1 { left: 16%; top: 20%; width: 32%; height: 26%; border-radius: 42% 58% 50% 50% / 55% 45% 55% 45%; }
.mk__globe .g2 { left: 54%; top: 38%; width: 27%; height: 36%; border-radius: 55% 45% 40% 60% / 45% 50% 50% 55%; }
.mk__globe .g3 { left: 24%; top: 60%; width: 20%; height: 17%; border-radius: 50% 50% 45% 55% / 60% 50% 50% 40%; }
.mk__globe .orbit { position: absolute; inset: -9%; border-radius: 50%; border: .25cqw dashed rgba(140, 110, 210, .45); }
.mk__globe .pin { position: absolute; width: 3.4cqw; height: 3.4cqw; border-radius: 50% 50% 50% 0; background: #7d4fd8; transform: rotate(-45deg); box-shadow: 0 .6cqw 1cqw -.4cqw rgba(30, 10, 60, .6); }
.mk__globe .pin::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: #fff; }
.mk__globe .p1 { left: 26%; top: 14%; }
.mk__globe .p2 { left: 64%; top: 30%; }
.mk__globe .p3 { left: 44%; top: 58%; }
.mk__startups { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 3cqw 3.6cqw; }
.mk__startups > span { display: flex !important; flex-direction: column; gap: .9cqw; padding: 1.8cqw; border-radius: 1.3cqw; background: #fff; border: 1px solid #ece8f2; }
.mk__startups .logo { width: 4.6cqw; height: 4.6cqw; margin-bottom: .3cqw; border-radius: 1cqw; }
.mk__startups .lg1 { background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), linear-gradient(150deg, #f4a881, #df7556); }
.mk__startups .lg2 { background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), linear-gradient(150deg, #78bdaf, #3f8f80); }
.mk__startups .lg3 { background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), linear-gradient(150deg, #b398ea, #7c5ccf); }
.mk__startups b { width: 72%; height: 1.2cqw; border-radius: .4cqw; background: #2b2540; }
.mk__startups .tag { width: 8cqw; height: 1.8cqw; border-radius: 2cqw; background: #f0eafc; }
.mk__startups .ln { width: 55%; height: .9cqw; border-radius: 1cqw; background: #e8e4ee; }

.mk__steps { position: relative; display: flex !important; align-items: center; justify-content: space-between; margin: 1.6cqw 0 .6cqw; }
.mk__steps::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: .25cqw; background: #e3dbce; }
.mk__steps i { position: relative; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: #fff; border: .3cqw solid #d8cfc0; }
.mk__steps i.on { background: #94714b; border-color: #94714b; }
.mk__pair { display: grid !important; grid-template-columns: 1.1fr 1fr; gap: 1.6cqw; }
.mk__pair span { display: flex !important; flex-direction: column; gap: 1cqw; padding: 2cqw; border-radius: 1.3cqw; background: #faf8f4; border: 1px solid #ebe6dd; }
.mk__pair .dark { background: #2a2724; border-color: #2a2724; }
.mk__pair span i { width: 80%; height: 1cqw; border-radius: 1cqw; background: #e4ded3; }
.mk__pair .dark i { background: #59534c; }
.mk__pair .dark i:first-child { width: 50%; background: #9b8566; }
.mk__rows { display: flex !important; flex-direction: column; gap: 1cqw; margin-top: .6cqw; }
.mk__rows span { display: flex !important; align-items: center; gap: 1.4cqw; padding: 1.3cqw 1.5cqw; border-radius: 1.1cqw; border: 1px solid #eee9e0; }
.mk__rows .sq { width: 3cqw; height: 3cqw; border-radius: .7cqw; flex: none; }
.sq--sand { background: #ead8bd; } .sq--sage { background: #d6e0cd; } .sq--lav { background: #ddd6ea; }
.mk__rows i:not(.sq):not(.tag) { flex: 1; height: 1cqw; border-radius: 1cqw; background: #e6e1d8; }
.mk__rows .tag { width: 7cqw; height: 2.2cqw; border-radius: 2cqw; background: #f1ece3; flex: none; }

.mk--navigator { align-items: center; padding-top: 6cqw; }
.mk__ask { display: flex !important; align-items: center; justify-content: space-between; width: 74%; height: 5.4cqw; margin-top: 2.6cqw; padding: 0 .8cqw 0 2.2cqw; border-radius: 1.6cqw; background: #fbfaf7; border: 1px solid #e8e2d8; box-shadow: 0 1.6cqw 3cqw -1.6cqw rgba(60, 45, 25, .25); }
.mk__ask i { width: 34%; height: 1.1cqw; border-radius: 1cqw; background: #e2ddd3; }
.mk__ask em { width: 3.8cqw; height: 3.8cqw; border-radius: 50%; background: #1d1b19; }
.mk__chips { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 1cqw; width: 84%; margin-top: 1.4cqw; }
.mk__chips i { width: 15cqw; height: 3cqw; border-radius: 2cqw; border: 1px solid #e0d9cd; }
.mk__chips i.on { background: #1d1b19; border-color: #1d1b19; }
.mk__result { display: flex !important; align-items: center; justify-content: space-between; gap: 2cqw; width: 74%; margin-top: 1.8cqw; padding: 2.2cqw; border-radius: 1.6cqw; background: #fbfaf7; border: 1px solid #ebe5db; }
.mk__result span { flex: 1; display: flex !important; flex-direction: column; gap: .9cqw; }
.mk__result span i { width: 30%; height: 1cqw; border-radius: 1cqw; background: #d7c3a6; }
.mk__result span i:last-child { width: 82%; background: #e4dfd6; }
.mk__result b { width: 55%; height: 2.2cqw; border-radius: .5cqw; background: #2a2826; }
.mk__result em { width: 15cqw; height: 4cqw; border-radius: 2cqw; background: #1d1b19; flex: none; }

/* Course marketplace (Gidanz) */
.mk__filters i.on { background: #2a2724; }
.mk__courses { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin-top: .8cqw; }
.mk__courses span { display: flex !important; flex-direction: column; gap: .9cqw; padding: 1.2cqw 1.2cqw 1.6cqw; border-radius: 1.3cqw; background: #fbf9f5; border: 1px solid #ece6dc; }
.mk__courses em { height: 10cqw; border-radius: .9cqw; margin-bottom: .4cqw; }
.mk__courses .c1 { background: radial-gradient(circle at 30% 35%, #ffe9d4 0 18%, transparent 19%), linear-gradient(150deg, #f6b27a, #ec8442); }
.mk__courses .c2 { background: radial-gradient(circle at 65% 40%, #e8f3fc 0 20%, transparent 21%), linear-gradient(150deg, #9cc6ea, #5e9bd2); }
.mk__courses .c3 { background: radial-gradient(circle at 45% 60%, #fff1e2 0 17%, transparent 18%), linear-gradient(150deg, #bcd8f0, #f1b388); }
.mk__courses span i { height: 1cqw; border-radius: 1cqw; background: #2b2926; width: 85%; }
.mk__courses span i + i { background: #e3ddd2; width: 55%; }
.mk__courses span b { width: 7cqw; height: 2.2cqw; margin-top: .4cqw; border-radius: 2cqw; background: #fde2cc; }
.mk--courses .mk__logo--ring { border-color: #ec8442; }
.mk--courses .mk__pill { background: #ec8442; }
.mk--courses .mk__h { background: #1f3550; }
.mk--courses .mk__searchbar { background: #eef5fb; border-color: #d6e6f4; }
.mk--courses .mk__filters i { background: #e6f0f9; }
.mk--courses .mk__filters i.on { background: #2f6aa8; }

/* Painting website (Arts09) */
.mk--gallery { gap: 2.2cqw; }
.mk__wordmark { width: 11cqw; height: 1.8cqw; border-radius: .4cqw; background: #2a2622; }
.mk__wall { display: flex !important; flex-direction: column; align-items: center; gap: 2.6cqw; margin: 0 -3.6cqw; padding: 4.4cqw 0 3.4cqw; background: linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%); }
.mk__art { position: relative; width: 46cqw; aspect-ratio: 4 / 3; overflow: hidden; border: 1.6cqw solid #fffdf9; outline: .45cqw solid #4a3b31; box-shadow: 0 2.6cqw 4cqw -1.6cqw rgba(70, 50, 30, .42); }
.mk__art i { position: absolute; }
.mk__art .sky { inset: 0; background: linear-gradient(180deg, #f6e3cf 0%, #efc8a8 62%, #e6b292 100%); }
.mk__art .sun { left: 58%; top: 16%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff6dc, #f3d196); }
.mk__art .far { left: -10%; right: -10%; bottom: 16%; height: 36%; border-radius: 50% 50% 0 0; background: #c99a85; }
.mk__art .near { left: -20%; right: 28%; bottom: -6%; height: 40%; border-radius: 50% 60% 0 0; background: #8f9f88; }
.mk__plaque { display: flex !important; flex-direction: column; align-items: center; gap: 1cqw; }
.mk__plaque b { width: 18cqw; height: 1.4cqw; border-radius: .4cqw; background: #3a302a; }
.mk__plaque i { width: 11cqw; height: .9cqw; border-radius: 1cqw; background: #d8ccbe; }

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(64px, 8vw, 120px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); align-items: center; gap: 40px; }
.hero__title { max-width: 14em; font-size: clamp(42px, 4.4vw, 64px); text-wrap: wrap; }
.hero .lead { margin-top: 30px; max-width: 30em; }
.hero__img { width: 100%; border-radius: 24px; }

.hero-art { position: relative; width: 100%; max-width: 580px; aspect-ratio: 580 / 500; margin-inline: auto; container-type: inline-size; isolation: isolate; }
.hero-art__ring { position: absolute; left: 12cqw; top: -6cqw; width: 78cqw; aspect-ratio: 1; border: 1.5px solid #d4c3a5; border-radius: 50%; animation: spin 48s linear infinite; }
.hero-art__ring i, .orbit__ring i, .cairn__ring i, .steps-art__ring i { position: absolute; left: 50%; top: 0; width: 1.8cqw; height: 1.8cqw; translate: -50% -50%; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 .8cqw rgba(184, 150, 108, .18); }
.hero-art__twig { position: absolute; left: 66cqw; top: 13cqw; width: 18cqw; height: 33cqw; overflow: visible; stroke: #b08d62; stroke-width: 1.6; stroke-linecap: round; transform-origin: 33% 100%; animation: sway 7s ease-in-out infinite; }
.hero-art__twig circle { fill: #b08d62; stroke: none; }
.hero-art__words { position: absolute; inset: 0; pointer-events: none; }
.hero-art__word { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border: 1px solid #e1d6c4; border-radius: 999px; background: rgba(251, 249, 244, .92); box-shadow: 0 10px 24px -14px rgba(70, 52, 28, .35); font-size: 13px; line-height: 1; letter-spacing: .01em; color: var(--ink-2); white-space: nowrap; animation: float 7s ease-in-out infinite; }
.hero-art__word::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 3px rgba(184, 150, 108, .18); }
.hero-art__word--1 { left: 0; top: 14cqw; }
.hero-art__word--2 { right: 0; top: 4cqw; animation-delay: -2.3s; }
.hero-art__word--3 { left: 2cqw; top: 47cqw; animation-delay: -4.6s; }
.hero-art__bowl { position: absolute; left: 5cqw; top: 64cqw; width: 88cqw; height: 22cqw; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(180deg, #e1d4c0 0%, #cebda3 60%, #bba78a 100%); box-shadow: 0 5cqw 8cqw -4cqw rgba(80, 60, 30, .42); }
.hero-art__rim { position: absolute; left: 0; right: 0; top: -6cqw; height: 12cqw; border-radius: 50%; background: radial-gradient(ellipse at 50% 45%, #fcf8f1 0%, #f0e7d9 55%, #dfd2bd 100%); box-shadow: inset 0 -1cqw 2cqw rgba(120, 95, 60, .16); }
.hero-art__shadow { position: absolute; left: 50%; top: 61.5cqw; width: 32cqw; height: 4.5cqw; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 50, 25, .4), transparent); filter: blur(4px); animation: shadow 8s ease-in-out infinite; }
.hero-art__sphere { --s: 40cqw; --x: 50%; --y: 43cqw; --lo: #d5c9b6; --edge: #bba98f; animation: bob 8s ease-in-out infinite; box-shadow: inset -1.6cqw -2.4cqw 4cqw rgba(120, 95, 60, .2), inset 1cqw 1.4cqw 3cqw rgba(255, 255, 255, .7), 0 3cqw 5cqw -2cqw rgba(70, 50, 25, .3); }
.hero-art__sphere::after { display: none; }

@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2cqw); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.6cqw); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .6; } }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .5; } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.75); opacity: 0; } }
@keyframes hover { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2.2cqw) rotate(-4deg); } }
@keyframes rock { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Home: navigator ---------- */
.navigator { padding-block: clamp(56px, 7vw, 110px) clamp(84px, 9vw, 130px); }
.navigator__inner { max-width: 880px; text-align: center; }
.navigator__intro { max-width: 32em; margin: 22px auto 0; color: var(--ink-2); }
.chat { max-width: 720px; margin: 40px auto 0; text-align: left; }
.ask { position: relative; display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto; padding: 8px 8px 8px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: 0 22px 44px -28px rgba(70, 52, 28, .35); transition: border-color .2s, box-shadow .2s; }
.ask:focus-within { border-color: var(--line-2); box-shadow: 0 0 0 4px rgba(148, 113, 75, .12), 0 22px 44px -28px rgba(70, 52, 28, .35); }
.ask.is-empty { animation: nudge .4s; }
.ask__icon { display: grid; color: var(--gold); }
.ask__icon .icon { width: 18px; height: 18px; }
.ask__input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: none; }
.ask__input::placeholder { color: var(--muted-2); }
.ask__btn { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; transition: transform .3s var(--ease); }
.ask__btn .icon { width: 17px; height: 17px; }
.ask__btn:hover { transform: rotate(45deg); }
.ask__divider { display: flex; align-items: center; gap: 16px; max-width: 520px; margin: 34px auto 18px; font-size: 13px; color: var(--muted); text-align: center; }
.ask__divider::before, .ask__divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ask__chips { gap: 10px; }
.ask__chips .chip { background: color-mix(in srgb, var(--paper) 70%, transparent); }
.ask__chips .chip .icon { width: 16px; height: 16px; }
.ask__chips .chip.is-active .icon { color: var(--bg); }
.chat__panel { margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 40px 80px -50px rgba(70, 52, 28, .45); animation: rise .45s var(--ease); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); }
.chat__avatar img { width: 20px; }
.chat__who b { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.chat__who small { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.chat__dot { width: 7px; height: 7px; border-radius: 50%; background: #6f9a5b; box-shadow: 0 0 0 3px rgba(111, 154, 91, .18); }
.chat__restart { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px; border: 0; border-radius: 999px; background: none; font-size: 13px; color: var(--muted); cursor: pointer; }
.chat__restart:hover { background: var(--bg); color: var(--ink); }
.chat__thread { display: flex; flex-direction: column; gap: 12px; max-height: 460px; padding: 22px 18px 14px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 86%; font-size: 15px; line-height: 1.55; animation: rise .35s var(--ease); }
.msg p + p, .msg p + .msg-card { margin-top: 8px; }
.msg a:not(.btn) { color: inherit; text-underline-offset: 3px; }
.msg--bot { align-self: flex-start; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--bg); color: var(--ink-2); }
.msg--user { align-self: flex-end; padding: 11px 16px; border-radius: 18px 18px 6px 18px; background: var(--ink); color: var(--bg); }
.msg--typing { display: flex; gap: 5px; padding: 16px 18px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: typing 1.1s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.msg-card { margin-top: 10px; padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.msg-card__label { font-size: 12px; color: var(--gold); }
.msg-card__title { margin-top: 2px; font-family: var(--serif); font-size: 22px; font-weight: 350; line-height: 1.2; color: var(--ink); }
.msg-card__text { margin-top: 6px; font-size: 14px; color: var(--muted); }
.msg-card__cta { margin-top: 14px; }
.chat__replies { display: flex; flex-wrap: wrap; gap: 8px; animation: rise .35s var(--ease); }
.chat__replies .chip { background: var(--paper); }
@keyframes nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Home: what we're building ---------- */
.building { padding-bottom: clamp(150px, 17vw, 240px); }
.platform-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--dark-line); }
.platform-col { display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 44px 40px 8px 0; color: inherit; text-decoration: none; }
.platform-col + .platform-col { padding-left: 40px; border-left: 1px solid var(--dark-line); }
.platform-col__icon .icon { width: 28px; height: 28px; color: var(--gold-2); margin-bottom: 10px; }
.platform-col h3 { font-family: var(--serif); font-size: 27px; font-weight: 300; line-height: 1.15; }
.platform-col p { font-size: 14.5px; color: var(--on-dark-muted); max-width: 24em; }
.platform-col .circle-btn { margin-top: auto; }
.platform-col:hover .circle-btn { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.building__link { margin-top: 56px; }

/* ---------- Home: solutions preview ---------- */
.solutions-preview__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.solutions-preview__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.solutions-preview__intro p { max-width: 24em; margin: 26px 0 34px; color: var(--ink-2); }
.accordion { border-top: 1px solid var(--line); }
.acc-item { position: relative; border-bottom: 1px solid var(--line); border-radius: 0; transition: background-color .35s, border-radius .35s; }
.acc-item.is-open { background: var(--paper); border-radius: 20px; border-bottom-color: transparent; box-shadow: 0 24px 50px -40px rgba(70, 52, 28, .35); }
.acc-item.is-open + .acc-item { border-top: 0; }
.acc-item__heading { margin: 0; }
.acc-item__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); font-weight: 300; line-height: 1.2; color: var(--ink); transition: padding .35s var(--ease); }
.acc-item.is-open .acc-item__head { padding-inline: 26px; padding-bottom: 10px; }
.acc-item__icon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: opacity .2s, transform .3s var(--ease); }
.acc-item__icon .icon { width: 16px; height: 16px; }
.acc-item__head:hover .acc-item__icon { transform: rotate(90deg); }
.acc-item.is-open .acc-item__icon { opacity: 0; }
.acc-item__body { padding: 0 90px 28px 26px; }
.acc-item__body p { font-size: 15px; color: var(--muted); max-width: 30em; }
.acc-item__go { position: absolute; right: 26px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); transition: transform .3s var(--ease); }
.acc-item__go .icon { width: 16px; height: 16px; }
.acc-item__go:hover { transform: rotate(45deg); }
.acc-item:not(.is-open) .acc-item__go { display: none; }

/* ---------- Selected work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 56px 28px; }
.work-grid__cell--large { grid-column: span 3; }
.work-grid__cell--small { grid-column: span 2; }
.work-grid__cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
.work-card__link { display: block; color: inherit; text-decoration: none; }
.work-card__visual { position: relative; height: clamp(260px, 29vw, 420px); overflow: hidden; border-radius: 22px; background: var(--line); }
.work-card__visual .mock { border-radius: 0; }
.work-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card__link:hover .work-card__img { transform: scale(1.03); }
.work-card--small .mock { padding-inline: 9%; }
.work-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 18px; }
.work-card__meta h3 { font-family: var(--serif); font-size: 22px; font-weight: 350; line-height: 1.2; }
.work-card__meta span { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); border-block: 1px solid var(--line); }
.testimonials__inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.testimonials__intro .h2 { max-width: 11em; }
.testimonials__intro p { font-size: 13.5px; color: var(--muted); max-width: 22em; }
.quote blockquote { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 14px; }
.quote figcaption b { display: block; font-weight: 500; }
.quote figcaption small { display: block; font-size: 13px; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; object-fit: cover; background: #e8dfd0; color: var(--gold); font-family: var(--serif); font-size: 18px; }
.quotes__nav { display: flex; align-items: center; gap: 16px; margin-top: 36px; font-size: 13px; color: var(--muted); }

/* ---------- Closing CTA ---------- */
.cta-final { padding-block: clamp(96px, 11vw, 160px); text-align: center; }
.cta-final__inner { max-width: 780px; }
.cta-final__sphere { position: relative; display: block; width: 64px; height: 64px; margin: 0 auto 34px; isolation: isolate; }
.cta-final p { max-width: 28em; margin: 24px auto 38px; color: var(--ink-2); }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 7vw, 100px); }
.page-hero--tight { padding-bottom: 48px; }
.page-hero .lead { margin-top: 30px; }
.page-hero--split { padding-bottom: clamp(24px, 3vw, 48px); }
.page-hero--split .page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.page-hero__chips { margin-top: 42px; }
.page-hero__img { width: 100%; border-radius: 24px; }

.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; isolation: isolate; }
.orbit__ring { position: absolute; inset: 8%; border: 1.5px solid #d6c8b0; border-radius: 50%; animation: spin 60s linear infinite; }
.orbit__ring--inner { inset: 25%; border-color: #e0d5c2; animation-duration: 40s; animation-direction: reverse; }
.orbit__ring--inner i { top: 100%; width: 1.3cqw; height: 1.3cqw; background: #cdb48e; }
.orbit__pulse { position: absolute; left: 50%; top: 50%; width: 27cqw; height: 27cqw; translate: -50% -50%; border: 1px solid rgba(184, 150, 108, .5); border-radius: 50%; animation: ripple 4s ease-out infinite; }
.orbit__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 27cqw; height: 27cqw; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: 0 4cqw 7cqw -2cqw rgba(60, 45, 25, .32), 0 0 0 1px rgba(40, 30, 20, .05); }
.orbit__core img { width: 42%; }
.orbit__planet { position: absolute; left: var(--px); top: var(--py); width: 16cqw; translate: -50% -8cqw; display: flex; flex-direction: column; align-items: center; animation: float 6s ease-in-out infinite; }
.orbit__planet .sph { --s: 16cqw; position: relative; left: 0; top: 0; box-shadow: inset -1cqw -1.4cqw 2.4cqw rgba(0, 0, 0, .07), inset .8cqw 1cqw 2cqw rgba(255, 255, 255, .6), 0 1.8cqw 2.8cqw -1cqw rgba(56, 42, 24, .38); }
.orbit__planet em { margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.orbit__planet--1 { --px: 50%; --py: 8%; }
.orbit__planet--2 { --px: 86.4%; --py: 71%; animation-delay: -2s; }
.orbit__planet--3 { --px: 13.6%; --py: 71%; animation-delay: -4s; }
.orbit__planet--4 { --px: 13.6%; --py: 29%; animation-delay: -1s; }
.orbit__planet--5 { --px: 86.4%; --py: 29%; animation-delay: -3s; }

.cairn { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; isolation: isolate; }
.cairn__ring { position: absolute; inset: 3%; border: 1.5px solid #d2b88b; border-radius: 50%; animation: spin 50s linear infinite; }
.cairn__shadow { position: absolute; left: 50%; top: 89%; width: 64cqw; height: 8cqw; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 52, 28, .4), transparent); filter: blur(6px); animation: shadow 7s ease-in-out infinite; }
.stone { position: absolute; left: 50%; translate: -50% 0; border-radius: 50%; background: radial-gradient(ellipse at 36% 26%, #fffaf2 0%, #efe4d3 42%, #d6c4a8 82%, #c2ab89 100%); box-shadow: inset -1.2cqw -1.6cqw 3cqw rgba(110, 85, 50, .16), inset 1cqw 1.2cqw 2.4cqw rgba(255, 255, 255, .55), 0 1.8cqw 3cqw -1.4cqw rgba(70, 55, 35, .42); }
.cairn .stone--base { width: 58cqw; height: 42cqw; top: 51%; }
.cairn .stone--mid { width: 44cqw; height: 17cqw; top: 38%; animation: rock 9s ease-in-out infinite; }
.cairn .stone--top { width: 21cqw; height: 19cqw; top: 22%; animation: hover 7s ease-in-out infinite; }

.steps-art { position: relative; width: min(100%, 520px); aspect-ratio: 1.15; margin-inline: auto; container-type: inline-size; isolation: isolate; }
.steps-art__ring { position: absolute; left: 16cqw; top: 1cqw; width: 72cqw; aspect-ratio: 1; border: 1.5px solid #d6c8b0; border-radius: 50%; animation: spin 60s linear infinite; }
.steps-art__step { position: absolute; bottom: 11cqw; width: 24cqw; border-radius: 0 0 50% 50% / 0 0 5cqw 5cqw; background: linear-gradient(90deg, #d5c6ae 0%, #eee5d7 45%, #cfbea4 100%); box-shadow: 0 3cqw 5cqw -3cqw rgba(70, 52, 28, .4); }
.steps-art__step .top { position: absolute; left: 0; right: 0; top: -3.5cqw; height: 7cqw; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #fcf8f1 0%, #ede3d3 70%, #dccfb9 100%); }
.steps-art__step--1 { left: 8cqw; height: 16cqw; }
.steps-art__step--2 { left: 38cqw; height: 28cqw; }
.steps-art__step--3 { left: 68cqw; height: 40cqw; }
.steps-art__ball { animation: bob 7s ease-in-out infinite; box-shadow: inset -1cqw -1.4cqw 2.4cqw rgba(0, 0, 0, .07), inset .8cqw 1cqw 2cqw rgba(255, 255, 255, .6), 0 1.6cqw 2.4cqw -1cqw rgba(56, 42, 24, .35); }
.steps-art__ball::after { display: none; }
.steps-art__ball--1 { --s: 11cqw; --x: 20cqw; --y: 55.5cqw; }
.steps-art__ball--2 { --s: 14cqw; --x: 50cqw; --y: 42cqw; animation-delay: -2.4s; }
.steps-art__ball--3 { --s: 17cqw; --x: 80cqw; --y: 28.5cqw; animation-delay: -4.8s; }
.steps-art__label { position: absolute; top: 79cqw; translate: -50% 0; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.steps-art__label--1 { left: 20cqw; }
.steps-art__label--2 { left: 50cqw; }
.steps-art__label--3 { left: 80cqw; }

/* ---------- Platforms page ---------- */
.platform { padding-block: clamp(72px, 9vw, 130px); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.platform__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.platform--flip .platform__copy { order: 2; }
.platform__tag { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; font-size: 13px; color: var(--muted); }
.tag-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); }
.tag-icon .icon { width: 15px; height: 15px; }
.tag-icon--sage { background: #e7ece0; border-color: #d2dbc6; color: #5d714c; }
.tag-icon--lavender { background: #ece8f3; border-color: #dad2e7; color: #6c5d90; }
.tag-icon--sand { background: #f2e9da; border-color: #e3d2b6; color: #8c6a40; }
.tag-icon--rose { background: #f3e7e3; border-color: #e3cfc9; color: #8f5a4d; }
.tag-icon--sky { background: #e9f2fb; border-color: #cddff1; color: #2f6aa8; }
.platform__name { font-size: clamp(40px, 4.4vw, 62px); }
.platform__desc { max-width: 29em; margin-top: 24px; font-size: 17px; color: var(--ink-2); }
.platform__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.platform__lists h3 { margin-bottom: 12px; font-size: 13.5px; font-weight: 600; }
.dash-list li { position: relative; margin-top: 9px; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.dash-list li::before { content: ''; position: absolute; left: 0; top: .75em; width: 9px; height: 1px; background: var(--gold-2); }
.platform__copy > .btn { margin-top: 42px; }
/* Frame shape chosen so the screenshot area inside the browser window is exactly 16:10 (upload 1600 x 1000 px). */
.platform__visual .mock { height: auto; aspect-ratio: 1.522; border-radius: 26px; }

.partner { padding-block: clamp(100px, 11vw, 150px) clamp(170px, 18vw, 250px); text-align: center; }
.partner__inner { max-width: 960px; }
.partner p { max-width: 30em; margin: 24px auto 36px; color: var(--on-dark-muted); }

/* ---------- Solutions page ---------- */
.solutions-list > .solution:first-child { border-top: 1px solid var(--line); }
.solution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .8fr); gap: 40px; padding-block: 60px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
.solution__title { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.icon-circle { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.icon-circle .icon { width: 20px; height: 20px; }
.solution__title .h2 { font-size: clamp(28px, 2.5vw, 36px); }
.solution__body p { max-width: 28em; font-size: 16px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--ink-2); background: color-mix(in srgb, var(--paper) 55%, transparent); }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links a, .side-links__text { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; font-size: 14px; line-height: 1.45; color: var(--ink); text-decoration: none; }
.side-links a .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.side-links a:hover .icon { transform: translateX(4px); }

.work-strip { overflow: hidden; }
.work-strip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.work-strip__intro { max-width: 30em; margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.work-strip__tools { display: flex; align-items: center; gap: 24px; }
.carousel-wrap { position: relative; }
.carousel-arrow { position: absolute; top: 42%; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; translate: 0 -50%; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); cursor: pointer; transition: transform .25s var(--ease), opacity .25s, background-color .25s; }
.carousel-arrow .icon { width: 20px; height: 20px; }
.carousel-arrow:hover { background: #000; transform: scale(1.06); }
.carousel-arrow--prev { left: max(12px, calc((100vw - var(--container)) / 2 - 27px)); }
.carousel-arrow--next { right: max(12px, calc((100vw - var(--container)) / 2 - 27px)); }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
.carousel-bar { margin-top: 34px; }
.carousel-range { display: block; width: 100%; max-width: 420px; height: 24px; margin: 0 auto; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.carousel-range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--ink) 0 var(--fill, 0%), var(--line-2) var(--fill, 0%) 100%); }
.carousel-range::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line-2); }
.carousel-range::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--ink); }
.carousel-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border: 3px solid var(--bg); border-radius: 50%; background: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.carousel-range::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid var(--bg); border-radius: 50%; background: var(--ink); }
.carousel-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.work-strip--static .carousel-arrow, .work-strip--static .carousel-bar { display: none; }
.carousel { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; outline-offset: -2px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging a { pointer-events: none; }
.carousel__track { display: flex; gap: 24px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.carousel__slide { width: clamp(280px, 30vw, 420px); scroll-snap-align: start; scroll-margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.carousel__slide:last-child { scroll-snap-align: end; scroll-margin-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.work-card--slide .work-card__visual { height: auto; aspect-ratio: 1.522; }
.work-card__preview { position: absolute; inset: 0; z-index: 1; opacity: 0; transform: scale(1.015); transition: opacity .45s var(--ease), transform .7s var(--ease); pointer-events: none; }
.work-card__preview .mock { height: 100%; }
.work-card__link:hover .work-card__preview, .work-card__link:focus-visible .work-card__preview { opacity: 1; transform: none; }
.work-card__hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(22, 21, 19, .78); color: #fff; font-size: 12px; line-height: 1; opacity: .9; transition: opacity .3s; pointer-events: none; }
.work-card__hint .icon { width: 13px; height: 13px; }
.work-card__link:hover .work-card__hint, .work-card__link:focus-visible .work-card__hint { opacity: 0; }
@media (hover: none) { .work-card__hint { display: none; } }

/* ---------- Insights ---------- */
.featured__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.featured .cover { aspect-ratio: 4 / 2.75; border-radius: 24px; }
.featured__title { margin: 16px 0 18px; font-size: clamp(30px, 2.8vw, 40px); }
.featured__title a { text-decoration: none; }
.featured__body > p:not(.post-meta) { max-width: 30em; margin-bottom: 30px; color: var(--ink-2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.post-meta__cat { color: var(--gold); }
.posts { padding-block: 56px clamp(84px, 9vw, 130px); }
.posts:not(.posts--after-featured) { padding-top: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 28px; }
.post-card__link { display: block; color: inherit; text-decoration: none; }
.post-card .post-meta { margin-top: 18px; }
.post-card h3 { margin-top: 8px; font-family: var(--serif); font-size: 22px; font-weight: 350; line-height: 1.24; text-wrap: balance; }
.post-card__excerpt { margin-top: 10px; font-size: 14px; color: var(--muted); }
.post-card__link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 72px; font-size: 14px; color: var(--muted); }
.empty-note { padding: 40px 0; color: var(--muted); }

/* ---------- Post ---------- */
.draft-banner { padding: 10px var(--gutter); background: var(--gold); color: #fff; font-size: 14px; text-align: center; }
.post__head { padding-top: clamp(32px, 5vw, 72px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: 14px; color: var(--muted); text-decoration: none; }
.back-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.back-link:hover { color: var(--ink); }
.back-link:hover .icon { transform: translateX(-3px); }
.post__title { max-width: 16em; margin-top: 18px; font-size: clamp(40px, 5vw, 70px); }
.post__lead { margin-top: 26px; max-width: 36em; }
.post__author { margin-top: 18px; font-size: 14px; color: var(--muted); }
.post__cover { margin-top: clamp(40px, 5vw, 64px); }
.post__cover .cover { aspect-ratio: 21 / 9; border-radius: 28px; }
.prose { max-width: 700px; margin: clamp(48px, 6vw, 80px) auto 0; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.9em; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); font-weight: 300; line-height: 1.15; letter-spacing: -.015em; color: var(--ink); }
.prose h3, .prose h4 { margin-top: 1.7em; font-family: var(--serif); font-size: 24px; font-weight: 350; line-height: 1.25; color: var(--ink); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose a { color: var(--ink); text-decoration-color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote { margin-block: 1.8em; padding: 4px 0 4px 28px; border-left: 1px solid var(--gold-2); font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); font-style: italic; font-weight: 300; line-height: 1.32; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--gold); }
.prose img { margin-block: 2em; border-radius: 16px; }
.prose hr { margin-block: 2.6em; border: 0; border-top: 1px solid var(--line); }
.prose pre { padding: 16px 18px; overflow-x: auto; border-radius: 12px; background: var(--paper); font-size: 14px; }
.prose code { font-size: .9em; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.related { margin-top: clamp(84px, 9vw, 130px); border-top: 1px solid var(--line); }

.legal { padding-block: clamp(48px, 7vw, 100px) clamp(84px, 9vw, 130px); }
.legal__head { max-width: 700px; margin-inline: auto; }
.legal__head .small-label { margin-top: 16px; }
.legal__head .eyebrow { margin-bottom: 20px; }
.legal .prose { margin-top: 48px; }

/* ---------- About ---------- */
.story { padding-top: clamp(40px, 5vw, 72px); }
.story__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
.story__lead { margin-bottom: 26px; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 31px); font-weight: 300; line-height: 1.25; color: var(--ink); text-wrap: pretty; }
.story__text p:not(.story__lead) { max-width: 34em; font-size: 16px; color: var(--ink-2); }
.story__text p:not(.story__lead) + p { margin-top: 18px; }

.vm { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.vm__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; }
.vm__col { padding: clamp(64px, 8vw, 110px) clamp(24px, 4vw, 64px) clamp(110px, 12vw, 170px) 0; }
.vm__col + .vm__col { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--dark-line); }
.vm .kicker { color: var(--gold-2); margin-bottom: 18px; }
.vm__text { max-width: 14em; font-family: var(--serif); font-size: clamp(28px, 2.7vw, 40px); font-weight: 300; line-height: 1.16; letter-spacing: -.015em; }

.beliefs__title { margin-bottom: clamp(40px, 5vw, 64px); }
.belief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.belief-card { display: flex; flex-direction: column; min-height: 310px; padding: 42px 34px 44px; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); }
.belief-card h3 { margin-top: 30px; font-family: var(--serif); font-size: 26px; font-weight: 300; }
.belief-card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.belief-art { position: relative; width: 130px; height: 86px; isolation: isolate; }
.belief-art .sph { --s: 66px; --x: 36px; --y: 44px; }
.belief-art--pair .b1 { --s: 60px; --x: 32px; --y: 46px; }
.belief-art--pair .b2 { --s: 42px; --x: 72px; --y: 56px; }
.belief-art--stack .stone { left: 40px; }
.belief-art--stack .stone--base { width: 74px; height: 44px; top: 40px; }
.belief-art--stack .stone--mid { width: 54px; height: 20px; top: 25px; }
.belief-art--stack .stone--top { width: 26px; height: 22px; top: 7px; }

.mark__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.mark__card { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #fcf7f1; }
.mark__card img { width: 74%; height: auto; }
.mark { padding-top: clamp(24px, 4vw, 64px); }
.mark__title { font-size: clamp(40px, 4.4vw, 62px); }
.mark__copy p { max-width: 28em; margin: 26px 0 38px; color: var(--ink-2); }

/* ---------- Let's talk ---------- */
.contact { padding-block: clamp(32px, 5vw, 72px) clamp(84px, 9vw, 130px); }
.contact__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__title { font-size: clamp(48px, 6vw, 86px); }
.contact__intro .lead { margin-top: 30px; max-width: 24em; }
.contact__direct { margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.big-email { display: inline-block; margin: 16px 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); font-weight: 300; text-decoration: none; overflow-wrap: anywhere; }
.big-email:hover { border-bottom-color: var(--ink); }
.contact__card { padding: clamp(26px, 3.4vw, 50px); border: 1px solid var(--line); border-radius: 32px; background: var(--paper); box-shadow: 0 50px 90px -50px rgba(70, 52, 28, .35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; }
.field label, .field legend { display: block; margin-bottom: 4px; padding: 0; font-size: 13px; font-weight: 500; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field textarea { min-height: 112px; resize: vertical; }
.field--chips { margin: 36px 0 0; padding: 0; border: 0; min-width: 0; }
.field--chips legend { margin-bottom: 14px; }
.form > .field:not(.field--chips) { margin-top: 34px; }
.field .chip-check { position: relative; display: inline-flex; margin: 0; font-size: 14px; font-weight: 400; }
.chip-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip-check span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; line-height: 1.2; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.chip-check:hover span { border-color: var(--ink-2); }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-check input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.has-error input, .has-error textarea { border-bottom-color: var(--error); }
.field-error { margin-top: 6px; font-size: 13px; color: var(--error); }
.form-alert { margin-bottom: 22px; padding: 12px 16px; border-radius: 12px; background: #f6e5de; color: #7a2e1c; font-size: 14px; }
.form-topic { margin-bottom: 26px; padding: 11px 16px; border-radius: 12px; background: var(--bg); font-size: 13.5px; color: var(--muted); }
.form-topic b { color: var(--ink); font-weight: 500; }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 38px; }
.form-foot p { font-size: 13.5px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: 56px 8px; text-align: center; }
.form-success__sphere { position: relative; display: block; width: 72px; height: 72px; margin: 0 auto 30px; isolation: isolate; }
.form-success p { max-width: 24em; margin: 16px auto 30px; color: var(--ink-2); }

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.not-found__inner { max-width: 760px; }
.not-found__sphere { position: relative; display: block; width: 96px; height: 96px; margin: 0 auto 40px; isolation: isolate; }
.not-found .lead { margin: 26px auto 0; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(64px, 7vw, 100px); background: var(--dark); color: var(--on-dark); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: clamp(64px, 7vw, 100px); }
.site-footer__brand > p { max-width: 24em; margin-top: 24px; font-size: 14px; color: var(--on-dark-muted); }
.footer-email { display: inline-block; margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid #3a3631; font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); font-weight: 300; text-decoration: none; }
.footer-email:hover { border-bottom-color: var(--on-dark); }
.footer-contact { margin-top: 26px; display: grid; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--on-dark-muted); }
.footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #2a2724; color: var(--gold-2); }
.footer-contact__icon .icon { width: 15px; height: 15px; }
.footer-contact address { font-style: normal; }
.footer-contact b { display: block; font-weight: 500; color: var(--on-dark); }
.site-footer__contact a { text-decoration: none; }
.footer-col h2 { margin-bottom: 22px; font-size: 14px; font-weight: 500; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: 14px; color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-social { margin-top: 28px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 28px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--on-dark-muted); }
.site-footer__bottom a { text-decoration: none; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__bottom a:hover { color: var(--on-dark); }


/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 26px; }
  .solution { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .solution__side { grid-column: 2; }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { grid-template-columns: 1fr auto; }

  .hero__inner, .page-hero--split .page-hero__inner { grid-template-columns: 1fr; }
  .hero__art, .page-hero__art { max-width: 460px; width: 100%; margin-inline: auto; }
  .split-head, .split-head--end { grid-template-columns: 1fr; }
  .split-head--end > .text-link { justify-self: start; }

  .platform-cols { grid-template-columns: 1fr; }
  .platform-col, .platform-col + .platform-col { min-height: 0; padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--dark-line); }
  .platform-col .circle-btn { margin-top: 10px; }

  .solutions-preview__inner { grid-template-columns: 1fr; }
  .solutions-preview__intro { position: static; }

  .work-grid { grid-template-columns: 1fr; gap: 44px; }
  .work-grid__cell--large, .work-grid__cell--small { grid-column: auto; }

  .testimonials__inner { grid-template-columns: 1fr; }

  .platform__inner { grid-template-columns: 1fr; }
  .platform--flip .platform__copy { order: 0; }

  .solution { grid-template-columns: 1fr; gap: 24px; padding-block: 44px; }
  .solution__title { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .solution__side { grid-column: auto; }

  .featured__inner { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .story__inner, .mark__inner, .contact__inner { grid-template-columns: 1fr; }
  .vm__inner { grid-template-columns: 1fr; }
  .vm__col { padding: 64px 0 40px; }
  .vm__col + .vm__col { padding: 40px 0 150px; border-left: 0; border-top: 1px solid var(--dark-line); }
  .dots--right { left: 0; width: 100%; }
  .belief-grid { grid-template-columns: 1fr; }
  .belief-card { min-height: 0; }
  .mark__card { max-width: 520px; }
}

@media (max-width: 600px) {
  .display { font-size: clamp(40px, 11vw, 52px); }
  .actions { gap: 18px 24px; }
  .hero-art__word { padding: 5px 10px 5px 8px; font-size: 11px; }
  .chat__panel { border-radius: 20px; }
  .chat__thread { max-height: 420px; padding-inline: 14px; }
  .ask { padding-left: 16px; }
  .ask__chips .chip { font-size: 13px; }
  .msg { max-width: 92%; }
  .chip { padding: 9px 14px; font-size: 13.5px; }
  .post-grid { grid-template-columns: 1fr; gap: 44px; }
  .platform__lists { grid-template-columns: 1fr; }
  .post__cover .cover { aspect-ratio: 4 / 3; }
  .prose { font-size: 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .form-foot .btn { justify-content: space-between; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .carousel__slide { width: 82vw; }
}
