/* =====================================================================
   KORDAX — shared styles for every page
   ---------------------------------------------------------------------
   BRAND COLORS: change them here and the whole site updates.
   Layout idea: a camera viewfinder. Corner brackets, a red REC light
   and timecodes frame each section, the way the logo frames the K.
   ===================================================================== */
:root {
  --black:   #0A0D0E;   /* page background (black with a hint of teal) */
  --panel:   #111819;   /* raised sections and cards */
  --line:    #22302F;   /* thin borders */
  --fg:      #EAF2F1;   /* main text */
  --muted:   #93A6A4;   /* secondary text */
  --teal:    #2ED3C6;   /* TURQUOISE — main brand color */
  --teal-dim:#1A7C75;
  --rec:     #FF3B30;   /* red REC light */

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1160px;
  --radius: 4px;
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 0.98; letter-spacing: 0.005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8.5vw, 6.25rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.teal { color: var(--teal); }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); display: inline-flex; align-items: center; gap: 10px;
}
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.4s steps(2, start) infinite; flex: none; }
@keyframes blink { to { visibility: hidden; } }

/* PLACEHOLDERS — anything you still need to fill in shows with a dashed
   yellow underline so it is easy to spot. Search the HTML for "EDIT". */
.fill { color: #F5D76E; border-bottom: 1px dashed #F5D76E; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 24px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--teal);
  cursor: pointer; transition: background .2s, color .2s;
}
.btn-primary { background: var(--teal); color: var(--black); }
.btn-primary:hover { background: var(--fg); border-color: var(--fg); color: var(--black); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--black); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--black) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand img { width: 44px; height: 44px; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: 0.06em; line-height: 1; }
.brand-word span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav a:hover { color: var(--fg); }
.nav .btn { padding: 11px 18px; color: var(--black); }
.nav .btn:hover { color: var(--black); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: var(--radius); padding: 8px 12px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: .1em; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 1px solid var(--teal); }
}

