@font-face {
  font-family: "Magallanes Essential";
  src: url("./fonts/Magallanes%20Essential%20W00%20Black.woff2") format("woff2"),
    url("./fonts/Magallanes%20Essential%20W00%20Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Magallanes Medium";
  src: url("./fonts/Magallanes%20W03%20Md.woff2") format("woff2"),
    url("./fonts/Magallanes%20W03%20Md.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Foundations */

:root {
  --font-display: "Magallanes Essential", "Times New Roman", serif;
  --font-body: "Magallanes Medium", Georgia, serif;

  --sun-1: #f7d20a;
  --sun-2: #f4be1a;
  --sun-3: #f2a623;
  --sun-4: #e9832f;
  --sun-5: #e56b2e;
  --sun-6: #dc5238;

  --ink: #1f1c1b;
  --ink-soft: #463d36;
  --heading-soft: #4a3a31;
  --paper: #f3f1e8;
  --surface: #fff8df;
  --surface-2: #fff3d0;
  --card: rgba(255, 255, 255, 0.74);
  --border: rgba(31, 28, 27, 0.16);
  --cta-espresso: #3a281c;
  --cta-espresso-hover: #2f1f15;

  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-lg: 0 24px 56px rgba(107, 59, 18, 0.24);
  --shadow-md: 0 12px 28px rgba(107, 59, 18, 0.16);

  --container: 1120px;
  --section-gap: clamp(48px, 7vw, 86px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.45;
  background:
    radial-gradient(1300px 760px at 90% -10%, rgba(247, 210, 10, 0.33), transparent 62%),
    radial-gradient(900px 620px at -10% 18%, rgba(220, 82, 56, 0.16), transparent 62%),
    linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

:focus-visible {
  outline: 3px solid #8a2f21;
  outline-offset: 2px;
}

/* Shell */

.skip-link {
  position: absolute;
  top: 0;
  left: 12px;
  transform: translateY(-120%);
  z-index: 300;
  padding: 10px 12px;
  border-radius: 10px;
  background: #111;
  color: #fff;
}

.skip-link:focus-visible {
  transform: translateY(10px);
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  background: rgba(255, 248, 223, 0.76);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand-wrap {
  display: inline-block;
  min-width: 0;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 3px;
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(31, 28, 27, 0.78);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-link {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 28, 27, 0.34);
}

.nav-link.is-active,
.nav-link[aria-current="page"] {
  border-color: #1f1c1b;
  background: #1f1c1b;
  color: #fff;
  box-shadow: 0 6px 14px rgba(31, 28, 27, 0.16);
}

.nav-link.is-active:hover,
.nav-link[aria-current="page"]:hover {
  transform: none;
  border-color: #1f1c1b;
}

/* Showcase Blocks */

.hero,
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 6vw, 58px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      var(--sun-1) 0 16.66%,
      var(--sun-2) 16.66% 33.33%,
      var(--sun-3) 33.33% 50%,
      var(--sun-4) 50% 66.66%,
      var(--sun-5) 66.66% 83.33%,
      var(--sun-6) 83.33% 100%
    );
}

.hero {
  margin-top: clamp(18px, 3vw, 30px);
}

.hero::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: multiply;
  background:
    conic-gradient(from 36deg at 20% 30%, rgba(255, 255, 255, 0.24) 0 22%, rgba(220, 82, 56, 0.34) 22% 42%, transparent 42% 100%),
    conic-gradient(from 208deg at 80% 32%, rgba(255, 255, 255, 0.22) 0 20%, rgba(229, 107, 46, 0.31) 20% 40%, transparent 40% 100%),
    conic-gradient(from 120deg at 48% 72%, rgba(255, 255, 255, 0.2) 0 22%, rgba(220, 82, 56, 0.24) 22% 46%, transparent 46% 100%);
}

.hero > *,
.final-cta > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.84rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(31, 28, 27, 0.84);
}

.hero-title,
.final-cta .section-title {
  margin-top: 10px;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.3),
    0 10px 18px rgba(42, 32, 23, 0.54);
}

.hero-lead,
.final-cta .section-lead {
  margin-top: 16px;
  max-width: 58ch;
  color: rgba(31, 28, 27, 0.9);
  font-size: clamp(0.98rem, 2vw, 1.1rem);
}

/* Actions */

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-note {
  margin-top: 10px;
  max-width: 48ch;
  color: rgba(31, 28, 27, 0.78);
  font-size: 0.88rem;
}

.offer-price {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  width: fit-content;
  max-width: min(100%, 32rem);
  padding: 14px 16px;
  border: 1px solid rgba(31, 28, 27, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(42, 32, 23, 0.08);
}

.offer-price-label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a2f21;
}

.offer-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.offer-price-current {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1f1c1b;
}

.offer-price-original {
  font-size: 0.95rem;
  color: rgba(31, 28, 27, 0.62);
  text-decoration: line-through;
}

.offer-price-note {
  font-size: 0.88rem;
  color: rgba(31, 28, 27, 0.78);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #1f1c1b;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary-variant-espresso {
  background: var(--cta-espresso);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary-variant-espresso:hover {
  background: var(--cta-espresso-hover);
}

.btn-secondary {
  border-color: rgba(31, 28, 27, 0.24);
  background: rgba(255, 255, 255, 0.86);
  color: #1f1c1b;
}

.section-actions {
  margin-top: 18px;
}

/* Sections and Layout */

.section {
  margin-top: var(--section-gap);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title-variant-soft {
  color: var(--heading-soft);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.section-lead {
  margin-top: 10px;
  max-width: 64ch;
  color: var(--ink-soft);
}

.path-grid,
.steps-grid,
.two-col {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.path-grid,
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-grid-variant-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.two-col {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* Content Blocks */

.card,
.panel,
.step {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
}

.small-title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.small-title-variant-soft {
  color: #6b5546;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.small-title-override-for-top-margin {
  margin-top: 10px;
}

.card-copy,
.panel-copy,
.step-copy {
  margin-top: 10px;
  color: var(--ink-soft);
}

.card-cta {
  display: inline-flex;
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a2f21;
}

.checklist {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "- ";
  color: #8a2f21;
}

.photo-panel {
  height: 100%;
  margin: 0;
  padding: 10px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1.5px solid #d8a160;
  border-radius: 999px;
  background: #fff4df;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.5);
  color: #6b4b33;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Footer */

.site-footer {
  margin-top: clamp(40px, 7vw, 68px);
  padding: 24px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Shared Modules */

.hero-highlights {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 60ch;
}

.hero-highlight {
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(31, 28, 27, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(107, 59, 18, 0.08);
  color: #3a281c;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.testimonial-media {
  min-height: 307px;
  display: flex;
  align-items: flex-start;
}

.testimonial-body {
  margin-top: 12px;
}

.testimonial-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-md) - 6px);
  box-shadow: 0 12px 28px rgba(42, 32, 23, 0.12);
}

.testimonial-quote {
  margin: 0 2px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.testimonial-source {
  margin-top: 8px;
  color: rgba(31, 28, 27, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

/* Motion */

.reveal {
  animation: rise 0.55s ease both;
}

.reveal-2 {
  animation-delay: 0.08s;
}

.reveal-3 {
  animation-delay: 0.16s;
}

.reveal-4 {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 980px) {
  .path-grid,
  .steps-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .testimonial-media {
    min-height: 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .hero-highlights {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.76rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
