/* Artificial Native: page styles. Themes scrollcraft.css by tokens, never edits it. */

/* Faculty Glyphic (OFL, Google Fonts) for headings, Inter Tight (OFL, Google Fonts) for text and labels, Satoshi 700 (ITF Free Font License, Fontshare) for the logo wordmark only. Self-hosted, latin subset. */
@font-face { font-family: "Faculty Glyphic"; font-style: normal; font-weight: 400; font-display: block; src: url(/assets/fonts/facultyglyphic-400.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: block; src: url(/assets/fonts/intertight-var.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 700; font-display: block; src: url(/assets/fonts/satoshi-700.woff2) format("woff2"); }

:root {
  /* Palette C, "Graphite & Sea-glass" (options/index.html). Light act: canvas; dark acts: graphite. */
  --sc-canvas: #EEEFEC;
  --sc-surface: #E1E3DF;
  --sc-ink: #0D1113;
  --sc-ink-soft: #4B5256;
  --sc-accent: #7ED9BC;
  --sc-accent-ink: #0D1113;
  --sc-font-display: "Faculty Glyphic", Georgia, "Times New Roman", serif;
  --sc-font-text: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-label: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mark: "Satoshi", system-ui, sans-serif;
  --sc-gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --graphite: #0D1113;
  --graphite-2: #161C1F;
  --dark-soft: #9AA5A9;
  --paper: #EEEFEC;
  /* the one CTA: graphite with a sea-glass label on light, sea-glass with a graphite label on dark */
  --btn-bg: var(--graphite);
  --btn-ink: var(--sc-accent);
  --btn-hover: #1F282C;
  --node: var(--sc-accent);
  --nav-h: 56px;
  --r: 4px;
  --focus: #0D1113;
  --sc-shadow-color: 200 18% 5%;
  --sec-y: clamp(3.5rem, 7vw, 7rem);
  /* booking fields on graphite: a faint lift plus a 1px line that clears 3:1 */
  --field: #182024;
  --field-line: #5F6B70;
}

html { scroll-padding-top: var(--nav-real, var(--nav-h)); }
body { background: var(--paper); color: var(--sc-ink); font-family: var(--sc-font-text); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r); }
::selection { background: var(--sc-accent); color: var(--graphite); }

/* ground families. Restate color, tokens alone do not re-ink. */
.dark { --sc-ink: var(--paper); --sc-ink-soft: var(--dark-soft); --focus: var(--sc-accent); --btn-bg: var(--sc-accent); --btn-ink: var(--graphite); --btn-hover: #9BE3CB; background: var(--graphite); color: var(--paper); }
.light { background: var(--paper); color: var(--sc-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--paper); color: var(--graphite); padding: 10px 14px; border-radius: var(--r); transition: transform 160ms var(--sc-ease-out); }
.skip:focus { transform: translateY(68px); }

/* no-JS: engine reveals start at opacity 0, so open them up */
html:not(.js) [data-sc-in], html:not(.js) [data-sc-stagger] > * { opacity: 1; transform: none; }
/* reveals slide only and never fade, so text is never left partly transparent and a late observer never leaves a blank band */
html.js [data-sc-in]:not(.sc-in), html.js [data-sc-stagger] > :not(.sc-in) { opacity: 1; transform: translate3d(0, 10px, 0); }

/* ---------------------------------------------------------- type -------- */
/* Glyphic never sits below ~2.2rem: smaller, it reads as Georgia. */
.display { font-family: var(--sc-font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; margin: 0; font-size: clamp(2.4rem, 1.5rem + 2.8vw, 4.5rem); }
/* emphasis: no italics. The key word turns sea-glass on dark fields; on light fields it stays ink over a thick sea-glass underline (sea-glass text fails on canvas). */
.display em { font-style: normal; font-weight: inherit; }
.dark .display em { color: var(--sc-accent); }
.light .display em { text-decoration: underline; text-decoration-color: var(--sc-accent); text-decoration-thickness: .14em; text-underline-offset: .1em; }
.display--hero { font-size: clamp(3rem, 5vw, 6.25rem); line-height: .98; letter-spacing: -.03em; }
/* desktop: an 8.5em measure gives three balanced lines; the headline may run a little past the copy column onto the feathered photo edge */
@media (min-width: 760px) { .display--hero { width: 8.5em; max-width: calc(100vw - 2 * var(--sc-gutter)); } }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--sc-ink-soft); max-width: 58ch; margin: 1rem 0 0; text-wrap: pretty; }
.lede--big { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1.08; color: var(--sc-ink); letter-spacing: -0.022em; text-wrap: pretty; margin: 0 0 1.5rem; }
.label { font-family: var(--sc-font-label); font-weight: 500; font-size: clamp(13px, 6px + .55vw, 16px); line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--sc-ink-soft); }
p { text-wrap: pretty; }

