/* HB Creative – prototype styles */

:root {
  --ink: #0b0b0b;
  --ink-soft: #2a2a2a;
  --paper: #ffffff;
  --sand: #f6f3ec;
  --gold: #ffb800;
  --gold-deep: #e0a200;
  --muted: #5c5c5c;
  --muted-on-ink: #b5b5b5;
  --line: #e4e1da;

  --radius: 24px;
  --radius-small: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;

  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "SignPainter-HouseScriptSemibold", "SignPainter", "Brush Script MT", cursive;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-word { font-family: var(--font-script); color: var(--gold); font-size: 1.7rem; line-height: 1; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); }
.nav .nav-cta { background: var(--ink); color: var(--paper); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--ink-soft); }

.lang {
  display: inline-flex; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden;
  margin-left: 10px; font-size: 0.82rem; font-weight: 700;
}
.lang a, .lang span { padding: 4px 9px; text-decoration: none; border-radius: 0; }
.lang span { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  border-radius: 10px; padding: 7px 12px; font: inherit; font-weight: 700; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .lang { margin: 10px 0 0; align-self: flex-start; }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 16px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background 0.12s ease;
}
.button:hover { transform: translateY(-2px); background: var(--ink-soft); }
.button:active { transform: translateY(0); }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--sand); }
.button-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.button-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.on-ink .button-ghost { color: var(--paper); border-color: var(--paper); }
.on-ink .button-ghost:hover { background: var(--ink-soft); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.on-ink { background: var(--ink); color: var(--paper); }
.on-sand { background: var(--sand); }
.on-gold { background: var(--gold); color: var(--ink); }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px; color: var(--muted);
}
.on-ink .eyebrow { color: var(--gold); }
.on-gold .eyebrow { color: var(--ink); }

.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.on-ink .lead { color: var(--muted-on-ink); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.06em;
  height: 0.28em; background: var(--gold); z-index: -1; border-radius: 4px;
}
.mark-wrap { position: relative; z-index: 0; }

.text-gold { color: var(--gold); }

/* ---------- Hero ---------- */

.hero { padding: clamp(56px, 10vw, 128px) 0 clamp(48px, 7vw, 88px); }
.hero h1 { max-width: 13ch; margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 32px; }
.hero-hint { margin-top: 28px; font-size: 0.98rem; color: var(--muted); }
.hero-hint a { font-weight: 600; color: var(--ink); }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: clamp(48px, 7vw, 80px);
}
.fact {
  background: var(--sand); border-radius: var(--radius); padding: 22px 22px 20px;
}
.fact strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 6px;
}
.fact span { color: var(--muted); font-size: 0.95rem; line-height: 1.4; display: block; }

@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Principles ---------- */

.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(2rem, 6.4vw, 4.6rem); line-height: 1.02;
  padding: clamp(18px, 3vw, 30px) 0; border-top: 1px solid #2c2c2c;
}
.principles li:last-child { border-bottom: 1px solid #2c2c2c; }
.principles li span { color: var(--gold); display: block; }
.principles-note { margin-top: 36px; max-width: 56ch; color: var(--muted-on-ink); font-size: 1.15rem; }

/* ---------- Packages ---------- */

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; max-width: 560px; } }

.package {
  display: flex; flex-direction: column;
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); background: var(--paper);
}
.package h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 8px; }
.package .slogan { font-size: 1.08rem; color: var(--ink-soft); min-height: 3.2em; }
.price {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1; margin: 8px 0 4px;
}
.price-note { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.package-use { font-weight: 600; margin-bottom: 12px; }
.package ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.package li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--line); }
.package li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px;
  border-radius: 5px; background: var(--gold);
}
.package li.speed { font-weight: 700; }
.package .button { width: 100%; }

.included {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 16px;
}
@media (max-width: 960px) { .included { grid-template-columns: 1fr; max-width: 560px; } }

.box { border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.box h3 { margin-bottom: 14px; }
.box ul { margin: 0; padding-left: 1.1em; }
.box li { margin-bottom: 8px; }
.box li::marker { color: var(--gold-deep); }

.promise { background: var(--gold); }
.promise p:last-child { margin-bottom: 0; }
.promise .promise-title { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }

.fineprint { margin-top: 28px; color: var(--muted); max-width: 70ch; font-size: 0.98rem; }
.fair-use { margin-top: 18px; max-width: 70ch; }
.fair-use strong { font-family: var(--font-display); }

/* ---------- Cards / grids ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.on-sand .card { background: var(--paper); }
.on-ink .card { background: #161616; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--gold); font-family: var(--font-display); font-weight: 800;
  margin-bottom: 18px;
}

.case-card { display: flex; flex-direction: column; text-decoration: none; }
.case-card .media { margin-bottom: 20px; }
.case-card .tag { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.case-card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); }

/* ---------- Placeholder media ---------- */

.media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background:
    repeating-linear-gradient(135deg, #ece8df 0 14px, #f3f0e9 14px 28px);
  display: grid; place-items: center; text-align: center;
}
.media.portrait { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 16 / 9; }
.media span {
  background: var(--paper); border-radius: 10px; padding: 8px 14px;
  font-size: 0.85rem; font-weight: 700; color: var(--muted); max-width: 80%;
}

/* Marked content that still needs input from the founders */
.todo {
  border: 2px dashed var(--gold-deep); border-radius: var(--radius-small);
  background: #fff8e5; color: #6b4d00; padding: 14px 18px; font-size: 0.95rem;
}
.todo::before { content: "Platzhalter / Placeholder · "; font-weight: 800; }
.on-ink .todo { background: #2a2205; color: #ffd666; }

/* ---------- Story ---------- */

.story-block { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.story-block:first-of-type { border-top: 0; }
.story-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.story-label { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 10px; }
.story-body { max-width: 66ch; }
@media (max-width: 760px) { .story-block { grid-template-columns: 1fr; gap: 8px; } }

.quote {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.2; margin: 0;
}
.quote-source { margin-top: 18px; color: var(--muted-on-ink); }

.founder { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }
.founder + .founder { margin-top: clamp(48px, 7vw, 80px); }
.founder .role { color: var(--muted); font-weight: 600; margin-top: -6px; }

.people .card { padding: 0; background: transparent; }
.people .media { margin-bottom: 18px; }

/* ---------- Case detail ---------- */

.case { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; }
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.case-head h2 { margin: 0; }
.pill { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-size: 0.85rem; font-weight: 700; }
.case-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 760px) { .case-facts { grid-template-columns: 1fr; } }
.case-facts h3 { font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { display: block; font-size: 0.9rem; color: var(--muted); margin: -2px 0 8px; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid #cfcac0; border-radius: var(--radius-small); padding: 13px 15px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.45); }

.gut { background: var(--sand); border-radius: var(--radius); padding: 22px; }
.gut label { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label {
  border: 2px solid #cfcac0; border-radius: 12px; padding: 9px 14px; cursor: pointer;
  font-weight: 600; margin: 0;
}
.choices input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.choices input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); }

.form-status { display: none; }
.form-status.is-visible { display: block; }

.aside-stack { display: grid; gap: 16px; }

/* ---------- Legal ---------- */

.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- CTA band ---------- */

.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0; max-width: 16ch; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--muted-on-ink); padding: 64px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 150px; height: auto; margin-bottom: 18px; }
.site-footer h4 { color: var(--paper); font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2c2c2c; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}

.card.on-sand { background: var(--sand); }
