/* Infokings Media — studio site */
:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --bg-4: #222226;
  --paper: #f3eee4;
  --paper-2: #e8e1d4;
  --ink: #f4f1ea;
  --ink-soft: #c4c0b6;
  --ink-mute: #8d8980;
  --paper-ink: #161513;
  --paper-soft: #4d4943;
  --gold: #d4b56a;
  --gold-2: #e8d090;
  --gold-dim: rgba(212, 181, 106, 0.16);
  --red: #e10600;
  --line: rgba(244, 241, 234, 0.1);
  --line-strong: rgba(244, 241, 234, 0.18);
  --paper-line: rgba(22, 21, 19, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --wide: 1240px;
  --header: 4.5rem;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap-wide {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 12, 0.92);
}

.header-inner {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  height: 42px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 1.5px;
  background: var(--ink);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.65rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding: 0.3rem 0;
  position: relative;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
}
.site-nav a.nav-cta::after { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  padding: 0.62rem 1.05rem !important;
  background: var(--gold);
  color: var(--bg) !important;
  font-weight: 650;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold-2); color: var(--bg) !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 0.95rem 1.4rem;
  font-weight: 650;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:focus-visible,
.site-nav a:focus-visible,
.logo:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-dark {
  background: var(--paper-ink);
  color: var(--paper);
}
.btn-dark:hover { background: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  padding: 4.75rem 0 4.25rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% -10%, rgba(225, 6, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(212, 181, 106, 0.1), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6.15rem);
  line-height: 0.95;
  max-width: 14ch;
  font-weight: 600;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 500;
}
.hero-lead {
  margin-top: 1.6rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}
.hero .btn-row { margin-top: 2.1rem; }
.hero-meta {
  margin-top: 1.1rem;
  color: var(--ink-mute);
  font-size: 0.92rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 4.25rem;
}
.capability {
  background: var(--bg-2);
  padding: 1.35rem 1.25rem 1.45rem;
}
.capability h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}
.capability p { color: var(--ink-mute); font-size: 0.9rem; line-height: 1.45; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.stat {
  background: var(--bg);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--gold-2);
  line-height: 1;
}
.stats-3 { grid-template-columns: repeat(3, 1fr); }

.stat span {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-mute);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--bg); }
.section-mid { background: var(--bg-2); }
.section-paper {
  background: var(--paper);
  color: var(--paper-ink);
}
.section-paper .ink-soft,
.section-paper .section-intro { color: var(--paper-soft); }
.section-paper .kicker { color: #8a6a22; }
.section-paper .kicker::before { background: #8a6a22; }

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  margin: 0.25rem 0 0.9rem;
}
.section-intro { color: var(--ink-soft); font-size: 1.05rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step { position: relative; padding-top: 0.2rem; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.65rem;
  display: block;
  margin-bottom: 0.7rem;
}
.step h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.service-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 1.75rem 1.6rem 1.55rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.section-paper .service-card {
  background: #fffdf8;
  border-color: var(--paper-line);
}
.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}
.service-card > p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.section-paper .service-card > p { color: var(--paper-soft); }
.service-card ul { margin: 0 0 1.35rem; }
.service-card li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}
.section-paper .service-card li { color: var(--paper-soft); }
.price-line {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.price-line strong { color: var(--gold-2); font-weight: 650; }
.section-paper .price-line { color: var(--paper-ink); }
.section-paper .price-line strong { color: #8a6a22; }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.review {
  border-top: 2px solid var(--gold);
  background: var(--bg-3);
  padding: 1.5rem 1.35rem 1.4rem;
}
.review blockquote {
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.6;
}
.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.review cite {
  font-style: normal;
  font-weight: 650;
  font-size: 0.92rem;
}
.review .role { color: var(--ink-mute); font-size: 0.85rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.55rem; }
.faq-list details {
  border: 1px solid var(--paper-line);
  background: #fffdf8;
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.35rem;
  color: #8a6a22;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  padding: 0 1.2rem 1.2rem;
  color: var(--paper-soft);
  max-width: 58rem;
}

/* Portfolio */
.work-list { display: grid; gap: 1.15rem; }
.work-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-index {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.35rem;
}
.work-item h3 { font-size: 1.7rem; margin-bottom: 0.55rem; }
.work-item p { color: var(--ink-soft); max-width: 42rem; }
.work-result {
  justify-self: end;
  align-self: center;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  text-align: right;
  max-width: 12rem;
}

/* Training catalog */
.catalog { display: grid; gap: 3.25rem; }
.catalog-group h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: 0.5rem;
}
.catalog-group > p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.package {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.package:last-child { border-bottom: 1px solid var(--line); }
.package h3 { font-family: var(--sans); font-size: 1.15rem; margin-bottom: 0.4rem; }
.package p { color: var(--ink-soft); max-width: 40rem; font-size: 0.98rem; }
.package-meta {
  text-align: right;
  min-width: 10rem;
}
.package-meta .price {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold-2);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.package-meta ul { color: var(--ink-mute); font-size: 0.85rem; }
.package-meta li { margin: 0.15rem 0; }

/* About principles */
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 2.25rem;
}
.principle {
  border-top: 1px solid var(--paper-line);
  padding-top: 1rem;
}
.principle h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.principle p { color: var(--paper-soft); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  padding: 4.25rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(225, 6, 0, 0.14), transparent 55%),
    var(--bg-2);
  border-block: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}
