/* Altitude Creative — site stylesheet, direction v2 ("lifestyle editorial, technical edge")
   1 fonts · 2 tokens · 3 base · 4 layout · 5 type · 6 header/footer · 7 heroes & image modules · 8 components · 9 tech layer · 10 motion/print
   Principles: photography carries colour; warm black and white carry the brand; serif for voice, grotesk for function;
   the eucalypt accent and mono type appear only where the site shows systems and data. */

/* 1 · Fonts (self-hosted, SIL OFL) */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/Newsreader-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/Newsreader-Variable-Italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/SchibstedGrotesk-Variable.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* 2 · Tokens */
:root {
  --ink: #231f20;            /* warm black */
  --ink-2: #4a4546;
  --paper: #ffffff;
  --cream: #f6f5ea;          /* utility bar, alternate sections, footer */
  --stone: #ebe8de;          /* image placeholders, quiet panels */
  --line: rgba(35, 31, 32, .12);
  --line-strong: rgba(35, 31, 32, .28);
  --muted: rgba(35, 31, 32, .66);
  --muted-inv: rgba(255, 255, 255, .72);
  --gum: #3e5c4a;            /* eucalypt: systems, data, focus */
  --gum-soft: #e3ebe4;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.02rem + .4vw, 1.3125rem);
  --fs-h4: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --fs-h3: clamp(1.5rem, 1.25rem + .9vw, 2rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 2.4vw, 3.5rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4vw, 5.25rem);
  --fs-display: clamp(2.9rem, 1.6rem + 5.2vw, 6.5rem);

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --section: clamp(4rem, 2.6rem + 5vw, 8rem);
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1440px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 112px;
}
@media (max-width: 959px) { :root { --header-h: 64px; } }

/* 3 · Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--fs-base); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--gum); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
table { border-collapse: collapse; width: 100%; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1rem; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4 · Layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: var(--s6); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink ::selection { background: var(--paper); color: var(--ink); }
@media (min-width: 960px) {
  .span-4 { --span: 4; } .span-5 { --span: 5; } .span-6 { --span: 6; } .span-7 { --span: 7; } .span-8 { --span: 8; }
  [class*="span-"] { grid-column: span var(--span); }
  .start-7 { grid-column: 7 / span var(--span, 1); } .start-8 { grid-column: 8 / span var(--span, 1); } .start-9 { grid-column: 9 / span var(--span, 1); }
}
@media (max-width: 959px) { .grid > * { grid-column: 1 / -1; } }

/* 5 · Type */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 380; letter-spacing: -.012em; line-height: 1.04; text-wrap: balance; font-optical-sizing: auto; }
.display { font-size: var(--fs-display); line-height: 1; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.08; }
.h3 { font-size: var(--fs-h3); line-height: 1.18; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 340; }
.h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; }
.lede { font-size: var(--fs-lg); line-height: 1.55; max-width: 58ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.section--ink .muted, .on-dark .muted { color: var(--muted-inv); }
.small { font-size: var(--fs-sm); }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--serif); font-weight: 420; font-size: var(--fs-h3); line-height: 1.2; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* 6 · Header & footer */
.util { background: var(--cream); font-size: var(--fs-xs); }
.util__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 36px; }
.util a { text-decoration: none; }
.util a:hover { text-decoration: underline; }
.util__links { display: flex; gap: var(--s5); }
@media (max-width: 699px) { .util__left { display: none; } .util__inner { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-header__bar .brand { grid-column: 2; justify-self: center; }
.site-header__bar .header-actions { grid-column: 3; }
.site-header__bar .nav-toggle { grid-column: 1; justify-self: start; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { width: 84px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--s4); }
.header-phone { font-size: var(--fs-sm); text-decoration: none; }
.header-phone:hover { text-decoration: underline; }
.nav { display: flex; justify-content: center; padding-block: 14px 12px; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__link { font-size: .9375rem; text-decoration: none; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: currentColor; }
.nav__cta { display: none; }
.nav-toggle { display: none; }
@media (max-width: 959px) {
  .site-header__bar { padding-block: 12px; }
  .header-actions .btn, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; font-size: var(--fs-sm); cursor: pointer; }
  .nav-toggle__bars { width: 20px; height: 10px; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .nav-toggle__bars::before { top: 0; } .nav-toggle__bars::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: calc(var(--header-h) + 36px) 0 0 0; background: var(--paper); flex-direction: column; justify-content: flex-start; gap: var(--s6); padding: var(--s5) var(--gutter) var(--s7); visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility 0s .25s; overflow-y: auto; }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; font-family: var(--serif); font-size: 1.75rem; padding-block: 14px; border: 0; }
  .nav__cta { display: flex; flex-direction: column; gap: var(--s3); }
  body.nav-open { overflow: hidden; }
}

.site-footer { background: var(--cream); padding-top: clamp(3.5rem, 2.5rem + 3vw, 6rem); padding-bottom: var(--s6); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: var(--s7) var(--s6); }
@media (max-width: 1099px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { margin-top: var(--s5); max-width: 34ch; color: var(--muted); }
.footer-col h2 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; font-size: var(--fs-sm); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.footer-legal p { max-width: 80ch; }

/* Buttons (square-shouldered, like a good shop) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .75em 1.5em; font-size: 1rem; line-height: 1.1; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn--outline { color: var(--paper); border-color: var(--paper); }
.on-dark .btn--outline:hover { background: var(--paper); color: var(--ink); }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: .3em; }
.link:hover { text-decoration-thickness: 2px; }

/* 7 · Heroes & image modules */
.media { position: relative; overflow: hidden; background: var(--stone); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 3 / 2; }
.media--wide { aspect-ratio: 16 / 9; }

/* Split hero: a solid panel beside a full-bleed photograph */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 760px); }
.hero-split__panel { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 3vw, 5rem); }
.hero-split__panel .display { max-width: 12ch; }
.hero-split__panel .lede { margin-top: var(--s5); color: var(--muted-inv); max-width: 44ch; }
.hero-split__panel .btn-row { margin-top: var(--s7); justify-content: center; }
.hero-split__media { position: relative; min-height: 420px; }
.hero-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .hero-split { grid-template-columns: 1fr; } .hero-split__media { order: -1; min-height: 56vw; } }

