:root {
  --paper: #C1A081;
  --paper-light: #E6D2BD;
  --paper-deep: #B39273;
  --ink: #35261D;
  --ink-soft: rgba(53,38,29,.68);
  --accent: #7E6142;
  --line: rgba(126,97,66,.28);
  --cream: #F7EEE5;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--accent) var(--paper); }
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(239,224,209,.34), transparent 34%),
    radial-gradient(ellipse at 84% 28%, rgba(126,97,66,.16), transparent 38%),
    linear-gradient(115deg, rgba(255,255,255,.035), rgba(126,97,66,.045));
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; padding: .8rem 1rem; background: var(--ink); color: var(--cream); text-decoration: none; }
.skip-link:focus { top: 1rem; }

.atelier-header { position: fixed; inset: 0 0 auto; z-index: 500; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.atelier-header.scrolled { background: rgba(193,160,129,.92); border-color: var(--line); backdrop-filter: blur(20px); }
.atelier-nav { padding: 1.8rem 5vw; display: flex; align-items: center; justify-content: space-between; transition: padding .4s; }
.atelier-header.scrolled .atelier-nav { padding: 1.1rem 5vw; }
.atelier-logo img { display: block; width: clamp(205px, 20vw, 285px); height: auto; max-height: 66px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(74,53,38,.14)); }
.atelier-nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.atelier-nav-links a, .atelier-mobile-nav a { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.atelier-nav-links a { position: relative; padding-bottom: .25rem; }
.atelier-nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .3s; }
.atelier-nav-links a:hover::after { width: 100%; }
.atelier-nav-dropdown { position: relative; }
.atelier-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0 0 .25rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.atelier-nav-trigger span { transition: transform .25s ease; }
.atelier-nav-dropdown:hover .atelier-nav-trigger span,
.atelier-nav-dropdown:focus-within .atelier-nav-trigger span,
.atelier-nav-dropdown.open .atelier-nav-trigger span { transform: rotate(180deg); }
.atelier-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1.15rem);
  left: 50%;
  min-width: 230px;
  padding: .65rem;
  list-style: none;
  background: rgba(230,210,189,.97);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(74,53,38,.2);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.atelier-nav-dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 1.2rem; }
.atelier-nav-dropdown:hover .atelier-nav-dropdown-menu,
.atelier-nav-dropdown:focus-within .atelier-nav-dropdown-menu,
.atelier-nav-dropdown.open .atelier-nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.atelier-nav-dropdown-menu li + li { border-top: 1px solid rgba(74,53,38,.15); }
.atelier-nav-dropdown-menu a { display: block; padding: .85rem .9rem; white-space: nowrap; font-size: .64rem; }
.atelier-nav-dropdown-menu a::after { display: none; }
.atelier-nav-cta, .button-primary { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border: 1px solid var(--accent); background: var(--accent); color: var(--cream); text-decoration: none; text-transform: uppercase; font-size: .66rem; font-weight: 600; letter-spacing: .18em; transition: background .25s, color .25s, transform .25s; }
.atelier-nav-cta { padding: .85rem 1.35rem; }
.atelier-nav-cta:hover, .button-primary:hover { background: var(--ink); transform: translateY(-2px); }
.atelier-menu { display: none; flex-direction: column; gap: 5px; padding: 4px; border: 0; background: transparent; cursor: pointer; }
.atelier-menu span { display: block; width: 22px; height: 1.5px; margin: 0; background: var(--accent); border-radius: 2px; }
.atelier-mobile-nav { position: fixed; inset: 0; z-index: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(1.1rem, 3vh, 2rem); background: rgba(193,160,129,.98); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
.atelier-mobile-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
.atelier-mobile-close { position: absolute; right: 1.5rem; top: 1.5rem; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.atelier-mobile-nav > a { font-family: var(--display); font-size: 2.4rem; font-weight: 300; font-style: italic; letter-spacing: 0; text-transform: none; }
.atelier-mobile-group { width: min(340px, calc(100vw - 3rem)); text-align: center; }
.atelier-mobile-trigger { display: inline-flex; align-items: center; gap: .7rem; border: 0; background: transparent; color: var(--ink); font-family: var(--display); font-size: 2.4rem; font-weight: 300; font-style: italic; cursor: pointer; }
.atelier-mobile-trigger span { font-family: var(--body); font-size: 1.1rem; font-style: normal; transition: transform .3s ease; }
.atelier-mobile-group.open .atelier-mobile-trigger span { transform: rotate(45deg); }
.atelier-mobile-menu { display: flex; flex-direction: column; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .25s ease, margin .3s ease; }
.atelier-mobile-group.open .atelier-mobile-menu { max-height: 12rem; margin-top: .7rem; opacity: 1; }
.atelier-mobile-menu a { padding: .38rem 0; font-family: var(--body); font-size: .78rem; font-style: normal; }

.service-hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 28% 48%, rgba(230,210,189,.5), transparent 68%),
    radial-gradient(ellipse 55% 80% at 78% 42%, rgba(126,97,66,.24), transparent 72%),
    var(--paper);
}
.service-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  min-height: 100svh;
  padding: 9rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.eyebrow { display: block; color: var(--accent); font-size: .62rem; font-weight: 400; letter-spacing: .3em; line-height: 1.6; text-transform: uppercase; }
