/*
 * Uppoint UI system — 2026-11-03.
 * Shared foundation loaded before route-specific composition. Owns tokens, layout, type and controls;
 * component files continue to own artwork and explanatory animation.
 */
:root {
  --content-max:1760px;
  --page-gutter:clamp(24px,3.333vw,64px);
  --page-inset:max(var(--page-gutter),calc((100% - var(--content-max))/2));
  --section-space:80px;
  --section-half:calc(var(--section-space) / 2);
  --grid-gap:32px;
  --ui-paper:#ededed;
  --ui-ink:#171717;
  --serif:'Instrument Serif',Georgia,serif;
  --section-title:clamp(36px,3.6vw,56px);
  --ui-text:#f2f2f2;
  --ui-muted:#b7b7b7;
  --ui-subtle:#979797;
  --ui-line:#303030;
  --ui-surface:#101010;
  --ui-accent:#a8bfd7;
  --card-radius:10px;
  --control-radius:6px;
  --muted:var(--ui-muted);
  --dim:#999;
  --line:var(--ui-line);
}
html { scroll-padding-top:104px; }
body { background:var(--bg); color:var(--ui-text); }
:where(h1,h2,h3) { text-wrap:balance; }
:where(p,li) { text-wrap:pretty; }
.site-shell .button:hover { transform:none; }
.skip { z-index:80; }
.site-shell { width:100%; max-width:none; margin-inline:0; }

/* One content axis on every route; paragraphs retain their reading measure. */
.site-shell>main>section:not(.iceberg-story):not(.chess-consultation),
.home-rhythm .site-shell>main>.home-solutions,
.home-rhythm .site-shell>main>.home-partnership,
.home-rhythm .site-shell>main>.home-practical,
.site-shell>main.contact-page>.contact-masthead,
.site-shell>main.contact-page>.meeting-section,
.site-shell>main.contact-page>.home-partnership {
  width:100%; max-width:none; margin-inline:0;
  padding-inline:var(--page-inset); scroll-margin-top:0;
}
.site-shell>.site-header { padding-inline:var(--page-inset); }
.site-shell>.global-footer {
  /* The legacy footer uses !important; this is its single shared override. */
  padding:40px var(--page-inset)!important;
}
.iceberg-first,.iceberg-depth { left:var(--page-inset); }
.iceberg-footer { left:var(--page-inset); right:var(--page-inset); }
.site-shell>main>.chess-consultation {
  width:calc(100% - 2 * var(--page-gutter)); max-width:var(--content-max);
  margin-inline:auto; padding-inline:0; scroll-margin-top:0;
}
.site-shell .home-faq-content { width:100%; max-width:none; }
.site-shell .founder-quote-copy blockquote { max-width:none; }
.site-shell .case-evidence { padding-inline:var(--page-inset); }
.site-shell .editorial-hero>p:not(.eyebrow) { max-width:72ch; }
.site-shell .contact-welcome { max-width:none; }
.site-shell .contact-lead { max-width:54ch; }

