:root {
  --bg: #f6f8f4;
  --bg-quiet: #edf2ed;
  --white: #ffffff;
  --ink: #13221b;
  --muted: #5f6f65;
  --green: #17643c;
  --green-dark: #0b3527;
  --green-soft: #dcead9;
  --gold: #c99a2d;
  --navy: #182c37;
  --line: #d9e2db;
  --shadow: 0 22px 55px rgba(18, 34, 27, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 226, 219, 0.85);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 34, 27, 0.09);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.nav-cta,
.button,
.media-link,
.link-list a,
.source-list a {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  font-size: 0.9rem;
}

.nav-links {
  gap: 0.25rem;
}

.nav-links a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--green-soft);
  color: var(--green-dark);
}

.nav-links .nav-cta {
  gap: 0.45rem;
  background: var(--green);
  color: var(--white);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--green-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: 84vh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 34, 24, 0.86), rgba(8, 34, 24, 0.45) 55%, rgba(8, 34, 24, 0.08)),
    linear-gradient(0deg, rgba(8, 34, 24, 0.78), rgba(8, 34, 24, 0.05) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 10.5rem 0 3.3rem;
  align-self: end;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #dbe7dd;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin: 1.25rem 0 0;
  color: #edf5ed;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.82rem 1.05rem;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button svg,
.nav-cta svg,
.media-link svg,
.link-list svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--gold);
  color: #1f271e;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ddb34f;
}

.button-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.button-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.17);
}

.button-code {
  background: var(--white);
  color: var(--green-dark);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 2.6rem 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-facts div {
  padding: 1rem;
  background: rgba(9, 40, 29, 0.58);
}

.hero-facts dt {
  color: #cfe2d1;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.section {
  padding: 5rem 0;
}

.section-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro-strip {
  padding: 1.25rem 0 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat,
.info-card,
.media-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 34, 27, 0.06);
}

.stat {
  padding: 1.1rem;
}

.stat-label {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin: 0.15rem 0;
  font-size: 1.05rem;
}

.stat span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.split,
.work-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.55rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.story-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.story-copy p + p {
  margin-top: 1.1rem;
}

.story-copy a {
  color: var(--green);
  font-weight: 800;
}

.section-muted {
  background: var(--bg-quiet);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  padding: 1.35rem;
}

.info-card svg {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1rem;
  color: var(--green);
  stroke-width: 1.8;
}

.info-card p,
.media-card p,
.work-grid p,
.contact-copy p {
  color: var(--muted);
}

.info-card p {
  margin-top: 0.65rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 1.25rem;
}

.media-card:nth-child(2) {
  grid-column: span 2;
}

.media-topline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-card h3 {
  margin-bottom: 0.6rem;
}

.swing-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(11, 53, 39, 0.95), rgba(23, 100, 60, 0.8)),
    url("assets/emma-lewis-hero.png") center/cover;
}

.swing-card h3,
.swing-card p,
.swing-card .media-topline {
  color: var(--white);
}

.swing-card p {
  color: #e5f1e7;
}

.media-link {
  gap: 0.4rem;
  width: fit-content;
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.swing-card .media-link {
  color: var(--white);
}

.embed-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-color: var(--line) !important;
  border-radius: 8px !important;
}

.instagram-media a {
  display: block;
  padding: 1rem;
  color: var(--green);
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.link-list a,
.source-list a {
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

.link-list a:hover,
.link-list a:focus-visible,
.source-list a:hover,
.source-list a:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
}

.activation-list {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.activation-list div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px dashed #b7c9bd;
  border-radius: 6px;
  padding: 0.85rem;
  color: var(--green-dark);
  font-weight: 850;
}

.activation-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}

.work-section {
  background: var(--green-dark);
  color: var(--white);
}

.work-section h2,
.work-section .eyebrow {
  color: var(--white);
}

.work-grid {
  align-items: center;
}

.work-grid p {
  max-width: 620px;
  margin-top: 1rem;
  color: #d7e4d9;
  font-size: 1.08rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cta-panel .button {
  min-width: 0;
  width: 100%;
}

.cta-panel .button:first-child,
.cta-panel .button-code {
  grid-column: 1 / -1;
}

.cta-note {
  min-height: 1.5rem;
  grid-column: 1 / -1;
  color: #d7e4d9;
  font-size: 0.92rem;
}

.contact-grid {
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 7rem;
}

.contact-copy p {
  margin-top: 1rem;
  font-size: 1.06rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdad2;
  border-radius: 6px;
  background: #fbfdfb;
  color: var(--ink);
  padding: 0.85rem;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 100, 60, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.4rem;
  color: var(--green);
  font-weight: 800;
}

.sources-section {
  padding-top: 4rem;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: 4.1rem;
  }

  .stat-grid,
  .card-grid,
  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-card:nth-child(2) {
    grid-column: span 1;
  }

  .embed-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 4.65rem 0 auto;
    display: none;
    width: calc(100% - 1rem);
    margin: 0 auto;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
    min-height: 2.8rem;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 34, 24, 0.9), rgba(8, 34, 24, 0.62)),
      linear-gradient(0deg, rgba(8, 34, 24, 0.78), rgba(8, 34, 24, 0.08) 48%);
  }

  .hero-content {
    padding: 8.25rem 0 2rem;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts div {
    padding: 0.85rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  .intro-strip {
    padding-top: 1rem;
  }

  .split,
  .work-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .media-grid,
  .stat-grid,
  .card-grid,
  .source-list,
  .cta-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .media-card {
    min-height: auto;
  }

  .contact-copy {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .button {
    padding-inline: 0.85rem;
  }
}