/* Page hero: photograph with a quiet caption block */
.page-hero { position: relative; color: var(--paper); min-height: clamp(420px, 56vh, 620px); display: flex; align-items: flex-end; isolation: isolate; }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,18,18,.74) 0%, rgba(20,18,18,.64) 55%, rgba(20,18,18,.22) 95%), linear-gradient(180deg, rgba(20,18,18,0) 55%, rgba(20,18,18,.3) 100%); }
@media (max-width: 1099px) { .page-hero::after { background: linear-gradient(180deg, rgba(20,18,18,.62) 0%, rgba(20,18,18,.66) 60%, rgba(20,18,18,.78) 100%); } }
.page-hero .wrap { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-hero .h1 { max-width: 16ch; margin-top: var(--s4); }
.page-hero .lede { margin-top: var(--s5); color: rgba(255,255,255,.88); }
.page-hero .btn-row { margin-top: var(--s6); }
.page-hero .btn--outline, .duo .btn--outline { color: var(--paper); border-color: var(--paper); }
.page-hero .btn--outline:hover, .duo .btn--outline:hover { background: var(--paper); color: var(--ink); }
.page-hero--plain .btn--outline { color: var(--ink); border-color: var(--ink); }
.page-hero--plain { color: var(--ink); min-height: 0; background: var(--cream); }
.page-hero--plain::after { display: none; }
.page-hero--plain .lede { color: var(--ink-2); }
.breadcrumbs { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5em; opacity: .6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Intro statement */
.intro { text-align: center; padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.intro p { max-width: 70ch; margin-inline: auto; font-size: var(--fs-lg); line-height: 1.6; }

/* Tile row (shop-by-category pattern) */
.tiles-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s5); }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { text-decoration: none; display: block; }
.tile .media { aspect-ratio: 4 / 5; }
.tile img { transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile__label { margin-top: 10px; font-size: 1rem; }
.tile__meta { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.tile:hover .tile__label { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 1099px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .tiles, .tiles--4 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
  .tiles--3 { grid-template-columns: 1fr; }
  .tiles--grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.tiles--grid { row-gap: var(--s6); }

/* Duo: two full-bleed photographs, one statement across them */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo__item { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 62vw, 760px); color: var(--paper); text-decoration: none; isolation: isolate; overflow: hidden; }
.duo__item .media { position: absolute; inset: 0; z-index: -2; }
.duo__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,18,.12) 0%, rgba(20,18,18,.5) 35%, rgba(20,18,18,.72) 55%, rgba(20,18,18,.8) 100%); }
@media (max-width: 899px) { .duo__item::after { background: linear-gradient(180deg, rgba(20,18,18,.55) 0%, rgba(20,18,18,.74) 40%, rgba(20,18,18,.82) 100%); } }
.duo__body { padding: clamp(1.5rem, 1rem + 2vw, 3rem); width: 100%; text-align: center; }
.duo__body .h2 { margin-top: var(--s3); }
.duo__body p { margin: var(--s3) auto 0; max-width: 44ch; color: rgba(255,255,255,.88); }
.duo__body .btn { margin-top: var(--s5); }
.duo__item:hover img { transform: scale(1.02); }
.duo__item img { transition: transform 1s var(--ease); }
@media (max-width: 799px) { .duo { grid-template-columns: 1fr; } .duo__item { min-height: 120vw; } }

