@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #07111b;
  --ink-soft: #0d1a26;
  --paper: #f2eee5;
  --paper-bright: #fffaf1;
  --gold: #d8a94a;
  --gold-bright: #f5ce72;
  --gold-dark: #90641d;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: rgba(10, 10, 11, 0.12);
  --muted-dark: #b7b1a6;
  --muted-light: #59564f;
  --radius: 28px;
  --container: 1180px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper-bright);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(144, 100, 29, 0.2);
  background: rgba(255, 250, 241, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(7, 17, 27, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(144, 100, 29, 0.28);
  background: rgba(255, 250, 241, 0.99);
  box-shadow: 0 10px 32px rgba(7, 17, 27, 0.12);
}

.header-inner {
  min-height: 102px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 94px;
  overflow: visible;
}

.brand img {
  width: 142px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.34));
}

.desktop-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #373831;
  font-size: 0.9rem;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--gold-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 12px 36px rgba(217, 170, 74, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 42px rgba(217, 170, 74, 0.28);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 810px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 178px 0 92px;
  background:
    radial-gradient(circle at 76% 48%, rgba(217, 170, 74, 0.11), transparent 31%),
    linear-gradient(180deg, #07111b, #0b1722);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 102px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark), transparent);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  right: -210px;
  top: 160px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(217, 170, 74, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(217, 170, 74, 0.04);
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  inset: 90px;
  border: 1px solid rgba(217, 170, 74, 0.11);
  border-radius: 50%;
}

.hero-glow::after {
  inset: 180px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 70px;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 790px;
  font-size: clamp(3rem, 6.5vw, 6.2rem);
  line-height: 0.98;
  font-weight: 700;
}

h1 em {
  color: var(--gold-bright);
  font-style: normal;
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted-dark);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  color: #eee9df;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 40px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line-dark);
  color: #d5d0c6;
  font-size: 0.83rem;
  font-weight: 600;
  list-style: none;
}

.hero-points li::before {
  content: "✦";
  margin-right: 9px;
  color: var(--gold);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  border: 1px solid rgba(217, 170, 74, 0.16);
  border-radius: 50% 50% 44% 56% / 50% 42% 58% 50%;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid var(--line-dark);
  border-radius: inherit;
  transform: rotate(9deg);
}

.hero-mark span {
  background: linear-gradient(145deg, #fff7df 10%, var(--gold-bright) 42%, #8c6118 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
  letter-spacing: -0.11em;
  text-shadow: 0 12px 50px rgba(217, 170, 74, 0.12);
}

.hero-mark small {
  position: absolute;
  bottom: 78px;
  color: #bcb6aa;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.video-section,
.method-section,
.about-section,
.cta-section {
  padding: 124px 0;
}

.video-section {
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.about-copy h2,
.cta-card h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.4rem);
  line-height: 1.07;
  font-weight: 700;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted-light);
  font-size: 1.08rem;
  line-height: 1.7;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 11, 0.16);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.video-kicker {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.64);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.method-section {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
}

.method-section::after {
  content: "AF";
  position: absolute;
  right: -0.06em;
  bottom: -0.33em;
  color: rgba(255, 255, 255, 0.018);
  font-family: Georgia, serif;
  font-size: 35rem;
  line-height: 1;
  pointer-events: none;
}

.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-card {
  min-height: 340px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 170, 74, 0.45);
}

.card-number {
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.method-card h3 {
  margin-top: auto;
  font-size: 1.6rem;
  line-height: 1.18;
}

.method-card p {
  margin: 16px 0 0;
  color: var(--muted-dark);
  line-height: 1.7;
}

.about-section {
  background: var(--paper-bright);
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.team-photo {
  position: relative;
  margin: 0;
}

.team-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px 36px 36px -18px;
  border: 1px solid rgba(157, 112, 34, 0.35);
  border-radius: var(--radius);
}

.team-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  object-position: center;
}

.team-photo figcaption {
  position: relative;
  z-index: 2;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  width: calc(100% - 36px);
  min-width: 0;
  margin: 14px 0 0 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: var(--shadow);
}

.team-photo figcaption strong {
  font-family: "Manrope", sans-serif;
}

.team-photo figcaption span {
  margin-top: 4px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin-bottom: 32px;
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--muted-light);
  font-size: 1.05rem;
  line-height: 1.78;
}

.about-copy .about-emphasis {
  padding: 20px 0 20px 22px;
  border-left: 2px solid var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.text-link-gold {
  margin-top: 8px;
  border-color: rgba(157, 112, 34, 0.38);
  color: var(--gold-dark);
}

.cta-section {
  background: var(--ink);
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(44px, 7vw, 86px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f3cb73, #c9902c);
  color: var(--ink);
}

.cta-card::after {
  content: "AF";
  position: absolute;
  right: -0.03em;
  bottom: -0.46em;
  color: rgba(255, 255, 255, 0.15);
  font-family: Georgia, serif;
  font-size: 18rem;
  line-height: 1;
  pointer-events: none;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 650px;
}

.cta-card p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(10, 10, 11, 0.72);
  line-height: 1.65;
}

.eyebrow-dark {
  color: #5d3d09;
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.button-dark:hover,
.button-dark:focus-visible {
  filter: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: #050c13;
}

.footer-inner {
  min-height: 170px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  color: #827e76;
  font-size: 0.82rem;
}

.brand-footer {
  width: 136px;
  height: 90px;
  opacity: 0.9;
}

.brand-footer img {
  width: 136px;
}

.footer-inner p:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    position: absolute;
    z-index: -1;
    right: -150px;
    top: 185px;
    width: 420px;
    min-height: 420px;
    opacity: 0.3;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 250px;
  }

  .about-grid {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 54px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-card .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    background: rgba(255, 250, 241, 0.98);
  }

  .header-inner {
    min-height: 82px;
    gap: 12px;
  }

  .brand,
  .brand img {
    width: 112px;
  }

  .brand {
    height: 74px;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 15px;
    font-size: 0.76rem;
  }

  .hero {
    padding: 148px 0 76px;
  }

  .hero-grid {
    gap: 0;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-lead {
    margin-top: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
  }

  .hero-actions .button {
    width: 100%;
    padding-inline: 18px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
  }

  .hero-mark {
    right: -220px;
    top: 170px;
  }

  .video-section,
  .method-section,
  .about-section,
  .cta-section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading.centered .eyebrow {
    justify-content: flex-start;
  }

  .section-heading h2,
  .about-copy h2,
  .cta-card h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .section-heading h2 br {
    display: none;
  }

  .video-shell {
    width: min(100%, 440px);
    margin-inline: auto;
    border-radius: 22px;
  }

  .video-shell video {
    aspect-ratio: 9 / 16;
  }

  .method-card {
    min-height: 230px;
    padding: 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    width: min(92%, 470px);
  }

  .team-photo figcaption {
    right: auto;
    bottom: auto;
  }

  .cta-card {
    gap: 34px;
    padding: 38px 26px;
    border-radius: 22px;
  }

  .cta-card .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 36px 0;
    text-align: center;
  }

  .brand-footer {
    margin-inline: auto;
  }

  .footer-inner p {
    margin: 0;
  }

  .footer-inner p:last-child {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .button-small {
    padding-inline: 12px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .team-photo figcaption {
    right: auto;
    min-width: 188px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