/* ---------------------------------------------------------- buttons ----- */
/* one spec everywhere: flat, 2px corners, 56px tall; the nav button shares it at a shorter height */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 2rem; background: var(--btn-bg); color: var(--btn-ink); font: 500 1.0625rem/1 var(--sc-font-text); letter-spacing: .01em; border: 0; border-radius: 2px; box-shadow: none; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 160ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--btn-hover); } }
.btn--nav { min-height: 40px; padding: 0 1.25rem; font-size: .9375rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn:focus-visible { border-radius: 2px; }

/* ---------------------------------------------------------- nav --------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; background: var(--graphite); color: var(--paper); border-bottom: 1px solid rgb(154 165 169 / .18); }
.nav__row { height: var(--nav-h); display: flex; align-items: center; gap: 1rem; padding-inline: var(--sc-gutter); }
/* Logo 3, "The Evening Orbit": half-filled ring, node on the horizon in sea-glass; Satoshi 700 wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sc-font-mark); font-weight: 700; font-size: 1.375rem; line-height: 1; letter-spacing: -.02em; color: var(--paper); text-decoration: none; margin-right: auto; white-space: nowrap; }
.light .wordmark { color: var(--sc-ink); }
.mark { width: 30px; height: 30px; flex: none; display: block; }
.mark__node { fill: var(--node); }
/* on a light ground the sea-glass node gets a graphite keyline, since sea-glass alone is 1.4:1 on canvas */
.light .mark__node { stroke: var(--sc-ink); stroke-width: 2; }
.nav { --focus: var(--sc-accent); --btn-bg: var(--sc-accent); --btn-ink: var(--graphite); --btn-hover: #9BE3CB; }
.btn--nav { transition: opacity 220ms var(--sc-ease-out), transform 220ms var(--sc-ease-out), visibility 0s linear 0s, background-color 160ms var(--sc-ease-out); }
.btn--nav { box-shadow: inset 0 0 0 1px var(--sc-accent); }
/* while the hero is in view (html.js, until site.js marks the nav .is-past): desktop shows a ghost button, phones hide it so the first screen carries one CTA */
@media (min-width: 860px) {
  html.js .nav:not(.is-past) .btn--nav { background: transparent; color: var(--sc-accent); }
}
@media (min-width: 860px) and (hover: hover) and (pointer: fine) {
  html.js .nav:not(.is-past) .btn--nav:hover { background: rgb(126 217 188 / .12); }
}
@media (max-width: 859px) {
  html.js .nav:not(.is-past) .btn--nav { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out), visibility 0s linear 160ms; }
}

/* ---------------------------------------------------------- hero -------- */
/* The type owns the left third on plain graphite; the photograph starts at 34vw and feathers in. */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero__scene { position: absolute; z-index: 0; overflow: hidden; inset: 0 0 0 34vw; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12vw); mask-image: linear-gradient(90deg, transparent, #000 12vw); }
.plane { position: absolute; inset: 0; }
/* one crop for poster, plate and people, so the planes stay registered: the man sits left of centre, the owner's face fully in frame */
.poster, .plane img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--crop, 84% 50%); }
.poster { position: absolute; inset: 0; transition: opacity 500ms var(--sc-ease-out) 60ms; }
.plane { pointer-events: none; opacity: 0; will-change: transform; transform-origin: 50% 50%; }
.hero.is-ready .plane { opacity: 1; }
.hero.is-ready .poster { opacity: 0; }

/* depth: the room drifts down and away while the people and table grow toward the camera, anchored at their foot so the cut-out never lifts off the plate */
.plane--back { z-index: 1; transform: translate3d(calc(var(--px, 0) * 5px), calc(var(--sy, 0) * .32px + var(--py, 0) * -3px), 0) scale(1.05); }
.plane--fg { z-index: 3; transform-origin: 50% 100%; transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -6px), 0) scale(calc(1.03 + var(--sy, 0) * .00006)); }

/* wide screens: the photograph starts earlier and feathers over a quarter of the scene width, so the man's left hand sits on visible wood, not in the fade */
@media (min-width: 1680px) {
  .hero__scene { inset: 0 0 0 calc(30vw - 150px); -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.35) 8%, rgba(0,0,0,.8) 17%, #000 25%); mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.35) 8%, rgba(0,0,0,.8) 17%, #000 25%); }
}

