:root {
  --plum: #5f1f38;
  --plum-dark: #3a1325;
  --navy: #101c36;
  --navy-soft: #14284d;
  --ink: #171219;
  --cream: #fff8ef;
  --warm-white: #fffdf8;
  --sand: #f1dfcd;
  --clay: #b86f59;
  --coral: #ff3158;
  --gold: #f4b942;
  --teal: #1f7a76;
  --white: #ffffff;

  --heading: "Cormorant Garamond", serif;
  --body: "Inter", sans-serif;

  --shadow-soft: 0 24px 70px rgba(23, 18, 25, 0.14);
  --shadow-strong: 0 26px 80px rgba(23, 18, 25, 0.28);
  --radius-lg: 30px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 248, 239, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(95, 31, 56, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.site-footer__logo {
  font-family: var(--heading);
  font-weight: 700;
  text-decoration: none;
}

.logo {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  color: var(--plum);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--plum);
}

.main-nav a:hover::after {
  width: 100%;
}

/* SHARED ELEMENTS */

.section-eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}

.section-dark .section-eyebrow,
.hero__eyebrow {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

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

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(255, 49, 88, 0.28);
}

.btn--primary:hover {
  background: #ff1746;
}

.btn--secondary {
  border: 1px solid rgba(255, 248, 239, 0.48);
  background: transparent;
  color: var(--cream);
}

.btn--secondary:hover {
  background: rgba(255, 248, 239, 0.12);
}

.text-link,
.story-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  color: var(--coral);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* ANIMATION */

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

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

/* FOOTER */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 82px 0 38px;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 49, 88, 0.16), transparent 30%),
    linear-gradient(135deg, var(--ink), #1a1020 45%, var(--navy));
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.site-footer__container {
  position: relative;
  z-index: 2;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
}

.site-footer__logo {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.9;
  color: var(--white);
}

.site-footer__logo span {
  color: var(--gold);
}

.site-footer__brand p {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 248, 239, 0.72);
}

.site-footer__cta {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer__cta p {
  margin: 0 0 24px;
  font-family: var(--heading);
  font-size: 2rem;
  line-height: 1.05;
  color: var(--white);
}

.site-footer__middle {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 46px 0;
  margin-top: 58px;
  border-top: 1px solid rgba(255, 248, 239, 0.14);
  border-bottom: 1px solid rgba(255, 248, 239, 0.14);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer__links a,
.site-footer__contact a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: var(--coral);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  color: rgba(255, 248, 239, 0.58);
  font-size: 0.9rem;
}

.site-footer__bottom p {
  margin: 0;
}

#footer-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* RESPONSIVE */

/* TABLET */

@media (max-width: 850px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer__middle,
  .site-footer__bottom {
    flex-direction: column;
    gap: 24px;
  }

  .site-footer__links {
    justify-content: center;
  }

  .site-footer__contact {
    text-align: center;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .site-header__inner {
    flex-direction: column;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  /* Footer */

  .site-footer {
    padding: 70px 0 32px;
  }

  .site-footer__brand,
  .site-footer__cta,
  .site-footer__middle,
  .site-footer__bottom {
    text-align: center;
  }

  .site-footer__brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__links {
    justify-content: center;
    gap: 20px;
  }

  .site-footer__contact {
    text-align: center;
  }

  .site-footer__bottom {
    align-items: center;
    text-align: center;
  }

  #footer-logo {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }

    #logo {
    max-width: 320px;
    height: auto;
  }
}

/* ACCESSIBILITY */

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

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

  .btn,
  .main-nav a::after {
    transition: none;
  }
}

@media (max-width: 760px) {
  .site-footer__middle {
    align-items: center;
    text-align: center;
  }

  .site-footer__links {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .site-footer__links a {
    text-align: center;
  }

  .site-footer__contact {
    width: 100%;
    text-align: center;
  }
}