/* Snapdragon Salon stylist profile proof of concept

*/

:root {
  --cream: #f7f1e7;
  --paper: #fffaf2;
  --sage: #8d9a58;
  --olive: #5f6f35;
  --deep-green: #243324;
  --forest: #172217;
  --charcoal: #181816;
  --ink: #26241f;
  --muted: #706c60;
  --warm-wood: #b17842;
  --soft-clay: #c49a7a;
  --mist: #d8ddd2;
  --line: rgba(36, 51, 36, 0.16);
  --shadow: 0 28px 90px rgba(23, 34, 23, 0.16);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(141, 154, 88, 0.24), transparent 34rem),
    linear-gradient(180deg, var(--cream), var(--paper) 42%, #f2eadc);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(36, 51, 36, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 51, 36, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -1;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 99;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--paper);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 12px 12px 18px;
  border: 1px solid rgba(36, 51, 36, 0.13);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 14px 38px rgba(23, 34, 23, 0.10);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 152px;
  max-height: 42px;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--deep-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(38, 36, 31, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-actions a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: 180ms ease;
}

.header-actions a:hover {
  color: var(--deep-green);
  background: rgba(141, 154, 88, 0.16);
}

.nav-cta {
  background: var(--deep-green);
  color: var(--paper) !important;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 136px 22px 76px;
}

.hero-bg {
  position: absolute;
  inset: auto -18vw -20vw auto;
  width: 58vw;
  height: 58vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 250, 242, 0.62), transparent 24%),
    radial-gradient(circle at 55% 48%, rgba(141, 154, 88, 0.35), transparent 42%),
    linear-gradient(135deg, rgba(95, 111, 53, 0.38), rgba(177, 120, 66, 0.18));
  filter: blur(1px);
  opacity: 0.85;
}

.hero-content {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  color: var(--deep-green);
  font-family: var(--serif);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 790px;
  font-size: clamp(4rem, 10.4vw, 9.4rem);
}

.hero-intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(38, 36, 31, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--paper);
  background: var(--deep-green);
  box-shadow: 0 16px 34px rgba(36, 51, 36, 0.2);
}

.button.secondary {
  color: var(--deep-green);
  border-color: rgba(36, 51, 36, 0.18);
  background: rgba(255, 250, 242, 0.68);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(38, 36, 31, 0.68);
  background: rgba(255, 250, 242, 0.54);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-card {
  position: relative;
  justify-self: end;
  width: min(390px, 100%);
  padding: 12px;
  border: 1px solid rgba(36, 51, 36, 0.15);
  border-radius: calc(var(--radius-lg) + 10px);
  background: rgba(255, 250, 242, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 42px;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: rgba(141, 154, 88, 0.35);
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5.45;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(36, 51, 36, 0.88), rgba(95, 111, 53, 0.62)),
    radial-gradient(circle at top, rgba(255, 250, 242, 0.24), transparent);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-placeholder,
.image-placeholder-copy,
.gallery-item span {
  display: none;
}

.portrait-frame.is-placeholder .portrait-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--paper);
  text-align: center;
}

.portrait-placeholder span {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.9;
}

.portrait-placeholder small {
  color: rgba(255, 250, 242, 0.72);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-caption {
  display: grid;
  gap: 2px;
  padding: 15px 10px 6px;
}

.card-caption span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.card-caption strong {
  color: var(--deep-green);
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 25px;
  height: 42px;
  border: 1px solid rgba(36, 51, 36, 0.24);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--deep-green);
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}

.intro-strip {
  padding: 0 22px 92px;
}

.intro-panel {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(36, 51, 36, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(36, 51, 36, 0.94);
  box-shadow: var(--shadow);
}

.intro-panel p {
  max-width: 890px;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.section {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  display: grid;
  gap: 0;
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 650px;
}

h2 {
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
}

h3 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.22fr 0.86fr;
  gap: 16px;
  align-items: stretch;
}

.experience-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(36, 51, 36, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.62);
  box-shadow: 0 20px 70px rgba(23, 34, 23, 0.08);
}

.feature-card {
  color: var(--paper);
  background:
    radial-gradient(circle at 30% 18%, rgba(196, 154, 122, 0.34), transparent 34%),
    linear-gradient(135deg, var(--forest), var(--deep-green));
}

.feature-card h3,
.feature-card .card-number {
  color: var(--paper);
}

.feature-card p {
  color: rgba(255, 250, 242, 0.76);
}

.card-number {
  margin-bottom: auto;
  color: rgba(95, 111, 53, 0.78);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}

