/*
VOICE   An ideas person's studio: confident, playful, handmade where it counts.
IDEA    An idea wall: problems pinned up as cards, the solved ones stamped BUILT.
PICTURE Cards scattered on a dotted wall around one big headline.
COLOUR  Wall #F4F4F4 with dots, card white, ink #111, one highlighter yellow #FFE600.
        Dark mode follows the visitor's system setting (no switch): the wall goes
        near-black, ink goes near-white, yellow stays; text on yellow is always black.
TYPE    Archivo 900 for headlines, Inter for reading, Caveat for handwritten notes.
LAYOUT  Wall-style hero → content on cards → black call-to-action band → footer.
*/
:root {
  --wall: #F4F4F4; --dot: #C9C9C9; --card: #ffffff; --ink: #111111; --muted: #4A4A4A; --soft: #6B6B6B; --line: #DADADA;
  --hl: #FFE600; --on-hl: #111111;     /* text on solid yellow, both modes */
  --on-ink: #ffffff; --ink-hover: #333333; --hover: rgba(0,0,0,.06);
  --hl-band: var(--hl);                   /* highlighter stroke behind text */
  --head: 'Archivo', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --ease: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --wall: #121212; --dot: #2F2F2F; --card: #1C1C1C; --ink: #F2F2F2; --muted: #C2C2C2; --soft: #9C9C9C; --line: #343434;
    --on-ink: #111111; --ink-hover: #D6D6D6; --hover: rgba(255,255,255,.08);
    --hl-band: rgba(255,230,0,.42);
  }
  img { filter: brightness(.92); }
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-color: var(--wall);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.hl { background: linear-gradient(transparent 58%, var(--hl-band) 58%, var(--hl-band) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.note { font: 700 clamp(24px, 2.6vw, 30px)/1.1 var(--hand); }

/* ---------- Header ---------- */
.site-head { position: relative; z-index: 20; padding-top: env(safe-area-inset-top); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.mark { font: 900 22px/1 var(--head); letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 11px 14px; border-radius: 99px; }
.nav a:hover { background: var(--hover); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.nav .cta { background: var(--ink); color: var(--on-ink); font-weight: 600; margin-left: 8px; padding: 12px 20px; }
.nav .cta:hover { background: var(--ink-hover); }
.nav .cta[aria-current="page"] { text-decoration: none; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .menu-btn span, .menu-btn span::before { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
  .menu-btn span { position: relative; box-shadow: 0 -7px 0 currentColor; }
  .menu-btn span::before { content: ''; position: absolute; top: 7px; }
  .site-head.open .menu-btn span { transform: rotate(45deg); box-shadow: none; }
  .site-head.open .menu-btn span::before { transform: translateY(-7px) rotate(-90deg); }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    padding: 0 28px; background: var(--wall);
    background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px); background-size: 26px 26px;
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .site-head.open .nav { opacity: 1; pointer-events: auto; }
  .nav a { font: 900 40px/1.1 var(--head); letter-spacing: -.04em; padding: 6px 0; }
  .nav a:hover { background: none; }
  .nav .cta { margin: 24px 0 0; padding: 16px 26px; font: 600 18px/1 var(--sans); letter-spacing: 0; }
}

/* ---------- Page hero (consulting, contact, booking) ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); }
.hero .note { transform: rotate(-2deg); display: inline-block; margin-bottom: 14px; }
.hero h1 { font: 900 clamp(48px, 8.4vw, 116px)/.88 var(--head); letter-spacing: -.06em; max-width: 13ch; text-wrap: balance; }
.hero-sub { margin-top: 28px; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 42ch; }

/* ---------- Cards and content ---------- */
.card { background: var(--card); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.band { padding: clamp(40px, 7vw, 90px) 0; }
.label { font: 700 13px/1.4 var(--sans); color: var(--soft); margin-bottom: 14px; }
.title { font: 900 clamp(38px, 5.6vw, 72px)/.92 var(--head); letter-spacing: -.05em; text-wrap: balance; }
.lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; max-width: 38ch; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 99px;
  background: var(--ink); color: var(--on-ink); font: 600 16px/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button.yellow { background: var(--hl); color: var(--on-hl); }
.button:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* forms */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 20px; }
.field label, .field > span { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--soft); }
input, select, textarea {
  width: 100%; font: 16px/1.5 var(--sans); color: var(--ink);
  background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 13px 15px;
}
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--hl); }
textarea { resize: vertical; min-height: 140px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.6em; margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.panel { background: var(--card); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); border-radius: 4px; padding: clamp(22px, 4vw, 40px); }
.aside { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 8px; justify-items: start; }
.aside .button { margin-top: 10px; }

/* ---------- Call to action + footer ---------- */
.cta-band { padding: clamp(20px, 4vw, 40px) 0 clamp(56px, 8vw, 100px); }
.cta-box { background: var(--ink); color: var(--on-ink); border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.cta-box .note { color: var(--hl); transform: rotate(-2deg); display: inline-block; margin-bottom: 10px; }
.cta-box h2 { font: 900 clamp(44px, 7vw, 84px)/.9 var(--head); letter-spacing: -.055em; max-width: 11ch; }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-box .button.ghost { color: var(--on-ink); box-shadow: inset 0 0 0 2px var(--on-ink); }
.site-foot { border-top: 2px solid var(--ink); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 26px 0 calc(env(safe-area-inset-bottom) + 34px); font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
/* Dark mode component tweaks; kept last so they win over the rules above. */
@media (prefers-color-scheme: dark) {
  .cta-box { background: var(--card); color: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--hl); }
  .cta-box .button.ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
}
