/* Upperfloor Consulting · shared styles
   Layout idea: white, minimal, one blue floor at the top. Gold dotted lines mark every level. */
:root {
  --paper: #FFFFFF;
  --card: #F5F8FB;
  --blue: #074F8F;
  --navy: #04325C;
  --sky: #A4C4E4;
  --gold: #F6DC94;
  --gold-ink: #B8892E;
  --ink: #12263A;
  --muted: #5B6B7B;
  --line: #D3DAE2;
  --line-soft: #E3E9EF;
  --font-display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 6vw, 120px);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; text-wrap: balance; color: var(--blue); }
h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }
h3 { font-size: 21px; font-weight: 500; line-height: 1.25; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Labels and dotted levels */
.slab { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.slab::after { content: ""; flex: 1; border-top: 2px dotted currentColor; transform-origin: left; transform: scaleX(var(--slab, 1)); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.lede { max-width: 58ch; font-size: 19px; color: var(--muted); }

/* Buttons and links */
.btn { font-family: var(--font-display); font-weight: 500; font-size: 16px; padding: 14px 22px; text-decoration: none; border: 1.5px solid var(--blue); display: inline-flex; gap: 10px; align-items: center; cursor: pointer; background: none; color: var(--blue); transition: background .2s, color .2s; }
.btn.solid { background: var(--blue); color: #fff; }
.btn.solid:hover { background: var(--navy); border-color: var(--navy); }
.btn.line:hover { background: #E8EFF7; }
.btn.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.plain { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--blue); text-decoration: none; border-bottom: 1.5px solid var(--sky); padding-bottom: 2px; }
.plain:hover { border-color: var(--blue); }

/* Header */
.site-header { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 28px; color: var(--blue); transition: color .35s, background .35s, box-shadow .35s; }
.site-header.solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line-soft); }
.site-header .home-link { display: inline-flex; color: inherit; }
.site-header .logotype { width: 150px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-family: var(--font-display); font-weight: 500; font-size: 15px; text-decoration: none; color: inherit; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold-ink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .btn { padding: 10px 16px; font-size: 14px; }
.menu-btn { all: unset; display: none; cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 4px; }
body.on-blue .site-header { color: #fff; }
body.on-blue .site-nav .btn.solid { background: var(--gold); color: var(--navy); border-color: var(--gold); }
@media (max-width: 900px) {
  .site-header { padding: 16px 20px; background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line-soft); }
  body.on-blue .site-header { background: var(--blue); box-shadow: none; }
  .site-header .logotype { width: 128px; }
  .menu-btn { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 20px 26px; background: #fff; color: var(--blue); box-shadow: 0 12px 24px -12px rgba(4, 50, 92, .25); }
  .site-nav.open { display: flex; }
}

/* Inner pages */
.page { padding: 150px var(--gutter) 0; }
.wrap { max-width: 1040px; margin: 0 auto; }
.hero { display: grid; gap: 26px; padding-bottom: 72px; }
.hero .lede { font-size: 20px; }
.section { display: grid; gap: 26px; padding: 64px 0; }
.section + .section { border-top: 0; }
.cols { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.cols > .side { display: grid; gap: 14px; position: sticky; top: 110px; }
.side p { color: var(--muted); }
.rows { list-style: none; display: grid; }
.rows li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px dotted var(--line); }
.rows li:first-child { border-top: 1px dotted var(--line); }
.rows .k { font-family: var(--font-mono); font-size: 12px; color: var(--gold-ink); padding-top: 4px; }
.rows strong { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--blue); display: block; }
.rows span.d { color: var(--muted); }
.steps-line { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px dotted var(--gold-ink); }
.steps-line li { padding: 18px 18px 0 0; display: grid; gap: 6px; }
.steps-line .k { font-family: var(--font-mono); font-size: 12px; color: var(--gold-ink); }
.steps-line p { color: var(--muted); font-size: 15px; }
.box { background: var(--card); border: 1px solid var(--line-soft); padding: 26px; display: grid; gap: 12px; }
.box.dashed { background: transparent; border: 1px dashed var(--line); }
.box h3 { color: var(--blue); }
.box ul { padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--blue); font-variant-numeric: tabular-nums; }
.price small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.price .per { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-up { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-top: 2px dotted var(--gold-ink); border-bottom: 2px dotted var(--gold-ink); }
.next-up p { color: var(--muted); max-width: 60ch; }
.ph { background: repeating-linear-gradient(135deg, #EEF2F6 0 10px, #F7F9FB 10px 20px); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.todo { font-family: var(--font-mono); font-size: 11px; color: #8D9AA8; border: 1px dashed var(--line); padding: 4px 8px; justify-self: start; display: inline-block; }
.tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; background: #E8EFF7; color: var(--blue); white-space: nowrap; }

/* Arrival band: the blue penthouse strip at the foot of inner pages */
.arrival { background: var(--blue); color: #fff; padding: 88px var(--gutter); margin-top: 72px; }
.arrival .wrap { display: grid; gap: 22px; }
.arrival .slab { color: var(--gold); }
.arrival h2 { color: #fff; }
.arrival p { color: #D4E2F0; max-width: 56ch; }

/* Footer */
.site-footer { padding: 36px var(--gutter) 40px; background: var(--navy); color: #A9C3DD; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; }
.site-footer .logotype { width: 120px; color: #fff; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Rise on scroll for inner pages: content is visible at rest, it only slides up as it arrives */
.rise.in { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { transform: translateY(26px); } to { transform: none; } }

@media (max-width: 900px) {
  .page { padding-top: 110px; }
  .cols, .grid2, .grid3, .steps-line { grid-template-columns: 1fr; }
  .cols > .side { position: static; }
  .next-up { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise.in { animation: none; }
}

/* ==========================================================================
   Design rules v2, 10 November 2026: the Beside rhythm.
   Clean and minimal: wide container, generous section spacing, quiet headings,
   pill buttons and tags, rounded surfaces, hairlines instead of dashes.
   Brand colours and the three typefaces stay. Rules are in DESIGN-RULES.md.
   ponytail: layered after v1 so the diff stays reviewable; fold into the rules above once signed off.
   ========================================================================== */
:root {
  --container: 1272px;
  --gutter: clamp(20px, 5.8vw, 84px);
  --section: 112px;
  --section-sm: 80px;
  --gap-cols: 64px;
  --radius: 20px;
  --radius-sm: 14px;
  --hair: #E8EDF2;
  --surface: #F5F8FB;
  --soft: 0 0 0 1px rgba(4, 50, 92, .06), 0 2px 16px rgba(4, 50, 92, .04);
}
body { font-size: 16px; line-height: 1.6; }
h1 { font-size: clamp(38px, 4.2vw, 58px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
h3 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.lede, .hero .lede { font-size: 17px; line-height: 1.6; max-width: 52ch; }
.slab::after { border-top: 1px dotted currentColor; opacity: .45; }

.btn { border-radius: 999px; min-height: 46px; padding: 0 26px; font-size: 15px; justify-content: center; border-width: 1px; }
.site-nav .btn { min-height: 36px; padding: 0 16px; font-size: 14px; }
.plain { border-bottom-width: 1px; }
.tag { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 5px 12px; border-radius: 999px; background: var(--surface); }

.site-header { padding: 14px var(--gutter); }
.site-header.solid { box-shadow: 0 1px 0 var(--hair); }
.site-header .logotype { width: 136px; }

.page { padding: 140px var(--gutter) 0; }
.wrap { max-width: var(--container); }
.hero { gap: 20px; padding-bottom: 48px; }
.section { gap: 24px; padding: var(--section-sm) 0; }
.cols { grid-template-columns: 1fr 1fr; gap: var(--gap-cols); }
.rows li, .rows li:first-child { border-color: var(--hair); border-style: solid; }
.steps-line { border-top: 1px solid var(--hair); }
.box { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px; }
.box.dashed { background: transparent; border: 1px solid var(--hair); }
.price { font-weight: 500; }
.next-up { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 32px 0; }
.ph { border-radius: var(--radius-sm); background: var(--surface); }

.arrival { padding: var(--section) var(--gutter); margin-top: var(--section-sm); }
.site-footer .wrap { max-width: var(--container); }

@media (max-width: 900px) {
  :root { --section: 72px; --section-sm: 56px; --gap-cols: 32px; }
  .page { padding-top: 104px; }
  .cols { grid-template-columns: 1fr; }
}