.experience-card p,
.atelier-copy p {
  color: rgba(38, 36, 31, 0.72);
}

.atelier {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 64px 0 104px;
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.atelier-image {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 12px solid rgba(255, 250, 242, 0.72);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(36, 51, 36, 0.9), rgba(95, 111, 53, 0.68)),
    radial-gradient(circle, rgba(255, 250, 242, 0.16), transparent);
  box-shadow: var(--shadow);
}

.atelier-image img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.image-placeholder .image-placeholder-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--paper);
  text-align: center;
}

.image-placeholder-copy span {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}

.image-placeholder-copy small {
  color: rgba(255, 250, 242, 0.72);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atelier-copy {
  max-width: 610px;
}

.atelier-copy h2 {
  margin-bottom: 24px;
}

.services {
  padding-top: 52px;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 92px;
  padding: 22px 26px;
  border: 1px solid rgba(36, 51, 36, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.64);
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.service-row::after {
  content: "↗";
  position: absolute;
  right: 24px;
  top: 50%;
  color: rgba(36, 51, 36, 0.34);
  font-size: 1.3rem;
  transform: translateY(-50%);
}

.service-row:hover {
  transform: translateX(4px);
  border-color: rgba(95, 111, 53, 0.36);
  background: rgba(255, 250, 242, 0.9);
}

.service-row span {
  color: var(--deep-green);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.96;
}

.service-row small {
  margin-right: 36px;
  color: rgba(38, 36, 31, 0.62);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quote-section {
  padding: 88px 22px;
  color: var(--paper);
  background:
    radial-gradient(circle at top left, rgba(196, 154, 122, 0.18), transparent 26rem),
    linear-gradient(135deg, var(--forest), var(--deep-green));
}

.quote-section figure {
  width: min(1030px, 100%);
  margin: 0 auto;
}

blockquote {
  color: var(--paper);
  font-size: clamp(3.4rem, 8.5vw, 8.5rem);
  text-wrap: balance;
}

figcaption {
  margin-top: 24px;
  color: rgba(255, 250, 242, 0.72);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-band {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 108px 0;
  display: grid;
  grid-template-columns: 1fr 0.74fr 1fr;
  gap: 16px;
  align-items: end;
}

.gallery-item {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(95, 111, 53, 0.76), rgba(177, 120, 66, 0.34)),
    var(--mist);
  box-shadow: 0 20px 70px rgba(23, 34, 23, 0.09);
}

.gallery-item.tall {
  min-height: 460px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-item.image-placeholder span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: inline-flex;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 2rem;
}

.visit {
  padding: 0 22px 108px;
}

.visit-card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(36, 51, 36, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(141, 154, 88, 0.22), transparent 18rem),
    rgba(255, 250, 242, 0.74);
  box-shadow: var(--shadow);
}

.visit-card h2 {
  margin-bottom: 28px;
}

.visit-details {
  display: grid;
  gap: 10px;
  max-width: 620px;
}

.visit-details p {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  margin: 0;
  color: rgba(38, 36, 31, 0.76);
}

.visit-details strong {
  color: var(--deep-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.visit-details a {
  text-decoration: underline;
  text-decoration-color: rgba(95, 111, 53, 0.38);
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 26px 22px 34px;
  color: rgba(38, 36, 31, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--deep-green);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    border-radius: 28px;
    align-items: flex-start;
  }

  .header-actions {
    gap: 2px;
    font-size: 0.74rem;
  }

  .header-actions a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
    width: min(430px, 100%);
  }

  .experience-grid,
  .atelier,
  .gallery-band {
    grid-template-columns: 1fr;
  }

  .atelier-image,
  .atelier-image img {
    min-height: 480px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row small {
    margin-right: 40px;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 20px);
    padding: 10px 10px 10px 14px;
  }

  .brand-logo {
    width: 132px;
  }

  .logo-fallback {
    font-size: 1.34rem;
  }

  .hero {
    padding: 106px 16px 64px;
  }

  h1 {
    font-size: clamp(3.55rem, 17vw, 5.4rem);
  }

  .hero-intro {
    margin-top: 22px;
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .intro-strip,
  .quote-section,
  .visit {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section,
  .atelier,
  .gallery-band {
    width: calc(100% - 32px);
  }

  .section {
    padding: 72px 0;
  }

  .intro-panel {
    padding: 28px;
  }

  .intro-panel p {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .experience-card {
    min-height: 280px;
  }

  .atelier {
    padding-bottom: 72px;
  }

  .atelier-image,
  .atelier-image img {
    min-height: 420px;
  }

  blockquote {
    font-size: clamp(3.05rem, 15vw, 5.4rem);
  }

  .gallery-band {
    padding: 72px 0;
  }

  .gallery-item,
  .gallery-item.tall {
    min-height: 280px;
  }

  .visit-details p {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(36, 51, 36, 0.10);
  }
}

/* =========================================================
 Stylist-first hero
 Headshot → Name → Specialty → Booking
 ========================================================= */

.hero {
min-height: 100svh;
align-items: start;
padding: 118px 22px 74px;
}

.hero-content {
grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1fr);
gap: clamp(38px, 7vw, 92px);
align-items: center;
}

.stylist-hero-card {
position: relative;
width: min(470px, 100%);
justify-self: start;
padding: 12px;
border: 1px solid rgba(36, 51, 36, 0.15);
border-radius: calc(var(--radius-lg) + 12px);
background: rgba(255, 250, 242, 0.74);
box-shadow: var(--shadow);
backdrop-filter: blur(14px);
}

.stylist-hero-card::before {
content: "";
position: absolute;
inset: 34px -20px -20px 44px;
z-index: -1;
border-radius: var(--radius-lg);
background: rgba(141, 154, 88, 0.34);
}

.stylist-portrait {
position: relative;
aspect-ratio: 4 / 4.85;
overflow: hidden;
border-radius: var(--radius-lg);
background:
  linear-gradient(135deg, rgba(36, 51, 36, 0.88), rgba(95, 111, 53, 0.62)),
  radial-gradient(circle at top, rgba(255, 250, 242, 0.24), transparent);
}

.stylist-portrait > img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center 24%;
}

.stylist-portrait.is-placeholder .portrait-placeholder {
position: absolute;
inset: 0;
display: grid;
place-content: center;
gap: 8px;
padding: 28px;
color: var(--paper);
text-align: center;
}

.portrait-brand {
position: absolute;
top: 14px;
right: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 144px;
min-height: 52px;
padding: 8px 16px;
border: 1px solid rgba(36, 51, 36, 0.10);
border-radius: 999px;
background: rgba(255, 250, 242, 0.88);
box-shadow: 0 10px 28px rgba(23, 34, 23, 0.12);
backdrop-filter: blur(12px);
}

.portrait-brand img {
width: 132px;
max-height: 34px;
object-fit: contain;
}

.portrait-brand .logo-fallback {
font-size: 1.28rem;
}

.stylist-identity {
padding: 24px 18px 14px;
}

.stylist-identity .eyebrow {
margin-bottom: 8px;
}

.stylist-identity h1 {
max-width: none;
font-size: clamp(3.7rem, 6.5vw, 6.1rem);
line-height: 0.88;
}

.stylist-specialty {
margin: 12px 0 0;
color: var(--olive);
font-size: clamp(0.88rem, 1.3vw, 1rem);
font-weight: 800;
letter-spacing: 0.12em;
line-height: 1.45;
text-transform: uppercase;
}

.stylist-specialty span {
margin: 0 0.36em;
}

.hero-book-button {
width: 100%;
margin-top: 24px;
}

.quick-actions {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
margin-top: 10px;
}

.quick-actions a,
.quick-actions button {
min-height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 9px 10px;
border: 1px solid rgba(36, 51, 36, 0.14);
border-radius: 999px;
color: rgba(38, 36, 31, 0.72);
background: transparent;
font: inherit;
font-size: 0.76rem;
font-weight: 800;
letter-spacing: 0.07em;
text-transform: uppercase;
cursor: pointer;
transition: 180ms ease;
}

.quick-actions a:hover,
.quick-actions button:hover {
color: var(--deep-green);
border-color: rgba(95, 111, 53, 0.34);
background: rgba(141, 154, 88, 0.12);
transform: translateY(-1px);
}

.hero-story {
max-width: 620px;
}

.hero-story h2 {
font-size: clamp(3.6rem, 7.2vw, 7rem);
}

.hero-story > p:not(.eyebrow) {
max-width: 560px;
margin: 26px 0 0;
color: rgba(38, 36, 31, 0.76);
font-size: clamp(1.06rem, 1.7vw, 1.34rem);
}

@media (max-width: 900px) {
.hero {
  padding-top: 104px;
}

.hero-content {
  grid-template-columns: 1fr;
  gap: 56px;
}

.stylist-hero-card {
  width: min(520px, 100%);
  justify-self: center;
}

.hero-story {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-story > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.hero-story .hero-proof {
  justify-content: center;
}
}

@media (max-width: 620px) {
.site-header {
  position: absolute;
}

.hero {
  min-height: auto;
  padding: 88px 12px 62px;
}

.hero-content {
  gap: 46px;
}

.stylist-hero-card {
  padding: 8px;
  border-radius: 30px;
}

.stylist-hero-card::before {
  inset: 14px 10px -10px 10px;
  background: rgba(141, 154, 88, 0.24);
  border-radius: 28px;
}

.stylist-portrait {
  aspect-ratio: 4 / 4.55;
  border-radius: 24px;
}

.portrait-brand {
  top: 10px;
  right: 10px;
  min-width: 122px;
  min-height: 46px;
  padding: 7px 13px;
}

.portrait-brand img {
  width: 112px;
}

.stylist-identity {
  padding: 20px 12px 10px;
}

.stylist-identity h1 {
  font-size: clamp(3.45rem, 16vw, 5rem);
}

.stylist-specialty {
  margin-top: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.105em;
}

.hero-book-button {
  min-height: 54px;
  margin-top: 20px;
}

.quick-actions a,
.quick-actions button {
  min-height: 40px;
  padding-inline: 6px;
  font-size: 0.7rem;
}

.hero-story h2 {
  font-size: clamp(3.1rem, 14.2vw, 5rem);
}

.scroll-cue {
  display: none;
}
}

/* =========================================================
   Responsive stabilization
   Keeps the stylist hero aligned and full-width on phones.
   Place this block last so it wins the cascade.
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.hero,
.hero-content,
.stylist-hero-card,
.stylist-portrait,
.stylist-identity,
.hero-story {
  min-width: 0;
}

@media (max-width: 900px) {
  .hero {
    width: 100%;
    padding: 104px 20px 70px;
  }

  .hero-content {
    width: 100%;
    max-width: 700px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 52px;
  }

  .stylist-hero-card {
    width: 100%;
    max-width: 540px;
    justify-self: center;
  }

  .hero-story {
    width: 100%;
    max-width: 700px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .hero {
    width: 100%;
    min-height: auto;
    padding:
      calc(84px + env(safe-area-inset-top))
      14px
      58px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 44px;
  }

  .stylist-hero-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    padding: 8px;
    border-radius: 30px;
  }

  .stylist-hero-card::before {
    inset: 14px 10px -10px;
    border-radius: 28px;
    background: rgba(141, 154, 88, 0.24);
  }

  .stylist-portrait {
    width: 100%;
    aspect-ratio: 4 / 4.55;
  }

  .stylist-identity {
    width: 100%;
  }

  .stylist-identity h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 15.2vw, 4.65rem);
    overflow-wrap: normal;
  }

  .stylist-specialty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.35rem;
  }

  .stylist-specialty span {
    margin: 0;
  }

  .quick-actions {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-actions a,
  .quick-actions button {
    min-width: 0;
  }

  .hero-story {
    width: 100%;
    max-width: none;
    padding-inline: 4px;
  }

  .hero-story h2 {
    max-width: 100%;
    font-size: clamp(3rem, 13.5vw, 4.65rem);
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   Mobile sticky header + compact scrolled state
   Requires the small scripts.js listener provided separately.
   ========================================================= */

html {
  scroll-padding-top: 104px;
}

@media (max-width: 620px) {
  .site-header {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    transform: none;
    z-index: 100;
    padding: 10px 10px 10px 14px;
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.88);
    box-shadow: 0 12px 32px rgba(23, 34, 23, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
      top 220ms ease,
      padding 220ms ease,
      background 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease;
  }

  .site-header .brand-logo {
    width: 132px;
    transition: width 220ms ease;
  }

  .site-header .logo-fallback {
    transition: font-size 220ms ease;
  }

  .site-header .nav-cta {
    min-height: 42px;
    padding: 10px 15px;
    transition:
      min-height 220ms ease,
      padding 220ms ease,
      font-size 220ms ease;
  }

  .site-header.is-scrolled {
    top: calc(6px + env(safe-area-inset-top));
    padding: 7px 8px 7px 12px;
    background: rgba(255, 250, 242, 0.94);
    border-color: rgba(36, 51, 36, 0.16);
    box-shadow: 0 10px 26px rgba(23, 34, 23, 0.16);
  }

  .site-header.is-scrolled .brand-logo {
    width: 112px;
  }

  .site-header.is-scrolled .logo-fallback {
    font-size: 1.16rem;
  }

  .site-header.is-scrolled .nav-cta {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 0.69rem;
  }

  .hero {
    padding-top: calc(92px + env(safe-area-inset-top));
  }
}
