/* Elizabeth Hills Beauty — white, cream, gold, sage */
:root {
  --white: #fffcf8;
  --cream: #fdf3e9;
  --cream-deep: #f3e6d4;
  --sage-wash: #e7ede4;
  --ink: #2d3a32;
  --ink-soft: #4a5a50;
  --muted: #5a6860;
  --gold: #af935a;
  --sage: #3e5446;
  --sage-deep: #32483b;
  --on-sage: #fdf3e9;
  --line: rgba(62, 84, 70, 0.16);
  --line-gold: rgba(175, 147, 90, 0.7);
  --font-display: "Cormorant Garamond", Garamond, serif;
  --font-body: "Jost", "Helvetica Neue", sans-serif;
  --pad-x: clamp(20px, 5vw, 64px);
  --pad-y: clamp(64px, 9vw, 128px);
  --measure: 1120px;
  --z-skip: 1000;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sage);
  text-decoration: none;
  touch-action: manipulation;
}

a:hover {
  color: var(--sage-deep);
}

@media (prefers-reduced-motion: no-preference) {
  a,
  .btn,
  .btn-ghost,
  .nav-book {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  }
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: var(--z-skip);
  transform: translateY(-160%);
  background: var(--sage);
  color: var(--on-sage);
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skip:hover,
.skip:focus {
  color: var(--on-sage);
}

.skip:focus {
  transform: none;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}

h1.display {
  font-size: clamp(46px, 6vw, 80px);
  line-height: 1.02;
}

h2.display {
  font-size: clamp(38px, 4.6vw, 60px);
}

h2.display--book {
  font-size: clamp(42px, 5.2vw, 68px);
}

.lede {
  margin: 0;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.lede--hero {
  max-width: 36em;
  font-size: 18px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line-gold);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark {
  display: block;
  line-height: 0;
}

.wordmark img {
  width: 84px;
  height: 84px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.nav-links a {
  color: var(--ink);
  padding: 14px 0;
}

.nav-links a:hover {
  color: var(--sage);
}

.nav-links a.nav-book {
  padding: 14px 22px;
  border: 1px solid var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  color: var(--sage);
}

.nav-links a.nav-book:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--on-sage);
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  background: var(--sage);
  color: var(--on-sage);
  padding: 16px 32px;
  min-height: 48px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.btn:hover {
  background: var(--sage-deep);
  color: var(--on-sage);
}

.btn-line {
  display: inline-block;
  padding: 16px 4px;
  min-height: 48px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}

.btn-line:hover {
  color: var(--sage);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 15px 31px;
  min-height: 48px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--sage);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--sage-deep);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(40px, 6vw, 88px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-mark {
  display: flex;
  justify-content: center;
}

.hero-mark img {
  width: min(420px, 100%);
  height: auto;
}

/* Quote */
.quote-band {
  background: var(--sage);
  color: var(--on-sage);
  text-align: center;
  padding: clamp(48px, 7vw, 88px) var(--pad-x);
}

.quote-band p {
  max-width: 16em;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  text-wrap: balance;
}

/* About */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

.signature {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--sage);
}

.trust {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-gold);
}

.trust div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.trust-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Visit */
.visit {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

.visit-intro .lede {
  max-width: 36em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--gold);
}

.step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

/* Treatments */
.section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

.section--answers {
  padding-top: 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
}

.section-head .lede {
  max-width: 28em;
}

.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line-gold);
}

.offer h3,
.answers h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
}

.offer p,
.answers p {
  margin: 0;
  color: var(--ink-soft);
}

.menu-note {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 15px;
}

.menu-note a {
  color: var(--sage);
  border-bottom: 1px solid var(--gold);
  padding: 8px 0;
}

.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
}

.answers article {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Book */
.book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
  background: var(--white);
}

.book.wrap {
  max-width: none;
  padding-left: max(var(--pad-x), calc((100% - var(--measure)) / 2));
  padding-right: max(var(--pad-x), calc((100% - var(--measure)) / 2));
}

.details {
  margin: 0;
  font-size: 16px;
}

.detail {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.detail:last-child {
  border-bottom: 1px solid var(--line);
}

.detail dt {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
  padding-top: 4px;
}

.detail dd {
  margin: 0;
  color: var(--ink);
}

.detail a {
  color: var(--ink);
  padding: 8px 0;
}

.detail a:hover {
  color: var(--sage);
}

/* Footer */
.site-footer {
  background: var(--sage);
  color: var(--on-sage);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--on-sage);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}

.footer-link {
  color: var(--on-sage);
  padding: 12px 0;
}

.footer-link:hover {
  color: var(--cream-deep);
}

.site-footer :focus-visible {
  outline-color: var(--cream);
}

@media (max-width: 860px) {
  .hero,
  .about-inner,
  .book,
  .offers,
  .answers,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-mark img {
    width: min(260px, 70vw);
    margin-inline: auto;
  }

  .wordmark img {
    width: 68px;
    height: 68px;
  }
}
