/* ESTETICO · design tokens
   Layout concept: a framed hairline grid on grain paper. Every section sits in a ruled "sheet",
   like a specimen board. Extended display type carries the brand; serif italic marks the human part. */
/* Dark-first, single look: a living light field behind a precise hairline grid. */
:root {
  --paper: #07070A;
  --paper-2: #121218;
  --glass: rgba(14, 14, 20, .55);
  --ink: #F3F1EC;
  --ink-rgb: 243, 241, 236;
  --paper-rgb: 10, 10, 14;
  --ink-2: #B9B7C2;
  --ink-3: #7E7C89;
  --line: rgba(243, 241, 236, .13);
  --accent: #6D7BFF;
  --accent-2: #B79CFF;
  --accent-ink: #07070A;
  --night: #F3F1EC;
  --night-fg: #07070A;
  --night-line: rgba(7, 7, 10, .16);
  --sheen: linear-gradient(100deg, #F3F1EC 0%, #C9C3FF 30%, #8FA0FF 52%, #F6E7D8 78%, #F3F1EC 100%);
  --grain-opacity: .10;

  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --s-xs: .75rem; --s-sm: .875rem; --s-md: 1rem; --s-lg: 1.25rem;
  --s-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --s-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  --s-3xl: clamp(2.5rem, 1.2rem + 3.9vw, 5.1rem);

  --gutter: clamp(16px, 3vw, 40px);
  --frame: min(1440px, 100%);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--s-md); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
.link-arrow svg, .card-actions svg { width: 14px; height: 14px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 200; }
.skip:focus { top: 12px; }

/* ---------- frame ---------- */
.wrap { width: var(--frame); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sheet { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.rule { border-top: 1px solid var(--line); }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.035em; line-height: .98; text-wrap: balance; margin: 0; }
.display em, .h2 em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.h1 { font-size: var(--s-3xl); }
.h2 { font-family: var(--f-display); font-weight: 500; font-size: var(--s-2xl); letter-spacing: -.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--s-lg); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); display: inline-flex; gap: .6em; align-items: center; margin: 0; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); display: inline-block; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: var(--ink-2); max-width: 56ch; margin: 0; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn { --b: var(--ink); --f: var(--paper); display: inline-flex; align-items: center; gap: .75em; padding: .95em 1.3em; font: 600 var(--s-sm)/1 var(--f-body);
  letter-spacing: .02em; text-decoration: none; background: var(--b); color: var(--f); border: 1px solid var(--b); border-radius: 0; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); white-space: nowrap; }