/* Measured spacing: breadth comes from the grid, not oversized empty gaps. */
.site-shell :is(.story-section,.curiosity-section,.team-section,.partnership-explained) {
  padding-block:var(--section-space); column-gap:56px;
}
.site-shell .editorial-hero { padding-top:72px; padding-bottom:48px; }
.site-shell .founder-hero { padding-block:64px; gap:56px; }
.home-rhythm .site-shell>main>.home-solutions { padding-top:24px; padding-bottom:40px; }
.home-rhythm .site-shell>main>.home-projects { padding-block:72px; }
.home-rhythm .site-shell>main>.home-partnership,
.site-shell>main.contact-page>.home-partnership { padding-block:72px; gap:64px; }
.home-rhythm .site-shell>main>.home-practical { padding-top:32px; padding-bottom:64px; }
.site-shell .home-founder-quote { --quote-space-top:56px; padding-bottom:40px; }
.site-shell .possibilities-heading { padding:8px 0 36px; }
.site-shell .home-projects-heading { margin-bottom:36px; }
.site-shell .personal-cta { padding-block:72px; gap:24px; }
.site-shell .solutions-bento { padding-bottom:64px; gap:24px; }
.site-shell .solution-principle { padding-block:16px 64px; gap:40px; }
.site-shell .project-list { gap:28px; padding-bottom:64px; }
.site-shell .team-roles { margin-bottom:0; }
.site-shell .partnership-explained .section-heading { max-width:none; margin-bottom:36px; }
.site-shell .partner-intro { max-width:72ch; }
.site-shell .partner-system { padding:36px; grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr); }
.site-shell .partner-side { grid-template-rows:60px auto 1fr auto; gap:20px; }
.site-shell .partner-side p { max-width:64ch; }
.site-shell .partnership-copy>p { max-width:62ch; }
.site-shell .partnership-meta { max-width:none; }
.site-shell .partnership-portrait { max-width:480px; }
.site-shell .contact-earth-stage { max-width:560px; margin-left:auto; }
.site-shell>main.contact-page>.meeting-section { margin-top:0; padding-top:16px; padding-bottom:64px; }
.site-shell>main.contact-page>.home-partnership { padding-top:56px; padding-bottom:56px; }
.site-shell .meeting-card { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); }
.site-shell .meeting-intro,.site-shell .meeting-form { padding:36px; }
.site-shell .meeting-intro>p { max-width:46ch; }
.site-shell .meeting-help { max-width:58ch; }

