/* ============================================================
   ORDNANCE MARKETING — homepage + custom-quote page (Nov 2026)
   Matte black, brushed steel. Used by index.html and packages.html.
   The older styles.css is left untouched.
   ============================================================ */

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

:root {
  --black: #000000;
  --panel: #0a0a0a;
  --line: #2b2b2b;
  --steel-hi: #f2f2f2;
  --steel: #c4c4c4;
  --steel-lo: #8d8d8d;
  --text: #d6d6d6;
  --muted: #a9a9a9;
  --head: "Rajdhani", "Segoe UI", Arial, sans-serif;
  --label: "Orbitron", "Arial Black", Arial, sans-serif;
  --wrap: min(1120px, 100% - 2.5rem);
}

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

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--head);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

a { color: var(--steel-hi); }

/* Keyboard focus: always visible, never colour-only */
a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: #ffffff; color: #000000;
  padding: 0.6rem 1rem; font-weight: 700; z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- Top bar ---------- */

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap;
  padding: 1rem 0;
}

.brand img { width: clamp(168px, 22vw, 230px); }

.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; }

.nav a {
  font-family: var(--label);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--steel);
  display: inline-block; padding: 0.95rem 0;
}
.nav a:hover { color: #ffffff; }

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

.hero {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(0.75rem, 3vw, 2.5rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.eyebrow {
  font-family: var(--label);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: #f4f4f4;
  text-wrap: balance;
  margin-bottom: 1.1rem;
}

.intro { max-width: 34em; color: var(--text); }
.intro + .intro { margin-top: 0.6rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.btn {
  display: inline-block;
  font-family: var(--label);
  font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 1em 1.7em; min-height: 48px;
  color: #0a0a0a;
  background: linear-gradient(180deg, #f2f2f2 0%, #bfbfbf 48%, #9a9a9a 52%, #c9c9c9 100%);
  border: 1px solid #6f6f6f;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }

.btn-ghost {
  color: #f2f2f2; background: transparent;
  border: 1px solid var(--steel);
}
.btn-ghost:hover { background: #151515; }

/* Still frame from the header video, shown whole (never cropped).
   The Play bar sits under the picture so it covers nothing; the clip loads only on request */
.reel { border: 1px solid var(--line); background: var(--panel); }
.reel img, .reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.reel-play {
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--label); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: #ffffff; background: #141414;
  border-top: 1px solid var(--line);
  padding: 1em 1.1em; min-height: 50px; cursor: pointer;
}
.reel-play:hover { background: #1f1f1f; }
.reel-play svg { width: 0.9em; height: 0.9em; fill: currentColor; }

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

.rule {
  height: 1px; width: var(--wrap); margin-inline: auto;
  background: linear-gradient(90deg, rgba(160,160,160,0) 0%, #9c9c9c 18%, #d6d6d6 50%, #9c9c9c 82%, rgba(160,160,160,0) 100%);
}

section { padding: clamp(2.75rem, 7vw, 5rem) 0; }

h2 {
  font-family: var(--label);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #ededed;
  margin-bottom: 0.5rem;
}

.lede { color: var(--muted); max-width: 38em; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

h3 {
  font-family: var(--head);
  font-weight: 700; font-size: 1.45rem; line-height: 1.2;
  color: #f4f4f4;
  margin-bottom: 0.55rem;
}

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--steel-lo);
  padding: clamp(1.25rem, 3vw, 1.9rem);
}
.card p { color: var(--text); }
.card p + p { margin-top: 0.7rem; }
.card .num {
  font-family: var(--label); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--steel-lo);
  display: block; margin-bottom: 0.7rem;
}

.aside {
  margin-top: 1rem;
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  color: var(--muted); font-size: 1.05rem;
}
.aside strong { color: var(--text); font-weight: 600; }

/* ---------- Work ---------- */

.own {
  display: grid; gap: 0.4rem 2rem; align-items: center;
  grid-template-columns: 1fr;
}
.tag {
  display: inline-block;
  font-family: var(--label); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #0a0a0a; background: var(--steel);
  padding: 0.35em 0.7em; margin-bottom: 0.8rem;
}
.tag-outline { color: var(--steel-hi); background: transparent; border: 1px solid var(--steel); }

.textlink {
  font-family: var(--label); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffffff; text-underline-offset: 0.35em;
  display: inline-block; padding: 0.8rem 0;
}

/* ---------- About + closing ---------- */

.about { max-width: 40em; }
.about p + p { margin-top: 0.8rem; }

.close { text-align: center; }
.close .lede { margin-inline: auto; }
.close .actions { justify-content: center; }
.close .alt { margin-top: 1.3rem; color: var(--muted); }
.close .alt a { color: #ffffff; text-underline-offset: 0.3em; word-break: break-word; display: inline-block; padding: 0.6rem 0; }

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  font-size: 0.95rem; color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- Quote page ---------- */

.quote { padding: clamp(2rem, 8vw, 6rem) 0; max-width: 40em; }
.quote p + p { margin-top: 0.8rem; }

/* Phones: the hero button sits right below, so the nav copy is dropped */
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav { gap: 0.25rem 1.25rem; }
  .topbar { padding-bottom: 0.25rem; }
  .reel-play { font-size: 0.66rem; letter-spacing: 0.08em; }
  .footer span { display: block; }
  .footer .dot { display: none; }
}

/* ---------- Wider screens ---------- */

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .own { grid-template-columns: 1.6fr auto; }
}

@media (min-width: 940px) {
  .hero { grid-template-columns: 1.05fr 1fr; }
}

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