/* Darboux Pty Ltd: the app's palette and type, on white (DESIGN §15). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #121212;
  --muted: #55606b;
  --line: #e3e6eb;
  --button: #121212;
  --button-text: #ffffff;
  --mark-dot: #a9b4bf;
  --live: #2a614d;
  --structure: #4d7c0f;
  --directness: #c2410c;
  --pace: #0f766e;
  --clarity: #a16207;
  --radius: 20px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121110;
    --surface: #1a1917;
    --text: #f1efea;
    --muted: #b5b0a6;
    --line: #2f2c27;
    --button: #f1efea;
    --button-text: #121110;
    --mark-dot: #a9b4bf;
    --live: #8fd1b5;
    --structure: #bef264;
    --directness: #fdba74;
    --pace: #5eead4;
    --clarity: #fcd34d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .brand {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 750; margin: 0 0 20px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 1.1rem; font-weight: 650; margin: 0 0 8px; }
p { margin: 0 0 16px; }

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--button); color: var(--button-text); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.mark { width: 34px; height: 34px; }
.mark-dot { fill: var(--mark-dot); }
nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 12px 0; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--muted); font-weight: 600; font-size: 0.92rem; margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); flex: none; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 12px; }
.button {
  display: inline-block; background: var(--button); color: var(--button-text);
  text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 999px; min-height: 48px;
}
.link { font-weight: 600; }

.hero-shots { position: relative; height: 560px; }
.shot {
  display: block; width: 100%; height: auto; border-radius: 28px;
  border: 1px solid var(--line); background: var(--bg);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.10);
}
.hero-shots .shot { position: absolute; width: 62%; }
.shot-back { right: 0; top: 40px; opacity: 0.92; }
.shot-front { left: 0; top: 0; }

/* Bands */
.band { padding: 80px 0; }
.band-surface { background: var(--surface); }
.section-lede { color: var(--muted); font-size: 1.08rem; max-width: 40em; margin-bottom: 36px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: var(--bg);
}
.feature p { color: var(--muted); margin: 0; }
.swatch { display: block; width: 12px; height: 12px; border-radius: 50%; margin-bottom: 16px; }
.swatch-structure { background: var(--structure); }
.swatch-directness { background: var(--directness); }
.swatch-pace { background: var(--pace); }
.swatch-clarity { background: var(--clarity); }

.data-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: center; }
.facts { margin: 20px 0 28px; padding-left: 1.2em; }
.facts li { margin-bottom: 12px; }
.legal-links, .footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.legal-links a { font-weight: 600; }
.shot-single { max-width: 300px; justify-self: center; }


.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; margin-top: 24px; }
.contacts div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.contacts p { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 0.92rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

/* Narrow screens */
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid, .data-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-shots { height: auto; display: flex; justify-content: center; }
  .hero-shots .shot { position: static; width: min(300px, 80%); }
  .shot-back { display: none !important; }
  .features { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  /* The name on one line, the menu on the next: no wrapping around the brand. */
  .header-row { flex-wrap: wrap; row-gap: 0; padding-top: 12px; }
  nav { width: 100%; gap: 22px; }
  nav a { font-size: 0.95rem; padding: 6px 0 14px; }
}
