:root {
  color-scheme: dark;
  --green: #15261A; --stage: #0C1710; --blue: #142B52; --gold: #E8C15A;
  --cream: #F6F1E4; --sage: #B4C2AC; --line: rgba(180,194,172,.26);
  --rim: rgba(232,193,90,.38); --glass: rgba(246,241,228,.045);
  --section-heading: clamp(2rem,3.7vw,3.75rem);
  --mono: 'JetBrains Mono', monospace; --ease: cubic-bezier(.2,.75,.25,1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--stage); color: var(--cream); font: 400 16px/1.5 Montserrat, sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { background: none; border: 0; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
::selection { color: var(--stage); background: var(--cream); }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - clamp(40px, 8vw, 144px)), 1512px); margin-inline: auto; }
.skip { position: absolute; z-index: 8; padding: 12px; background: var(--cream); color: var(--stage); transform: translateY(-130%); }
.skip:focus { transform: none; }
.mast { position: relative; z-index: 3; background: var(--stage); border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand strong { display: block; font-size: clamp(15px,1.23vw,20px); letter-spacing: -.03em; line-height: 1.25; }
.brand b { font-weight: 400; color: var(--sage); }
.brand small { display: block; margin-top: 3px; color: var(--sage); font: 400 11px/1.5 var(--mono); }



.nav { display: flex; gap: clamp(13px,1.8vw,32px); align-items: center; }
.nav a { font-size: 13px; color: #d2d9c9; padding-block: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 20px; border-radius: 8px; line-height: 1.3; font-weight: 600; min-height: 48px; transition: transform .16s var(--ease); }
.arrow { display: inline-block; width: 12px; height: 12px; position: relative; flex: none; }
.arrow::before, .arrow::after { content: ''; position: absolute; right: 1px; top: 1px; }
.arrow::before { width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { width: 13px; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.mast-cta { min-height: 42px; font-size: 13px; background: rgba(12,23,16,.72); border: 1px solid var(--gold); color: var(--cream); }
.menu-toggle { border: 1px solid var(--line); border-radius: 7px; min-height: 44px; padding: 0 12px; font-size: 13px; }
.menu-toggle i { display: inline-block; width: 14px; height: 7px; margin-left: 5px; border-block: 1px solid; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--stage); border-bottom: 1px solid var(--line); }
.art { position: absolute; z-index: -2; inset: 0; pointer-events: none;
  background: linear-gradient(105deg,#15261a33,#142b5222), url('img/silk.webp') center 68% / cover no-repeat, linear-gradient(110deg,var(--green),var(--blue)); }
.art canvas { display: block; width: 100%; height: 100%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index:-1; pointer-events:none;
  background: linear-gradient(90deg,rgba(12,23,16,.38),transparent 67%),linear-gradient(0deg,rgba(12,23,16,.53),transparent 24%); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center;
  gap: clamp(28px,5vw,92px); padding-block: clamp(30px,3.5vw,66px) clamp(24px,3vw,54px); min-height: 760px; min-height: min(760px, calc(100svh - 150px)); }
.intro { min-width: 0; }
.eyebrow, .console-head h2, .micro, .scroll-link, .motion-toggle, .footer small { font: 500 11px/1.5 var(--mono); letter-spacing: .095em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(20px,2.25vw,36px); color: var(--cream); }
.eyebrow i { width: 27px; height: 1px; background: currentColor; position: relative; flex: none; }
.eyebrow i::before { content: ''; position: absolute; left: 0; width: 5px; height: 5px; top: -2px; background: currentColor; }
.title-box { position: relative; }
h1 { font-size: clamp(48px,5vw,80px); line-height: 1.015; letter-spacing: -.03em; font-weight: 750; margin: 0; }
h1 > span { display: block; }
#letter-dust, #transfer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lede { max-width: 48ch; color: #d2d9c9; font-size: clamp(16px,1.28vw,21px); line-height: 1.55; margin: clamp(23px,2.6vw,38px) 0 0; }
.actions { margin-top: clamp(24px,2.5vw,41px); display: flex; gap: 12px; flex-wrap: wrap; }
.primary { background: rgba(12,23,16,.72); border: 1px solid var(--gold); color: var(--cream); }
.secondary { background: rgba(10,15,28,.68); border: 1px solid #6B7684; }
.console { min-width: 0; border: 1px solid var(--rim); border-radius: 15px;
  background: linear-gradient(135deg,rgba(20,43,82,.70),rgba(21,38,26,.53)),rgba(12,23,16,.24);
  position: relative; box-shadow: 0 26px 66px #02040a6b, inset 0 1px 0 #fff4cd26; }
.console-head { display: flex; justify-content: space-between; align-items: center; padding: 4px clamp(16px,2.1vw,32px); min-height: 52px; border-bottom: 1px solid var(--line); }
.console-head h2 { display: flex; align-items: center; gap: 10px; color: var(--cream); margin: 0; }
.signal { position: relative; display: block; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.signal::before { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 1px solid #e8c15a88; }
.console[data-running] .signal::before { animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { opacity: .9; transform: scale(.65); } to { opacity: 0; transform: scale(1.4); } }
.pause { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--cream); font: 400 12px var(--mono); padding: 4px; }
.pause i { width: 7px; height: 9px; border-inline: 2px solid; }
.pause[data-stopped] i { width: 0; border: 5px solid transparent; border-right: 0; border-left: 7px solid; }
.stage { position: relative; }
.scene { padding: 20px clamp(16px,2.1vw,32px) 22px; }
.scene + .scene { border-top: 1px solid var(--line); }
.console[data-tabs] .scene { border-top: none; min-height: 286px; }
.scene h3 { font-size: clamp(18px,1.65vw,26px); line-height: 1.22; letter-spacing: -.03em; font-weight: 500; margin: 0 0 17px; }
.scene h3 span { color: var(--gold); }
.flow { position: relative; }
.source { min-height: 49px; display: flex; align-items: center; justify-content: center; }
.ledger { border: 1px solid #f0b77e40; border-radius: 5px; background: repeating-linear-gradient(0deg, transparent 0 15px,#f0b77e10 15px 16px), linear-gradient(105deg,#211e20,#201e1a); }
.hand { font: italic 500 clamp(24px,2.25vw,35px)/1.15 'Cormorant Garamond', Georgia, serif; color: #ecd3a1; transform: rotate(-2deg); }
.conduit { height: 26px; width: 1px; position: relative; margin: auto; background: repeating-linear-gradient(var(--gold) 0 2px,transparent 2px 4px); }
.conduit::after { content: ''; position: absolute; bottom: 3px; left: -2px; width: 4px; height: 4px; border: solid var(--gold); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.result { position: relative; }
.record, .digest { border: 1px solid #e8c15a44; border-radius: 7px; padding: 12px 15px; background: linear-gradient(110deg,#21342b,#15242f); }
.record-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.micro { color: var(--cream); font-size: 11px; }
.stamp { color: var(--cream); display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; font: 400 11px/1.4 var(--mono); }
.stamp::before { content: ''; width: 6px; height: 3px; border: solid var(--gold); border-width: 0 0 1px 1px; transform: rotate(-45deg); }
dl, dd, .digest ul { margin: 0; }
dl > div { display: flex; align-items: baseline; gap: 10px; font-size: 13px; line-height: 1.6; }
dt { color: var(--sage); width: 35%; }
dt::after { content: ':'; }
dd { font-weight: 500; }
.post { background: #1c2a32; border: 1px solid var(--rim); color: var(--cream); gap: 10px; border-radius: 5px; font-weight: 500; font-size: 15px; }
.page-mark { border: 1px solid; border-radius: 2px; width: 12px; height: 15px; background: repeating-linear-gradient(0deg,transparent 0 3px,currentColor 3px 4px) center / 6px 8px no-repeat; }
.channels { display: grid; gap: 5px; }
.channels > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 5px; border: 1px solid var(--line); color: var(--cream); background: #18283b; font-size: 14px; }
.channels > div:nth-child(2) { color: var(--sage); background: #192d3c; }
.channels > div:nth-child(3) { color: var(--cream); background: #1a3024; }
.bubbles { gap: 4px; justify-content: space-around; flex-wrap: wrap; }
.bubbles span { font-size: 12px; color: var(--cream); border-radius: 8px 8px 8px 2px; background: #202531; border: 1px solid #6B7684; padding: 4px 7px; }
.bubbles span:nth-child(1) { transform: rotate(-4deg); }
.bubbles span:nth-child(3) { transform: rotate(3deg); }
.digest { font-size: 13px; line-height: 1.4; }
.digest ul { padding: 4px 0 4px 13px; }
.digest li::marker { color: var(--gold); }
.digest small { font: 400 11px/1.4 var(--mono); color: var(--cream); }
.tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0 clamp(16px,2.1vw,32px) 13px; }
.tabs button { position: relative; padding: 12px 0 2px; min-height: 48px; font: 400 11px/1.4 var(--mono); text-align: left; color: var(--sage); }
.tabs button span { display: block; }
.tabs button::before, .tabs i { content: ''; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: #6B7684; }
.tabs i { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tabs [aria-selected="true"] { color: var(--cream); }
.tabs [aria-selected="true"]::before { background: #8a7c50; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; padding-block: 0 15px; }
.scroll-link, .motion-toggle { color: var(--sage); min-height: 44px; display: inline-flex; align-items: center; gap: 9px; font-size: 11px; }
.scroll-link i { font: normal 18px/1 Montserrat,sans-serif; color: var(--cream); }
.motion-toggle { text-transform: none; letter-spacing: .025em; padding: 0; }
.motion-toggle i { border: 1px solid currentColor; border-radius: 12px; width: 24px; height: 14px; position: relative; }
.motion-toggle i::after { content: ''; position: absolute; width: 6px; height: 6px; background: currentColor; border-radius: 50%; left: 3px; top: 3px; }
.motion-toggle[aria-pressed="true"] { color: var(--cream); }
.motion-toggle[aria-pressed="true"] i::after { transform: translateX(10px); }
.services { padding-block: clamp(48px,6vw,96px); }
.services-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 27px; }
.services h2 { font-size: var(--section-heading); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; margin: 0; }
.services-head a { display: inline-flex; gap: 9px; align-items: center; color: var(--cream); padding-block: 11px; font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(16px,2vw,32px); }
.service-grid article { position: relative; isolation: isolate; overflow: hidden; grid-column: span 2; padding: clamp(21px,2.25vw,42px); border: 1px solid var(--rim); border-radius: 10px; background: linear-gradient(130deg,rgba(28,51,67,.82),rgba(21,38,26,.67)); }
.service-grid article:nth-child(-n+2) { grid-column: span 3; }
.service-grid article::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: 0; background: radial-gradient(ellipse at 13% 0,#e8c15a19, transparent 75%); transition: opacity .24s var(--ease); }
.service-grid svg { width: 88px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-grid article:nth-child(even) svg { stroke: var(--sage); }
.service-grid h3 { font-size: clamp(22px,2.1vw,36px); font-weight: 500; line-height: 1.18; letter-spacing: -.03em; margin: 18px 0 9px; }
.service-grid p { margin: 0; max-width: 49ch; color: var(--sage); line-height: 1.55; }
article:target::before { opacity: 1; }
.footer { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding-block: 24px; color: var(--sage); }
.footer p { margin: 0; font-size: 14px; }
.footer small { font-size: 11px; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover, .scroll-link:hover, .motion-toggle:hover, .pause:hover { color: var(--cream); }
  .button:hover { transform: translateY(-2px); }
  .service-grid article:hover::before { opacity: 1; }
}
.button:active, button:active { transform: scale(.98); }
@media (max-width: 1180px) {
  .mast-inner { flex-wrap: wrap; gap: 10px; min-height: 68px; padding-block: 8px; }
  .brand { margin-right: auto; }
  .nav { order: 1; width: 100%; flex-wrap: wrap; }
  .mast[data-menu] .nav { position: absolute; z-index: 4; top: 100%; left: 0; background: var(--stage); padding: 12px 4vw; box-shadow: 0 12px 25px #0006; border-bottom: 1px solid var(--line); }
  .mast[data-menu]:not([data-open]) .nav { display: none; }
}
@media (min-width: 1181px) { .menu-toggle { display: none; } }
@media (min-width: 801px) and (max-width: 1040px) {
  .hero-grid { gap: 24px; grid-template-columns: minmax(0,1.14fr) minmax(0,1fr); }
  h1 { font-size: 6.05vw; }
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 52px; padding-block: 54px 20px; min-height: auto; }
  .console { width: min(100%,560px); margin: 0; justify-self: end; }
  h1 { font-size: clamp(52px,9.3vw,76px); }
  .title-box { max-width: 650px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid article, .service-grid article:nth-child(-n+2) { grid-column: auto; }
  .service-grid article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .mast-cta { display: none; }
  .brand { gap: 8px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 11px; }


  .hero-grid { padding-top: 42px; gap: 35px; }
  .eyebrow { font-size: 11px; letter-spacing: .067em; gap: 7px; margin-bottom: 20px; }
  .eyebrow i { width: 16px; }
  h1 { font-size: clamp(46px,12vw,64px); }
  .lede { font-size: 16px; }
  .actions { gap: 8px; }
  .actions .button { font-size: 13px; padding-inline: 13px; gap: 9px; }
  .scene h3 { font-size: 19px; }
  .console[data-tabs] .scene { min-height: 280px; }
  .tabs button { font-size: 11px; }
  .service-grid { grid-template-columns: minmax(0,1fr); }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
html[data-still] *, html[data-still] *::before, html[data-still] *::after { animation: none !important; transition: none !important; }

.title-pending #headline { opacity: .055; }
#letter-dust { inset: auto; top: 0; left: 0; }
.console[data-tabs] .stage { display: grid; min-height: var(--stage-height, 0px); align-items: start; }
.console[data-tabs] .scene {
  grid-area: 1 / 1; opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .28s var(--ease), transform .34s var(--ease);
}
.console[data-tabs] .scene[data-active] { opacity: 1; transform: none; pointer-events: auto; }
.record .stamp { position: relative; transform-origin: center; }
.record .stamp::after { content: ''; position: absolute; inset: -4px -7px; border-radius: 99px;
  border: 1px solid var(--cream); opacity: var(--flash,0); transform: scale(var(--ring-scale,1)); }
.glass-edge { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; overflow: hidden;
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .2s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.glass-edge::before { content: ''; position: absolute; top: 0; left: 0; width: 300px; height: 300px;
  background: radial-gradient(closest-side, #fff4cd, #e8c15a85 45%, transparent);
  transform: translate3d(var(--glint-x,0px),var(--glint-y,0px),0); }
.console[data-tilt] .glass-edge { opacity: 1; }
.console-head h2 { column-gap: .45em; }
.signal { margin-right: 4px; }
.services { position: relative; }
.service-grid article::before { width: 400px; height: 400px; inset: 0 auto auto 0;
  transform: translate3d(var(--light-x,-130px),var(--light-y,-200px),0);
  background: radial-gradient(closest-side,#e8c15a26,transparent); }
.hero[data-live] .scroll-link i { animation: descend 2.5s ease-in-out infinite; }
@keyframes descend { 0%, 65%, 100% { transform: none; } 34% { transform: translateY(3px); } }
@media (min-width: 801px) {
  .console { -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
    transition: transform .18s var(--ease); }
}
@media (max-width: 800px) {
  .console { background-color: rgba(12,23,16,.55); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) { .title-pending #headline { opacity: 1; } }
html[data-still] #headline { opacity: 1; }
.console[data-measure] { transition: none !important; transform: none !important; }

.journey { position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(113deg,var(--stage),var(--green) 50%,#11253d); }
.route-map { position:absolute; inset:0; z-index:2; width:100%; height:100%; overflow:hidden; pointer-events:none; }
.route-map path, .route-map circle { vector-effect:non-scaling-stroke; }
.route-bed, .route-ink, .route-branches path { fill:none; stroke:var(--gold); stroke-linejoin:round; stroke-linecap:round; }
.route-bed { stroke-width:1; opacity:.13; }
.route-ink { stroke-width:1.3; opacity:.82; }
.route-branches path { stroke-width:1; opacity:.62; }
.route-nodes circle { transform-box:fill-box; transform-origin:center; fill:var(--stage); stroke:var(--gold); stroke-width:1.1; }
.route-lights .spark { fill:#fff4c6; filter:drop-shadow(0 0 4px #e8c15a); }
.route-lights .tail { fill:var(--gold); }
.route-lights .echo { fill:none; stroke:var(--gold); stroke-width:1.3; }
.route-lights { pointer-events:none; }
.header-mark { width:clamp(34px,3.4vw,52px); height:auto; flex:none; }
.brand strong, .signature-lockup { font-family:'Cormorant SC',Georgia,serif; }
.brand strong { font-size:clamp(18px,1.55vw,25px); line-height:1.03; letter-spacing:-.015em; font-weight:700; }
.brand b { color:var(--cream); font-weight:600; }
.mast { background:linear-gradient(110deg,#112219,#101f2e); }
.instrument { width:100%; max-width:600px; justify-self:end; min-width:0; }
.signature { position:relative; margin-bottom:clamp(22px,2vw,38px); }
.signature img { width:clamp(150px,14.4vw,224px); height:auto; display:block; margin-left:4%; }
.eyebrow, .console-head h2 { color:var(--sage); }
.eyebrow i, .signal { color:var(--gold); }
.eyebrow i { background:var(--gold); }
.button.primary .arrow, .mast-cta .arrow { color:var(--gold); }
.services h2, .service-grid h3, .scene h3 { font-weight:700; }
.service-grid article { padding-top:clamp(32px,3.0vw,50px); }
.footer { margin-top:2px; padding-block:clamp(32px,4vw,72px); align-items:center; }
.footer p { max-width:38ch; }
.signature-lockup { display:flex; gap:clamp(14px,1.7vw,30px); align-items:center; }
.signature-lockup img { width:clamp(93px,10.4vw,156px); height:auto; }
.signature-lockup strong, .signature-lockup span { display:block; }
.signature-lockup strong { color:var(--cream); font-weight:700; font-size:clamp(28px,2.7vw,44px); line-height:1.05; }
.signature-lockup span { color:var(--sage); font-size:clamp(17px,1.5vw,23px); }
@media (max-width:800px) {
  .instrument { max-width:560px; }
  .signature img { width:clamp(128px,24vw,170px); }
  .art { background-position:61% bottom; }
  .hero::before { background:linear-gradient(105deg,rgba(12,23,16,.42),transparent); }
}
@media (max-width:540px) {
  .brand strong { font-size:16px; }
  .brand { gap:6px; }
  .header-mark { width:31px; }
  .menu-toggle { width:44px; padding:0; }
  .menu-toggle i { margin:0; }
  .menu-toggle span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .actions .button { padding-inline:8px; gap:7px; }
  h1 { font-size:clamp(41px,10.8vw,58px); }
  .hero-grid { gap:23px; }
  .footer { align-items:flex-start; }
}