/* keep >=40px of clear graphite between the headline and the man's shoulder */
@media (min-width: 1400px) { .display--hero { font-size: 4.3vw; } }
@media (min-width: 1680px) { .display--hero { font-size: calc(9.7vw - 94px); } }
/* copy is centred in the space under the nav, inside the graphite third */
.hero__copy { position: absolute; z-index: 4; left: var(--sc-gutter); top: var(--nav-real, var(--nav-h)); bottom: 0; width: calc(38vw - var(--sc-gutter)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: clamp(1rem, 4vh, 3rem); }
.hero__sub { margin: clamp(1rem, 2.6vh, 1.75rem) 0 clamp(1.5rem, 4vh, 2.5rem); font-size: 1.25rem; font-weight: 400; line-height: 1.5; color: var(--sc-ink-soft); max-width: 27rem; }

/* mobile: copy on graphite at the top, the photograph fills whatever height is left below the CTA */
@media (max-width: 759px) {
  .hero { min-height: 600px; display: flex; flex-direction: column; padding-top: var(--nav-real, var(--nav-h)); }
  .hero__copy { position: relative; inset: auto; width: auto; display: block; padding: 1.5rem var(--sc-gutter) 0; }
  .hero__copy { order: 1; }
  .hero__scene { order: 2; position: relative; inset: auto; flex: 1 1 auto; min-height: 12rem; margin-top: .5rem; --crop: 79% 40%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 3.5rem); mask-image: linear-gradient(to bottom, transparent, #000 3.5rem); }
  .display--hero { font-size: clamp(2.5rem, 11vw, 3.4rem); line-height: 1; }
  .hero__sub { max-width: none; font-size: 1.125rem; margin: 16px 0 20px; text-wrap: balance; }
  .hero__copy .btn { width: 100%; }
  /* the plate is clipped by the scene and its drift is capped inside the overscale, so its top edge never shows */
  .plane--back { transform-origin: 50% 100%; transform: translate3d(0, min(calc(var(--sy, 0) * .2px), 6px), 0) scale(1.06); }
  .plane--fg { transform: scale(calc(1.03 + var(--sy, 0) * .00006)); }
}

/* the nav button steps aside while the booking section is on screen, so it never repeats the form's own CTA */
.nav.is-booking .btn--nav { display: none; }
/* ---------------------------------------------------------- mid --------- */
/* "What I do" and the founder share one canvas: the page runs dark, light, dark. Both sit on the same 12-column grid. */
.mid { padding: calc(var(--sec-y) / 2) var(--sc-gutter) calc(var(--sec-y) * .3); }
.do, .founder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.do { align-items: start; row-gap: 16px; }
.do__k { grid-column: 1 / -1; margin: 0; }
.do__line { grid-column: 1 / -1; margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(2rem, 1.2rem + 3.4vw, 5rem); line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }

.founder { align-items: start; margin-top: var(--sec-y); }
/* desktop: the photo is capped near 28vw and the copy takes the rest, top-aligned with the photo */
@media (min-width: 860px) {
  .founder { grid-template-columns: 34vw minmax(0, 1fr); align-items: stretch; column-gap: clamp(2rem, 4vw, 5rem); }
  .founder__photo { grid-column: 1; position: relative; }
  /* the photo takes the copy's height, so both end on the same line */
  .founder__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .founder__copy { grid-column: 2; }
}
.founder__photo { margin: 0; overflow: hidden; border-radius: 2px; background: var(--sc-surface); line-height: 0; }
/* 5:4 crop of the 900x900 source on desktop (level with the copy), 4:3 on phones: face and shoulders, the face itself untouched */
.founder__photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 51% 46%; display: block; }
.photo--drift img { transform: scale(1.06); }
.founder__copy p { max-width: 64ch; color: var(--sc-ink-soft); margin: 0 0 16px; }
.founder__copy .lede--big { color: var(--sc-ink); }
@media (min-width: 860px) {
  .founder__copy { padding-top: .25rem; }
  .founder__copy p:not(.fact) { font-size: clamp(1.125rem, .5rem + .9vw, 1.625rem); line-height: 1.5; margin-bottom: 16px; }
  .founder .founder__copy .fact { margin-top: clamp(1.5rem, 3vw, 3rem); }
  .founder__copy .lede--big { font-size: clamp(2.75rem, 1rem + 3vw, 4.5rem); margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
}
/* wide screens: the line runs whole */
@media (min-width: 1200px) { .founder__copy .lede--big { white-space: nowrap; } }
.founder__copy .fact { margin-top: 1.5rem; }
/* the founder's own booking link: quiet, underlined, ink on canvas over a sea-glass rule */
.tlink { display: inline-block; margin-top: 1.25rem; padding-block: .5rem; color: var(--sc-ink); font-size: 1.125rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--sc-accent); text-decoration-thickness: 3px; text-underline-offset: .35em; transition: text-decoration-color 160ms var(--sc-ease-out); }
.tlink__arrow { display: inline-block; margin-left: .5em; transition: transform 200ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .tlink:hover { text-decoration-color: var(--sc-ink); } .tlink:hover .tlink__arrow { transform: translateX(4px); } }

/* ---------------------------------------------------------- booking ----- */
/* The facade bridges the two grounds: the crop begins at the roofline, which meets the paper above in a clean edge; its pavement sinks into graphite. */
.book { position: relative; padding: 0 0 clamp(1.5rem, 3vw, 3rem); overflow: hidden; scroll-margin-top: var(--nav-h); }
.book__img { --bh: clamp(16rem, 36vw, 40rem); position: relative; height: var(--bh); overflow: hidden; background: var(--graphite); }
/* the image is sized so its roofline (20% down the source) lands exactly on the band's top: the crop begins at the roofline, no sky and no fade */
.book__img img { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(var(--bh) / .77); object-fit: cover; object-position: 50% 8%; filter: brightness(.9); display: block; -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent); mask-image: linear-gradient(to bottom, #000 84%, transparent); }
.book__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); align-items: start; padding: clamp(1rem, 2vw, 2rem) var(--sc-gutter) 0; }
/* the reply promise sits just under the lede */
.book__copy { grid-column: 1 / span 5; }
.book__copy .fact { margin: 1.5rem 0 0; color: var(--dark-soft); }
@media (min-width: 860px) { .book__copy .fact { margin-top: 24px; } }
.book__panel { grid-column: 7 / span 6; }
.book .lede { color: var(--dark-soft); margin-top: 1.25rem; }
/* fields: a faint lift off the graphite plus a 1px border, so they read as fields at a glance */
.bform { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.bform__msg[hidden] { display: none; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .9375rem; color: var(--dark-soft); }
.field .opt { margin-left: .5em; font-size: 13px; letter-spacing: 0; text-transform: none; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--field); color: var(--paper); border: 1px solid var(--field-line); border-radius: 2px; font-size: 1.125rem; line-height: 1.4; font-family: inherit; transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out); }
.field textarea { display: block; min-height: 6.25rem; max-height: 12rem; field-sizing: content; line-height: 1.5; resize: none; }
.field input:hover, .field textarea:hover { border-color: var(--dark-soft); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 1px var(--sc-accent); }
.field input[aria-invalid="true"] { border-color: #F0A390; }
.bform .btn { grid-column: 1 / -1; width: 100%; margin-top: .25rem; }
.bform__msg { grid-column: 1 / -1; margin: .25rem 0 0; color: var(--paper); font-size: 1rem; }
.cal { min-height: 480px; }
html:not(.js) .bform { display: none; }

/* ---------------------------------------------------------- footer ------ */
.foot { padding: 1.5rem var(--sc-gutter) 1.75rem; border-top: 1px solid rgb(154 165 169 / .2); }
.foot__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.wordmark--foot { margin: 0; }
.foot__line { margin: .25rem 0 0; color: var(--dark-soft); font-size: .9375rem; max-width: 40ch; }
.foot__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .875rem; color: var(--dark-soft); }
.foot__legal a { color: var(--paper); text-underline-offset: .25em; }
.foot__fine { margin: 1.25rem 0 0; font-size: clamp(12px, 5px + .5vw, 15px); color: var(--dark-soft); max-width: 70ch; }

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 859px) {
  :root { --nav-h: 56px; }
  .nav__row { flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-block: 0; }
  .btn--nav { min-height: 40px; padding: 0 1rem; font-size: .875rem; }
  .nav__row > .wordmark { line-height: var(--nav-h); }
  .nav__row > .btn { margin-block: 8px; }
  .mark { width: 26px; height: 26px; }
  .wordmark { font-size: 1.1875rem; gap: 8px; }
  .do, .founder { grid-template-columns: 1fr; }
  .do__k, .do__line { grid-column: 1 / -1; }
  /* phones: the portrait leads at 4:3, then the copy; the facade follows close behind */
  .founder { row-gap: 1.75rem; }
  .founder__photo, .founder__copy { grid-column: 1 / -1; }
  .founder__photo img { aspect-ratio: 4 / 3; object-position: 50% 28%; }
  .book__grid { grid-template-columns: 1fr; row-gap: 2rem; }
  .book__copy, .book__panel { grid-column: 1 / -1; }
  .book__img { --bh: clamp(15rem, 70vw, 24rem); }
  .book__img img { object-position: 72% 8%; }
  .bform { grid-template-columns: 1fr; }
  .bform .btn { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .plane { transform: none !important; }
  .photo--drift img { transform: scale(1.06); }
  .btn--nav { transition: none !important; }
}
