/*
Theme Name: Prairie Mane
Theme URI: https://example.com/prairie-mane
Author: Prairie Mane
Description: A refined, editorial WordPress theme for a modern salon.
Version: 1.0.3
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: prairie-mane
*/

:root {
  --ink: #241d19;
  --espresso: #34251e;
  --ivory: #f7f2ea;
  --paper: #fffdf9;
  --sand: #d9c7b2;
  --brass: #a67b4f;
  --line: rgba(52, 37, 30, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: .75rem 1rem;
  z-index: 9999;
  background: var(--paper);
}

.site-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brass);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.5rem;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s, color .25s, transform .25s;
}

.button:hover,
.button:focus-visible { background: transparent; color: var(--espresso); transform: translateY(-2px); }
.button--light { border-color: #fff; background: #fff; color: var(--espresso); }
.button--light:hover,
.button--light:focus-visible { background: transparent; color: #fff; }
.text-link { display: inline-flex; gap: .6rem; align-items: center; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link::after { content: "↗"; font-size: 1rem; transition: transform .2s; }
.text-link:hover::after { transform: translate(3px, -3px); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: #fff;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 106px;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.site-branding { justify-self: center; text-align: center; line-height: 1; }
.site-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; }
.site-title img { max-width: 50px; margin-right: 10px; float: left; }
.site-description { display: block; margin-top: .25rem; font-size: .56rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.primary-menu { display: flex; gap: clamp(1rem, 2.2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.primary-menu a { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.5rem; }
.header-book { border-bottom: 1px solid currentColor; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menu-toggle { display: none; padding: 0; border: 0; color: inherit; background: transparent; }

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #8a7665;
  background-image: linear-gradient(90deg, rgba(38,25,18,.8) 0%, rgba(38,25,18,.4) 42%, rgba(38,25,18,.05) 76%), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25,16,12,.35), transparent 50%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; padding-block: 210px 96px; }
.hero__content { max-width: 780px; }
.hero .eyebrow { color: #ead8c4; }
.hero h1 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(4.3rem, 8.3vw, 8.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .82; }
.hero__copy { max-width: 520px; margin: 2rem 0 2.4rem; color: rgba(255,255,255,.84); font-size: 1.05rem; }
.hero__meta { position: absolute; right: 0; bottom: 102px; display: flex; gap: 2rem; font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; writing-mode: vertical-rl; }

.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; padding-block: clamp(6rem, 11vw, 10rem); }
.intro h2, .section-heading { margin: 0; font-family: var(--serif); font-size: clamp(3.3rem, 6vw, 6rem); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.intro__copy { max-width: 630px; }
.intro__copy > p:first-child { margin-top: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.25; }
.intro__copy .text-link { margin-top: 1.25rem; }

.services { padding-block: clamp(5rem, 9vw, 9rem); background: var(--ivory); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.service-grid { border-top: 1px solid var(--line); }
.service-card { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 2rem; padding: 2.1rem 0; border-bottom: 1px solid var(--line); transition: padding .25s, color .25s; }
.service-card:hover { padding-inline: 1rem; color: var(--brass); }
.service-card__number { color: var(--brass); font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
.service-card h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 400; letter-spacing: -.035em; }
.service-card__meta { display: flex; gap: 1.5rem; align-items: center; color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-card__arrow { font-size: 1.4rem; }

.promise { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; background: var(--espresso); color: #fff; }
.promise__image { background: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)), var(--hero-image) center/cover; }
.promise__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 9rem); }
.promise__content h2 { margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 6.6rem); font-weight: 400; letter-spacing: -.05em; line-height: .88; }
.promise__content p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.72); }
.promise__points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 2rem 0 0; padding: 2rem 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.booking-strip { padding-block: clamp(5rem, 9vw, 8rem); text-align: center; background: var(--sand); }
.booking-strip h2 { max-width: 900px; margin: 0 auto 2rem; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 7.4rem); font-weight: 400; letter-spacing: -.05em; line-height: .9; }

.site-footer { padding: 5rem 0 2rem; background: #1f1815; color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 4rem; padding-bottom: 5rem; }
.footer-title { color: #fff; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5rem); line-height: .9; }
.footer-title img { max-width: 280px; }
.footer-heading { margin: 0 0 1.25rem; color: #d9b991; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-list { margin: 0 0 10px 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: .5rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { padding: 190px 0 90px; color: #fff; background: var(--espresso); }
.page-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 8vw, 8rem); font-weight: 400; letter-spacing: -.05em; line-height: .9; }
.page-content { width: min(calc(100% - 48px), 860px); margin: 0 auto; padding-block: 6rem; }
.page-content h2, .page-content h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
.page-content h2 { font-size: 3rem; }
.page-content a { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 920px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-branding { justify-self: start; }
  .header-actions { gap: 1rem; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 26px; }
  .menu-toggle span { display: block; height: 1px; width: 100%; background: currentColor; }
  .main-navigation { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; background: var(--espresso); transition: opacity .25s, visibility .25s; }
  .menu-open .main-navigation { visibility: visible; opacity: 1; }
  .primary-menu { flex-direction: column; align-items: center; gap: 1.4rem; }
  .primary-menu a { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .menu-toggle { position: relative; z-index: 2; }
  .header-book { display: none; }
  .intro { grid-template-columns: 1fr; gap: 3rem; }
  .promise { grid-template-columns: 1fr; }
  .promise__image { min-height: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header__inner { min-height: 84px; }
  .site-description { display: none; }
  .site-title img { max-width: 40px; margin-right: 6px; }
  .hero { min-height: 780px; background-position: 58% center; }
  .hero__inner { padding-block: 160px 64px; }
  .hero h1 { font-size: clamp(3.8rem, 19vw, 5.6rem); }
  .hero__copy { font-size: .95rem; }
  .hero__meta { display: none; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .service-card { grid-template-columns: 50px 1fr; gap: 1rem; }
  .service-card__meta { grid-column: 2; justify-content: space-between; }
  .promise__image { min-height: 390px; }
  .promise__content { padding: 4.5rem 1.25rem; }
  .promise__points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