.cta-band p {
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact-list { display: grid; gap: 1.15rem; margin-top: 1.5rem; }
.contact-list div span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.2rem;
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold-2); }

/* Forms */
.form {
  display: grid;
  gap: 1.05rem;
}
.form-card {
  background: #fffdf8;
  color: var(--paper-ink);
  border: 1px solid var(--paper-line);
  padding: 1.75rem 1.5rem;
}
.form-section-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 1.35rem 0 0.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--paper-line);
}
.form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.form-hint {
  color: var(--paper-soft);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.field { display: grid; gap: 0.35rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label,
.field .label {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 0.75rem 0.8rem;
  color: var(--paper-ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: transparent;
}
.field textarea { min-height: 8rem; resize: vertical; }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--paper-line);
  background: #fff;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 99px;
}
.chip input { accent-color: #8a6a22; }
.chip:has(input:checked) {
  border-color: #8a6a22;
  background: #f6edd6;
}

.range-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.range-value { font-family: var(--serif); font-size: 1.4rem; color: #8a6a22; }
.field input[type="range"] { padding: 0; accent-color: #8a6a22; }

.form-fallback,
.form-footer {
  color: var(--paper-soft);
  font-size: 0.92rem;
}
.form-fallback a { color: var(--paper-ink); font-weight: 650; }
.form-fallback a:hover { color: #8a6a22; }

.quote-intro {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}
.quote-intro p { color: var(--ink-soft); max-width: 34rem; }
.response-pill {
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: #070708;
  border-top: 1px solid var(--line);
  padding: 3.25rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 0.9rem; }
.footer-brand p { color: var(--ink-mute); max-width: 22rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-weight: 650;
}
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.footer-links, .footer-contact { display: grid; gap: 0.4rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  color: var(--ink-mute);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero { padding: 3.5rem 0 2.25rem; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  max-width: 16ch;
}

@media (max-width: 900px) {
  .capability-grid,
  .stats,
  .steps,
  .service-grid,
  .review-grid,
  .split,
  .contact-grid,
  .principles,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .work-result { justify-self: start; }
  .package { grid-template-columns: 1fr; }
  .package-meta { text-align: left; }
  .quote-intro { flex-direction: column; align-items: start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; z-index: 60; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 8, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 5.5rem 1.75rem 2rem;
    gap: 0.35rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  body.nav-open .site-nav { transform: none; }
  .site-nav a {
    font-size: 1.45rem;
    font-family: var(--serif);
    color: var(--ink);
    padding: 0.55rem 0;
  }
  .site-nav a.nav-cta {
    margin: 1rem 0 0;
    width: 100%;
    font-family: var(--sans);
    font-size: 0.9rem !important;
  }
  .hero { padding: 3.2rem 0 3rem; }
  .capability-grid,
  .stats,
  .steps,
  .service-grid,
  .review-grid,
  .split,
  .contact-grid,
  .principles,
  .footer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
  .section { padding: 3.5rem 0; }
  .wrap, .wrap-wide, .header-inner { width: min(var(--wide), calc(100% - 1.75rem)); }
}

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