/* ==========================================================================
   The Glow Room — Porto
   Design tokens and site styles. Edit colours, type and spacing here only.
   ========================================================================== */

:root {
  /* Brand — primary */
  --blush: #ecbcb4;
  --rose: #c58c85;
  --clay: #a1665e;
  --cocoa: #503335;
  --espresso: #592f2a;

  /* Brand — supporting almond */
  --almond-1: #e8cba0;
  --almond-2: #d6b89a;
  --almond-3: #c4a68f;
  --almond-4: #b29c7e;
  --almond-5: #a18b6d;

  /* Neutrals */
  --linen: #f6ece4;
  --cream: #fbf4ee;
  --sand: #efe2d8;

  /* Ink */
  --ink: #4a2f2c;
  --ink-soft: #6f524c;
  --ink-faint: #a08279;
  --line: rgba(80, 51, 53, 0.14);
  --line-soft: rgba(80, 51, 53, 0.07);

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-script: "Mr De Haviland", cursive;

  --fs-h1: clamp(42px, 7vw, 92px);
  --fs-h2: clamp(32px, 4.6vw, 56px);
  --fs-h3: clamp(26px, 3.4vw, 40px);
  --fs-lede: clamp(17px, 2vw, 21px);
  --fs-body: clamp(16px, 1.7vw, 18px);
  --fs-small: 15px;
  --fs-label: 11px;

  /* Space + sizing */
  --wrap: 1120px;
  --wrap-text: 780px;
  --gutter: clamp(22px, 6vw, 64px);
  --section-y: clamp(72px, 10vw, 136px);
  --section-y-tight: clamp(56px, 7vw, 96px);
  --tap: 52px;
  --radius: 0px;
  --dur: 0.7s;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.8;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.25s ease; }
a:hover { color: var(--espresso); }

::selection { background: var(--blush); color: var(--cocoa); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cocoa); color: var(--cream);
  padding: 14px 20px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.skip:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: var(--section-y-tight) 0; }
.section--linen { background: var(--linen); }
.section--sand { background: var(--sand); }
.section--cocoa { background: var(--cocoa); color: var(--linen); }
.section--cocoa .label { color: var(--blush); }
.section--cocoa h2, .section--cocoa h3 { color: var(--linen); }
.section--cocoa p { color: rgba(246, 236, 228, 0.82); }
.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(32px, 5.5vw, 76px);
  align-items: start;
}
.split--middle { align-items: center; }
.split--label { grid-template-columns: minmax(200px, 0.7fr) minmax(300px, 1.3fr); }

@media (max-width: 760px) {
  .split--label { grid-template-columns: 1fr; }
}

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4, blockquote { font-family: var(--font-display); font-weight: 400; color: var(--cocoa); }
h1 { font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.14; }

.label {
  font-family: var(--font-body); font-weight: 400;
  font-size: var(--fs-label); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--clay); line-height: 1.6;
}
.lede { font-size: var(--fs-lede); line-height: 1.75; color: var(--ink-soft); max-width: 46ch; }
.body { color: var(--ink-soft); }
.body + .body { margin-top: 22px; }
.tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--clay); }
.script { font-family: var(--font-script); font-size: clamp(44px, 6vw, 68px); line-height: 1.1; color: var(--clay); }
.note { font-size: 13.5px; line-height: 1.75; color: var(--ink-faint); }
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: clamp(30px, 4vw, 44px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0 30px;
  background: var(--cocoa); color: var(--cream);
  border: 1px solid var(--cocoa); border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 400; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.btn--ghost { background: none; color: var(--cocoa); border-color: rgba(80, 51, 53, 0.3); }
.btn--ghost:hover { background: none; color: var(--espresso); border-color: var(--cocoa); }
.btn--light { background: var(--linen); color: var(--cocoa); border-color: var(--linen); }
.btn--light:hover { background: var(--blush); border-color: var(--blush); color: var(--cocoa); }
.btn--outline-light { background: none; color: var(--linen); border-color: rgba(246, 236, 228, 0.38); }
.btn--outline-light:hover { background: none; color: var(--linen); border-color: var(--linen); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 244, 238, 0.94);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 13px var(--gutter);
}
.site-header__logo { display: flex; }
.site-header__logo svg { height: clamp(30px, 3.6vw, 38px); width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.1vw, 30px); }
.nav__link {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; white-space: nowrap;
}
.nav__link:hover { color: var(--cocoa); }
.nav__link[aria-current="page"] { color: var(--cocoa); }
.nav__ig { display: flex; color: var(--ink-soft); }
.nav__ig:hover { color: var(--cocoa); }
.nav__divider { width: 1px; height: 18px; background: var(--line); }