/* Consistent section hierarchy; the iceberg and serif signatures stay intact. */
.site-shell :is(.possibilities-heading h2,.home-projects-heading h2,.home-faq-content>h2,
  .home-partnership h2,.story-section h2,.curiosity-section h2,.team-section h2,
  .partnership-explained h2,.personal-cta h2,.solution-principle h2) {
  font:400 var(--section-title)/1.12 var(--body); letter-spacing:-.035em;
}
.site-shell :is(.editorial-hero h1,.founder-intro h1,.contact-page h1,.case-heading-row h1) {
  font:400 clamp(40px,4.2vw,64px)/1.08 var(--body); letter-spacing:-.035em;
}
.site-shell :is(.solution-card h2,.project-feature-copy h2,.case-narrative h2) {
  font:400 clamp(26px,2.1vw,32px)/1.22 var(--body); letter-spacing:-.025em;
}
.site-shell .possibility-copy h3 { font-size:clamp(26px,2.1vw,32px); }
.site-shell :is(.section-label,.eyebrow,.role-label,.case-metadata,.project-feature-copy>.eyebrow,
  .solution-card-copy .eyebrow,.website-solution-copy .eyebrow,.case-narrative article>.eyebrow) {
  font-size:12px; line-height:1.6; letter-spacing:.035em;
}
.site-shell :is(.page-lead,.story-copy,.curiosity-section p:not(.eyebrow),
  .solution-card-copy>p:not(.eyebrow),.solution-card-copy>div>p:not(.eyebrow),
  .website-solution-copy>p:not(.eyebrow),.project-feature-copy>p:not(.eyebrow),
  .case-narrative article>div>p,.partnership-copy>p,.consultation-lead) {
  font-size:17px; line-height:1.65; color:var(--ui-muted);
}
.site-shell .story-copy .story-statement { font-size:22px; line-height:1.5; color:var(--ui-text); }
.site-shell .founder-quote-byline>div>span,
.site-shell .consultation-person>div>span { font-size:12px; line-height:1.6; color:#a5b3c3; }
.site-shell .founder-quote-byline a,.site-shell .consultation-person strong { font-size:14px; line-height:1.6; }
.site-shell .partnership-portrait figcaption { font-size:13px; }
.site-shell .capability-tags span { font-size:12px; line-height:20px; padding:5px 9px; }
.site-shell .project-feature-bottom { font:400 13px/1.6 var(--body); color:var(--ui-subtle); flex-wrap:wrap; }
.site-shell .project-feature-bottom b { min-height:44px; display:inline-flex; align-items:center; }
.site-shell .global-footer nav { font:400 14px/1.6 var(--body); gap:24px; }
.site-shell .global-footer nav a { display:inline-flex; align-items:center; min-height:44px; }
.site-shell .global-footer .footer-bottom { font-size:12px; }

/* One control vocabulary: readable sentence case and stable touch targets. */
.site-shell .button,.site-shell .contact-primary,.site-shell .meeting-primary {
  min-height:48px; padding:12px 18px; gap:18px;
  font:500 14px/22px var(--body); text-transform:none; letter-spacing:0;
  border-radius:var(--control-radius);
  transition:background 160ms ease-out,border-color 160ms ease-out,transform 120ms ease-out;
}
.site-shell .button:active,.site-shell .contact-primary:active,
.site-shell .meeting-primary:not(:disabled):active { transform:scale(.98); }
.site-shell .header-cta { min-height:44px; padding:10px 15px; font-size:13px; gap:12px; }
.site-shell .iceberg-actions { flex-wrap:wrap; }
.site-shell .mono-link {
  min-height:44px; font:400 14px/1.5 var(--body); letter-spacing:0;
  text-transform:none; gap:16px;
}
.site-shell .solution-jumps a { font:400 14px/22px var(--body); min-height:44px; gap:20px; }
.site-shell .plain-benefits li { font-size:15px; line-height:1.6; }
.site-shell .consultation-email { min-height:44px; font-size:14px; }
.site-shell .nav-trigger,.site-shell .nav-link,.site-shell .contact-nav { min-height:44px; }
.site-shell .mega-bottom { min-height:44px; font-size:13px; }
.site-shell :is(a,button,summary):focus-visible { outline:2px solid var(--ui-accent); outline-offset:4px; }
.nav-group:focus-within .mega-menu { animation:none; }
.site-shell .meeting-steps button { min-height:44px; font-size:14px; }
.site-shell .calendar-heading button { width:44px; height:44px; }
.site-shell .meeting-times label>span { min-height:44px; height:auto; padding:10px 4px; font-size:14px; }
.site-shell .meeting-times .time-flexible>span { font-size:13px; }
.site-shell .meeting-summary button,.site-shell .ready-actions button,
.site-shell .meeting-extra>summary,.site-shell .request-preview>summary { min-height:44px; font-size:14px; }
.site-shell .meeting-skip { min-height:44px; font-size:13px; padding-top:12px; }
.site-shell .meeting-selection>span:last-child,.site-shell .meeting-extra>summary>span { font-size:12px; }
.site-shell .meeting-field { font-size:14px; }
.site-shell .meeting-field :is(input,textarea)::placeholder { color:#999; }
.site-shell .meeting-note { font-size:13px; line-height:1.6; }

/* Shared surfaces, with smoke blue confined to purposeful illustration. */
.site-shell :is(.solution-card,.project-feature,.partner-system,.meeting-card,.case-feature-visual,
  .project-cover,.home-project-link,.possibility-card) { border-radius:var(--card-radius); border-color:var(--ui-line); }
.site-shell .solution-card:before,.site-shell .solution-card:after { display:none; }
.site-shell .possibility-card { --feature-accent:var(--ui-accent); }
.site-shell :is(.possibility-knowledge,.possibility-overview,.possibility-creative) {
  background:var(--ui-surface);
}
.site-shell .possibilities-heading h2>span { color:#abb7c5; }
.site-shell .knowledge-sheet { background:linear-gradient(160deg,#293441,#19212b); border-color:#71829677; color:#bacbdd; }
.site-shell .knowledge-sheet>span { color:#d8e2ec; }
.site-shell .knowledge-sheet>i { background:#a8bfd733; }
.site-shell .sheet-center { background:linear-gradient(160deg,#344152,#232e3d); }
.site-shell .knowledge-query { background:#151c25; border-color:#8699ad77; color:#dbe4ef; }
.site-shell .knowledge-query>svg,.site-shell .knowledge-found { color:#b6c4d3; }
.site-shell .overview-brief { background:var(--ui-paper); border-color:#d6d6d6; }
.site-shell .overview-shadow-sheet { background:#303336; border-color:#7d879366; }
.site-shell .brief-focus { background:#d8dde1; border-color:#a7afb2; }
.site-shell .brief-top,.site-shell .brief-row,.site-shell .brief-focus-label { color:#414950; }
.site-shell .brief-row { border-color:#b4b8b9; }
.site-shell .creative-atmosphere { background:radial-gradient(ellipse at 65% 52%,#738ba224,transparent 65%); }
.site-shell .creative-browser,.site-shell .creative-poster { border-color:#89939e77; background:#111; }
.site-shell .creative-browser-bar { background:#202020; border-color:#8883; }
.site-shell .creative-browser-bar>i { background:#999; }

/* Project text now uses the full canvas instead of an empty label column. */
.site-shell .case-narrative { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 56px; padding-top:16px; padding-bottom:32px; }
.site-shell .case-narrative article { display:flex; flex-direction:column; gap:16px; padding:32px 0; border-top:1px solid var(--ui-line); border-bottom:0; min-width:0; }
.site-shell .case-narrative article>div { max-width:none; gap:16px; }
.site-shell .case-narrative article>div>p { max-width:72ch; }
.site-shell .case-narrative article>.eyebrow { padding:0; color:var(--ui-subtle); }
.site-shell .case-evidence { padding-top:16px; padding-bottom:56px; gap:32px; }
.site-shell .case-evidence>strong { font-size:72px; line-height:1; }
.site-shell .case-hero { padding-top:48px; padding-bottom:40px; }
.site-shell .case-heading-row { margin-top:32px; }
.site-shell .case-hero>p { max-width:76ch; }

/* Explanatory UI stays legible; miniature artwork is not a second navigation. */
.site-shell .diagram-meta,.site-shell .diagram-footer { font-size:11px; color:var(--ui-subtle); }
.site-shell .signal-source small { color:#a5a5a5; }
.site-shell .signal-source b { font-size:12px; }
.site-shell .signal-hub>span { font-size:10px; }
.site-shell .result-fields { font-size:11px; }
.site-shell .result-fields>span { color:#a5a5a5; }
.site-shell .diagram-chat { height:auto; min-height:420px; }
.site-shell .chat-app-header b { font-size:14px; }
.site-shell .chat-app-header>div>span { font-size:12px; line-height:18px; }
.site-shell .chat-app-header small { font-size:10px; color:#aaa; }
.site-shell .chat-question>span { font-size:11px; color:#aaa; }
.site-shell .chat-question p,.site-shell .chat-response p { font-size:14px; line-height:1.6; }
.site-shell .chat-response p { max-width:52ch; }
.site-shell .response-source { font-size:11px; color:#aaa; }
.site-shell .chat-topic-tabs { flex-wrap:wrap; }
.site-shell .chat-topic-tabs button { min-height:44px; font-size:13px; }
.site-shell .chat-app-footer { font-size:12px; color:#aaa; }
.site-shell .web-demo-top button { min-width:44px; min-height:44px; }
.site-shell .creative-output>figcaption { font-size:13px; }

@media(max-width:1100px) {
  .site-shell>.site-header { gap:16px; }
  .site-shell .nav-trigger,.site-shell .nav-link { padding-inline:9px; }
  .site-shell .founder-hero,.site-shell .story-section,.site-shell .curiosity-section { gap:36px; }
  .home-rhythm .site-shell>main>.home-partnership,
  .site-shell>main.contact-page>.home-partnership { gap:40px; }
  .site-shell .meeting-intro,.site-shell .meeting-form { padding:28px; }
  .site-shell .partner-system { grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr); padding:28px; }
  .site-shell .partner-side { gap:18px; }
}
@media(max-width:760px) {
  :root { --page-gutter:22px; --section-space:56px; --grid-gap:24px; --section-title:36px; }
  html { scroll-padding-top:96px; }
  .site-shell>.site-header { height:76px; gap:12px; }
  .site-shell .header-actions { gap:8px; }
  .site-shell .header-cta { font-size:12px; gap:8px; padding:10px 11px; }
  .site-shell .drawer-toggle { width:44px; height:44px; padding:12px; }
  .site-shell .site-header .brand img { width:112px; }
  .site-shell .nav-trigger,.site-shell .nav-link { font-size:16px; padding:16px 10px; }
  .site-shell .mega-bottom { padding-top:12px; padding-bottom:12px; }
  .site-shell .button { font-size:14px; padding:12px 16px; gap:12px; }
  .site-shell .header-cta { font-size:12px; padding:10px 11px; min-height:44px; gap:8px; }
  .site-shell .iceberg-actions { gap:10px; }
  .site-shell .iceberg-first>.eyebrow { font-size:10px; line-height:1.6; max-width:330px; }
  .site-shell .iceberg-lead { font-size:16px; line-height:1.6; }
  .site-shell .iceberg-proof>span { font-size:12px; line-height:1.5; }
  .site-shell .editorial-hero,.site-shell .founder-hero { padding-top:48px; padding-bottom:40px; }
  .site-shell :is(.editorial-hero h1,.founder-intro h1,.contact-page h1,.case-heading-row h1) { font-size:38px; line-height:1.12; }
  .site-shell .home-founder-quote { --quote-space-top:40px; padding-bottom:28px; }
  .home-rhythm .site-shell>main>.home-projects { padding-block:48px; }
  .home-rhythm .site-shell>main>.home-partnership,
  .site-shell>main.contact-page>.home-partnership { padding-block:48px; gap:32px; }
  .home-rhythm .site-shell>main>.home-practical { padding-top:20px; padding-bottom:40px; }
  .home-rhythm .site-shell>main>.home-solutions { padding-top:20px; padding-bottom:24px; }
  .site-shell .home-faq-content>h2 { margin-bottom:28px; }
  .site-shell .home-projects-heading { margin-bottom:28px; }
  .site-shell .possibility-visual { height:300px; }
  .site-shell .possibility-copy { padding:16px 22px 24px; }
  .site-shell .possibility-copy h3 { font-size:26px; }
  .site-shell .possibility-copy>p { font-size:16px; }
  .site-shell .possibilities-heading { padding-bottom:28px; }
  .site-shell .personal-cta { padding-block:52px; }
  .site-shell .solutions-bento,.site-shell .project-list { padding-bottom:48px; gap:20px; }
  .site-shell .solution-principle { padding-top:8px; padding-bottom:48px; gap:24px; }
  .site-shell .partnership-explained .section-heading { margin-bottom:28px; }
  .site-shell .partner-system { grid-template-columns:1fr; padding:26px 22px; gap:24px; }
  .site-shell .partner-side { grid-template-rows:auto; gap:18px; }
  .site-shell .partner-side img { height:46px; }
  .site-shell .partner-result { flex-direction:column; align-items:flex-start; gap:16px; }
  .site-shell .partnership-portrait { max-width:480px; }
  .site-shell .partnership-portrait figcaption { flex-wrap:wrap; gap:4px 16px; }
  .site-shell .contact-earth-stage { max-width:360px; margin-inline:auto; }
  .site-shell>main.contact-page>.contact-masthead { padding-block:40px; }
  .site-shell>main.contact-page>.meeting-section { padding-top:0; padding-bottom:48px; }
  .site-shell .meeting-card { grid-template-columns:1fr; }
  .site-shell .meeting-intro,.site-shell .meeting-form { padding:26px 22px; }
  .site-shell .meeting-host { margin-bottom:24px; }
  .site-shell .meeting-facts { margin-block:24px; }
  .site-shell .meeting-facts li { font-size:13px; }
  .site-shell .meeting-form { scroll-margin-top:20px; }
  .site-shell .meeting-steps { margin-bottom:24px; gap:12px; }
  .site-shell .meeting-summary { flex-wrap:wrap; }
  .site-shell .meeting-summary>span { min-width:130px; }
  .site-shell .case-narrative { grid-template-columns:1fr; gap:0; padding-top:0; padding-bottom:24px; }
  .site-shell .case-narrative article { padding-block:26px; }
  .site-shell .case-heading-row { gap:24px; }
  .site-shell .case-hero { padding-top:32px; padding-bottom:32px; }
  .site-shell .case-evidence { padding-top:8px; padding-bottom:40px; gap:22px; }
  .site-shell .case-evidence>strong { font-size:56px; }
  .site-shell .case-evidence span { font-size:18px; }
  .site-shell .project-feature-copy { padding:24px 22px; gap:20px; }
  .site-shell .project-feature-bottom { gap:4px; padding-top:4px; }
  .site-shell .diagram-chat { min-height:420px; }
  .site-shell .chat-app-header { display:grid; grid-template-columns:32px minmax(0,1fr); gap:6px 10px; }
  .site-shell .chat-app-header .assistant-icon { grid-row:1/3; align-self:start; }
  .site-shell .chat-app-header>div>span { max-width:none; }
  .site-shell .chat-app-header small { grid-column:2; margin-left:0; }
  .site-shell .signal-source b { font-size:11px; }
  .site-shell .signal-hub>span { font-size:9px; }
  .site-shell .response-source { font-size:10px; }
  .site-shell .consultation-lead { font-size:16px; line-height:1.65; }
  .site-shell .consultation-person { align-items:flex-start; }
  .site-shell .consultation-person>div>span { font-size:12px; }
  .site-shell .global-footer nav { gap:12px 22px; }
  .site-shell>.global-footer { padding-block:32px!important; }
}
@media(max-width:450px) {
  .site-shell .possibility-visual { height:270px; }
}
@media(max-width:360px) {
  :root { --page-gutter:20px; --section-title:32px; }
  .site-shell .site-header .brand img { width:88px; }
  .site-shell>.site-header { gap:8px; }
  .site-shell .header-cta { padding-inline:9px; gap:6px; }
  .site-shell .iceberg-actions { flex-direction:column; align-items:flex-start; gap:4px; }
  .site-shell .iceberg-actions .button-glass { min-height:40px; }
  .site-shell :is(.editorial-hero h1,.founder-intro h1,.contact-page h1,.case-heading-row h1) { font-size:34px; }
  .site-shell .meeting-intro,.site-shell .meeting-form { padding-inline:16px; }
  .site-shell .meeting-extra>summary { flex-wrap:wrap; }
  .site-shell .possibility-copy { padding-inline:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .site-shell .button:active,.site-shell .contact-primary:active,.site-shell .meeting-primary:active { transform:none; }
}

/* Directional UI is vector artwork on every platform, including iOS. */
.site-shell .ui-direction-icon { display:inline-block; width:1em; height:1em; min-width:1em; flex:none; vertical-align:-.12em; color:inherit; }
.site-shell :is(.button,.contact-primary,.meeting-primary,.ae-button,.mono-link,.consultation-email,.sp-email-link,.footer-mail,.project-feature-bottom) .ui-direction-icon { width:18px; height:18px; }
.site-shell :is(.button,.contact-primary,.meeting-primary,.ae-button,.consultation-email,.sp-email-link,.footer-mail)>span:has(>.ui-direction-icon:only-child) { display:inline-flex; align-items:center; flex:none; line-height:1; }
.site-shell .plain-benefits li::before { content:''; display:block; flex:0 0 4px; width:4px; height:4px; border-radius:50%; background:currentColor; align-self:flex-start; margin-top:.65em; }
