/* ==========================================================================
   zone_one_zero — one page, simple
   Palette taken from the live site's own theme:
     ink     #0e0f11
     accent  #f6e760  (the yellow already in the brand icon and the WP palette)
     hot     #d85927  (orange, only as a small accent)
   Type: Instrument Sans — the font the current site already uses (self-hosted).
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e0f11;
  --ink-1: #15161a;
  --ink-2: #1b1d22;
  --line: #2a2c33;
  --line-soft: #22242a;
  --paper: #ffffff;
  --muted: #a9afbb;
  --muted-2: #8f95a1;
  --accent: #f6e760;
  --accent-ink: #14150f;
  --hot: #e2642c;
  --err: #ff9a8b;
  --ok: #8be0a4;

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-h1: clamp(2.35rem, 1.2rem + 4.6vw, 4.35rem);
  --fs-h2: clamp(1.75rem, 1.15rem + 2.1vw, 2.6rem);
  --fs-h3: clamp(1.05rem, 0.95rem + 0.45vw, 1.22rem);
  --fs-lede: clamp(1.08rem, 1rem + 0.45vw, 1.28rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(70px, 9vw, 126px);
  --radius: 16px;
  --wrap: 1180px;
  --header-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -14px rgba(246, 231, 96, 0.55);
}
.btn-primary:hover { background: #fbf08b; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 1.03rem; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(14, 15, 17, 0.62);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-header.is-stuck {
  background: rgba(14, 15, 17, 0.94);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(148px, 16vw, 200px); height: auto; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(520px, 80svh, 780px);
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 46px) clamp(64px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(112%) brightness(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 58% at 50% 46%, rgba(14, 15, 17, 0.72) 0%, rgba(14, 15, 17, 0.62) 55%, rgba(14, 15, 17, 0) 100%),
    linear-gradient(180deg, rgba(14, 15, 17, 0.30) 0%, rgba(14, 15, 17, 0.38) 40%, rgba(14, 15, 17, 0.62) 72%, var(--ink) 100%);
}

.hero-inner { text-align: center; }
.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  max-width: 17ch;
  margin-inline: auto;
}
.hero-lede {
  max-width: 56ch;
  margin: 26px auto 0;
  font-size: var(--fs-lede);
  line-height: 1.62;
  color: #e6e9ef;
}
.hero .btn { margin-top: 38px; }

/* ---------- generic section ---------- */

.section { padding-block: var(--section-y); }
h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 600;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
@media (min-width: 920px) {
  .about-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
}
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-1);
}
.about-media img { width: 100%; height: auto; filter: brightness(1.12) contrast(1.03); }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--muted); font-size: 1.04rem; }
.about-copy p + p { margin-top: 16px; }

/* ---------- questions ---------- */

.answers { padding-top: 0; padding-bottom: 0; }
.answers-grid {
  display: grid;
  gap: clamp(24px, 4vw, 64px);
}
@media (min-width: 920px) {
  .answers-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
  .answers-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.answer {
  padding-block: 26px;
  border-top: 1px solid var(--line-soft);
}
.answer:last-child { border-bottom: 1px solid var(--line-soft); }
.answer h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
}
.answer p { color: var(--muted); }
.answer a { color: var(--paper); text-underline-offset: 3px; }

/* ---------- contact ---------- */

.contact {
  position: relative;
  padding-block: clamp(70px, 9vw, 126px) clamp(58px, 7vw, 92px);
  border-top: 1px solid var(--line-soft);
  isolation: isolate;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/band-1600.webp");
  background-size: cover;
  background-position: center 45%;
  opacity: 0.28;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(14, 15, 17, 0.90) 30%, rgba(14, 15, 17, 0.94) 100%);
}
.contact-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
}
.contact-copy h2 { margin-bottom: 16px; }
.contact-lede { color: var(--muted); max-width: 34ch; }
.contact-mail-row { margin-top: 26px; }
.contact-mail {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 231, 96, 0.35);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
}
.contact-mail:hover { border-bottom-color: var(--accent); }

.form-card {
  background: rgba(21, 22, 26, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95);
}
.row.two { display: grid; gap: 16px; }
@media (min-width: 620px) { .row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field:last-of-type { margin-bottom: 0; }
.field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.req { color: var(--accent); }
.input, .textarea, .select {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  background: #101115;
  border: 1px solid #303239;
  border-radius: 10px;
  color: var(--paper);
  font-size: 1rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:hover, .textarea:hover { border-color: #3d4048; }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(246, 231, 96, 0.16);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(255, 154, 139, 0.12);
}
.field-error {
  display: none;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--err);
}
.field-error.is-on { display: block; }

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

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 22px;
}
.form-note { font-size: 0.8rem; color: var(--muted-2); max-width: 32ch; }
.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 0;
}
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--err); }
.form-status a { color: inherit; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 34px;
  background: var(--ink);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.footer-inner img { width: 172px; height: auto; opacity: 0.92; }
.footer-mail { margin-inline-start: auto; }
.footer-mail a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-mail a:hover { color: var(--paper); border-bottom-color: var(--line); }
.footer-legal {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--muted-2);
  letter-spacing: 0.01em;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- reveal (only when JS is running) ---------- */

html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media (max-width: 560px) {
  .hero { min-height: 82svh; }
  .hero h1 { letter-spacing: -0.022em; }
  .footer-mail { margin-inline-start: 0; }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 60px) 60px;
}
.notfound h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.024em;
  margin-bottom: 18px;
}
.notfound p { color: var(--muted); max-width: 46ch; }
.notfound .btn { margin-top: 30px; }