.lang { display: flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: 0.14em; }
.lang a, .lang button {
  background: none; border: 0; padding: 4px; cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-faint);
}
.lang a:hover { color: var(--cocoa); }
.lang a[aria-current="true"], .lang button[aria-pressed="true"] { color: var(--cocoa); }
.lang > span { color: var(--ink-faint); }

.menu-btn {
  display: none; margin-left: auto;
  min-height: 44px; min-width: 44px; padding: 0 16px;
  background: none; border: 1px solid var(--line); color: var(--cocoa);
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
}
.menu-panel { display: none; border-top: 1px solid var(--line-soft); background: var(--cream); padding: 6px var(--gutter) 28px; }
.menu-panel.is-open { display: block; }
.menu-panel a.menu-panel__link {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display); font-size: 25px; color: var(--cocoa); text-decoration: none;
}
.menu-panel .btn-row { margin-top: 24px; }
.menu-panel .lang { margin-top: 24px; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--line-soft);
}
/* PHOTOGRAPHY: set --hero-image on .hero to drop the hero photograph in.
   e.g. <section class="hero" style="--hero-image:url('assets/img/hero.jpg')"> */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-image, none);
  background-size: cover; background-position: center 40%;
  opacity: 0.9;
}
.hero__mark {
  position: absolute; right: -14%; top: -20%;
  width: min(84vw, 780px); opacity: 0.085; pointer-events: none;
}
.hero__inner { position: relative; padding-block: clamp(80px, 14vw, 176px) clamp(68px, 11vw, 146px); }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: clamp(22px, 3.2vw, 36px); }
.hero .btn-row { margin-top: clamp(28px, 4.2vw, 46px); }
.hero__eyebrow { margin-bottom: clamp(24px, 4vw, 44px); }

.page-head { background: var(--linen); padding: clamp(56px, 9vw, 124px) 0 clamp(44px, 6.5vw, 86px); }
.page-head .lede { margin-top: 24px; max-width: 58ch; }

/* ---------- Treatment index (home) ---------- */
.treat-list { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.treat-row {
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(240px, 2fr) auto;
  gap: 10px clamp(20px, 4vw, 48px); align-items: baseline;
  padding: clamp(22px, 3.2vw, 34px) var(--gutter) clamp(22px, 3.2vw, 34px) 0;
  margin: 0 calc(var(--gutter) * -1) 0 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background 0.3s ease;
}
.treat-row:hover { background: rgba(251, 244, 238, 0.7); }
.treat-row__name { font-family: var(--font-display); font-size: clamp(26px, 3.1vw, 36px); line-height: 1.08; color: var(--cocoa); }
.treat-row__line { font-size: var(--fs-small); line-height: 1.7; color: var(--ink-soft); }
.treat-row__price { font-family: var(--font-display); font-size: 23px; color: var(--clay); white-space: nowrap; }
.treat-row__min { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; color: var(--ink-faint); }

@media (max-width: 820px) {
  .treat-row { grid-template-columns: 1fr auto; padding-right: 0; margin-right: 0; }
  .treat-row__line { grid-column: 1 / -1; }
}

/* ---------- Treatment detail ---------- */
.treatments { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 88px); }
.treatment {
  display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(22px, 4vw, 64px);
  padding-bottom: clamp(38px, 5vw, 64px); border-bottom: 1px solid var(--line);
}
.treatments .treatment:last-child { border-bottom: 0; padding-bottom: 0; }
.treatment__price { font-family: var(--font-display); font-size: 27px; color: var(--clay); margin-top: 14px; }
.treatment__dur { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }
.treatment .btn { margin-top: 26px; }
.treatment__desc { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.55; color: var(--ink); }
.includes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px 26px; margin-top: 16px; font-size: var(--fs-small); line-height: 1.6; color: var(--ink-soft);
}
.includes li { position: relative; padding-left: 16px; }
.includes li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: var(--rose); }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 28px; }
.options > div { border: 1px solid var(--line); padding: 20px 22px; }
.options p:last-child { font-size: var(--fs-small); line-height: 1.7; color: var(--ink-soft); margin-top: 10px; }

@media (max-width: 780px) {
  .treatment { grid-template-columns: 1fr; }
}