/* Feature: photograph and copy side by side */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media .media { aspect-ratio: 4 / 5; }
.feature__body .h2 { margin-top: var(--s4); }
.feature__body p { margin-top: var(--s5); }
.feature__body .btn-row { margin-top: var(--s6); }
@media (max-width: 899px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature__media { order: 0; } }

/* Stories (editorial cards) */
.stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.story .media { aspect-ratio: 3 / 4; }
.story h3 { font-size: 1.0625rem; font-weight: 500; margin-top: 12px; }
.story p { font-size: var(--fs-sm); color: var(--muted); margin-top: 4px; }
@media (max-width: 999px) { .stories { grid-template-columns: 1fr 1fr; } }

/* 8 · Components */
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head .h2 { margin-top: var(--s3); }
.section-head p { margin-top: var(--s4); }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); padding-block: clamp(1.4rem, 1rem + 1.4vw, 2.25rem); border-bottom: 1px solid var(--line); }
.row__title { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; }
@media (max-width: 799px) { .row { grid-template-columns: 1fr; gap: var(--s3); } }

.cards { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1rem, .8rem + 1vw, 2rem); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 999px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 649px) { .cards--3, .cards--2 { grid-template-columns: 1fr; } }
.card { border-top: 1px solid var(--ink); padding-top: var(--s5); }
.card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 420; line-height: 1.2; }
.card p { margin-top: var(--s3); color: var(--ink-2); }

