/* ============================================================
   Sillage Perfume Bar
   Shared stylesheet
   ============================================================ */

:root {
  --ivory: #faf7f1;
  --ivory-deep: #f3eee4;
  --charcoal: #1d1a16;
  --charcoal-soft: #2b2721;
  --ink: #33302a;
  --stone: #6f6a5f;
  --gold: #b08d57;
  --gold-soft: #c9ac7d;
  --blush: #e8d9cc;
  --line: rgba(29, 26, 22, 0.12);
  --line-light: rgba(250, 247, 241, 0.18);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--charcoal);
}

.display-xl {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  letter-spacing: -0.01em;
}

.display-lg {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
}

.display-md {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

.eyebrow--center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-size: 1.2rem;
  color: var(--stone);
  max-width: 42rem;
}

em.accent {
  font-style: italic;
  color: var(--gold);
}

/* ---------- Layout ---------- */

.container {
  width: min(1180px, 90vw);
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.section--tight {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

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

.section-head--center .lede {
  margin-inline: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--ivory);
  overflow: hidden;
  transition: color 0.45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
  z-index: 0;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn > span {
  position: relative;
  z-index: 1;
}

.btn:hover {
  border-color: var(--gold);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
}

.btn--ghost:hover {
  color: var(--ivory);
}

.btn--light {
  background: transparent;
  border-color: rgba(250, 247, 241, 0.5);
  color: var(--ivory);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}

.text-link:hover {
  gap: 1rem;
  color: var(--gold);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.logo span {
  color: var(--gold);
  font-style: italic;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-list a {
  position: relative;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--gold);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.has-dropdown > a::before {
  content: none;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 230px;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(29, 26, 22, 0.12);
  padding: 0.7rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 1.6rem;
  font-size: 0.74rem;
}

.dropdown a::after {
  content: none;
}

.dropdown a:hover {
  background: var(--ivory-deep);
}

.nav-cta {
  border: 1px solid var(--charcoal);
  padding: 0.7rem 1.6rem !important;
  transition: background 0.35s var(--ease), color 0.35s var(--ease) !important;
}

.nav-cta::after {
  content: none !important;
}

.nav-cta:hover {
  background: var(--charcoal);
  color: var(--ivory) !important;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--charcoal);
  margin-inline: auto;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero--sub {
  min-height: 72vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(170deg, var(--ivory) 0%, var(--ivory-deep) 55%, #ece4d4 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero-orb--gold {
  width: 46vw;
  height: 46vw;
  right: -12vw;
  top: -8vw;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.5), transparent 70%);
}

.hero-orb--blush {
  width: 34vw;
  height: 34vw;
  left: -10vw;
  bottom: -6vw;
  background: radial-gradient(circle, rgba(232, 217, 204, 0.9), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy .lede {
  margin: 1.8rem 0 2.6rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual svg {
  width: min(380px, 80%);
  height: auto;
}

/* Sub-page hero */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7.5rem)) 0 clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(170deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  overflow: hidden;
}

.page-hero .lede {
  margin-top: 1.6rem;
}

.page-hero .hero-orb--gold {
  width: 34vw;
  height: 34vw;
  top: -14vw;
  right: -8vw;
  opacity: 0.4;
}

.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.6rem;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  margin: 0 0.6rem;
  color: var(--gold);
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 3rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 141, 87, 0.45);
  box-shadow: 0 30px 60px -20px rgba(29, 26, 22, 0.14);
}

.card h3 {
  font-size: 1.55rem;
  margin: 1.4rem 0 0.8rem;
}

.card p {
  font-size: 0.98rem;
  color: var(--stone);
}

.card .text-link {
  margin-top: 1.6rem;
}

.card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.card-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

/* ---------- Visual panels (image stand-ins) ---------- */

.panel {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.panel--wide {
  aspect-ratio: 16 / 9;
}

.panel-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ivory);
  position: relative;
  z-index: 1;
}

.panel--amber { background: linear-gradient(155deg, #c9a26b, #8a6a3e 60%, #5f4527); }
.panel--rose  { background: linear-gradient(155deg, #dcc0ad, #b08c74 60%, #7d5f4c); }
.panel--noir  { background: linear-gradient(155deg, #4a443b, #2b2721 60%, #17140f); }
.panel--sage  { background: linear-gradient(155deg, #b9b8a2, #8b8a72 60%, #5d5c49); }

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(0, 0, 0, 0.25), transparent 60%);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(250, 247, 241, 0.28);
  pointer-events: none;
}

.panel-bottle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-bottle svg {
  width: 38%;
  height: auto;
  opacity: 0.9;
}

/* ---------- Stats strip ---------- */

.stats-strip {
  background: var(--charcoal);
  color: var(--ivory);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  color: var(--gold-soft);
  line-height: 1;
}

.stat-label {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.65);
}

/* ---------- Process / steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.step {
  position: relative;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.85rem;
  left: 0;
  background: var(--ivory);
  padding-right: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--stone);
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.6rem 0;
  background: var(--ivory-deep);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--stone);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}

.marquee-track span::after {
  content: "✦";
  font-size: 0.7rem;
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Testimonials ---------- */

.quote-block {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
}

.quote-block cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 2rem;
}

/* ---------- Dark CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--charcoal);
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  color: var(--ivory);
}

.cta-band .lede {
  color: rgba(250, 247, 241, 0.7);
  margin: 1.5rem auto 2.8rem;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(176, 141, 87, 0.16), transparent 65%);
  pointer-events: none;
}

.cta-band .btn {
  background: var(--gold);
  border-color: var(--gold);
}

.cta-band .btn::before {
  background: var(--ivory);
}

.cta-band .btn:hover {
  color: var(--charcoal);
  border-color: var(--ivory);
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  max-width: 50rem;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.7rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}

.faq-q:hover {
  color: var(--gold);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.5s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s var(--ease);
}

.faq-a p {
  padding: 0 3.5rem 1.8rem 0;
  color: var(--stone);
  font-size: 1rem;
}

.faq-cat {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 3.5rem 0 0.5rem;
}

.faq-list .faq-cat + .faq-item {
  border-top: 1px solid var(--line);
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.field label {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  outline: none;
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
}

.field select {
  cursor: pointer;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.form-note {
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: 1.2rem;
}

.form-success {
  display: none;
  padding: 2.5rem;
  border: 1px solid var(--gold);
  text-align: center;
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

/* ---------- Contact info ---------- */

.info-list li {
  display: flex;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list li:first-child {
  border-top: 1px solid var(--line);
}

.info-label {
  flex: none;
  width: 7.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.3rem;
}

.info-value a:hover {
  color: var(--gold);
}

/* ---------- Feature list ---------- */

.feature-list li {
  display: flex;
  gap: 1.1rem;
  padding: 0.55rem 0;
  color: var(--ink);
}

.feature-list li::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 2.1;
  flex: none;
}

/* ---------- Alternating feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.feature-row:nth-child(even) .feature-row-visual {
  order: 2;
}

.feature-row h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 1rem;
}

.feature-row p {
  color: var(--stone);
  margin-bottom: 1.2rem;
}

/* ---------- Pricing / package cards ---------- */

.package {
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 2.8rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.package:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(29, 26, 22, 0.14);
}

.package--featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.package--featured h3,
.package--featured .package-price {
  color: var(--ivory);
}

.package--featured .feature-list li {
  color: rgba(250, 247, 241, 0.8);
}

.package--featured .package-tag {
  color: var(--gold-soft);
}

.package-tag {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.package h3 {
  font-size: 1.8rem;
  margin: 0.9rem 0 0.4rem;
}

.package-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--stone);
  margin-bottom: 1.6rem;
}

.package .feature-list {
  flex: 1;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.package .btn {
  justify-content: center;
}

.package--featured .btn {
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------- Notes ticker (fragrance families) ---------- */

.note-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.note-pill {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--stone);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.note-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(176, 141, 87, 0.06);
}

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

.site-footer {
  background: var(--charcoal);
  color: rgba(250, 247, 241, 0.72);
  padding: clamp(4rem, 7vw, 6rem) 0 2.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line-light);
}

.site-footer .logo {
  color: var(--ivory);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 241, 0.45);
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--left.is-visible,
.reveal--right.is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-4,
  .steps,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  :root {
    --header-h: 74px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
    z-index: 105;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.6rem;
    text-align: center;
  }

  .nav-list a {
    font-size: 1rem;
  }

  .site-nav .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0.6rem 0 0;
    min-width: 0;
  }

  .site-nav .dropdown a {
    font-size: 0.85rem;
    padding: 0.4rem 0;
    color: var(--stone);
  }

  .has-dropdown > a {
    pointer-events: none;
  }

  .hero-inner,
  .grid-2,
  .grid-3,
  .feature-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(even) .feature-row-visual {
    order: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 6rem;
  }

  .panel {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .grid-4,
  .steps,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .info-list li {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* ============================================================
   Dark mode
   ============================================================ */

/* Toggle button */

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-nav {
  margin-left: auto;
  margin-right: 1.5rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.5s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(20deg);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* Smooth theme transition */

body {
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}

/* Dark palette */

html[data-theme="dark"] {
  --ivory: #14110d;
  --ivory-deep: #1c1813;
  --charcoal: #efe8da;
  --charcoal-soft: #e2d9c8;
  --ink: #d6cdbc;
  --stone: #a59c8a;
  --gold: #c9a86e;
  --gold-soft: #d8bc8c;
  --blush: #4a3c30;
  --line: rgba(239, 232, 218, 0.14);
}

html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(20, 17, 13, 0.92);
}

html[data-theme="dark"] .hero-bg {
  background: linear-gradient(170deg, var(--ivory) 0%, var(--ivory-deep) 55%, #221d16 100%);
}

html[data-theme="dark"] .hero-orb--gold {
  opacity: 0.3;
}

html[data-theme="dark"] .hero-orb--blush {
  opacity: 0.15;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .package {
  background: #1e1a14;
}

html[data-theme="dark"] .card:hover,
html[data-theme="dark"] .package:hover {
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .stats-strip,
html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .package--featured {
  background: #0d0b08;
}

html[data-theme="dark"] .cta-band h2,
html[data-theme="dark"] .site-footer .logo,
html[data-theme="dark"] .package--featured h3,
html[data-theme="dark"] .package--featured .package-price {
  color: var(--charcoal);
}

html[data-theme="dark"] .package--featured {
  border-color: rgba(239, 232, 218, 0.14);
}

/* ---------- Hero photo ---------- */

.hero-visual {
  justify-content: flex-end;
  min-width: 0;
}

.hero-photo {
  position: relative;
  width: min(680px, 54vw);
  /* Pull the photo past the container so it bleeds off the right edge */
  margin-right: calc((min(1180px, 90vw) - 100vw) / 2);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* Left side dissolves toward the text; clean cut on the right screen edge */
  -webkit-mask-image: linear-gradient(to left, black 0%, black 52%, transparent 97%);
  mask-image: linear-gradient(to left, black 0%, black 52%, transparent 97%);
}

/* ---------- Brand logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  height: 46px;
  width: auto;
  /* Multiply hides the paper-coloured background against light pages */
  mix-blend-mode: multiply;
}

/* On dark surfaces, invert the mark and screen it so the background drops out */
html[data-theme="dark"] .logo-mark,
.site-footer .logo-mark {
  filter: invert(1);
  mix-blend-mode: screen;
}

/* ---------- Photo panels ---------- */

.panel--photo {
  background: var(--charcoal-soft);
}

.panel--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card:hover .panel--photo img {
  transform: scale(1.05);
}

/* Legibility gradient behind the label, replacing the default sheen */
.panel--photo::before {
  background: linear-gradient(to top, rgba(20, 15, 8, 0.65), transparent 45%);
  z-index: 1;
}

.panel--photo::after {
  z-index: 1;
}

.panel--photo .panel-label {
  z-index: 2;
}
