/* Sternlight — teaser. Built from the Claude Design handoff (Teaser.dc.html, palette "ink", 17 Sep 2026).
   Ink on paper. Two typefaces: Publico for the name and the sentence, Inter for the work. One colour. */

@font-face { font-family: "Publico Text"; src: url("../fonts/PublicoText-Semibold.otf") format("opentype"); font-weight: 600; font-display: block; }
@font-face { font-family: "Publico Text"; src: url("../fonts/PublicoText-Bold.otf") format("opentype"); font-weight: 700; font-display: block; }
@font-face { font-family: "Publico Headline"; src: url("../fonts/PublicoHeadline-Roman.otf") format("opentype"); font-weight: 400; font-display: block; }

:root {
  --sl-paper: #f7f6f3;
  --sl-paper-2: #efede8;
  --sl-ink: #14181f;
  --sl-ink-deep: #0b0e13;
  --sl-ink-2: #6a6f78;
  --sl-ink-3: #a4a8ae;
  --sl-rule: #dcdad5;
  --sl-rule-dark: #3b404a;
  --sl-accent: #14181f;
  --sl-signal: #c8102e;        /* one meaning only: an AI answer that is wrong. Unused on this page. */
  --sl-signal-ink: #ff6b6b;
  --sl-sans: "Inter", system-ui, sans-serif;
  --sl-mono: "IBM Plex Mono", Menlo, monospace;
  --sl-gutter: clamp(20px, 4vw, 56px);
}

html, body { margin: 0; background: var(--sl-paper); }
body { -webkit-font-smoothing: antialiased; color: var(--sl-ink); font-family: var(--sl-sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }
[hidden] { display: none !important; }   /* keep the hidden attribute winning over display rules like .form's flex */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.page { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }

/* header */
.head { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; padding: 0 var(--sl-gutter); border-bottom: 1px solid var(--sl-rule); }
.wordmark { display: inline-flex; align-items: baseline; font-family: "Publico Text", Georgia, serif; font-weight: 600; font-size: 26px; line-height: 1; white-space: nowrap; }
.wordmark-s { font-size: 1.03em; }   /* the one refinement: the capital seats a word with four ascenders */
.kicker { font-family: var(--sl-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sl-ink-2); }

/* main */
/* spacing and headline follow the shorter of width and height, so the footer stays on screen on wide-but-short windows */
.main { display: grid; grid-template-rows: 1fr auto; gap: clamp(32px, min(6vw, 6vh), 96px); padding: clamp(32px, min(6vw, 7vh), 88px) var(--sl-gutter) clamp(32px, min(5vw, 5vh), 72px); }
h1 {
  margin: 0; align-self: start;
  font-family: "Publico Headline", Georgia, serif; font-weight: 400;
  font-size: clamp(42px, min(7.5vw, (100vh - 24rem) / 4.1), 128px); line-height: 0.98; letter-spacing: -0.015em;   /* three lines of headline + ~24rem of chrome fit in one screen, with room to spare */
  max-width: 8.6em; text-wrap: balance;
}
.foot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 32px clamp(40px, 6vw, 120px); align-items: end; }
.sub { margin: 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: var(--sl-ink-2); max-width: 26em; text-wrap: pretty; }
.enquire { max-width: 32rem; justify-self: end; width: 100%; }

/* the design system's EnquiryForm on a light Surface, verbatim */
.form { display: flex; max-width: 560px; border-bottom: 1px solid var(--sl-ink); }
.form input { flex: 1; min-width: 0; padding: 14px 0; background: transparent; color: var(--sl-ink); border: 0; font-family: var(--sl-sans); font-size: 16px; }
.form input::placeholder { color: var(--sl-ink-3); }
.form input:focus { outline: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; align-self: center;
  padding: 16px 26px; border-radius: 0; cursor: pointer;
  font-family: var(--sl-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
  background: var(--sl-ink); color: var(--sl-paper); border: 1px solid var(--sl-ink);
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.88; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* the form's bot trap, off screen */
.note { margin: 12px 0 0; font-family: var(--sl-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sl-ink-3); }
.note.err { color: var(--sl-signal); }
/* the email alternative to the form: the subhead's grey, never brighter; underlined so it reads as a link */
.alt-contact { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--sl-ink-2); }
.alt-contact a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 20px var(--sl-gutter) 28px; border-top: 1px solid var(--sl-rule); font-family: var(--sl-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sl-ink-2); }

/* phones: a bigger headline to fill the width, the sub-line under it, and a stacked form at the bottom with a full-width button */
@media (max-width: 600px) {
  h1 { font-size: clamp(40px, 12.8vw, 64px); line-height: 1; }
  .main { grid-template-rows: auto 1fr auto; gap: 20px; padding-top: clamp(32px, (100svh - 640px) / 2.5, 120px); padding-bottom: 24px; }   /* taller phones: more air above the headline */
  .foot-row { display: contents; }
  .sub { align-self: start; }
  .enquire { justify-self: stretch; }
  .form { flex-direction: column; gap: 12px; max-width: none; border-bottom: 0; }
  .form input { border-bottom: 1px solid var(--sl-ink); }
  .btn { align-self: stretch; padding: 18px 26px; font-size: 15px; }
  a.btn { display: flex; }   /* the 404's link button, full width like the form's */
}

/* confirmation that replaces the form once an email is submitted */
.done { border-top: 1px solid var(--sl-ink); padding-top: 16px; outline: none; }
.done p { margin: 0; }
.done-kicker { font-family: var(--sl-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sl-ink-2); }
.done .done-title { margin-top: 10px; font-family: "Publico Headline", Georgia, serif; font-size: 32px; line-height: 1.1; }
.done .done-text { margin-top: 6px; color: var(--sl-ink-2); overflow-wrap: anywhere; }