/* ---------- viewfinder frame (the signature element) ---------- */
.vf { position: relative; }
.vf::before, .vf::after, .vf > .vf-c1, .vf > .vf-c2 {
  content: ""; position: absolute; width: 26px; height: 26px; border-color: var(--teal); border-style: solid; pointer-events: none;
}
.vf::before { top: 0; left: 0; border-width: 3px 0 0 3px; }
.vf::after  { top: 0; right: 0; border-width: 3px 3px 0 0; }
.vf > .vf-c1 { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.vf > .vf-c2 { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

/* ---------- sections ---------- */
section { padding-block: clamp(72px, 10vw, 120px); }
.section-head { display: grid; gap: 18px; margin-bottom: 52px; max-width: 760px; }
.alt { background: var(--panel); border-block: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.hero-meta b { color: var(--fg); font-weight: 600; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* 9:16 phone-shaped video slot */
.reel { position: relative; aspect-ratio: 9 / 16; max-width: 100%; width: 100%; padding: 14px; }
.reel-screen {
  position: relative; width: 100%; height: 100%; border-radius: 10px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(33.333% - 1px), rgba(46,211,198,.12) calc(33.333% - 1px) 33.333%),
    repeating-linear-gradient(0deg, transparent 0 calc(33.333% - 1px), rgba(46,211,198,.12) calc(33.333% - 1px) 33.333%),
    linear-gradient(160deg, #142224, #0B1112 70%);
  display: grid; place-items: center; text-align: center;
}
.reel-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-hud { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; color: var(--fg); z-index: 2; text-shadow: 0 1px 4px #000; }
.reel-hud .rec { display: inline-flex; align-items: center; gap: 7px; }
.reel-hud-b { top: auto; bottom: 10px; color: var(--muted); }
.slot-note { display: grid; gap: 8px; padding: 18px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: .04em; line-height: 1.5; }
.slot-note strong { color: #F5D76E; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- trade strip ---------- */
.strip { border-block: 1px solid var(--line); padding-block: 20px; overflow: hidden; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.strip li { display: inline-flex; align-items: center; gap: 36px; }
.strip li + li::before { content: "/"; color: var(--teal-dim); margin-right: 0; }

/* ---------- work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-item { display: grid; gap: 14px; min-width: 0; }
.work-item .reel { padding: 10px; }
.work-item h3 { font-size: 1.45rem; }
.work-item p { color: var(--muted); font-size: 0.98rem; }
.tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

/* ---------- packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.plan { padding: 34px 30px; display: grid; gap: 22px; align-content: start; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: var(--black); outline: 2px solid var(--teal); outline-offset: -1px; position: relative; }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--teal); color: var(--black); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: .12em; padding: 4px 10px; border-radius: 2px; text-transform: uppercase; }
.plan h3 { font-size: 2rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.price small { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); font-weight: 400; letter-spacing: .06em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--fg); font-size: 0.98rem; }
.plan li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border: 2px solid var(--teal); border-width: 2px 0 0 2px; }
.plan .btn { width: 100%; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 22px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; border: 0; gap: 22px; }
  .plan { border: 1px solid var(--line); border-radius: var(--radius); }
  .plan + .plan { border-left: 1px solid var(--line); }
}

/* ---------- process (a real sequence, so it is numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px 26px 30px 0; border-top: 2px solid var(--line); display: grid; gap: 12px; align-content: start; position: relative; min-width: 0; }
.steps li::before { content: "SCENE 0" counter(step); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .14em; color: var(--teal); }
.steps li::after { content: ""; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--teal); }
.steps h3 { font-size: 1.55rem; }
.steps p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-list { display: grid; gap: 0; }
.why-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.why-row:first-child { border-top: 1px solid var(--line); }
.why-row dt { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--teal); }
.why-row dd { margin: 0; color: var(--muted); }
.why-row dd b { color: var(--fg); display: block; font-weight: 600; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .why-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.quote { padding: 34px; display: grid; gap: 20px; min-width: 0; }
.quote blockquote { margin: 0; font-size: 1.2rem; line-height: 1.5; }
.quote cite { font-style: normal; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 68ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info { display: grid; gap: 26px; min-width: 0; }
.contact-lines { display: grid; gap: 0; }
.contact-lines div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.contact-lines dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-lines dd { margin: 0; word-break: break-word; }
.form { padding: clamp(24px, 4vw, 40px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 18px; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--black);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(46,211,198,.18); }
.form-note { font-size: 0.85rem; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--teal); color: var(--black); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { left: 12px; }
.form-status { font-family: var(--font-mono); font-size: 0.85rem; color: var(--teal); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(64px, 9vw, 110px); text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 14ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 36px; background: var(--black); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--fg); text-decoration: none; }
.footer-grid a:hover { color: var(--teal); }
.footer-about { display: grid; gap: 16px; color: var(--muted); max-width: 34ch; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 90px); }
.legal .wrap { max-width: 820px; }
.legal header { display: grid; gap: 16px; margin-bottom: 44px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); }
.legal h2 { font-size: 1.9rem; margin: 44px 0 14px; }
.legal p, .legal li { color: #C9D6D4; max-width: 70ch; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 14px 0; }
.legal .updated { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.notice { border: 1px dashed #F5D76E; color: #F5D76E; padding: 14px 18px; border-radius: var(--radius); font-size: 0.92rem; }

/* ---------- simple centered pages (404, thank you) ---------- */
.center-page { min-height: 62vh; display: grid; place-items: center; padding-block: 80px; }
.center-card { padding: clamp(36px, 6vw, 64px); display: grid; gap: 22px; justify-items: start; max-width: 640px; }
.timecode { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: .12em; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }

/* ---------- small-screen tweaks ---------- */
.strip ul { padding-inline: 20px; }
@media (max-width: 860px) {
  .hero .reel { max-width: 340px; margin-inline: auto; }
  .strip ul { gap: 6px 22px; font-size: 1.15rem; }
  .strip li + li::before { display: none; }
}