.ticks { list-style: none; padding: 0; display: grid; gap: .7em; }
.ticks li { padding-left: 1.7em; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8em; height: .42em; border-left: 1.5px solid var(--gum); border-bottom: 1.5px solid var(--gum); transform: rotate(-45deg); }
.on-dark .ticks li::before, .section--ink .ticks li::before { border-color: #a9c4b1; }
.dashes { list-style: none; padding: 0; display: grid; gap: .55em; }
.dashes li { padding-left: 1.3em; position: relative; }
.dashes li::before { content: ""; position: absolute; left: 0; top: .8em; width: .65em; height: 1px; background: currentColor; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1199px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 649px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); display: flex; flex-direction: column; gap: var(--s5); position: relative; }
.tier--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier--feature .muted, .tier--feature .tier__unit { color: var(--muted-inv); }
.tier__flag { position: absolute; top: 0; right: 0; background: var(--cream); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; }
.tier__name { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.tier__for { font-size: var(--fs-sm); min-height: 4.8em; }
.tier__price { font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 350; line-height: 1; }
.tier__price .from { font-family: var(--sans); font-size: var(--fs-sm); display: block; margin-bottom: .4em; }
.tier__unit { font-size: var(--fs-sm); color: var(--muted); }
.tier__facts { display: grid; grid-template-columns: auto 1fr; gap: .35em 1em; font-size: var(--fs-sm); padding-block: var(--s4); border-block: 1px solid var(--line); }
.tier--feature .tier__facts { border-color: rgba(255,255,255,.18); }
.tier__facts dt { color: var(--muted); }
.tier--feature .tier__facts dt { color: var(--muted-inv); }
.tier__facts dd { margin: 0; text-align: right; }
.tier ul { font-size: var(--fs-sm); }
.tier .btn { margin-top: auto; }
.tier--feature .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tier.is-recommended { outline: 2px solid var(--gum); outline-offset: -2px; }
.gst-note { margin-top: var(--s5); }

.compare { margin-top: var(--s7); }
.compare summary { cursor: pointer; display: inline-flex; gap: .6em; font-weight: 500; list-style: none; text-decoration: underline; text-underline-offset: .3em; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; }
.compare[open] summary::after { content: "–"; }
.table-scroll { overflow-x: auto; margin-top: var(--s6); border: 1px solid var(--line); background: var(--paper); }
.ctable { min-width: 860px; font-size: var(--fs-sm); }
.ctable caption { text-align: left; padding: var(--s4); color: var(--muted); border-bottom: 1px solid var(--line); }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.ctable thead th { font-weight: 600; background: var(--cream); }
.ctable tbody th { font-weight: 500; width: 18%; }
.ctable .is-dept { background: rgba(246,245,234,.6); }
.ctable .none { color: var(--muted); }

.finder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 999px) { .finder { grid-template-columns: 1fr; } }
.finder fieldset { border: 0; padding: 0; margin: 0 0 var(--s6); }
.finder legend { font-weight: 600; margin-bottom: var(--s3); padding: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: .7em 1.1em; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: var(--fs-sm); transition: all .2s var(--ease); background: var(--paper); }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--gum); outline-offset: 3px; }
.finder__result { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); position: sticky; top: calc(var(--header-h) + 24px); }
.finder__result h3 { margin-top: var(--s3); }
.finder__result p { margin-top: var(--s4); }
.finder__result .btn-row { margin-top: var(--s6); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: var(--s5); }
.meter span { height: 6px; background: var(--stone); }
.meter span.on { background: var(--ink); }
.meter span.pick { background: var(--gum); }
.meter-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); counter-reset: step; }
@media (max-width: 899px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 549px) { .timeline { grid-template-columns: 1fr; } }
.step { border-top: 1px solid currentColor; padding-top: var(--s4); }
.step h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-top: var(--s2); }
.step p { margin-top: var(--s3); font-size: var(--fs-sm); }
.timeline--stack { grid-template-columns: 1fr; gap: var(--s4); }

.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s6); align-items: center; padding: clamp(1.75rem, 1rem + 2vw, 3rem); background: var(--paper); border: 1px solid var(--line); }
.band + .band { margin-top: 10px; }
.band .h3 { margin-top: var(--s2); }
.band p { margin-top: var(--s3); max-width: 70ch; }
@media (max-width: 799px) { .band { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s5); padding-block: var(--s5); font-size: var(--fs-h4); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5em; font-weight: 300; line-height: .8; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: var(--s5); max-width: 70ch; color: var(--ink-2); }

