/* AVÉLEINE — Luxury Mobile Spray Tanning
   Editorial, restrained, asymmetric. Palette drawn from skin tones:
   espresso / chocolate / caramel / nude / peach / cream. No drop shadows,
   no gradient orbs, no boxed "SaaS card" components. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --espresso: #2b1c15;
  --chocolate: #4a2f22;
  --caramel: #a9744f;
  --caramel-light: #c79367;
  --caramel-text: #8a5a35;
  --nude: #e6c9ab;
  --peach: #f1d8c3;
  --cream: #faf3ea;
  --white: #fffdfa;
  --text-soft: #5c4534;
  --rule: rgba(74, 47, 34, 0.16);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Work Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

body {
  font-family: var(--sans);
  color: var(--chocolate);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 8px 24px rgba(43, 28, 21, 0);
  transition: box-shadow 0.4s ease;
}
header.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(43, 28, 21, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  max-width: 1160px;
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.14em;
  color: var(--espresso);
  font-weight: 500;
  transition: letter-spacing 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo:hover { letter-spacing: 0.18em; }

nav.primary-nav ul {
  display: flex;
  gap: 38px;
  list-style: none;
}

nav.primary-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chocolate);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.primary-nav a:hover::after {
  transform: scaleX(1);
}

nav.primary-nav a:hover,
nav.primary-nav a.active {
  color: var(--espresso);
}

nav.primary-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--espresso);
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  border: 1px solid var(--espresso);
}

.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-primary:hover { background: transparent; color: var(--espresso); }

.btn-outline {
  border-color: var(--espresso);
  color: var(--espresso);
  background: transparent;
}
.btn-outline:hover {
  background: var(--espresso);
  color: var(--cream);
}

/* Text link with trailing arrow, used instead of boxed buttons in places */
.link-arrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  padding-bottom: 4px;
  display: inline-block;
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--caramel);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-arrow:hover::after {
  transform-origin: left;
  transform: scaleX(0.35);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-note {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 14px;
  letter-spacing: 0.01em;
}

/* ---------- Hero (asymmetric split, no gradient orb) ---------- */
.hero {
  padding: 0;
  border-bottom: 1px solid var(--rule);
}

.hero-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: 560px;
}

.hero-copy {
  padding: 120px 56px 90px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--rule);
  padding-left: 32px;
}

.hero-copy .hero-inner { max-width: 520px; }

.hero-panel {
  background: var(--espresso);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 48px;
}

.hero-panel .panel-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--nude);
  font-size: 23px;
  line-height: 1.45;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

/* Hero photo fills the panel; a soft espresso fade keeps the quote legible */
.hero-panel.has-image { overflow: hidden; }
.hero-panel .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-panel.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 28, 21, 0.82) 0%, rgba(43, 28, 21, 0.35) 45%, rgba(43, 28, 21, 0) 100%);
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--caramel-text);
  margin-bottom: 22px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 5.6vw, 64px);
  line-height: 1.08;
  color: var(--espresso);
  margin-bottom: 24px;
}

.hero p.lede {
  font-size: 17.5px;
  color: var(--text-soft);
  margin-bottom: 34px;
  max-width: 480px;
}

/* ---------- Essentials bar (practical facts, answers "how much/how long/where") ---------- */
.essentials {
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.essentials > div {
  padding: 30px 28px 30px 0;
  border-left: 1px solid var(--rule);
  padding-left: 28px;
}
.essentials > div:first-child { border-left: none; padding-left: 0; }
.essentials .figure {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--espresso);
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}
.essentials .label {
  font-size: 13px;
  color: var(--text-soft);
}

/* Optional editorial photo under an inner-page hero (set in the CMS) */
.page-image {
  border-bottom: 1px solid var(--rule);
  background: var(--espresso);
}
.page-image img {
  width: 100%;
  height: clamp(300px, 46vw, 560px);
  object-fit: cover;
  object-position: center;
}

/* Simple page hero (non-home) keeps split rhythm but lighter */
.page-hero {
  padding: 90px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .hero-inner { max-width: 640px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 58px);
  line-height: 1.1;
  color: var(--espresso);
  margin-bottom: 20px;
}
.page-hero p.lede {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 540px;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}
section:last-of-type { border-bottom: none; }

section.alt { background: var(--white); }
section.tight { padding: 72px 0; }

.section-head {
  max-width: 620px;
  margin-bottom: 60px;
}
.section-head.right { margin-left: auto; text-align: right; }

.section-head .eyebrow { margin-bottom: 14px; }

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  color: var(--espresso);
  margin-bottom: 16px;
}

.section-head p { color: var(--text-soft); font-size: 16.5px; }

