/* ==========================================================================
   Daylight — tokens, reset, base type, shared utilities.

   The brief: the person reading this has been burned by an agency, or expects
   to be. Every decision here is aimed at one feeling — nothing is hidden.

   Light-dominant on purpose. The page should feel like a lit room, not a
   pitch deck. Dark bands are used sparingly and only to separate, never to
   impress.
   ========================================================================== */

:root {
  /* --- Paper: warm white. Not cream, not grey. ------------------------- */
  --paper:      #FCFBF7;
  --paper-2:    #FFFFFF;   /* card surfaces */
  --wash:       #EEF2F6;   /* pale sky band — the quiet alternate section */

  /* --- Ink ------------------------------------------------------------- */
  --ink:        #16202A;   /* deep blue-black, never pure black */
  --ink-2:      #1F2C39;   /* raised surface on ink */

  /* --- Text ------------------------------------------------------------ */
  --slate:      #55636F;   /* muted on paper — 5.6:1 */
  --slate-i:    #9FB0BF;   /* muted on ink   — 7.4:1 */

  /* --- Action: the only colour you can click ---------------------------
     Blue is the safe choice and here that is the point. This page asks
     someone frightened of being overcharged to book a call. Credibility
     beats novelty at the exact moment money is involved. */
  --action:     #0E5FCE;
  --action-d:   #0A4CA8;
  --action-w:   #E3EDFC;   /* wash behind quiet action elements */

  /* --- Sun: the price marker. Used ONLY where a number is published. ----
     One job, one colour. If it appears next to something that is not a
     published price, it is wrong. */
  --sun:        #FFB020;
  --sun-w:      #FFF3DC;

  /* --- Rules ------------------------------------------------------------ */
  --rule:       #E2E0D8;
  --rule-2:     #CFD6DD;
  --rule-i:     #2C3A48;

  /* --- Layout ----------------------------------------------------------- */
  --wrap:       1140px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);
  --sec-y:      clamp(3.75rem, 8vw, 6.75rem);
  --radius:     6px;

  /* --- Type ------------------------------------------------------------- */
  --display: "Fraunces", Georgia, serif;
  --body:    "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --t-hero:  clamp(2.5rem, 5.6vw, 4.25rem);
  --t-h2:    clamp(1.75rem, 3.3vw, 2.6rem);
  --t-h3:    clamp(1.1rem, 1.6vw, 1.28rem);
  --t-lead:  clamp(1.075rem, 1.5vw, 1.24rem);
  --t-body:  1.05rem;
  --t-small: 0.925rem;
  --t-micro: 0.75rem;

  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-hero); letter-spacing: -0.028em; }
h2 { font-size: var(--t-h2); }
h3 {
  font-family: var(--body);
  font-weight: 650;
  font-size: var(--t-h3);
  line-height: 1.25;
  letter-spacing: -0.008em;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   Focus
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-ink :focus-visible { outline-color: var(--sun); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  background: var(--action);
  color: #fff;
  padding: 0.75rem 1.15rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 140ms var(--ease);
}
.skip-link:focus { top: 0.75rem; }

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* .section owns ALL vertical rhythm. Never override its padding from a
   component class. */
.section { padding-block: var(--sec-y); }
.section--tight { padding-block: calc(var(--sec-y) * 0.55); }

.on-paper { background: var(--paper); }
.on-white { background: var(--paper-2); }
.on-wash  { background: var(--wash); }

.on-ink { background: var(--ink); color: var(--paper); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--paper); }
.on-ink .muted, .on-ink .lead { color: var(--slate-i); }

.muted { color: var(--slate); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 0.85rem; font-size: var(--t-lead); }

/* ==========================================================================
   Eyebrow
   ========================================================================== */

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.9rem;
}
.on-ink .eyebrow { color: var(--sun); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 130ms var(--ease), border-color 130ms var(--ease),
              transform 90ms var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--action); color: #fff; }
.btn--primary:hover { background: var(--action-d); }

.btn--ghost { border: 1.5px solid var(--rule-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.on-ink .btn--ghost { border-color: var(--rule-i); color: var(--paper); }
.on-ink .btn--ghost:hover { border-color: var(--slate-i); }

/* ==========================================================================
   Prose
   ========================================================================== */

.prose { max-width: 68ch; }
.prose p + h3 { margin-top: 2.1rem; }
.prose h3 + p { margin-top: 0.65rem; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--slate);
  max-width: 56ch;
}

.note {
  font-size: var(--t-small);
  color: var(--slate);
  border-left: 3px solid var(--rule-2);
  padding-left: 1rem;
}
.on-ink .note { color: var(--slate-i); border-left-color: var(--rule-i); }

.fig { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ==========================================================================
   Motion — one moment, then nothing.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