/* ---------- Extras ---------- */
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 0 clamp(32px, 6vw, 72px); margin-top: clamp(32px, 5vw, 54px); }
.extra { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.extra__name { font-family: var(--font-display); font-size: 24px; color: var(--cocoa); line-height: 1.2; }
.extra__desc { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin-top: 4px; max-width: 42ch; }
.extra__price { font-family: var(--font-display); font-size: 22px; color: var(--clay); flex: 0 0 auto; }

/* ---------- Quotes ---------- */
.quote-feature { border-left: 1px solid var(--blush); padding-left: clamp(20px, 3vw, 34px); }
.quote-feature p { font-family: var(--font-display); font-size: clamp(23px, 3.2vw, 38px); line-height: 1.4; color: var(--cocoa); }
.quote-feature footer,
.quote-card footer { margin-top: 20px; font-family: var(--font-body); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(28px, 4vw, 52px); }
.quote-card { border-top: 1px solid var(--line); padding-top: 26px; }
.quote-card p { font-family: var(--font-display); font-size: 21px; line-height: 1.55; color: var(--ink); }

/* ---------- Credentials ---------- */
.creds li { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 4vw, 52px); margin-top: clamp(30px, 4vw, 48px); }
.step__num { font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--rose); }
.step h3 { font-size: 24px; margin-top: 10px; }
.step p { font-size: var(--fs-small); line-height: 1.75; color: var(--ink-soft); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(26px, 3.6vw, 44px) clamp(32px, 5vw, 72px); margin-top: clamp(30px, 4vw, 46px); }
.faq__item { border-top: 1px solid var(--line); padding-top: 22px; }
.faq__item h3 { font-size: 23px; line-height: 1.25; }
.faq__item p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Contact details ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px, 3.5vw, 44px); margin-top: clamp(30px, 4vw, 46px); }
.contact-card { border-top: 1px solid var(--line); padding-top: 22px; }
.contact-card h3 { font-size: 25px; }
.contact-card a { font-size: 16px; }
.contact-card p { font-size: 14.5px; line-height: 1.7; color: var(--ink-faint); margin-top: 6px; }

/* ---------- Form ---------- */
.form { margin-top: clamp(34px, 5vw, 56px); }
.form fieldset { border: 0; padding: 0; margin: 0 0 clamp(32px, 4.5vw, 52px); }
.form legend { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.32em; text-transform: uppercase; color: var(--clay); padding-bottom: 20px; }
.field { margin-bottom: 22px; }
.field label, .field .field__label { display: block; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.field .req { color: var(--rose); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%; min-height: var(--tap);
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--line); border-radius: 0;
  padding: 13px 16px; font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.6;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); outline: none; background: #fff; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 26px; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
  border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.choice input:checked + span { border-color: var(--clay); background: var(--linen); color: var(--cocoa); }
.choice input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.consent input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--clay); flex: 0 0 auto; }

.form__error { color: var(--espresso); font-size: 14.5px; margin-bottom: 18px; }
.preview { display: none; margin-top: clamp(30px, 4vw, 44px); border: 1px solid var(--line); background: var(--linen); padding: clamp(24px, 3.5vw, 36px); }
.preview.is-open { display: block; }
.preview pre {
  font-family: var(--font-body); font-weight: 300; font-size: 14.5px; line-height: 1.75;
  color: var(--ink-soft); white-space: pre-wrap; margin: 18px 0 24px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: var(--linen); padding: clamp(60px, 8vw, 104px) 0 40px; }
.site-footer a { color: rgba(246, 236, 228, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--blush); }
.site-footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(34px, 5vw, 64px); }
.site-footer__mark { width: 44px; opacity: 0.9; }
.site-footer h4 { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blush); margin-bottom: 18px; font-weight: 400; }
.site-footer li + li { margin-top: 11px; }
.site-footer li { font-size: 14.5px; }
.site-footer li a { display: flex; align-items: center; gap: 11px; }
.footer-ico { width: 16px; height: 16px; flex: 0 0 auto; color: var(--blush); transition: color 0.25s ease; }
.site-footer li a:hover .footer-ico { color: var(--linen); }
.site-footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 24px; color: var(--blush); margin-top: 20px; }
.site-footer__meta {
  margin-top: clamp(44px, 6vw, 72px); padding-top: 24px;
  border-top: 1px solid rgba(246, 236, 228, 0.16);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center;
  font-size: 12.5px; color: rgba(246, 236, 228, 0.6);
}
.site-footer__meta .lang a { color: rgba(246, 236, 228, 0.6); }
.site-footer__meta .lang a:hover { color: var(--blush); }
.site-footer__meta .lang a[aria-current="true"] { color: var(--linen); }
.site-footer__meta .lang > span { color: rgba(246, 236, 228, 0.4); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur) ease, transform var(--dur) ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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