.service-hero h1 {
  margin: 2rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: #4A3526;
  text-shadow: 0 -1px 1px rgba(74,55,41,.72), 0 1px 1px rgba(239,224,209,.72), 1px 2px 3px rgba(126,97,66,.20);
  filter: saturate(.88);
}
.service-hero h1 .word { display: inline-block; margin-right: .25em; }
.service-hero h1 .italic { font-style: italic; }
.service-hero h1 .gold { color: #715238; text-shadow: 0 -1px 1px rgba(74,55,41,.68), 0 1px 1px rgba(239,224,209,.68), 1px 2px 3px rgba(126,97,66,.18); }
.service-hero-lead { max-width: 58ch; margin: 0 auto; color: var(--ink-soft); font-size: .85rem; font-weight: 300; letter-spacing: .04em; line-height: 1.9; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem; }
.button-primary { min-height: 52px; padding: 0 1.7rem; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; padding-bottom: .35rem; border-bottom: 1px solid var(--ink); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.service-hero-image { position: relative; z-index: 0; width: 100%; min-height: 76svh; overflow: hidden; }
.service-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; filter: sepia(.05) saturate(.9) contrast(1.03); }
.massage-page .service-hero-image img { object-position: center 20%; }
.service-hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(209,179,147,.18), transparent 35%), linear-gradient(0deg, rgba(53,38,29,.23), transparent 45%); }
.hero-signature { position: absolute; z-index: 2; right: 2rem; bottom: 2rem; padding: 1rem 1.25rem; border: 1px solid rgba(247,238,229,.5); background: rgba(53,38,29,.28); color: var(--cream); text-align: left; backdrop-filter: blur(8px); }
.hero-signature strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 400; }
.hero-signature span { display: block; margin-top: .2rem; font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; }

