/* Got Your Six Consulting — static replica of the Squarespace site.
   Typography: Instrument Serif (headings) / Newsreader (body), self-hosted. */

:root {
  --ink: #000;
  --heading: #1c1c1c;
  --paper: #fff;
  --hero-text: #fafafa;
  --max: 1600px;
  --pad: clamp(24px, 3.9vw, 53px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Newsreader', serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  color: var(--heading);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 4.78vw, 4.6rem); line-height: 1.056; }
h2 { font-size: clamp(2rem, 3.34vw, 3.2rem); line-height: 1.114; }
h3 { font-size: clamp(1.6rem, 2.62vw, 2.5rem); line-height: 1.142; }
h4 { font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.171; color: var(--ink); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--paper);
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad);
  min-height: 100px;
}

.site-nav { display: flex; gap: 22px; }

.site-nav a {
  font-size: 16px;
  color: var(--heading);
  text-decoration: none;
}

.site-nav a:hover, .site-nav a.active { text-decoration: underline; text-underline-offset: 5px; }

.site-logo img { display: block; height: 76px; width: auto; }

.header-spacer { }

/* Mobile burger */
.burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 34px; height: 26px;
  position: relative;
  justify-self: start;
}
.burger span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { top: 12px; }
.burger span:nth-child(3) { top: 20px; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 799px) {
  .burger { display: block; }
  .site-nav {
    position: fixed; inset: 100px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    padding: 40px var(--pad);
    gap: 28px;
    font-size: 24px;
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  .nav-open .site-nav { transform: none; }
  .site-nav a { font-family: 'Instrument Serif', serif; font-size: 28px; }
}

main { padding-top: 100px; }

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 6vw, 90px) var(--pad);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0 var(--pad);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(30, 30, 30, 0.45);
}
.hero-title {
  position: relative;
  z-index: 1;
  color: var(--hero-text);
  text-shadow: 0 1px 14px rgba(0,0,0,.22);
  text-align: right;
  padding: clamp(60px, 12vh, 130px) clamp(24px, 4vw, 60px) 0 0;
}

/* Two-column split (image + text, or text + form) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}
.split.center-v { align-items: center; }
.split img { width: 100%; height: auto; display: block; }
.split .text h2 { margin-bottom: 1.2em; }

@media (max-width: 799px) {
  .split { grid-template-columns: 1fr; }
}

/* Strategy: three columns */
.strategy h2 { margin-bottom: 1.4em; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 42px);
}
.step img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  margin-bottom: 28px;
}
.step h3 { text-transform: uppercase; margin-bottom: 24px; }
.step .lede { font-weight: 700; }

@media (max-width: 799px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */

.field { margin-bottom: 22px; }
.field-caption { display: block; margin-bottom: 6px; }
.field-caption .req { font-size: .85em; color: #444; margin-left: .4em; }

.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

input[type=text], input[type=email], textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 28px;
  padding: 12px 18px;
  outline: none;
}
textarea { min-height: 100px; border-radius: 24px; resize: vertical; }
input:focus, textarea:focus { box-shadow: 0 0 0 1px var(--ink); }

.btn {
  font: inherit;
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 40px;
  padding: 16px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .8; }

.form-status { margin-top: 16px; display: none; }
.form-status.ok { display: block; }
.form-status.err { display: block; color: #a00; }

/* ---------- Video page ---------- */

.video-page { max-width: 1200px; margin: 0 auto; text-align: left; }
.video-page h1 { text-align: center; margin-bottom: .9em; }
.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #666;
  margin-top: 34px;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

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

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 6vw, 80px) var(--pad) 90px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-name {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 3.34vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--heading);
}
.footer-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
.footer-cols h4 { margin-bottom: 1.6em; }
.footer-cols a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 799px) {
  .site-footer { grid-template-columns: 1fr; }
}