.cta { text-align: center; }
.cta .display { max-width: 16ch; margin-inline: auto; }
.cta .lede { margin: var(--s5) auto 0; }
.cta .btn-row { margin-top: var(--s7); justify-content: center; }
.cta__contact { margin-top: var(--s6); display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s3) var(--s6); }
.cta__contact a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 649px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field .req { margin-left: 2px; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .8em .9em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); font-size: 1rem; line-height: 1.4; }
.field textarea { min-height: 9rem; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5em; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gum); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #a3341f; }
.field .error { font-size: var(--fs-xs); color: #a3341f; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: var(--fs-sm); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: var(--s5); border: 1px solid var(--ink); display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #a3341f; }
.form-status h3 { font-size: var(--fs-h4); font-weight: 600; }
.form-status p { margin-top: var(--s2); }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.contact-aside { background: var(--cream); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.contact-aside dl { display: grid; gap: var(--s5); }
.contact-aside dt { margin-bottom: 4px; }
.contact-aside dd { margin: 0; font-size: var(--fs-lg); }
.contact-aside dd a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.notice { border-left: 2px solid var(--gum); padding: var(--s4) var(--s5); background: var(--cream); font-size: var(--fs-sm); }
.section--ink .notice { background: rgba(255,255,255,.06); }

/* 9 · Technical layer: where the site shows systems and data */
.mono { font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .04em; }
.ui-stack { position: absolute; left: clamp(-24px, -2vw, -8px); bottom: clamp(24px, 4vw, 56px); display: grid; gap: 10px; width: min(78%, 340px); }
.ui-card { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(35,31,32,.08); box-shadow: 0 18px 40px -18px rgba(20,18,18,.35); padding: 12px 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: var(--ink); }
.ui-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gum); box-shadow: 0 0 0 4px var(--gum-soft); }
.ui-card__title { font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; }
.ui-card__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ui-card__tag { font-family: var(--mono); font-size: 10.5px; padding: 3px 7px; background: var(--gum-soft); color: var(--gum); }
.ui-card:nth-child(2) { margin-left: 28px; }
.ui-card:nth-child(3) { margin-left: 56px; }
@media (max-width: 899px) { .ui-stack { left: 12px; right: 12px; width: auto; bottom: 12px; } .ui-card:nth-child(n) { margin-left: 0; } }

/* System map (home) */
.sysmap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (max-width: 999px) { .sysmap { grid-template-columns: 1fr; } }
.sysmap__figure { position: relative; aspect-ratio: 7 / 5; background: var(--paper); border: 1px solid var(--line); background-image: radial-gradient(rgba(35,31,32,.14) 1px, transparent 1px); background-size: 22px 22px; }
.sysmap__plot { position: absolute; inset: 0; }
@media (max-width: 599px) { .sysmap__plot { inset: 4% 13%; } .sysmap__figure { aspect-ratio: 1; } }
.sysmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sysmap__edge { stroke: rgba(35,31,32,.3); stroke-width: 1; fill: none; transition: stroke .3s var(--ease); }
.sysmap__edge.is-leak { stroke-dasharray: 3 5; }
.sysmap__edge.is-active { stroke: var(--gum); stroke-width: 1.6; }
.sysmap__node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; font-family: var(--mono); font-size: 12px; cursor: pointer; white-space: nowrap; transition: all .2s var(--ease); }
.sysmap__node::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.sysmap__node:hover, .sysmap__node.is-linked { border-color: var(--gum); }
.sysmap__node[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sysmap__node[aria-pressed="true"]::before { background: #a9c4b1; border-color: #a9c4b1; }
.sysmap__node[data-node="ads"] { left: 14%; top: 22%; }
.sysmap__node[data-node="search"] { left: 14%; top: 70%; }
.sysmap__node[data-node="web"] { left: 38%; top: 46%; }
.sysmap__node[data-node="crm"] { left: 64%; top: 28%; }
.sysmap__node[data-node="inbox"] { left: 64%; top: 72%; }
.sysmap__node[data-node="team"] { left: 88%; top: 50%; }
.sysmap__node[data-node="reports"] { left: 43%; top: 8%; }
@media (max-width: 599px) { .sysmap__node { font-size: 10.5px; padding: 5px 9px 5px 7px; } }
.sysmap__panel h3 { margin-top: var(--s3); }
.sysmap__panel p { margin-top: var(--s4); }
.sysmap__panel .fix { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }

/* Utilities */
.mt-1 { margin-top: var(--s2); } .mt-2 { margin-top: var(--s4); } .mt-3 { margin-top: var(--s5); } .mt-4 { margin-top: var(--s6); } .mt-5 { margin-top: var(--s7); } .mt-6 { margin-top: var(--s8); }
.stack > * + * { margin-top: var(--s4); }
.measure { max-width: 60ch; }

/* 10 · Motion & print */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .util, .site-header, .site-footer, .btn, .nav-toggle { display: none !important; }
  .page-hero, .hero-split__panel, .section--ink { color: #000; background: none; }
}