.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.btn:hover { --b: var(--accent); --f: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--accent { --b: var(--accent); --f: var(--accent-ink); }
.btn--accent:hover { --b: var(--ink); --f: var(--paper); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .5em; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: transparent; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { padding-top: 12px; }
.bar { background: var(--glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; border: 1px solid var(--line); min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 18px; text-decoration: none; border-right: 1px solid var(--line); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 4px; padding: 0 14px; }
.nav a { text-decoration: none; font-size: var(--s-sm); padding: 8px 12px; position: relative; color: var(--ink-2); transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--accent); }
.bar-end { display: flex; align-items: stretch; }
.bar-end > * { border-left: 1px solid var(--line); }
.clock { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; font-size: 11px; line-height: 1.3; color: var(--ink-2); }
.clock b { color: var(--ink); font-weight: 400; }
.lang { display: flex; align-items: center; gap: 2px; padding: 0 12px; font-family: var(--f-mono); font-size: 12px; }
.lang a, .lang span { padding: 6px; text-decoration: none; color: var(--ink-3); }
.lang [aria-current] { color: var(--ink); }
.bar-cta { display: flex; align-items: center; padding: 0 10px; }
.bar-cta .btn { padding: .85em 1.1em; }
.menu-btn { display: none; width: 64px; background: none; border: 0; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn i { display: grid; grid-template-columns: 6px 6px; gap: 7px; }
.menu-btn i span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] i span:nth-child(1) { transform: translate(6.5px, 6.5px); }
.menu-btn[aria-expanded="true"] i span:nth-child(2) { transform: translate(-6.5px, 6.5px); }
.menu-btn[aria-expanded="true"] i span:nth-child(3) { transform: translate(6.5px, -6.5px); }
.menu-btn[aria-expanded="true"] i span:nth-child(4) { transform: translate(-6.5px, -6.5px); }
.mobile-nav { display: none; }

@media (max-width: 1080px) { .clock { display: none; } }
@media (max-width: 900px) {
  .nav, .bar-cta, .mobile-nav-hidden { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .brand { border-right: 0; }
  .menu-btn { display: grid; }
  .mobile-nav { display: block; position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: calc(96px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    transform: translateY(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
  .mobile-nav.is-open { transform: none; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .mobile-nav li a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 28px; letter-spacing: -.03em; }
  .mobile-nav li a small { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
  .mobile-nav .lang { display: flex; padding: 0; border: 0; }
}
@media (min-width: 901px) { .mobile-nav { display: none !important; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { display: grid; gap: 18px; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; align-content: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero .h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero .h1 .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(40%); opacity: .001; } to { transform: none; opacity: 1; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
.facts div { padding: 18px 20px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); letter-spacing: -.04em; line-height: 1; }
.facts span { font-size: var(--s-sm); color: var(--ink-2); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* before / after */
.ba { position: relative; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4 / 3.4; max-width: 100%; overflow: hidden; user-select: none; touch-action: pan-y; --pos: 52%; }
.ba-label { position: absolute; top: 12px; z-index: 4; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; background: var(--ink); color: var(--paper); }
.ba-label--before { left: 12px; background: #cfcfcf; color: #222; }
.ba-label--after { right: 12px; }
.ba-pane { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ink); z-index: 3; pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 18px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.ba-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }

/* the "old" site: deliberately dated, fixed colors on purpose */
.old { background: #c9c9c9; color: #000; font-family: "Times New Roman", Times, serif; padding: 10px; height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; font-size: 13px; }
.old-top { background: linear-gradient(#1d3f9a, #0b2266); color: #ff0; text-align: center; padding: 10px 6px; font-size: 20px; font-weight: bold; font-family: "Comic Sans MS", "Comic Neue", cursive; text-shadow: 2px 2px #000; border: 3px ridge #888; }
.old-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.old-nav span { background: #e0e0e0; border: 2px outset #fff; padding: 2px 8px; font-size: 12px; color: #00e; text-decoration: underline; }
.old-body { display: grid; grid-template-columns: 34% 1fr; gap: 8px; background: #fff; border: 2px inset #999; padding: 8px; }
.old-img { background: repeating-linear-gradient(45deg, #ddd 0 6px, #bbb 6px 12px); border: 1px solid #777; display: grid; place-items: center; font-size: 11px; color: #555; text-align: center; padding: 4px; }
.old-body p { font-size: 12px; line-height: 1.35; }
.old-body p u { color: #00e; }
.old-blink { color: red; font-weight: bold; }
.old-foot { display: flex; justify-content: space-between; font-size: 11px; background: #eee; border: 1px solid #999; padding: 4px 6px; }
.old-foot b { font-family: "Courier New", monospace; background: #000; color: #0f0; padding: 0 4px; }

/* the "new" site: a premium dark restaurant concept, drawn entirely in CSS */
.new { position: relative; height: 100%; overflow: hidden; color: #F2E6D6; font-family: var(--f-body);
  background: radial-gradient(120% 90% at 85% 55%, #2A1A10 0%, #140D09 45%, #0B0807 100%);
  display: grid; grid-template-rows: auto 1fr auto auto; }
.new-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38% 34% at 78% 52%, rgba(232, 160, 88, .45), transparent 70%),
              radial-gradient(30% 22% at 40% 10%, rgba(255, 214, 160, .10), transparent 70%); }
.new-plate { position: absolute; width: 74%; aspect-ratio: 1; right: -20%; top: 18%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #F4ECE1 0 30%, #E7DCCD 31% 42%, #CDBFAE 43% 44%, #F1E8DC 45% 64%, #BFAF9B 65% 66%, #EEE4D6 67% 100%);
  box-shadow: 0 40px 80px -10px rgba(0, 0, 0, .7), inset 0 -18px 40px rgba(0, 0, 0, .25); animation: plate 40s linear infinite; }
.new-plate span { position: absolute; inset: 30%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #E7B25C 0deg 9deg, #C98A37 9deg 14deg, #F0C979 14deg 22deg),
              radial-gradient(circle, #8E2A17 0 18%, transparent 19%);
  -webkit-mask: radial-gradient(circle, #000 0 62%, transparent 64%); mask: radial-gradient(circle, #000 0 62%, transparent 64%);
  filter: saturate(1.1) contrast(1.05); box-shadow: inset 0 0 18px rgba(80, 30, 0, .6); }
.new-plate span::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #C63A1F, #7A1A0C 70%); box-shadow: 0 0 0 3px rgba(90, 120, 40, .7); }
@keyframes plate { to { transform: rotate(360deg); } }
.new-nav { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid rgba(242, 230, 214, .12); }
.new-nav b { font-family: var(--f-serif); font-weight: 400; font-size: 17px; letter-spacing: .32em; }
.new-nav span { display: flex; gap: 14px; align-items: center; color: rgba(242, 230, 214, .7); }
.new-nav em { font-style: normal; color: #140D09; background: linear-gradient(135deg, #F3D9A4, #C99A5B); padding: 7px 12px; border-radius: 999px; letter-spacing: .1em; }
.new-hero { position: relative; z-index: 2; padding: 22px 18px 0; display: grid; align-content: center; gap: 8px; justify-items: end; text-align: right; }
.new-eyebrow { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: #D9B27A; }
.new-hero h4 { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(64px, 10vw, 128px); line-height: .82; letter-spacing: -.03em;
  background: linear-gradient(180deg, #FFF3DE 10%, #E3B676 60%, #9C6A33 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 10px 40px rgba(232, 160, 88, .25); }
.new-tag { font-size: 12px; color: rgba(242, 230, 214, .78); max-width: 24ch; }
.new-book { position: relative; z-index: 2; margin: 14px 18px; justify-self: end; display: grid; gap: 8px; padding: 12px 14px; min-width: 0; max-width: 92%;
  background: rgba(20, 13, 9, .55); border: 1px solid rgba(242, 230, 214, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; }
.new-book small { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #D9B27A; }
.new-book div { display: flex; gap: 6px; flex-wrap: wrap; }
.new-book div span { font-size: 11px; padding: 6px 9px; border: 1px solid rgba(242, 230, 214, .18); border-radius: 999px; }
.new-book i { font-style: normal; font-size: 11px; font-weight: 600; text-align: center; padding: 8px; border-radius: 999px; color: #140D09; background: linear-gradient(135deg, #F3D9A4, #C99A5B); }
.new-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(242, 230, 214, .12); font-size: 10px; letter-spacing: .06em; background: rgba(11, 8, 7, .6); }
.new-strip span { padding: 10px 14px; border-left: 1px solid rgba(242, 230, 214, .12); color: rgba(242, 230, 214, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-strip span:first-child { border-left: 0; color: #E3B676; }
@media (max-width: 520px) { .new-hero h4 { font-size: 56px; } .new-tag { font-size: 11px; } .new-nav span a, .new-nav span > span { display: none; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; display: flex; align-items: stretch; }
.marquee-label { flex: none; padding: 18px 20px; border-right: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; background: var(--paper); position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 48px; padding: 18px 24px; white-space: nowrap; animation: slide 40s linear infinite; font-family: var(--f-display); font-size: var(--s-lg); letter-spacing: -.02em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.benefit { padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; border-left: 1px solid var(--line); }
.benefit:first-child { border-left: 0; }
.benefit .glyph { width: 56px; height: 56px; color: var(--accent); }
.benefit p { color: var(--ink-2); }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } .benefit { border-left: 0; border-top: 1px solid var(--line); } .benefit:first-child { border-top: 0; } }

/* ---------- service rows ---------- */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 180px minmax(0, 1.1fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: padding .4s var(--ease); }
.row::before { content: ""; position: absolute; inset: 0; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.row:hover::before { transform: scaleY(1); }
.row:hover { padding-inline: 16px; }
.row .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.row .tag.is-core { color: var(--accent); }
.row .h3 { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); }
.row p { color: var(--ink-2); }
.row .arrow { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s; }
.row:hover .arrow { background: var(--ink); color: var(--paper); }
.row .arrow svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr auto; gap: 10px 16px; } .row .tag { grid-column: 1 / -1; } .row p { grid-column: 1; } .row .arrow { grid-row: 2 / span 2; grid-column: 2; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.quote { padding: clamp(24px, 3vw, 36px); display: grid; gap: 28px; align-content: space-between; border-left: 1px solid var(--line); margin: 0; }
.quote:first-child { border-left: 0; }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.2; letter-spacing: -.005em; }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: var(--s-sm); }
.quote figcaption .ph { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); overflow: hidden; flex: none; display: grid; place-items: center; font-family: var(--f-display); font-size: 13px; }
.quote figcaption .ph img { width: 100%; height: 100%; object-fit: cover; }
.quote figcaption span { color: var(--ink-2); display: block; }
.sample-note { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 14px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } .quote { border-left: 0; border-top: 1px solid var(--line); } .quote:first-child { border-top: 0; } }

/* ---------- about preview / statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement .h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); }
.statement aside { display: grid; gap: 20px; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* ---------- final CTA ---------- */
.cta-band { background: var(--night); color: var(--night-fg); }
.cta-band .wrap { padding-block: clamp(72px, 10vw, 150px); display: grid; gap: 36px; }
.cta-band .display { font-size: clamp(2.4rem, 1rem + 6.4vw, 7.4rem); }
.cta-band .display em { color: var(--accent); }
.cta-band .lead { color: color-mix(in srgb, var(--night-fg) 72%, transparent); }
.cta-band .btn { --b: var(--night-fg); --f: var(--night); }
.cta-band .btn:hover { --b: var(--accent); --f: var(--accent-ink); }
.cta-band .btn--ghost { background: transparent; color: var(--night-fg); border-color: var(--night-line); }
.cta-band .row-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-band .row-actions small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-left: 8px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 110px) clamp(36px, 5vw, 64px); display: grid; gap: 28px; }
.page-hero .display { font-size: clamp(2.3rem, 1.1rem + 5vw, 5.6rem); max-width: 16ch; }
.crumbs { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 8px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.story .prose { display: grid; gap: 18px; font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }
.story .prose p:first-child { color: var(--ink); font-size: 1.25rem; }
.story figure { margin: 0; display: grid; gap: 10px; }
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--paper-2), color-mix(in srgb, var(--accent) 22%, var(--paper-2))); aspect-ratio: 4 / 5; max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.02); }
.photo .ph-label { position: absolute; left: 12px; bottom: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cap { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .05em; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.mission { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.mission > div { padding: clamp(28px, 4vw, 56px); display: grid; gap: 16px; align-content: start; }
.mission > div + div { border-left: 1px solid var(--line); }
.mission .h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); }
@media (max-width: 800px) { .mission { grid-template-columns: 1fr; } .mission > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--s-sm); }
.compare th, .compare td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare .us { background: var(--ink); color: var(--paper); }
.compare thead .us { color: var(--paper); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.values > div { padding: 24px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.values > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.values p { color: var(--ink-2); font-size: var(--s-sm); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .values > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.svc { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.svc:nth-child(3n+1) { border-left: 0; }
.svc:nth-child(-n+3) { border-top: 0; }
.svc.is-core { grid-column: span 2; background: var(--ink); color: var(--paper); }
.svc.is-core p, .svc.is-core li { color: color-mix(in srgb, var(--paper) 74%, transparent); }
.svc.is-core .tag { color: var(--accent); }
.svc .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.svc p { color: var(--ink-2); }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--s-sm); }
.svc li { display: flex; gap: 10px; color: var(--ink-2); }
.svc li::before { content: "+"; font-family: var(--f-mono); color: var(--accent); }
.svc.is-core .h3 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); }
.svc .split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc, .svc:nth-child(-n+3), .svc:nth-child(3n+1) { border-left: 0; border-top: 1px solid var(--line); } .svc:nth-child(even) { border-left: 1px solid var(--line); } .svc.is-core { border-top: 0; border-left: 0; } .svc.is-core + .svc { border-left: 0; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc.is-core { grid-column: auto; } .svc:nth-child(even) { border-left: 0; } .svc .split { grid-template-columns: 1fr; } }

.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: step; }
.step { padding: 22px 20px 0 0; display: grid; gap: 12px; align-content: start; position: relative; }
.step + .step { padding-left: 20px; border-left: 1px solid var(--line); }
.step .when { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.step .num { font-family: var(--f-display); font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; }
.step p { color: var(--ink-2); font-size: var(--s-sm); }
.days { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 28px; }
.days span { height: 30px; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.days span.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.days span.mid { border-color: var(--accent); color: var(--accent); }
.days span.end { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } .step, .step + .step { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 70px 1fr; } .step .when { grid-column: 2; } .step .num { grid-row: 1 / span 3; } }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--f-display); font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- work / listings ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 500 var(--s-sm)/1 var(--f-body); padding: 11px 16px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; border-radius: 999px; transition: all .25s var(--ease); }
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button sup { font-family: var(--f-mono); font-size: 10px; margin-left: 4px; opacity: .6; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { display: grid; gap: 14px; align-content: start; }
.card[hidden] { display: none !important; }
.card-media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border: 1px solid var(--line); background: var(--c1, #333); }
.card-media .bg { position: absolute; inset: 0; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .chrome { position: absolute; left: 12px; right: 12px; top: 12px; height: 22px; background: rgba(255, 255, 255, .86); display: flex; align-items: center; gap: 5px; padding: 0 8px; font-family: var(--f-mono); font-size: 10px; color: #333; z-index: 1; }
.card-media .chrome i { width: 6px; height: 6px; border-radius: 50%; background: #bbb; }
.card-media .chrome span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-media .wordmark { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; font-size: clamp(22px, 2.4vw, 30px); line-height: 1; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.card-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card-meta .h3 { font-size: 1.15rem; }
.card-meta span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.card p { color: var(--ink-2); font-size: var(--s-sm); }
.card .card-actions { display: flex; gap: 16px; align-items: center; font-size: var(--s-sm); }
.badge { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); padding: 4px 7px; color: var(--ink-2); }
.empty { padding: 48px 0; color: var(--ink-2); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); }
.contact-grid > * { padding: clamp(24px, 4vw, 48px); }
.contact-grid > * + * { border-left: 1px solid var(--line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid > * + * { border-left: 0; border-top: 1px solid var(--line); } }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
input, textarea, select { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0 12px; border-radius: 0; width: 100%; transition: border-color .25s; }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }
.field small.err { color: #C2261B; font-size: 12px; min-height: 0; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #C2261B; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot p { font-size: 12px; color: var(--ink-3); max-width: 40ch; }
.form-done { border: 1px solid var(--line); padding: 20px; display: grid; gap: 12px; }
.info { display: grid; gap: 28px; align-content: start; }
.info dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.info dd { margin: 0; overflow-wrap: anywhere; }
.info dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info dd a:hover { border-color: var(--accent); color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials span, .socials a { font-size: var(--s-sm); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); }
.socials small { font-family: var(--f-mono); font-size: 10px; color: var(--ink-3); margin-left: 6px; text-transform: uppercase; letter-spacing: .06em; }
.map { position: relative; aspect-ratio: 16 / 7; max-width: 100%; border: 1px solid var(--line); overflow: hidden; background: var(--paper-2); text-decoration: none; display: block; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; left: 58%; top: 46%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.map .pin b { background: var(--ink); color: var(--paper); font: 500 12px/1 var(--f-body); padding: 8px 10px; white-space: nowrap; }
.map .pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent) 0%, transparent); } }
.map .open { position: absolute; right: 12px; bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); padding: 8px 10px; }
.map:hover .open { background: var(--ink); color: var(--paper); }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(56px, 7vw, 96px) 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
.foot-grid h2 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); }
.foot-grid a:hover { color: var(--accent); }
.foot-grid .brand { border: 0; padding: 0; }
.foot-brand { display: grid; gap: 18px; align-content: start; max-width: 36ch; }
.foot-brand p { color: var(--ink-2); }
.giant { font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, -1rem + 15.5vw, 15.5rem); letter-spacing: -.06em; line-height: .78; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- reveal (visible at rest; JS only adds a soft lift) ---------- */
.js .reveal { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .reveal.pre { transform: translateY(18px); opacity: .5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.pre { transform: none; opacity: 1; }
}

.svc--cta { background: var(--accent); color: var(--accent-ink); }
.svc--cta p, .svc--cta .tag { color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }
.svc--cta .link-arrow { color: var(--accent-ink); }

/* ---------- living background ---------- */
body { background: var(--paper); }
.bg-field { position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(60% 50% at 75% 20%, rgba(109, 123, 255, .35), transparent 70%),
  radial-gradient(50% 45% at 15% 70%, rgba(183, 156, 255, .22), transparent 70%),
  radial-gradient(40% 40% at 60% 85%, rgba(246, 231, 216, .10), transparent 70%), var(--paper); }
.bg-field canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--ease); }
.bg-field canvas.on { opacity: 1; }
.bg-veil { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(var(--paper-rgb), .25) 60%, rgba(var(--paper-rgb), .55) 100%); }
.display em, .h2 em { background: var(--sheen); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite alternate; padding-right: .06em; }
@keyframes sheen { to { background-position: 100% 0; } }
.cta-band .display em { background: none; color: var(--accent); -webkit-text-fill-color: currentColor; animation: none; }
.cta-band { background: var(--night); }
.cta-band .display em { color: #3442FF; }
[data-theme="light"] .cta-band .display em { color: #9AA3FF; }
.cta-band .eyebrow::before { background: #3442FF; }
.section, .marquee, .benefits, .quotes, .svc-grid, .mission, .contact-grid, .compare-wrap { position: relative; }
.benefits, .quotes, .svc-grid, .mission, .contact-grid, .compare-wrap, .facts, .map { background: rgba(var(--paper-rgb), .42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.marquee, .marquee-label { background: rgba(var(--paper-rgb), .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.row::before { background: rgba(var(--ink-rgb), .05); }
.compare .us { background: var(--ink); color: var(--paper); }
.svc.is-core { background: var(--ink); color: var(--paper); }
.svc.is-core p, .svc.is-core li { color: rgba(var(--paper-rgb), .7); }
.svc.is-core .tag { color: #3442FF; }
.svc.is-core .btn--accent { --b: #3442FF; --f: #fff; }
.svc--cta { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.btn--accent:hover { --b: var(--ink); --f: var(--paper); }
.giant { background: linear-gradient(180deg, var(--ink) 0%, rgba(var(--ink-rgb), .08) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ba { box-shadow: 0 40px 120px -30px rgba(109, 123, 255, .45), 0 0 0 1px var(--line); }
.hero .glow { position: absolute; inset: auto; }
.days span { background: rgba(var(--paper-rgb), .4); }
.photo { background: linear-gradient(135deg, #1a1a26, #3a3470); }
@media (prefers-reduced-motion: reduce) { .display em, .h2 em { animation: none; } }
.ba-label--after { background: linear-gradient(135deg, #F3D9A4, #C99A5B); color: #140D09; }
.ba-handle { background: #3442FF; }
.ba-handle::after { background: #3442FF; color: #fff; }
.marquee-label { background: var(--paper); }
.new-nav { padding-top: 42px; }
/* after-mock refinements: dark stoneware plate, text kept clear */
.new-plate { width: 62%; right: -22%; top: auto; bottom: -14%;
  background: radial-gradient(circle at 50% 50%, #241B15 0 30%, #2E231B 31% 44%, #C99A5B 44.6% 45.2%, #1E1611 46% 64%, #3A2C21 65% 66%, #17110D 67% 100%);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 154, 91, .35), inset 0 10px 30px rgba(255, 220, 170, .06); }
.new-glow { background: radial-gradient(34% 30% at 82% 78%, rgba(232, 160, 88, .42), transparent 70%), radial-gradient(40% 30% at 70% 22%, rgba(255, 214, 160, .08), transparent 70%); }
.new-hero { align-content: start; padding-top: 26px; }
.new-book { justify-self: start; margin-left: 38%; }
@media (max-width: 520px) { .new-book { margin-left: 26%; } .new-book div span { font-size: 10px; padding: 5px 7px; } .new-plate { width: 80%; bottom: -24%; right: -34%; } }
@media (max-width: 520px) { .new-plate { width: 70%; bottom: -36%; right: -30%; } }

/* after-mock v3: premium advisory firm */
.new { color: #ECE6DA; background: radial-gradient(120% 90% at 80% 70%, #13241F 0%, #0B1513 45%, #070C0B 100%); }
.new-glow { background: radial-gradient(34% 32% at 80% 74%, rgba(214, 186, 128, .30), transparent 70%), radial-gradient(40% 30% at 30% 15%, rgba(120, 180, 160, .10), transparent 70%); }
.new-plate { display: none; }
.new-orb { position: absolute; width: 46%; aspect-ratio: 1; right: -8%; bottom: -6%; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 248, 232, .95) 0 4%, rgba(236, 214, 170, .55) 12%, rgba(120, 150, 130, .25) 38%, rgba(10, 22, 19, .1) 62%),
              radial-gradient(circle at 70% 78%, rgba(214, 186, 128, .55), transparent 55%), #0F1C18;
  box-shadow: inset -20px -30px 60px rgba(0, 0, 0, .6), inset 10px 14px 40px rgba(255, 240, 210, .12), 0 40px 90px -20px rgba(0, 0, 0, .8), 0 0 80px rgba(214, 186, 128, .18);
  animation: orb 9s ease-in-out infinite alternate; }
.new-orb span { position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(214, 186, 128, .28); }
.new-orb span::after { content: ""; position: absolute; inset: -12%; border-radius: 50%; border: 1px solid rgba(214, 186, 128, .12); }
@keyframes orb { to { transform: translate(-10px, -14px); } }
.new-nav b { letter-spacing: .4em; }
.new-eyebrow { color: #D6BA80; }
.new-hero h4 { background: linear-gradient(180deg, #FFF8EA 10%, #E2CB98 58%, #9E8250 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 10px 40px rgba(214, 186, 128, .2); }
.new-nav em, .new-book i, .ba-label--after { background: linear-gradient(135deg, #F4E6C4, #C7A86C); color: #0B1513; }
.new-book { background: rgba(9, 18, 16, .55); border-color: rgba(236, 230, 218, .16); }
.new-book small { color: #D6BA80; }
.new-strip { background: rgba(7, 12, 11, .6); }
.new-strip span:first-child { color: #E2CB98; }
@media (max-width: 520px) { .new-orb { width: 58%; right: -20%; bottom: -14%; } }

/* ---------- services bento ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 14px; perspective: 1400px; }
.bc { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; position: relative; display: grid; grid-template-rows: 1fr auto; gap: 22px; padding: 22px; text-decoration: none; color: var(--ink);
  border-radius: 22px; background: rgba(var(--paper-rgb), .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); isolation: isolate; overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--ang), rgba(var(--ink-rgb), .10), rgba(var(--ink-rgb), .10) 55%, var(--accent) 70%, var(--accent-2) 80%, rgba(var(--ink-rgb), .10) 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 7s linear infinite; }
.bc::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(109, 123, 255, .22), transparent 60%); }
.bc:hover::after { opacity: 1; }
.bc:hover { box-shadow: 0 30px 80px -30px rgba(109, 123, 255, .55); }
@keyframes spin { to { --ang: 360deg; } }
.bc--site { grid-column: span 2; grid-row: span 2; }
.bc--redo { grid-column: span 2; }
.bc-copy { display: grid; gap: 8px; max-width: 46ch; }
.bc-copy .h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); }
.bc--site .bc-copy .h3 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); }
.bc-copy p { color: var(--ink-2); font-size: var(--s-sm); }
.bc-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bc-tag.is-core { color: var(--accent); }
.bc-arrow { position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.bc-arrow svg { width: 14px; height: 14px; }
.bc:hover .bc-arrow { background: var(--ink); color: var(--paper); transform: rotate(-45deg); }
.bc-visual { position: relative; min-height: 150px; border-radius: 14px; overflow: hidden; background: rgba(var(--ink-rgb), .03); border: 1px solid var(--line); transform: translateZ(30px); }

/* site visual: a page assembling itself, then the 10-day bar */
.vis-site { display: grid; grid-template-rows: 1fr auto; gap: 14px; padding: 18px; min-height: 340px;
  background: radial-gradient(70% 60% at 70% 30%, rgba(109, 123, 255, .25), transparent 70%), rgba(var(--ink-rgb), .03); }
.vs-browser { border-radius: 12px; background: rgba(var(--paper-rgb), .7); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.vs-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.vs-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--ink-rgb), .2); }
.vs-bar span { margin-left: 8px; }
.vs-body { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(5, auto); column-gap: 18px; row-gap: 10px; padding: 22px; align-content: center; }
.vs-body > span { display: block; border-radius: 6px; background: rgba(var(--ink-rgb), .85); transform-origin: left; animation: build 6s var(--ease) infinite; }
.vs-h { height: 18px; width: 92%; grid-column: 1; }
.vs-h2 { width: 64%; animation-delay: .25s !important; background: var(--sheen) !important; }
.vs-p { height: 7px; width: 86%; grid-column: 1; opacity: .45; animation-delay: .5s !important; }
.vs-p2 { width: 70%; animation-delay: .65s !important; }
.vs-btn { height: 22px; width: 38%; grid-column: 1; border-radius: 999px !important; background: var(--accent) !important; animation-delay: .85s !important; }
.vs-img { grid-column: 2; grid-row: 1 / span 5; min-height: 120px; border-radius: 10px !important; animation-delay: .4s !important;
  background: radial-gradient(circle at 30% 30%, #fff 0 4%, transparent 30%), linear-gradient(135deg, var(--accent), var(--accent-2) 60%, #F6E7D8) !important; }
@keyframes build { 0% { transform: scaleX(0); opacity: 0; } 12%, 82% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.vs-progress { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.vs-progress div { height: 4px; border-radius: 4px; background: rgba(var(--ink-rgb), .1); overflow: hidden; }
.vs-progress div i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; animation: fill 6s var(--ease) infinite; }
@keyframes fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.vs-progress em { font-style: normal; color: var(--paper); background: var(--ink); padding: 4px 8px; border-radius: 999px; animation: pop 6s var(--ease) infinite; }
@keyframes pop { 0%, 66% { opacity: .15; transform: scale(.9); } 72%, 100% { opacity: 1; transform: none; } }

/* redesign visual: chaos tidies itself into a clean layout */
.vis-redo { display: grid; place-items: center; padding: 16px; }
.vr-frame { position: relative; width: min(100%, 420px); height: 150px; border-radius: 12px; border: 1px solid var(--line); background: rgba(var(--paper-rgb), .6); overflow: hidden; }
.vr-chip { position: absolute; top: 10px; right: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; animation: chipA 5s ease-in-out infinite; }
.vr-b { background: #c9c9c9; color: #222; }
.vr-a { background: var(--accent); color: #fff; animation-name: chipB; }
@keyframes chipA { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes chipB { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.vr-x { position: absolute; border-radius: 4px; animation: 5s var(--ease) infinite; }
.vr-1 { animation-name: r1; } .vr-2 { animation-name: r2; } .vr-3 { animation-name: r3; } .vr-4 { animation-name: r4; }
@keyframes r1 { 0%, 40% { left: 14px; top: 36px; width: 120px; height: 24px; background: #1d3f9a; transform: rotate(-4deg); }
                50%, 90% { left: 18px; top: 40px; width: 190px; height: 16px; background: var(--ink); transform: none; }
                100% { left: 14px; top: 36px; width: 120px; height: 24px; background: #1d3f9a; transform: rotate(-4deg); } }
@keyframes r2 { 0%, 40% { left: 150px; top: 70px; width: 80px; height: 60px; background: repeating-linear-gradient(45deg, #ddd 0 5px, #aaa 5px 10px); transform: rotate(6deg); }
                50%, 90% { left: 62%; top: 34px; width: 32%; height: 100px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: none; }
                100% { left: 150px; top: 70px; width: 80px; height: 60px; background: repeating-linear-gradient(45deg, #ddd 0 5px, #aaa 5px 10px); transform: rotate(6deg); } }
@keyframes r3 { 0%, 40% { left: 30px; top: 90px; width: 70px; height: 12px; background: red; transform: rotate(3deg); }
                50%, 90% { left: 18px; top: 66px; width: 150px; height: 7px; background: var(--ink-3); transform: none; }
                100% { left: 30px; top: 90px; width: 70px; height: 12px; background: red; transform: rotate(3deg); } }
@keyframes r4 { 0%, 40% { left: 260px; top: 20px; width: 40px; height: 40px; background: #ff0; transform: rotate(-12deg); border-radius: 4px; }
                50%, 90% { left: 18px; top: 96px; width: 84px; height: 22px; background: var(--accent); transform: none; border-radius: 999px; }
                100% { left: 260px; top: 20px; width: 40px; height: 40px; background: #ff0; transform: rotate(-12deg); border-radius: 4px; } }

/* seo visual: query types, you rank first, AI recommends you */
.vis-seo { padding: 14px; display: grid; gap: 10px; align-content: start; font-size: 11.5px; }
.vq { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--paper-rgb), .6); color: var(--ink-2); overflow: hidden; }
.vq svg { width: 13px; height: 13px; flex: none; }
.vq span { white-space: nowrap; overflow: hidden; border-right: 1px solid var(--accent); animation: type 6s steps(28) infinite; max-width: 100%; }
@keyframes type { 0% { width: 0; } 35%, 100% { width: 100%; } }
.vres { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vres li { padding: 6px 10px; border-radius: 8px; color: var(--ink-3); background: rgba(var(--ink-rgb), .03); }
.vres li.top { display: flex; justify-content: space-between; color: var(--ink); background: rgba(109, 123, 255, .16); border: 1px solid rgba(109, 123, 255, .5); animation: rise2 6s var(--ease) infinite; }
.vres li.top em { font-style: normal; font-family: var(--f-mono); font-size: 10px; color: var(--accent); }
@keyframes rise2 { 0%, 38% { transform: translateY(60px); opacity: 0; } 50%, 100% { transform: none; opacity: 1; } }
.vai { display: flex; gap: 8px; align-items: start; animation: pop 6s var(--ease) infinite; }
.vai span { flex: none; font-family: var(--f-mono); font-size: 9.5px; padding: 4px 6px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070A; }
.vai p { color: var(--ink-2); line-height: 1.4; }

/* tools visual: calendar slots + chatbot */
.vis-tools { padding: 14px; display: grid; gap: 12px; align-content: start; }
.vcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-family: var(--f-mono); font-size: 9.5px; color: var(--ink-3); text-align: center; }
.vcal i { height: 16px; border-radius: 4px; border: 1px solid var(--line); }
.vcal i.on { background: rgba(var(--ink-rgb), .14); }
.vcal i.x { opacity: .25; }
.vcal i.pick { background: var(--accent); border-color: var(--accent); animation: blink 2.4s ease-in-out infinite; box-shadow: 0 0 16px var(--accent); }
@keyframes blink { 50% { opacity: .45; } }
.vchat { display: grid; gap: 6px; font-size: 11.5px; }
.vchat p { padding: 7px 10px; border-radius: 12px; max-width: 88%; line-height: 1.35; }
.vchat .in { background: rgba(var(--ink-rgb), .08); justify-self: start; border-bottom-left-radius: 3px; }
.vchat .out { background: var(--accent); color: #fff; justify-self: end; border-bottom-right-radius: 3px; animation: pop 4s var(--ease) infinite; }

@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bc--site { grid-row: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bc--site, .bc--redo { grid-column: auto; } .vis-site { min-height: 280px; } .vs-body { padding: 14px; } }
@media (hover: none) { .bc { transform: none; } }

/* services page: same light-follow on blocks */
.svc { --mx: 50%; --my: 50%; position: relative; isolation: isolate; transition: background .4s; }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(109, 123, 255, .2), transparent 60%); }
.svc:hover::after { opacity: 1; }
.bc-copy { padding-right: 52px; }
.vs-body { grid-template-rows: repeat(5, auto) 1fr; align-content: stretch; }
.vs-img { grid-row: 1 / span 5 !important; }
.vs-body > span.vs-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; background: none; animation-delay: 1s; min-height: 90px; }
.vs-row i { border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--ink-rgb), .07), rgba(var(--ink-rgb), .02)); position: relative; }
.vs-row i::before { content: ""; position: absolute; left: 12px; right: 30%; top: 14px; height: 6px; border-radius: 4px; background: rgba(var(--ink-rgb), .5); }
.vs-row i::after { content: ""; position: absolute; left: 12px; right: 45%; top: 28px; height: 5px; border-radius: 4px; background: rgba(var(--ink-rgb), .2); }

/* renders inside the bento blocks, with the live UI floating on top */
.bc-ui { display: contents; }

/* ---------- light theme: warm stone gray, same living field ---------- */
:root[data-theme="light"] {
  --paper: #CFCBC4;
  --paper-2: #E3E0DA;
  --glass: rgba(233, 230, 224, .55);
  --ink: #16161A;
  --ink-rgb: 22, 22, 26;
  --paper-rgb: 236, 233, 227;
  --ink-2: #3F3E44;
  --ink-3: #545259;
  --line: rgba(22, 22, 26, .14);
  --accent: #2C38D4;
  --accent-2: #7A5CE6;
  --accent-ink: #F4F2EE;
  --night: #16161A;
  --night-fg: #ECE9E3;
  --night-line: rgba(236, 233, 227, .16);
  --sheen: linear-gradient(100deg, #16161A 0%, #2F3594 30%, #3D4BF0 52%, #6E5A4C 78%, #16161A 100%);
  --grain-opacity: .16;
  color-scheme: light;
}
:root[data-theme="light"] .bg-field { background:
  radial-gradient(60% 50% at 75% 20%, rgba(255, 255, 255, .55), transparent 70%),
  radial-gradient(50% 45% at 15% 70%, rgba(120, 118, 125, .25), transparent 70%), var(--paper); }
:root[data-theme="light"] .bg-veil { background: linear-gradient(180deg, transparent 0%, rgba(207, 203, 196, .25) 60%, rgba(207, 203, 196, .5) 100%); }
:root[data-theme="light"] .vs-body > span { background: rgba(22, 22, 26, .78); }
:root[data-theme="light"] .vchat .out, :root[data-theme="light"] .vr-a { color: #fff; }
:root[data-theme="light"] .bc { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 18px 50px -24px rgba(40, 38, 34, .35); }

/* theme toggle */
.theme-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 0; transition: background .3s, transform .4s var(--ease); }
.theme-btn:hover { background: rgba(var(--ink-rgb), .08); transform: rotate(-20deg); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
.theme-cell { display: flex; align-items: center; padding: 0 12px; }

/* brand logo (image), swaps with the theme */
.brand .logo { height: 36px; width: auto; display: block; }
.brand .logo--dark { display: none; }
:root[data-theme="light"] .brand .logo--dark { display: block; }
:root[data-theme="light"] .brand .logo--light { display: none; }
.foot-grid .brand .logo { height: 46px; }
@media (max-width: 640px) { .brand .logo { height: 30px; } }
/* keep the ES/EN switch visible in the mobile header */
@media (max-width: 900px) { .bar-end .lang { display: flex; padding: 0 8px; font-size: 13px; } .theme-cell { padding: 0 10px; } }
@media (max-width: 360px) { .bar-end .lang > span[aria-hidden] { display: none; } .bar-end .lang { padding: 0 4px; } .menu-btn { width: 52px; } }

/* floating WhatsApp CTA */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; text-decoration: none;
  background: #0F7A3F; color: #fff; font-family: var(--f-body); font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px -8px rgba(15, 80, 40, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset; transition: transform .35s var(--ease), box-shadow .35s; }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(15, 80, 40, .6), 0 0 0 1px rgba(255, 255, 255, .18) inset; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 175, 90, .45); animation: waPulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(31, 175, 90, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(31, 175, 90, 0); } }
@media (max-width: 640px) { .wa-float { padding: 14px; } .wa-float span { display: none; } .wa-float svg { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
.mobile-nav.is-open ~ .wa-float, body.menu-open .wa-float { display: none; }

/* join the sales team */
.join-pitch { display: grid; gap: 22px; align-content: start; }
.perks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.perks li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.perks b { font-family: var(--f-display); font-weight: 500; font-size: 15px; }
.perks span { color: var(--ink-2); font-size: var(--s-sm); }
select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 22px; }
select:invalid { color: var(--ink-3); }
select option { color: #16161A; }
.statement.pv { align-items: center; }
.pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pv-list li { position: relative; padding-left: 22px; color: var(--ink-2); }
.pv-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #2E3BFF); }
@media (max-width: 860px) { .statement.pv { grid-template-columns: 1fr; } }

/* Touch targets: at least 24px tall for small text links (WCAG 2.2 target size). */
.crumbs a, .foot-grid a { display: inline-block; min-height: 24px; line-height: 24px; }
.foot-grid a[href^="mailto:"] { overflow-wrap: anywhere; }
