/* Zaarcé — shared tokens and components.
   Layout idea: one dark navy hero carries the mark; everything after it is quiet, left-aligned, white and mist bands. */
/* Self-hosted fonts, so the site does not depend on Google Fonts */
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/spectral-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/spectral-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/spectral-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0E2A3B;        /* body text, dark sections (derived from logo navy) */
  --navy: #174963;       /* logo navy: headings, links, primary buttons */
  --navy-deep: #0B2130;  /* hero and footer background */
  --sky: #8DD8F8;        /* logo light blue: accents on dark only */
  --mist: #EAF2F5;       /* alternate section bands */
  --white: #FFFFFF;
  --line: #C9D8E0;       /* rules and dividers */
  --muted: #4A6372;      /* secondary text, passes AA on white */

  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --max: 1180px;
  --gutter: 20px;
  --pad: clamp(64px, 9vw, 120px);
  --radius: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0; max-width: 64ch; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--pad) 0; }
.band { background: var(--mist); }
.label { font-family: var(--font-data); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.125rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--navy); color: var(--white); font: 600 1rem var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--white); }
.btn.sky { background: var(--sky); border-color: var(--sky); color: var(--navy-deep); }
.btn.sky:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn.ghost-light:hover { background: var(--white); color: var(--navy-deep); }
.btn.small { padding: 10px 18px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 76px;
  background: rgba(11, 33, 48, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(141, 216, 248, .15);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.mark { width: 40px; height: 40px; }
.brand img.word { height: 20px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--sky); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--white); border-radius: 999px; padding: 8px 16px; font: 500 .95rem var(--font-body); }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px var(--gutter); background: var(--navy-deep); }
  .nav.open { display: flex; }
}

/* Hero */
.hero { background: var(--navy-deep); color: var(--white); position: relative; overflow: hidden; padding: clamp(72px, 10vw, 136px) 0 clamp(64px, 8vw, 112px); }
.hero .mandala { position: absolute; right: -14%; top: 50%; transform: translateY(-50%); width: min(760px, 70vw); opacity: .14; pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 28px; }
.hero h1 { color: var(--white); max-width: 19ch; font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.hero .offer { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 54ch; }
.hero .label { color: var(--sky); }
.hero-photo { margin-top: 24px; }

/* Photo slots (placeholders until real photos arrive) */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist);
  border: 1px dashed var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 24px;
}
.photo.wide { aspect-ratio: 16 / 7; }
.photo.dark { background: rgba(255,255,255,.04); border-color: rgba(141,216,248,.35); }
.photo span { font-family: var(--font-data); font-size: .8rem; color: var(--muted); max-width: 32ch; }
.photo.dark span { color: rgba(255,255,255,.7); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Belief + method */
.belief { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.belief .lead { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--navy); }
.method li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.method .n { font-family: var(--font-data); color: var(--navy); font-size: .9rem; padding-top: 3px; }
.method strong { display: block; font-size: 1.05rem; }
.method span.d { color: var(--muted); }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); border-top: 3px solid var(--navy); padding-top: 32px; }
.audiences h3 { margin-bottom: 10px; }
.also { margin-top: 32px; color: var(--muted); font-size: .98rem; }

/* Proof */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--navy); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); }
.timeline li.now::before { background: var(--sky); border-color: var(--navy); }
.timeline .when { font-family: var(--font-data); font-size: .8rem; color: var(--muted); display: block; }
.supply { margin-top: 40px; display: grid; gap: 16px; }
.supply p strong { color: var(--navy); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child .photo { aspect-ratio: 16 / 9; }
.gallery figure { margin: 0; }
.caption { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.project.live { border-top: 4px solid var(--navy); }
.project .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.project .status { font-family: var(--font-data); font-size: .75rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.project.live .status { background: var(--sky); border-color: var(--sky); color: var(--navy-deep); }
.project .fact { font-family: var(--font-data); font-size: .8rem; color: var(--muted); }
.reel-head { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; margin-bottom: 16px; }
.reel-nav { display: flex; gap: 8px; }
.reel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-size: 1.1rem; cursor: pointer; }
.reel-btn:hover { border-color: var(--navy); }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.clip { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.clip .media { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--navy-deep); display: block; }
.clip figcaption { font-size: .95rem; color: var(--ink); line-height: 1.5; }
.clip figcaption strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.strip figure { margin: 0; }
.strip .photo { aspect-ratio: 3 / 2; }

/* Next */
.next { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.next article { border-left: 3px solid var(--sky); padding-left: 24px; display: grid; gap: 10px; }
.next .label { color: var(--navy); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--navy); }
.services article { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.services article + article { border-left: 1px solid var(--line); padding-left: 28px; }
.services .for { font-family: var(--font-data); font-size: .8rem; color: var(--muted); }
.services .start { font-size: .95rem; color: var(--navy); font-weight: 600; }

/* Ways to start */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; }
.route.feature { background: var(--navy); border-color: var(--navy); color: var(--white); }
.route.feature h3, .route.feature .price { color: var(--white); }
.route .price { font-family: var(--font-data); font-size: 1rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.route p { color: inherit; opacity: .9; }
.route .btn { justify-self: start; margin-top: 6px; }

/* Playbook */
.playbook { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cover { aspect-ratio: 3 / 4; max-width: 340px; border-radius: 10px; background: var(--navy-deep); color: var(--white); padding: 32px; display: grid; align-content: space-between; box-shadow: 0 24px 48px -24px rgba(11,33,48,.5); }
.cover img { width: 64px; opacity: .9; }
.cover .t { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; }
.cover .label { color: var(--sky); }

/* Show */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 3px solid var(--navy); padding-top: 28px; }
.post { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); }
.post:hover h3 { text-decoration: underline; }
.post h3 { font-size: 1.2rem; }
.post p { color: var(--muted); font-size: .98rem; }
.subscribe { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Founder */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder .photo { aspect-ratio: 4 / 5; }
.founder .portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.listen { margin-top: 32px; display: grid; gap: 12px; }
.founder blockquote { margin: 0; display: grid; gap: 18px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.channels { display: grid; gap: 12px; margin-top: 28px; }
.channel { display: grid; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--white); }
.channel:hover { border-color: var(--navy); }
.channel .label { font-size: .75rem; }
.channel strong { font-size: 1.05rem; word-break: break-word; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 500 .95rem var(--font-body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
form.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.error { color: #A3261B; font-size: .9rem; min-height: 1.2em; }
.note { font-size: .9rem; color: var(--muted); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 56px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer a { color: var(--white); }
.site-footer img { width: 180px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(141,216,248,.2); padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.6); }

/* Breakpoints: 900 grids stack, 560 forms single column */
@media (max-width: 900px) {
  .projects, .belief, .proof, .playbook, .founder, .contact, .next, .audiences { grid-template-columns: 1fr; }
  .services, .routes, .posts { grid-template-columns: 1fr; }
  .services article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .founder .photo, .founder .portrait { max-width: 320px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .brand img.word { display: none; }
}

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