/* ---------- Editorial split (asymmetric two column) ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.split.reverse { grid-template-columns: 7fr 5fr; }
.split.reverse > *:first-child { order: 2; }

.split-label {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--espresso);
  padding-top: 8px;
  border-top: 1px solid var(--espresso);
  transition: border-top-color 0.3s ease;
}

/* ---------- Numbered editorial list (replaces boxed feature cards) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-row > div {
  padding: 0 36px 0 0;
  border-left: 1px solid var(--rule);
  padding-left: 32px;
}
.feature-row > div:first-child { border-left: none; padding-left: 0; }

.feature-row .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--caramel);
  display: block;
  margin-bottom: 20px;
}

.feature-row h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 12px;
}

.feature-row p { color: var(--text-soft); font-size: 15.5px; }

/* Stacked editorial rows (used for process steps, aftercare stages) */
.stack-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--rule);
}
.stack-row:last-child { padding-bottom: 0; }
.stack-row .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--caramel);
}
.stack-row h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 10px;
}
.stack-row p { color: var(--text-soft); font-size: 15.5px; max-width: 620px; }

/* ---------- Plain text block (no card chrome) ---------- */
.text-block h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 14px;
}
.text-block p { color: var(--text-soft); font-size: 15.5px; }
.text-block + .text-block { margin-top: 40px; }

/* ---------- Lists ---------- */
ul.styled-list { list-style: none; }
ul.styled-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 15.5px;
}
ul.styled-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 1px;
  background: var(--caramel);
}

/* ---------- Statement / pull quote ---------- */
.statement {
  background: var(--espresso);
  color: var(--cream);
  padding: 100px 0;
  text-align: center;
}
.statement .rule {
  width: 44px;
  height: 1px;
  background: var(--caramel-light);
  margin: 0 auto 34px;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 1.1s ease 0.1s;
}
.statement .rule.reveal { width: 0; opacity: 0; transform: none; }
.statement .rule.reveal.is-visible { width: 44px; opacity: 1; }
.statement h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.55;
  color: var(--cream);
}
.statement .eyebrow { color: var(--caramel-light); justify-content: center; display: flex; }

/* ---------- Table (Fitzpatrick / Prices) ---------- */
table.styled-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--espresso);
  border-bottom: 1px solid var(--espresso);
}
table.styled-table th, table.styled-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--text-soft);
}
table.styled-table th {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11.5px;
  color: var(--espresso);
}
table.styled-table tr:last-child td { border-bottom: none; }

/* ---------- Notice / Disclaimer boxes ---------- */
.notice {
  border-left: 2px solid var(--caramel);
  padding: 24px 0 24px 26px;
  margin: 30px 0;
}
.notice h4 {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 8px;
  color: var(--espresso);
  font-weight: 500;
}
.notice p { color: var(--text-soft); font-size: 15px; }

.notice.warn { border-left-color: var(--espresso); }

/* ---------- Contact ---------- */
.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.contact-item {
  padding: 40px 36px 0 0;
  border-top: 1px solid var(--espresso);
}
.contact-item + .contact-item { margin-left: 36px; padding-left: 36px; border-left: 1px solid var(--rule); }
.contact-item .roman {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--caramel);
  display: block;
  margin-bottom: 22px;
}
.contact-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--espresso);
  font-weight: 500;
}
.contact-item p { color: var(--text-soft); font-size: 15px; margin-bottom: 22px; }

/* ---------- Footer ---------- */
footer {
  background: var(--espresso);
  color: var(--nude);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(230, 201, 171, 0.15);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.footer-tag { font-size: 13.5px; color: var(--nude); opacity: 0.75; max-width: 300px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-light);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--nude);
  opacity: 0.85;
  margin-bottom: 12px;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-col a:hover { opacity: 1; color: var(--white); }
.footer-bottom {
  font-size: 12px;
  color: var(--nude);
  opacity: 0.55;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  letter-spacing: 0.02em;
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-top: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--espresso);
}
.faq-question .plus {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--caramel);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
  color: var(--text-soft);
  font-size: 15.5px;
  padding-bottom: 26px;
  max-width: 680px;
}

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: var(--espresso);
  padding: 14px 20px;
  display: none;
  justify-content: center;
}
.sticky-cta a {
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { border-right: none; border-bottom: 1px solid var(--rule); padding: 64px 24px 48px; }
  .hero-panel { padding: 56px 32px; min-height: 220px; }
  .hero-panel.has-image { min-height: 320px; }
  .essentials { grid-template-columns: repeat(2, 1fr); }
  .essentials > div:nth-child(3) { border-left: none; padding-left: 0; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
  .essentials > div:nth-child(4) { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > *:first-child { order: 0; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row > div { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 28px; }
  .feature-row > div:first-child { border-top: none; padding-top: 0; margin-top: 0; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-item + .contact-item { margin-left: 0; padding-left: 0; border-left: none; margin-top: 36px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 760px) {
  nav.primary-nav {
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 32px 30px;
    display: none;
    border-bottom: 1px solid var(--rule);
  }
  nav.primary-nav.open { display: flex; }
  nav.primary-nav ul {
    flex-direction: column;
    gap: 22px;
  }
  .nav-toggle { display: flex; }
  section { padding: 64px 0; }
  .statement { padding: 72px 0; }
  .stack-row { grid-template-columns: 1fr; gap: 8px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 56px; }
}

@media (max-width: 480px) {
  .container { padding: 0 24px; }
  .hero-copy { padding: 56px 20px 40px; }
  .nav-wrap { padding: 20px 24px; }
}