.section-shell { width: min(1180px, calc(100% - 10vw)); margin: 0 auto; }
.service-section { padding: clamp(5.5rem, 9vw, 9rem) 0; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 82% 18%, rgba(230,210,189,.24), transparent 36%), var(--paper); }
.service-section--light { background: radial-gradient(ellipse at 15% 24%, rgba(255,255,255,.2), transparent 34%), var(--paper-light); }
.service-section--deep { background: var(--paper-deep); }
.editorial-intro { display: flex; flex-direction: column; align-items: center; max-width: 1040px; text-align: center; }
.editorial-intro h2, .section-heading { font-family: var(--display); font-size: clamp(3.4rem, 6.8vw, 7.2rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.editorial-intro h2 em, .section-heading em { color: var(--accent); font-weight: 300; }
.editorial-copy { max-width: 760px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.editorial-copy p { color: var(--ink-soft); font-size: .94rem; font-weight: 300; line-height: 1.95; }
.editorial-copy p + p { margin-top: 1.25rem; }
.editorial-quote { margin-top: 2rem; font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-style: italic; line-height: 1.15; color: var(--accent); }

.section-head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem; margin-bottom: 4rem; text-align: center; }
.section-head .section-heading { max-width: 760px; }
.section-kicker { max-width: 56ch; color: var(--ink-soft); font-size: .85rem; font-weight: 300; line-height: 1.8; }
.collection { margin-top: 5rem; }
.collection:first-child { margin-top: 0; }
.collection-head { display: flex; align-items: baseline; justify-content: center; gap: 1.5rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); text-align: center; }
.collection-head h3 { font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.4rem); font-weight: 300; }
.collection-head span { color: var(--ink-soft); font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.treatment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.treatment-card { min-height: 300px; padding: 2.2rem 2rem; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); background: transparent; }
.treatment-card:nth-child(odd) { border-right: 1px solid var(--line); }
.treatment-top { display: flex; justify-content: space-between; gap: 1.5rem; }
.treatment-card h4 { font-family: var(--display); font-size: clamp(2.1rem, 3vw, 3.3rem); font-weight: 400; line-height: .95; }
.treatment-meta { flex: 0 0 auto; text-align: right; color: var(--accent); font-size: .68rem; font-weight: 600; letter-spacing: .08em; line-height: 1.7; }
.treatment-note { margin-top: .6rem; color: var(--accent); font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.treatment-card p { margin-top: auto; padding-top: 2rem; max-width: 58ch; color: var(--ink-soft); font-size: .84rem; font-weight: 300; line-height: 1.8; }
.treatment-card--featured { background: transparent; }

.portrait-story { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 760px; }
.portrait-story-image { min-height: 680px; overflow: hidden; }
.portrait-story-image img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.08) saturate(.86); }
.portrait-story-copy { padding: clamp(4rem, 8vw, 8rem); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(ellipse at 78% 18%, rgba(255,255,255,.2), transparent 38%), var(--paper-light); }
.portrait-story-copy h2 { margin: 1.5rem 0 2rem; font-family: var(--display); font-size: clamp(3.8rem, 6vw, 7rem); font-weight: 300; line-height: .84; letter-spacing: -.035em; }
.portrait-story-copy p { max-width: 58ch; color: var(--ink-soft); font-size: .9rem; font-weight: 300; line-height: 1.9; }
.portrait-story-copy p + p { margin-top: 1.1rem; }
.credentials { margin-top: 2.3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.credential { padding: 1rem 0; border-top: 1px solid var(--line); font-size: .68rem; font-weight: 600; letter-spacing: .1em; line-height: 1.55; text-transform: uppercase; }

.raw-experience { background: linear-gradient(150deg, #9A7858 0%, #7E6142 100%); color: var(--cream); }
.raw-experience .eyebrow { color: #D9BEA3; }
.raw-experience .section-heading em { color: #D9BEA3; }
.raw-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: start; }
.raw-price { margin-top: 2.2rem; font-family: var(--display); font-size: 2rem; line-height: 1.5; }
.raw-price span { display: block; color: rgba(247,238,229,.65); font-family: var(--body); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.choice-block + .choice-block { margin-top: 2.6rem; }
.choice-block h3 { margin-bottom: 1rem; font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.choice-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.choice-chip { padding: .85rem 1rem; border: 1px solid rgba(247,238,229,.3); color: rgba(247,238,229,.86); font-size: .68rem; letter-spacing: .08em; }
.raw-closing { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(247,238,229,.25); font-family: var(--display); font-size: clamp(2.2rem, 4vw, 4rem); font-style: italic; color: #D9BEA3; }

.booking { padding: clamp(6rem, 10vw, 10rem) 5vw; text-align: center; background: radial-gradient(ellipse at 50% 30%, rgba(230,210,189,.55), transparent 52%), var(--paper); }
.booking .section-heading { max-width: 900px; margin: 1.5rem auto 1.6rem; }
.booking-copy { max-width: 56ch; margin: 0 auto; color: var(--ink-soft); font-size: .92rem; line-height: 1.85; }
.booking .button-primary { margin-top: 2.5rem; }
.booking-contact { margin-top: 1.4rem; font-family: var(--display); font-size: 1.7rem; text-decoration: none; }
.independent-note { max-width: 720px; margin: 4.5rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: rgba(63,45,32,.56); font-size: .66rem; font-weight: 300; line-height: 1.75; }

.atelier-footer { padding: 2.2rem 5vw; background: #A68161; border-top: 1px solid var(--line); }
.atelier-footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.atelier-footer-mark { width: 58px; height: 58px; background-color: var(--accent); -webkit-mask: url('../assets/favicon-ff.png') center / contain no-repeat; mask: url('../assets/favicon-ff.png') center / contain no-repeat; }
.atelier-footer-copy { text-align: center; font-size: .63rem; letter-spacing: .08em; line-height: 1.8; }
.atelier-footer-copy a { text-decoration: none; }
.atelier-footer-links { display: flex; justify-content: flex-end; gap: 1.5rem; list-style: none; }
.atelier-footer-links a { font-size: .63rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .atelier-nav-links, .atelier-nav-cta { display: none; }
  .atelier-menu { display: flex; }
  .editorial-intro, .raw-layout { grid-template-columns: 1fr; }
  .editorial-copy { max-width: 680px; }
  .portrait-story { grid-template-columns: 1fr; }
  .portrait-story-image { min-height: 86svh; }
  .atelier-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .atelier-footer-mark { margin: 0 auto; }
  .atelier-footer-links { justify-content: center; }
}

@media (max-width: 700px) {
  .atelier-logo img { width: 190px; max-height: 50px; }
  .service-hero-copy { min-height: 100svh; padding: 7rem 1.5rem 4rem; }
  .service-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .service-hero-lead { font-size: .88rem; }
  .service-hero-image { min-height: 70svh; }
  .hero-signature { right: 1rem; bottom: 1rem; }
  .section-shell { width: calc(100% - 3rem); }
  .editorial-intro h2, .section-heading { font-size: clamp(3.4rem, 16vw, 5.8rem); }
  .editorial-copy { padding-left: 0; }
  .section-head { align-items: center; flex-direction: column; margin-bottom: 2.5rem; }
  .collection { margin-top: 4rem; }
  .collection-head { align-items: center; flex-direction: column; gap: .25rem; }
  .treatment-grid { grid-template-columns: 1fr; }
  .treatment-card { min-height: 270px; padding: 1.8rem 0; }
  .treatment-card:nth-child(odd) { border-right: 0; }
  .treatment-top { align-items: flex-start; }
  .treatment-card h4 { font-size: 2.35rem; }
  .portrait-story-image { min-height: 70svh; }
  .portrait-story-copy { padding: 4.5rem 1.5rem; }
  .credentials { grid-template-columns: 1fr; }
  .booking { padding-left: 1.5rem; padding-right: 1.5rem; }
  .atelier-footer-links { flex-wrap: wrap; row-gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
