/* Neutral foundations; contextual popups carry their source field color. */
:root {
  --ui-bg: #09090b;
  --ui-surface: #101115;
  --ui-raised: #17181e;
  --ui-field: #0b0c10;
  --ui-line: #343640;
  --ui-line-soft: #272930;
  --ui-text: #f2f2f5;
  --ui-muted: #a7a8b1;
  --ui-label: #b9bbc6;
  --ui-accent: #b7cafa;
  --ui-radius: 6px;
  --ui-control-radius: 4px;
  --ink: var(--ui-text);
  --muted: var(--ui-muted);
  --quiet: #898b98;
  --workspace: var(--ui-surface);
  --workspace-line: var(--ui-line);
  --workspace-muted: var(--ui-muted);
  --workspace-accent: var(--ui-accent);
}
html, body { background: var(--ui-bg); color: var(--ui-text); }
::selection { background: #39445f; color: #fff; }
:is(a,button,input,select,textarea,summary):focus-visible {
  outline: 2px solid var(--ui-accent); outline-offset: 4px;
}
.ring-page em { color: var(--ui-muted); }
.ring-page :is(.eyebrow,.surface-label,.step-number) { color: var(--ui-label); }
.ring-page :is(.text-link,.surface-link,.header-talk span) { color: var(--ui-label); }
.ring-page :is(.text-link,.surface-link):hover { color: #fff; }
.ring-page :is(.plan-surface li,.scope-list li)::before { color: var(--ui-label); }
.ring-page .faqs summary { color: var(--ui-text); }

/* All active work surfaces share the same finish. Editorial ring panels stay clear. */
dialog, .mobile-nav, .agent-entry, .agent-peek, .agent-pocket, .agent-bar,
.discovery-console .discovery-workspace, .booking-layout, .booking-receipt,
.room-scope, #booking-unavailable {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  color: var(--ui-text);
  box-shadow: none;
}
dialog, .agent-peek, .agent-pocket { box-shadow: 0 24px 80px #0008; }
dialog::backdrop { background: #050507bc; backdrop-filter: blur(12px); }
.dialog-top { padding-bottom: 20px; border-bottom: 1px solid var(--ui-line-soft); }
.ring-page dialog h2 { font-size: clamp(30px,3vw,39px); letter-spacing: -.045em; }
.dialog-intro, #plan-description, .form-notice,
.booking-help, .platform-note { color: var(--ui-muted); }
.agent-pocket-top, .agent-context-heading, .agent-pocket-form { border-color: var(--ui-line-soft); }
.agent-guide, .agent-message, .discovery-message,
.discovery-message[data-role=user], .agent-message[data-role=user] {
  background: var(--ui-raised); border-color: var(--ui-line-soft);
  border-radius: var(--ui-control-radius); color: var(--ui-text);
}

/* Shared input geometry, typography, contrast and focus for every form. */
:is(#brief-form,#booking-form,.discovery-workspace)
  :is(input:not([type=hidden]):not([type=checkbox]),select,textarea) {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-control-radius);
  background: var(--ui-field);
  color: var(--ui-text);
  font-size: 14px; line-height: 1.5;
  min-height: 46px; padding: 11px 13px;
}
:is(#brief-form,#booking-form,.discovery-workspace) label {
  color: var(--ui-label); font-size: 12px; line-height: 1.6;
}
:is(input,textarea)::placeholder { color: #858895; opacity: 1; }
input[type=checkbox] { accent-color: var(--ui-accent); }
.booking-toolbar select {
  background: var(--ui-field); color: var(--ui-text);
  border-color: var(--ui-line); border-radius: var(--ui-control-radius);
}
.catalog-search, .agent-pocket-composer, .idea-composer {
  border-color: var(--ui-line); border-radius: var(--ui-control-radius);
  background: var(--ui-field);
}
.catalog-search input, .idea-composer input, .agent-pocket-composer textarea {
  background: transparent; color: var(--ui-text);
}
.agent-pocket-composer:focus-within, .idea-composer:focus-within,
.catalog-search:focus-within { outline: 2px solid var(--ui-accent); outline-offset: 4px; }
.agent-options, .scope-review-row, .scope-principles,
.scope-summary li, .discovery-progress { border-color: var(--ui-line-soft); }

.button, .button.primary, .button.secondary, .booking-layout .button {
  border-radius: var(--ui-control-radius); box-shadow: none;
}
.button.primary, .booking-layout .button {
  background: #e4e6ee; color: #17181e;
}
.button.primary:hover, .booking-layout .button:hover { background: #fff; box-shadow: none; }
.button.secondary { background: var(--ui-raised); border: 1px solid var(--ui-line); color: var(--ui-text); }
.button.primary:disabled, .booking-layout .button:disabled { background: #292c35; color: #969ba9; }
.category-filters button, .catalog-pagination button, .discovery-suggestions button {
  border-color: var(--ui-line); border-radius: var(--ui-control-radius);
  background: var(--ui-field); color: var(--ui-label);
}
.category-filters button[aria-pressed=true] {
  border-color: var(--ui-accent); color: var(--ui-text); background: #171c2a;
}
.service-card-actions button, .service-card h3 a:hover, .hero-prompts a,
.scope-review-row dt, .agent-message small, .discovery-message small { color: var(--ui-label); }
.context-seam { border-top-color: var(--ui-line-soft); }
.context-seam-line { background: var(--ui-accent); }
.discovery-progress [aria-current] { color: var(--ui-accent); }
@media(max-width:760px) {
  :is(#brief-form,#booking-form,.discovery-workspace)
    :is(input:not([type=hidden]):not([type=checkbox]),select,textarea) { font-size: 16px; }
}

.room-stage { border-color: var(--ui-line); border-radius: var(--ui-radius); }

/* A working surface is a resolved ring. Geometry comes from the page field. */
:root { --ui-radius:18px; --ui-control-radius:8px; }
.ring-page .contour-surface {
  border-color:transparent; border-radius:var(--ui-radius);
  background:transparent;box-shadow:none;isolation:isolate;
}
.booking-calendar,.booking-details,.booking-receipt,.room-scope,.catalog-search { position:relative; }
.contour-surface > :not(svg):not(video) { position:relative; z-index:1; }
.contour-surface[data-surface-state=waiting] > :not(svg),
.contour-surface[data-surface-state=forming] > :not(svg) { opacity:var(--surface-content-opacity,0); }
.contour-surface[data-surface-state=forming] { will-change:clip-path; }
.contour-surface.agent-pocket { animation:none; }
.surface-contours,.field-contour,.choice-contour,.time-handoff {
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;
  overflow:visible;z-index:2;
}
.surface-contours { overflow:hidden;z-index:0; }
.surface-contours path,.field-contour path,.choice-contour path { stroke-linecap:round;stroke-linejoin:round; }
.surface-contours .contour-fill { fill:#0f1014;fill-opacity:.99;stroke:none; }
.contour-edge { stroke:#bdc5d8;stroke-width:1;opacity:.42; }
.contour-echo { stroke:#b1c5ed;stroke-width:.65;opacity:.13; }
.contour-shine {
  stroke:#e8edf9;stroke-width:1.5;stroke-dasharray:8 20 2 70;stroke-dashoffset:11;
  opacity:.45;filter:drop-shadow(0 0 3px #bed1ff80);transition:opacity .3s;
}
.contour-engaged .contour-shine { opacity:1; }
.contour-engaged .contour-edge { opacity:.68; }
.field-contour,.choice-contour { opacity:0;transition:opacity .18s; }
.field-contour.is-visible,.choice-contour.is-visible { opacity:1; }
.contour-focus { stroke:#c5d6fa;stroke-width:1.1;filter:drop-shadow(0 0 2px #b7cafa44); }
.contour-track { position:relative; }
.contour-choice { stroke:#d9e3fa;stroke-width:1.2;filter:drop-shadow(0 0 2px #c8d6f344); }
/* The two working panels are separate shapes, connected through the same field. */
.ring-page .booking-layout {
  gap:24px;border:0;background:none;overflow:visible;isolation:isolate;
}
.booking-calendar.contour-surface,.booking-details.contour-surface { padding:34px; }
.time-handoff { opacity:0;transition:opacity .2s;z-index:3; }
.time-handoff.is-visible { opacity:.7; }
.booking-calendar.contour-surface { border-right:0; }
.ring-page .discovery-console { border-top:0; }
.discovery-console>.discovery-modes { border:0;background:transparent;gap:8px;padding:8px 0; }
.discovery-console .discovery-modes button {
  border:0;background:transparent;min-height:60px;padding:0 24px;
  transition:color .2s;flex:1;justify-content:center;
}
.discovery-console .discovery-modes [aria-selected=true] { background:#c4d0eb05; }
.discovery-modes .contour-choice { stroke:#c3cee6;stroke-width:1; }
.discovery-modes button span { display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #81899940;border-radius:50%; }
.discovery-modes [aria-selected=true] span { border-color:#d7e0f38c;color:#e7eaf2; }
.discovery-progress { padding-bottom:17px;gap:6px; }
.discovery-progress li { padding:10px 12px; }
.discovery-progress .contour-choice { stroke:#b7cafa88;stroke-width:.8; }
/* Calendar controls retain their spacing; selected day/time use the shared ring. */
#booking-days.ring-selection-group { padding:4px 0;gap:8px; }
#booking-days.ring-selection-group button {
  border:0;background:transparent;box-shadow:none;border-radius:50%;
  padding:17px 2px;gap:6px;min-height:106px;
}
#booking-days.ring-selection-group button[aria-pressed=true] { background:#ef9f2706;color:#e8e6e0; }
#booking-days .contour-choice { stroke:#efb055;stroke-width:1.25;filter:drop-shadow(0 0 3px #ef9f274a); }
#booking-slots.ring-selection-group { gap:10px;margin:25px 0; }
#booking-slots.ring-selection-group button { background:transparent;border-color:#b7cafa20;border-radius:11px;min-height:43px; }
#booking-slots.ring-selection-group button[aria-pressed=true] { color:#f4f5fa;background:#c2d5ff0c;border-color:transparent; }
.booking-time { padding:15px 0 20px;margin-bottom:24px;min-height:63px; }
.booking-time::before {
  content:'';display:inline-block;width:12px;height:12px;border:1px solid #788295;
  border-radius:50%;margin-right:10px;vertical-align:-2px;transition:border-color .3s,box-shadow .3s;
}
.booking-details[data-time-selected] .booking-time::before { border-color:#d6e1f7;box-shadow:0 0 0 4px #b7cafa0d,0 0 10px #b7cafa30; }
.booking-details[data-time-selected] .booking-time { border-bottom-color:transparent;padding:15px 14px 20px; }
.booking-details[data-time-selected] .contour-shine { opacity:.85; }
.ring-page .contour-surface :is(input,select,textarea):focus-visible { outline:none; }
.ring-page .contour-surface input[type=checkbox]:focus-visible { outline:2px solid var(--ui-accent); }
.contour-surface :is(input,select,textarea):focus { border-color:#77849f!important; }
.contour-surface dialog { isolation:isolate; }
@media(max-width:1000px){
 .booking-calendar.contour-surface,.booking-details.contour-surface{padding:28px 24px}
 .discovery-progress li{padding:9px 7px}
}
@media(max-width:760px){
 .ring-page .booking-layout{gap:24px}
 .booking-layout::after{display:none}
 .discovery-console .discovery-modes button{padding:10px 7px;gap:7px;min-height:76px;justify-content:stretch;justify-items:center;text-align:center}
 .discovery-progress{font-size:8px;gap:0}.discovery-progress li{padding:9px 6px}
}
@media(max-width:440px){
 .booking-calendar.contour-surface,.booking-details.contour-surface{padding:26px 20px}
 #booking-days.ring-selection-group{gap:3px}#booking-days.ring-selection-group button{min-height:94px;padding:14px 1px}
 #booking-days strong{font-size:21px}#booking-slots.ring-selection-group{gap:8px}
 .discovery-console .discovery-modes{gap:3px}.discovery-console .discovery-modes button{font-size:10px}
}
@media(max-width:360px){#booking-days.ring-selection-group{gap:2px}}
@media(prefers-reduced-motion:reduce){
 .field-contour,.choice-contour,.contour-shine{transition:none}
}

/* Content assembly: empty canvas → choice → only the parts that choice needs. */
.assembly-flight{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:11;overflow:visible}
.assembly-flight path{stroke-linejoin:round;filter:drop-shadow(0 0 2px #ffffff15)}
.ring-page .assembly-piece{--piece-tone:#e8e6e0;position:relative;min-width:0;isolation:isolate;padding:26px;border:1px solid color-mix(in srgb,var(--piece-tone) 32%,transparent);border-radius:16px;background:#101115f5;box-shadow:none}
.ring-page .assembly-piece[data-material=forming]{border-color:transparent;background:transparent;will-change:clip-path}
.ring-page .assembly-piece .eyebrow{color:#aeb0b9;font:9px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;margin:0 0 17px}
.assembly-piece>.eyebrow:before{content:'';display:inline-block;width:14px;height:7px;border:1px solid var(--piece-tone);border-bottom:0;border-radius:100% 100% 0 0;margin-right:9px;opacity:.8}
.ring-page .assembly-piece h2{font-size:clamp(24px,2.4vw,32px);margin:0 0 18px;line-height:1.12;letter-spacing:-.04em}
.ring-page .assembly-intro{font-size:13px;line-height:1.7;color:#a6a8b2;margin:0 0 22px}
.ring-page .booking-calendar,.ring-page .booking-details{padding:0;border:0;background:transparent;min-width:0}
.ring-page .booking-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start;overflow:visible;min-height:380px}
.ring-page #booking-form{display:block}.ring-page #booking-flow{display:grid;gap:16px}
.assembly-route{display:flex;gap:22px;flex-wrap:wrap;margin:2px 0 23px;color:#727580;font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;position:relative;z-index:12}
.assembly-route [aria-current=true]{color:#e3e4ea}.assembly-route [aria-current=true]:before{content:'↳ ';color:#e8e6e0}
.calendar-piece .booking-toolbar{margin:28px 0 20px}.calendar-piece #booking-days{gap:6px}
.calendar-context{padding:32px 25px;display:flex;gap:18px;align-items:start;color:#d7d9df;font-size:14px;line-height:1.8}.calendar-context span{color:#92959f;font-size:12px}.calendar-context p{margin:0}.field-thread{display:block;width:28px;height:38px;border-left:1px solid #ef9f2780;border-bottom:1px solid #ef9f2780;border-radius:0 0 0 20px;flex:none}
.booking-layout [data-piece=times] #booking-slots{margin:0 0 20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.booking-layout [data-piece=times] #booking-slots button{min-height:44px;border-radius:8px}
.booking-layout .assembly-piece label{font-size:12px;margin-bottom:18px;line-height:1.6}
.booking-layout .assembly-piece .button{width:100%;margin-top:6px;border-radius:8px;min-height:46px}
.booking-layout .assembly-piece select{max-width:none;width:100%;min-height:44px}
.ring-page .selection-piece,.ring-page .answer-piece{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px}
.selection-piece p,.answer-piece p{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.selection-piece .eyebrow,.answer-piece .eyebrow{margin-bottom:7px!important;font-size:8px!important}
.selection-piece .text-link,.answer-piece .text-link{font-size:11px;white-space:nowrap;padding:8px 0;flex:none}
#booking-time{border:0;padding:0;margin:0;min-height:0;color:#eceef4}#booking-time:before{display:none}
#booking-contact-field .assembly-piece{padding:18px;margin-bottom:18px;border-radius:10px}
#booking-contact-field label:last-child{margin-bottom:0}
.booking-capabilities{margin:16px 0}.booking-capabilities:empty{margin:0}
.booking-status:empty{display:none}
/* The brief has no enclosing painted panel. Each live piece owns its material. */
.ring-page .discovery-console .discovery-workspace{background:transparent;border:0;border-radius:0;overflow:visible}
.ring-page .discovery-workspace #guide-panel{padding:0}
.discovery-workspace .discovery-progress{border:0;margin-bottom:20px;font-size:10px}
.discovery-workspace fieldset{display:flex;flex-direction:column;gap:18px}
.discovery-workspace legend{font-size:28px;margin-bottom:24px}
.discovery-workspace .brief-piece{width:100%;padding:26px}
.discovery-workspace .brief-piece label:last-child{margin-bottom:0}
.discovery-workspace .brief-piece input,.discovery-workspace .brief-piece select,.discovery-workspace .brief-piece textarea{border-radius:8px}
.brief-piece .text-link{font-size:12px;padding:12px 0;min-height:40px}.brief-piece .brief-context{font-size:13px;line-height:1.7;margin:0 0 20px;color:#c2c4cd}
.discovery-workspace .brief-piece .assembly-intro{margin-top:16px}
.discovery-workspace .discovery-controls{padding:0 4px;margin-top:24px}
.assembly-history{display:grid;gap:12px;margin:24px 0}.assembly-history:empty{display:none}
.ring-page .assembly-answer{padding:18px;border-radius:12px}.assembly-answer>p:not(.eyebrow){font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin:0 0 12px;max-height:160px;overflow:auto;white-space:pre-wrap}.assembly-answer .eyebrow{margin-bottom:10px!important}
#chat-panel{border:1px solid #c3cadc40;border-radius:16px;background:#101115f5}
@media(max-width:900px){.ring-page .assembly-piece{padding:22px}.ring-page .booking-layout{gap:20px}.ring-page .selection-piece,.ring-page .answer-piece{padding:18px;gap:12px}.assembly-route{gap:18px;font-size:9px}}
@media(max-width:760px){.ring-page .booking-layout{grid-template-columns:1fr;min-height:0}.calendar-context{padding:20px 15px 0}.booking-details:empty{display:none}.discovery-workspace legend{font-size:25px}.discovery-workspace .brief-piece{padding:22px}.discovery-workspace .discovery-progress{font-size:9px}.assembly-route{justify-content:space-between;gap:8px}.booking-layout input,.booking-layout textarea,.booking-layout select{font-size:16px!important}.assembly-answer>p:not(.eyebrow){max-height:none}}
@media(prefers-reduced-motion:reduce){.assembly-flight{display:none}.assembly-piece{clip-path:none!important}}
/* Prevent the browser from anchoring to a disappearing form or a lower receipt. */
.discovery-page,.meeting-page{overflow-anchor:none}
.ring-page .calendar-piece{padding:0;border:0;background:none}
.calendar-piece>h2,.calendar-piece>.eyebrow,.calendar-piece>.assembly-intro{padding-inline:6px}
.calendar-piece>.eyebrow{font:9px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;color:#aeb0b9;margin-bottom:15px}
.calendar-piece .calendar-tools{padding:20px 24px;margin:24px 0 14px}
.calendar-piece .calendar-tools .booking-toolbar{margin:0;align-items:center;gap:16px}
.calendar-piece .calendar-tools label{margin:0;flex:1;max-width:210px}
.calendar-piece .calendar-dates{padding:18px 20px}
.calendar-piece #slot-status{padding:0 6px;margin:14px 0 0}
.ring-page .scope-summary{border:0!important;background:none!important;padding:16px 4px 16px 22px}
@media(max-width:1000px){.calendar-piece .calendar-tools .booking-toolbar{flex-direction:column;align-items:stretch}.calendar-piece .calendar-tools label{max-width:none}.calendar-piece .calendar-tools .week-controls{justify-content:space-between}}
@media(max-width:760px){.calendar-piece .calendar-tools{padding:20px}.calendar-piece .calendar-dates{padding:16px}.ring-page .scope-summary{padding:28px 0 0!important;border-top:1px solid #c2c9d825!important}}
.calendar-context:has(#stop-reschedule){flex-wrap:wrap}.calendar-context #stop-reschedule{font-size:12px;margin-left:46px}

/* A light invitation below the header; the lower field stays unobstructed. */
html:has(.has-context-agent){scroll-padding-bottom:24px;scroll-padding-top:132px}
.has-context-agent{padding-bottom:0}
.context-agent .agent-bar{
 top:calc(82px + env(safe-area-inset-top));bottom:auto;width:min(390px,calc(100% - 28px));
 min-height:44px;padding:0 13px;gap:13px;background:#10111566;
 border:1px solid #c4cadd30;border-radius:24px;box-shadow:none;backdrop-filter:blur(14px);
}
.agent-bar-invite{min-height:44px;gap:10px}.agent-bar-invite strong{font-size:11px}
.agent-bar-invite small{display:none}.agent-bar-rule{height:18px}
.agent-bar-scope{min-height:44px}.agent-bar-scope span{border:0;border-radius:50%;background:#c6cbd512}
.agent-signal{height:18px;transform:scale(.7);transform-origin:center}
.context-agent .agent-pocket{top:138px!important;bottom:auto!important;max-height:calc(100dvh - 154px - env(safe-area-inset-bottom))}
@media(max-width:600px){
 .context-agent .agent-bar{top:calc(72px + env(safe-area-inset-top));padding:0 13px;width:min(360px,calc(100% - 24px))}
 .context-agent .agent-pocket{top:124px!important;bottom:auto!important;max-height:calc(100dvh - 140px - env(safe-area-inset-bottom))}
}

/* A popup carries the material of the ring panel that opened it. The same tint
   fills the whole forming path, settled surface, inner panels and controls. */
.ring-page [data-surface-tone]{
 --ui-surface:color-mix(in srgb,var(--surface-tone) 5%,#101115);
 --ui-raised:color-mix(in srgb,var(--surface-tone) 3.75%,#17181e);
 --ui-field:color-mix(in srgb,var(--surface-tone) 2.5%,#0b0c10);
 --ui-line:color-mix(in srgb,var(--surface-tone) 58%,#343640);
 --ui-line-soft:color-mix(in srgb,var(--surface-tone) 28%,#272930);
 --ui-accent:color-mix(in srgb,var(--surface-tone) 76%,#fff);
 border-color:var(--ui-line);
}
.ring-page [data-surface-tone]:not(.contour-surface),
.ring-page [data-surface-tone][data-surface-state=ready]{background:var(--ui-surface)}
.ring-page [data-surface-tone]>.surface-contours .contour-fill{fill:var(--ui-surface);fill-opacity:1}
.ring-page [data-surface-tone]>.surface-contours .contour-edge{stroke:var(--surface-tone);opacity:.75}
.ring-page [data-surface-tone]>.surface-contours .contour-echo{stroke:var(--surface-tone);opacity:.25}
.ring-page [data-surface-tone]>.surface-contours .contour-shine{stroke:var(--ui-accent);filter:drop-shadow(0 0 3px var(--surface-tone));opacity:.8}
.ring-page [data-surface-tone] .contour-focus{stroke:var(--ui-accent);filter:drop-shadow(0 0 2px var(--surface-tone))}
.ring-page [data-surface-tone] :is(.agent-overline,.dialog-top .eyebrow){color:var(--ui-accent)}
.ring-page [data-surface-tone] :is(.agent-pocket-composer,.agent-guide-answer){background:var(--ui-field);border-color:var(--ui-line-soft)}
.ring-page [data-surface-tone] :is(input,textarea,select):focus{border-color:var(--ui-accent)!important}

/* One transparent mark, in the header, assistant and independently forming surfaces. */
.brand-mark{display:block;width:34px;height:34px;flex:none;overflow:visible}
.wordmark{gap:10px}.footer .brand-mark{width:32px;height:32px}
.agent-signal{display:block;width:27px;height:27px;transform:none;flex:none}
.agent-signal .brand-mark{width:27px;height:27px}
.surface-contours .contour-channel{fill:none;stroke-linecap:round;stroke-linejoin:round}
.surface-contours .contour-channel[data-active=true]{filter:drop-shadow(0 0 2px var(--surface-tone))}
/* Do not paint a rectangle behind the opening logo. Its actual aperture grows. */
.ring-page [data-surface-tone].contour-surface[data-surface-state=forming]{background:transparent;backdrop-filter:none}
.ring-page .mobile-nav.contour-surface{padding:29px;gap:21px}
@media(max-width:760px){.header .brand-mark{width:30px;height:30px}.header .wordmark{gap:8px}.header .brand-name{font-size:20px}}

/* Fluid surfaces: a control lends its rings; a continuous volume grows from it.
   The surface owns its fill throughout. No rectangle, CSS entrance or shadow
   can precede that material. Typography moves with it at its native size. */
.ring-page .fluid-surface.contour-surface,
.ring-page .fluid-surface.contour-surface[data-surface-state=ready]{
 background:transparent;backdrop-filter:none;box-shadow:none;border-color:transparent;
 border-radius:22px;animation:none;transition:none;overflow:visible;
}
.fluid-surface>.surface-contours{overflow:visible;filter:drop-shadow(0 16px 25px #0005)}
.fluid-surface>.surface-contours .contour-fill{fill:var(--ui-surface)}
.fluid-surface>:not(svg){
 opacity:var(--fluid-opacity,1)!important;
 translate:var(--fluid-x,0px) var(--fluid-y,0px);
}
.fluid-surface[data-surface-state=waiting]>:not(svg){opacity:0!important}
.fluid-surface:is([data-surface-state=forming],[data-surface-state=closing]){will-change:clip-path}
.fluid-surface[data-surface-state=closing]{pointer-events:none}
.fluid-surface[data-surface-state=ready]{overflow:hidden}
.fluid-surface.agent-pocket{overflow:visible}
.ring-page .mobile-nav.fluid-surface{
 position:absolute;left:max(44px,calc((100vw - 1192px)/2));right:auto;top:76px;
 width:320px;max-width:calc(100vw - 32px);padding:26px 28px;gap:0;z-index:80;
}
.mobile-nav.fluid-surface>a{display:flex;align-items:center;min-height:51px;font-size:16px;letter-spacing:-.025em;border-bottom:1px solid #c4cadd13}
.mobile-nav.fluid-surface>a:last-of-type{border:0;color:#eeeef3}
.header .menu-toggle{position:relative;display:grid;width:44px;height:44px;background:none;margin-left:20px;flex:none}
.menu-glyph{position:relative;width:20px;height:12px;display:block}
.menu-glyph i{position:absolute;left:0;width:20px;height:1.5px;background:#e8e6e0;top:2px;transition:rotate .25s,translate .25s}
.menu-glyph i:last-child{top:9px}
.menu-toggle[aria-expanded=true] .menu-glyph i{rotate:45deg;translate:0 3.5px}
.menu-toggle[aria-expanded=true] .menu-glyph i:last-child{rotate:-45deg;translate:0 -3.5px}
@media(max-width:760px){
 .ring-page .mobile-nav.fluid-surface{top:72px;left:16px;right:auto;width:calc(100vw - 32px);max-height:calc(100dvh - 92px);overflow-y:auto}
 .header .menu-toggle{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.menu-glyph i{transition:none}.fluid-surface>:not(svg){translate:none}}
.ring-page dialog.fluid-surface[data-surface-state=ready]{overflow-y:auto;overflow-x:hidden;background:var(--ui-surface)}
dialog.fluid-surface::backdrop{background:rgb(5 5 7 / calc(var(--fluid-backdrop,1) * .72));backdrop-filter:blur(calc(var(--fluid-backdrop,1) * 10px))}
.ring-page .fluid-surface.contour-surface[data-surface-state=ready]{overflow:hidden}
.ring-page dialog.fluid-surface.contour-surface[data-surface-state=ready]{overflow-y:auto;overflow-x:hidden;background:var(--ui-surface)}
@media(max-width:760px){.ring-page .mobile-nav.fluid-surface.contour-surface[data-surface-state=ready]{overflow-y:auto}}
/* The menu's origin is the header logo outside its final rectangle. Keep that
   whole journey visible; only the settled, scrollable menu clips its content. */
.ring-page .mobile-nav.fluid-surface.contour-surface:is([data-surface-state=forming],[data-surface-state=closing]){overflow:visible}

/* One long swell passes from orange → pink → teal → blue → white.
   Animate light only: the contours keep their geometry and native hit targets. */
.ring-page :is([data-ring-heartbeat=running],[data-ring-heartbeat=paused]) > .surface-contours .contour-channel {
 filter:brightness(1.15) drop-shadow(0 0 3px var(--beat-color));
 animation:contour-color-flow 15s ease-in-out infinite;
 animation-delay:calc(var(--beat-index) * 3s - 15s);
 animation-play-state:paused;
}
.ring-page [data-ring-heartbeat=running] > .surface-contours .contour-channel { animation-play-state:running; }
@keyframes contour-color-flow {
 0%,40%,100% { opacity:min(.98,calc(var(--beat-base,.22) + var(--beat-response,0) + var(--intent-light,0))); }
 20% { opacity:min(.98,calc(var(--beat-base,.22) + var(--beat-response,0) + var(--intent-light,0) + .82)); }
}
@media(prefers-reduced-motion:reduce){
 .ring-page [data-ring-heartbeat] > .surface-contours .contour-channel { animation:none;filter:none; }
}


/* Shared glyphs: open geometry, consistent weight, inherited semantic color. */
.ring-page .ui-icon{display:inline-flex;align-items:center;justify-content:center;width:1em;height:1em;flex:none;font-size:20px;line-height:1;vertical-align:-.14em;pointer-events:none;color:inherit}
.ring-page .ui-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;overflow:visible}
.ring-page :is(a,button) .ui-icon-arrow svg{transition:transform 400ms cubic-bezier(.22,1,.36,1)}
.ring-page :is(a,button):is(:hover,:focus-visible) .ui-icon-arrow svg{transform:translate(1.5px,-1.5px)}
.ring-page :is(.surface-link,.header-talk,.text-start) .ui-icon{font-size:23px}
.ring-page :is(.icon-button,.agent-close) .ui-icon{font-size:22px}
.ring-page .idea-composer button{width:44px;height:44px;min-height:44px;flex:0 0 44px;border:0;border-radius:0;background:transparent;color:var(--ui-text);box-shadow:none}
.ring-page .idea-composer button .ui-icon{font-size:28px;transition:filter 350ms,color 350ms}
.ring-page .idea-composer button:is(:hover,:focus-visible) .ui-icon{color:#fff;filter:drop-shadow(0 0 5px #b7cafa66)}
.ring-page .idea-composer button:active .ui-icon-arrow svg{transform:translate(2px,-2px)}
.ring-page .hero-scroll .scroll-arrow .ui-icon{font-size:25px}
.ring-page .brand-mark{width:38px;height:38px}
.ring-page .footer .brand-mark{width:34px;height:34px}
.ring-page .agent-signal .brand-mark{width:27px;height:27px}
.portal-orbits .brand-mark{width:100%;height:100%}
.brand-mark .brand-channel{filter:drop-shadow(0 0 1px var(--ring-color));transition:stroke-width 300ms;transform-box:view-box;transform-origin:50% 50%;animation:brand-light-flow 15s ease-in-out infinite,brand-slow-drift 20s ease-in-out infinite;animation-delay:calc(var(--ring-index) * 3s - 15s),calc(var(--ring-index) * -2s);animation-play-state:paused}
.brand-mark[data-brand-motion=running] .brand-channel{animation-play-state:running}
.brand-mark[data-brand-response=active] .brand-channel{stroke-width:calc(2.4px + var(--brand-response,0) * .5px)}
@keyframes brand-light-flow{0%,40%,100%{opacity:.6}20%{opacity:1}}
@keyframes brand-slow-drift{0%,100%{transform:rotate(-10deg) scale(.982)}50%{transform:rotate(10deg) scale(1.018)}}
@media(max-width:760px){.ring-page .header .brand-mark{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.brand-mark .brand-channel{animation:none;filter:none;transition:none}.ring-page :is(a,button) .ui-icon-arrow svg,.ring-page :is(a,button):is(:hover,:focus-visible) .ui-icon-arrow svg,.ring-page .idea-composer button:active .ui-icon-arrow svg{transition:none;transform:none}.ring-page .idea-composer button .ui-icon{transition:none;transform:none}}

.ring-page .faqs summary .ui-icon{transition:transform 250ms}
.ring-page .faqs details[open] summary .ui-icon{transform:rotate(45deg)}

/* The semantic perimeter channel lends its material to the current menu row. */
.ring-page [data-ring-heartbeat]>.surface-contours .contour-channel[data-row-borrowed]{animation:none;opacity:var(--row-light,.95);stroke-width:1.3;filter:drop-shadow(0 0 3px var(--beat-color))}
.ring-page [data-ring-row-active]{color:var(--row-tone);background:color-mix(in srgb,var(--row-tone) 3%,transparent);border-radius:9px;transition:color 220ms,background 220ms}
.ring-page .ring-menu-surface{position:relative;background:transparent;border:0;box-shadow:none;isolation:isolate}
.ring-page .ring-menu-surface>.surface-contours{inset:-10px;width:calc(100% + 20px);height:calc(100% + 20px);overflow:visible;opacity:0;transition:opacity 300ms}
.ring-page .ring-menu-surface:is([data-ring-row-channel],[data-ring-row-motion=moving])>.surface-contours{opacity:1}
.ring-page .ring-menu-surface[data-ring-intent-channel]>.surface-contours{opacity:1}
.ring-page .ring-menu-surface[data-ring-intent-channel]:not([data-ring-row-channel])>.surface-contours .contour-channel{animation:none;opacity:calc(.04 + var(--intent-light,0))!important}
.ring-page .ring-menu-surface>.surface-contours .contour-shine{display:none}
.ring-page .mobile-nav.fluid-surface>a{padding-inline:10px;margin-inline:-10px;transition:color 220ms,background 220ms}
.ring-page .mobile-nav.fluid-surface>a[data-ring-row-active]{color:var(--row-tone)}
@media(prefers-reduced-motion:reduce){.ring-page [data-ring-row-active],.ring-page .ring-menu-surface>.surface-contours{transition:none}.ring-page [data-ring-heartbeat]>.surface-contours .contour-channel[data-row-borrowed]{filter:none}}

.ring-page [data-ring-row-active]:focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
@media(forced-colors:active){.ring-page [data-ring-row-active]:focus-visible{outline:2px solid Highlight;outline-offset:2px}}
.ring-page .ring-menu-surface:not([data-ring-row-channel]):not([data-ring-row-motion=moving])>.surface-contours .contour-channel{animation-play-state:paused}

/* Returning clients have an explicit entry at every viewport width. */
.header-actions{display:flex;align-items:center;gap:22px;flex:none}
.header .header-actions .menu-toggle{margin-left:0}
.header .header-signin{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 2px;font-size:13px;font-weight:560;white-space:nowrap;color:var(--ui-text,#f2f2f5);text-underline-offset:6px}
.header-signin:is(:hover,:focus-visible){text-decoration:underline}
.header nav{margin-left:28px;gap:28px}
.booking-return{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 24px;color:var(--ui-muted);font-size:12px}
.booking-return a{display:inline-flex;align-items:center;gap:7px;min-height:44px}
.login-card .login-help{font-size:13px;line-height:1.7;margin:-14px 0 24px;color:var(--ui-muted)}
@media(max-width:760px){.header-actions{gap:12px}.header .header-signin{font-size:12px}.booking-return{justify-content:flex-start}}
@media(max-width:380px){.header{padding-inline:16px}.header-actions{gap:8px}.header .brand-name{font-size:18px}}

/* Selection is a steady white ring; color describes the hovered destination.
   Match rowFrame: 1px horizontal / 3px vertical inset, 10px corner radius.
   The control owns the outline, so horizontal scrolling cannot detach it. */
.ring-page .ring-selection-group :is(a,button,li,[role=option]){position:relative}
.ring-page .ring-selection-group :is(a,button,li,[role=option]):is([aria-current]:not([aria-current=false]),[aria-selected=true],[aria-pressed=true]){
 color:#e8e6e0!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important;
}
.ring-page .ring-selection-group :is(a,button,li,[role=option]):is([aria-current]:not([aria-current=false]),[aria-selected=true],[aria-pressed=true])::after{
 content:'';display:block;position:absolute;inset:3px 1px;width:auto;height:auto;border:1.3px solid #e8e6e0;border-radius:10px;
 background:transparent;box-shadow:0 0 5px #e8e6e055;pointer-events:none;transform:none;
}
.ring-page .ring-selection-group :is(a,button,li,[role=option]):is([aria-current]:not([aria-current=false]),[aria-selected=true],[aria-pressed=true]):is(:hover,:focus-visible)::after{box-shadow:0 0 7px #e8e6e088}
.ring-page .portal-rail nav button,.ring-page .project-tabs button,.ring-page .room-tabs button{border-color:transparent;padding-inline:12px;min-height:44px}
.ring-page .header nav:not(.mobile-nav) a{padding-inline:12px}
.ring-page .discovery-modes [aria-selected=true] span{color:inherit;border-color:transparent}
.ring-page .ring-selection-group :is(a,button,li,[role=option]):focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
@media(prefers-reduced-motion:reduce){.ring-page .ring-selection-group :is(a,button,li,[role=option])::after{box-shadow:none}}
@media(forced-colors:active){.ring-page .ring-selection-group :is(a,button,li,[role=option])::after{border-color:Highlight;box-shadow:none}.ring-page .ring-selection-group :is(a,button,li,[role=option]):focus-visible{outline:2px solid Highlight;outline-offset:2px}}

/* One message, one composer, one invitation into the field. Contact choices
   unfold in the existing dialog rather than competing with the homepage. */
.home .hero-description{max-width:540px;margin:0 auto;font-size:16px;line-height:1.6}
.home .hero .agent-entry{margin-top:30px}
.home .hero .agent-options{flex-wrap:nowrap;gap:16px;padding-block:6px 2px}
.home .hero .agent-number{display:grid;flex:0 1 auto;gap:3px;justify-content:start;text-align:left;min-height:44px;align-content:center}
.home .hero .agent-number strong{font-size:14px;white-space:nowrap}
.home .hero .contact-options{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;padding:0;font-size:12px;color:var(--ui-muted);white-space:nowrap;background:transparent;border:0}
.home .hero .contact-options:is(:hover,:focus-visible){color:var(--ui-text)}
.home .hero .hero-scroll{margin-top:42px;gap:20px;min-height:44px}
.home .hero .scroll-copy{font-size:13px;line-height:1.5}
.home .hero .ring-tags{margin:24px auto 0}
.home .hero .ring-tags a{min-height:44px}
.home .hero .ring-tags + .hero-scroll{margin-top:16px}
.contact-paths{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
.contact-paths a{display:inline-flex;align-items:center;gap:12px;min-height:44px}
@media(max-width:520px){
 .home .hero-description{max-width:280px;font-size:14px}
 .home .hero .agent-entry{margin-top:26px}
 .home .hero input{font-size:16px}
 .home .hero .agent-options{gap:10px}
 .home .hero .agent-number strong{font-size:13px}
 .home .hero .contact-options{font-size:11px;gap:5px}
 .home .hero .hero-scroll{margin-top:30px}
 .contact-paths{flex-wrap:wrap;gap:8px 20px}
}

/* Trust pages use the existing neutral material and stable reading layout. */
.trust-layout{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:clamp(32px,6vw,96px);align-items:start}
.trust-nav{display:flex;flex-direction:column;gap:8px}.trust-nav a{display:flex;align-items:center;min-height:44px;padding:8px 16px}
.trust-copy{max-width:78ch}.trust-copy article{margin-bottom:56px}.trust-copy h2{font-size:clamp(24px,3vw,36px);margin-bottom:18px}.trust-copy p{line-height:1.8;color:var(--muted,#b9bbc6)}
.trust-copy a{text-decoration:underline;text-underline-offset:4px}.privacy-actions{display:flex;flex-wrap:wrap;gap:16px}.footer-bottom button{font:inherit;min-height:44px}.privacy-status{margin:20px 0}
@media(max-width:700px){.trust-layout{grid-template-columns:1fr}.trust-nav{flex-direction:row;flex-wrap:wrap}.trust-copy article{margin-bottom:40px}}

/* Keep close targets usable on phones without enlarging their glyphs. */
.dialog-top .icon-button{min-width:44px;min-height:44px}

/* D21 — the field hand-off (the hand-off contract in docs/, §2). Every rule is scoped to
   :root[data-nr2-handoff], which only handoff.js sets (framed + ?nr2=handoff); without it nothing here applies.
   held: the document is transparent and only the void-pose rings exist, invisible until reveal.
   revealed: everything fades back in over fadeMs, then the attribute is removed (today's CSS).
   returning: the header, footer and controls fade while the content folds back into the origin. */
:root[data-nr2-handoff], :root[data-nr2-handoff] body, :root[data-nr2-handoff] body>*, :root[data-nr2-handoff] .ring-field>svg { transition: opacity 240ms ease, background-color 240ms ease; }
:root[data-nr2-handoff="held"], :root[data-nr2-handoff="held"] body, :root[data-nr2-handoff="returning"], :root[data-nr2-handoff="returning"] body { background: transparent; }
:root[data-nr2-handoff="held"] body>:not(.ring-field), :root[data-nr2-handoff="held"] .ring-field>svg { opacity: 0; pointer-events: none; }
:root[data-nr2-handoff="returning"] body>:not(.ring-field):not(main):not(.ring-atmosphere), :root[data-nr2-handoff="returning"] main [data-agent-entry], :root[data-nr2-handoff="returning"] main .ring-tags, :root[data-nr2-handoff="returning"] main .hero-scroll { opacity: 0; pointer-events: none; }
/* /D21 */
