:root {
  --serif: var(--font-display);
  --sans: var(--font-ui);
  --page-gutter: max(clamp(1rem, 5vw, 5.5rem), calc((100% - 84rem) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 4px; }
[hidden] { display: none !important; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem var(--page-gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-copy { display: flex; align-items: center; flex-direction: column; }
.brand-name { font: 600 2.55rem/.93 var(--serif); letter-spacing: -.03em; }
.brand-by { margin-top: .35rem; font: 600 .625rem/1 var(--sans); letter-spacing: .12em; }
.site-header nav, .footer-note nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1.15rem, 2.6vw, 2.8rem); }
.site-header nav a, .header-cta { font-size: .94rem; font-weight: 550; text-decoration: none; }
.site-header nav a { position: relative; padding-block: .55rem; transition: color .2s; }
.site-header nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 .36rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease-out;
}
.site-header nav a:is(:hover, :focus-visible) { color: var(--bronze); }
.site-header nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--control-edge);
  border-radius: 999px;
  padding: .56rem 1.2rem;
  color: var(--cocoa);
  white-space: nowrap;
  transition: background .18s, border-color .18s;
}
.header-cta:hover { background: var(--cream); border-color: var(--bronze); }

.hero, .section-pad { padding: clamp(3.6rem, 6.7vw, 7.25rem) var(--page-gutter); }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, min(43vw, 38rem));
  align-items: center;
  min-height: clamp(26rem, 43vw, 44rem);
  padding-block: clamp(2rem, 4vw, 4.25rem);
  background: #eee4d7;
}
.hero-copy { position: relative; }
.hero-photo { position: absolute; z-index: -1; inset: 0; display: block; overflow: hidden; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 88% 45%; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fbf2e5c9, #fbf2e5b5 37%, #fbf2e570 45%, transparent 57%);
}
.hero .eyebrow { color: #58412f; }
.hero h1 > span { white-space: nowrap; }
.hero h1 em { color: #6d4d35; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--bronze);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero h1, .section-pad h2 {
  margin: 0;
  font: 600 clamp(3.65rem, 7.8vw, 7.4rem)/1 var(--serif);
  letter-spacing: -.03em;
}
.section-pad h2 { font-size: clamp(2.75rem, 4.7vw, 5rem); }
h1 em, h2 em { padding-inline-start: .035em; color: var(--bronze); font-weight: inherit; }
.hero-intro {
  color: #4e4036;
  text-wrap: balance;
  max-width: 32ch;
  margin: clamp(1.1rem, 2vw, 1.7rem) 0 clamp(1.35rem, 2.5vw, 2.4rem);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem 1.6rem; }
.button {
  display: inline-flex;
  min-height: 2.95rem;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .68rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  font-size: .96rem;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.button-dark { background: var(--cocoa); color: var(--paper); }
.button-dark:enabled:hover, a.button-dark:hover { background: #654936; }
.button-outline { border-color: var(--control-edge); }
.button-outline:hover { background: var(--cream); }
.text-link {
  width: fit-content;
  color: var(--cocoa);
  font-size: .96rem;
  font-weight: 550;
  text-decoration-color: #a3886a;
  text-underline-offset: .36em;
}
.text-link:hover { text-decoration-color: var(--cocoa); }
.services {
  --gallery-gap: clamp(.5rem, 1.2vw, 1.25rem);
  --photo-height: min(40svh, 74vw, 26rem, calc(50svh - 3.75rem));
  display: grid;
  /* Keep two rows in view and each photo at most 1.4 times as wide as it is tall. */
  grid-template-columns: min(100%, 70rem, calc(2.8 * var(--photo-height) + var(--gallery-gap)));
  justify-content: center;
  padding-block: clamp(1.25rem, 4svh, 3.5rem);
  padding-inline: clamp(.5rem, 1.4vw, 1.75rem);
  background: var(--paper);
}
.services-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; margin-bottom: clamp(.9rem, 2.6svh, 1.7rem); }
.services h2 { font-size: clamp(2.15rem, min(5vw, 6.3svh), 3.9rem); }
.services-heading .text-link { font-size: clamp(.8rem, 1.3vw, .94rem); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gallery-gap); }
.service-carousel {
  position: relative;
  isolation: isolate;
  container-type: size;
  overflow: hidden;
  height: var(--photo-height);
  border-radius: clamp(.85rem, 1.7vw, 1.5rem);
  background: var(--cream);
}
@media (width < 48rem), (max-width: 60rem) and (max-height: 30rem) and (orientation: landscape) {
  .services {
    --gallery-gap: clamp(.75rem, 3vw, 1.25rem);
    --photo-height: min(125vw, 74svh, 36rem);
    grid-template-columns: min(100%, 38rem, 105svh);
  }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}
.carousel-viewport, .carousel-viewport img { position: absolute; inset: 0; width: 100%; height: 100%; }
.carousel-viewport { isolation: isolate; touch-action: pan-y pinch-zoom; }
.carousel-viewport:focus-visible { outline: none; }
.service-carousel:has(.carousel-viewport:focus-visible) { outline: 3px solid var(--bronze); outline-offset: 3px; }
.carousel-viewport img {
  display: block;
  z-index: 1;
  margin: auto;
  object-fit: cover;
  object-position: 50% var(--focus-y, 50%);
}
.carousel-viewport img[data-framing="hair"] {
  width: min(100%, var(--frame-width));
}
.carousel-viewport img.face-portrait {
  width: max(100%, 115cqh);
  left: 50%;
  right: auto;
  translate: -50% 0;
}
.carousel-viewport img[data-framing="full"] {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.carousel-viewport img[data-framing="hands"] { height: auto; max-height: 100%; }
.carousel-viewport img[data-framing] {
  --edge-x: clamp(0px, calc(100cqw - 100%), .6rem);
  --edge-y: clamp(0px, calc(100cqh - 100%), .6rem);
  mask-image: linear-gradient(to right, transparent, black var(--edge-x), black calc(100% - var(--edge-x)), transparent),
              linear-gradient(to bottom, transparent, black var(--edge-y), black calc(100% - var(--edge-y)), transparent);
  mask-composite: intersect;
}
.photo-backdrop {
  position: absolute;
  inset: -1.5rem;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  filter: blur(1.1rem) saturate(.67);
}
.carousel-viewport img, .photo-backdrop {
  opacity: 0;
  transition: opacity .65s ease-in-out;
}
.carousel-viewport img.is-active, .carousel-viewport img.is-active + .photo-backdrop { opacity: 1; }
.service-carousel::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  pointer-events: none;
  background: linear-gradient(to top, rgb(32 21 15 / .77), rgb(32 21 15 / .28) 46%, transparent);
}
.service-carousel:is([data-service="par"], [data-service="cosmetica"])::after {
  inset-block-start: 66%;
  background: linear-gradient(to top, rgb(32 21 15 / .66), transparent);
}
.service-carousel h3 {
  position: absolute;
  z-index: 2;
  inset: auto auto clamp(.75rem, 4cqi, 1.4rem) clamp(.8rem, 5cqi, 1.8rem);
  margin: 0;
  color: #fffaf1;
  font: 600 clamp(1.4rem, 7.5cqi, 2.7rem)/1.05 var(--serif);
  letter-spacing: -.035em;
  pointer-events: none;
}
.carousel-controls { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.carousel-controls button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  pointer-events: auto;
}
.carousel-controls button::before {
  content: "";
  position: absolute;
  width: clamp(1.65rem, 2.8vw, 2.15rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fbf7f0e8;
  box-shadow: 0 1px 5px #30231721;
  transition: background-color .22s, scale .22s;
}
.carousel-controls button:focus-visible { outline: 2px solid white; outline-offset: -2px; }
.carousel-controls button:is(:focus-visible, :hover)::before { background: #fffaf0; scale: 1.08; }
.carousel-controls button::after { content: ""; position: relative; }
.carousel-controls [data-prev], .carousel-controls [data-next] { top: 50%; transform: translateY(-50%); }
.carousel-controls [data-prev] { left: clamp(0rem, .6vw, .55rem); }
.carousel-controls [data-next] { right: clamp(0rem, .6vw, .55rem); }
.carousel-controls :is([data-prev], [data-next])::after {
  width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
}
.carousel-controls [data-prev]::after { transform: translateX(1px) rotate(135deg); }
.carousel-controls [data-next]::after { transform: translateX(-1px) rotate(-45deg); }
.carousel-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wheel-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  grid-template-areas: "heading stage" "entry stage";
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 1.2rem clamp(2rem, 5vw, 5rem);
  background: radial-gradient(ellipse at 73% 42%, var(--champagne) 0, #f2e7d7 34%, var(--paper) 77%);
  border-block: 1px solid var(--line);
  overflow: clip;
}
.wheel-heading { grid-area: heading; align-self: end; }
.wheel-heading .eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.wheel-heading .eyebrow::before { content: ""; width: 2.8rem; height: 1px; background: #a68660; }
.wheel-heading h2 { font-size: clamp(3.7rem, 6vw, 6.25rem); }
.wheel-heading h2 em { display: block; }
.wheel-entry { grid-area: entry; align-self: start; max-width: 26rem; }
.wheel-entry > p:first-child { margin: 0 0 1.45rem; color: var(--muted); line-height: 1.65; text-wrap: pretty; }
.wheel-entry .button { gap: 1.15rem; }
.wheel-entry .button::after { content: "→" / ""; font-family: system-ui, sans-serif; line-height: 1; }
.participation-status, .wheel-rules { margin: .8rem 0 0; font-size: .81rem; line-height: 1.55; color: var(--muted); }
.participation-status:empty { display: none; }
.wheel-stage { grid-area: stage; display: grid; width: 100%; justify-self: center; justify-items: center; gap: 1.35rem; min-width: 0; }
.wheel-frame { position: relative; isolation: isolate; container-type: inline-size; width: min(100%, 31.5rem); aspect-ratio: 1; }
.wheel-frame::before {
  content: ""; position: absolute; inset: -.35%; z-index: -1; border-radius: 50%;
  background: linear-gradient(130deg, #faf1df, #c9a97b 39%, #fff6e7 63%, #a68a64);
  box-shadow: 0 1px 1px #fffaf2 inset, 0 15px 38px -15px #69503a52;
}
.wheel-pointer {
  position: absolute; z-index: 3; top: -.25rem; left: 50%; width: clamp(.88rem, 1.6vw, 1.28rem);
  aspect-ratio: 1; transform: translateX(-50%) rotate(-45deg); border-radius: 50% 50% 50% 12%;
  border: 1px solid #91704a; background: linear-gradient(125deg, #fff4da, #d5b584 53%, #aa865b);
  box-shadow: -2px 2px 5px #46332336; pointer-events: none;
}
.wheel-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 17%; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid #b99b77;
  background: linear-gradient(145deg, #fffdf5, #eddfc8); box-shadow: 0 2px 9px #543c2724;
  color: var(--cocoa); font: 600 clamp(.7rem, 4.05cqw, 1.35rem)/1 var(--serif); letter-spacing: .035em;
}
.wheel-center::after { content: ""; position: absolute; inset: 5%; border: 1px solid #ceba99; border-radius: 50%; }
.wheel-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem 1.4rem; }
.wheel-info {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem;
  padding: .35rem .15rem; background: transparent; border: 0; color: var(--cocoa); font-size: .87rem; font-weight: 550;
}
a.wheel-info { text-decoration: none; }
a.wheel-info::after { content: "→" / ""; }
button.wheel-info::after { content: "+" / ""; font: 400 1rem/1 var(--sans); color: var(--bronze); }
.wheel-info:hover { text-decoration: underline; text-underline-offset: .25em; }
.box-tiers article { display: grid; grid-template-columns: 1fr auto; gap: .35rem .7rem; align-items: baseline; border-top: 1px solid var(--line); padding-block: 1rem; }
.box-range { grid-column: 2; grid-row: 1; color: var(--bronze); font-size: .84rem; font-weight: 600; margin: 0; }
.box-tiers h3 { grid-column: 1; grid-row: 1; font: 600 1.5rem/1.2 var(--serif); margin: 0; }
.box-tiers p:last-child { grid-column: 1 / -1; color: var(--muted); margin: 0; }
.offer-terms { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: .75rem; background: var(--cream); color: var(--cocoa); font-size: .92rem; }
.box-tiers { margin-top: 1.15rem; }
.prize-menu { padding: 0; margin: 1.5rem 0 0; list-style: none; }
.prize-menu li { border-top: 1px solid var(--line); }
.prize-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 2.75rem; padding: .7rem .3rem; background: transparent; border: 0;
  text-align: left; color: var(--cocoa); font: 600 1.2rem/1.3 var(--serif);
}
.prize-menu button::after { content: "›" / ""; color: var(--bronze); }
.prize-menu button:hover { background: var(--cream); }
@media (max-width: 48rem) {
  #wheel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "heading" "stage" "entry"; gap: 1.6rem; padding-block: 3.5rem; }
  .wheel-heading, .wheel-entry { text-align: center; justify-self: center; }
  .wheel-heading .eyebrow { justify-content: center; margin-bottom: .65rem; }
  .wheel-heading .eyebrow::before { display: none; }
  .wheel-heading h2 { font-size: clamp(2.85rem, 9vw, 4rem); }
  .wheel-heading h2 em { display: inline; }
  .wheel-stage { gap: .65rem; }
  .wheel-entry > p:first-child { margin: 0 auto 1rem; }
}
@media (max-width: 26rem) {
  #wheel { padding-inline: 4vw; }
  .wheel-entry { padding-inline: .5rem; }
  .wheel-tools { gap: .1rem 1rem; }
  .wheel-info { font-size: .81rem; }
}
@media (max-width: 22rem) {
  .wheel-tools { column-gap: .3rem; }
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.contact-info { text-align: center; }
.contact-section h2 { margin-bottom: 1.4rem; }
.salon-address { display: grid; justify-items: center; gap: .2rem; font-style: normal; }
.salon-address > span { font-size: 1.1rem; }
.contact-label { margin: 1.5rem 0 .4rem; font: 600 .8rem/1.45 var(--sans); color: var(--muted); }
.contact-phone { color: var(--cocoa); font: 600 clamp(1.65rem, 3vw, 2.3rem)/1.2 var(--serif); white-space: nowrap; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
.contact-phone:hover { text-decoration-color: currentColor; }
.opening-hours { margin: 0 auto 1.45rem; max-width: 19rem; }
.opening-hours dt { text-align: start; }
.opening-hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .28rem 0; border-bottom: 1px solid var(--line); }
.opening-hours dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.salon-map {
  position: relative;
  min-height: 20rem;
  height: clamp(23rem, 31vw, 28rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--cream);
}
.map-link { display: block; position: relative; height: 100%; color: var(--ink); }
.map-link:focus-visible { outline-offset: -4px; }
.map-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-marker {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%);
  padding: .35rem .7rem; margin-top: -.5rem; border-radius: .5rem;
  background: var(--cocoa); color: var(--paper); font: 600 1.05rem/1.25 var(--serif);
  box-shadow: 0 2px 6px #32291c26;
}
.map-marker::after {
  content: ""; position: absolute; top: 100%; left: calc(50% - .4rem);
  border: .4rem solid transparent; border-top: .5rem solid var(--cocoa); border-bottom: 0;
}
.map-action {
  position: absolute; bottom: 2.1rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  background: var(--paper); border: 1px solid var(--line); padding: .65rem 1rem;
  border-radius: 2rem; color: var(--cocoa); font-size: .9rem; font-weight: 600;
}
.map-link:is(:hover, :focus-visible) .map-action { text-decoration: underline; text-underline-offset: .2em; }
.map-credit {
  position: absolute; right: .65rem; bottom: .35rem; padding: .15rem .4rem;
  border-radius: .3rem; background: var(--paper); color: var(--cocoa); font-size: .7rem;
}
@media (max-width: 48rem) {
  .contact-section { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .salon-map { height: 20rem; }
}
.footer-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: 2.6rem var(--page-gutter);
  background: var(--ink);
  color: var(--paper);
}
.footer-note > span { font: 600 clamp(1.55rem, 2.4vw, 2.1rem)/1.15 var(--serif); letter-spacing: -.03em; }
.footer-note nav { gap: .6rem 1.5rem; }
.footer-note a { padding-block: .3rem; color: #f0e3ce; font-size: .93rem; text-decoration-color: #bba283; }
.footer-note a:focus-visible { outline-color: var(--champagne); }
.footer-note a:hover { text-decoration-color: var(--paper); }
.modal { width: min(31rem, calc(100% - 1.6rem)); max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.45rem, 4vw, 2.4rem); box-shadow: 0 24px 80px #30231747; }
.modal::backdrop { background: #32271e88; backdrop-filter: blur(4px); }
.modal-close { position: absolute; top: .7rem; right: .7rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--cream); color: var(--cocoa); border: 1px solid var(--line); font: 400 1.45rem/1 var(--sans); }
.modal-close:hover { background: var(--champagne); }
.modal .eyebrow { margin-bottom: 1rem; }
.modal h2 { margin: 0 0 1.1rem; padding-right: 1.8rem; font: 600 clamp(1.95rem, 5vw, 2.55rem)/1.08 var(--serif); letter-spacing: -.03em; }
.modal-copy { font-size: .98rem; margin: .5rem 0 1rem; color: var(--muted); }
.field-label { display: block; margin: .85rem 0 .25rem; font-size: .96rem; font-weight: 600; }
.field-label span { color: var(--muted); font-weight: 400; }
.field { width: 100%; padding: .7rem 1rem; min-height: 3rem; border: 1px solid var(--control-edge); border-radius: .75rem; background: #fffdfa; }
.privacy-note, .form-status, .form-error { font-size: .88rem; margin: .8rem 0; }
.privacy-note, .form-status { color: var(--muted); }
.marketing-choice { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1rem; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.marketing-choice input { flex: none; width: 1.2rem; height: 1.2rem; margin: .1rem 0 0; accent-color: var(--cocoa); }
.marketing-hint { margin: .2rem 0 .8rem; padding-left: 1.85rem; }
.form-error { color: #933e32; }
.form-status:empty, .form-error:empty { display: none; }
.full { width: 100%; margin-top: .6rem; }
.form-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.inline-action, .form-links button { border: 0; font-size: .9rem; text-decoration: underline; text-underline-offset: .17rem; background: transparent; padding: .75rem 0; }
.prize-label { font: 600 1.5rem/1.1 var(--serif); color: var(--bronze); margin: 0 0 .65rem; }
.voucher { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; display: grid; justify-items: center; }
#prize-qr { padding: 1.25rem; line-height: 0; background: #fff; }
#prize-qr img, #prize-qr canvas { width: 9rem; height: 9rem; image-rendering: pixelated; }
.voucher-caption { color: var(--muted); font-size: .9rem; }
#voucher-code { font: 600 2.3rem/1.25 ui-monospace, Consolas, monospace; letter-spacing: .07em; text-align: center; overflow-wrap: anywhere; }
#voucher-code.long-code { font-size: 1rem; letter-spacing: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise-in .48s ease-out backwards; }
  .modal[open] .modal-step:not([hidden]),
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(.55rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 48rem) {
  .site-header { gap: 1.1rem; padding-block: .86rem; }
  .site-header nav { gap: 1.15rem; }
  .site-header nav a, .header-cta { font-size: .88rem; }
  .hero h1 { font-size: clamp(3.05rem, 7.9vw, 4rem); }
  .hero-actions { gap: .8rem 1.1rem; }
}
@media (max-width: 39rem) {
  .site-header:has(nav) { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .75rem var(--page-gutter) .25rem; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 2rem; }
  .site-header nav a { display: grid; place-items: center; min-height: 2.75rem; padding-block: .35rem; }
  .site-header .brand-name { font-size: 2.2rem; }
  .footer-note { padding-block: 2rem; }
}
@media (min-width: 137.5rem) {
  .hero { min-height: clamp(42rem, 21.5vw, 63rem); }
  .hero-image { object-position: 65% 42%; }
}
@media (min-width: 32rem) and (max-width: 60rem) and (max-height: 30rem) and (orientation: landscape) {
  .hero { min-height: clamp(19rem, 84svh, 25rem); padding-block: 1.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.25rem); }
  .hero-intro { margin-block: .8rem 1rem; }
}
@media (min-width: 32rem) and (max-width: 48rem) {
  .hero-intro { max-width: min(32ch, 33vw); }
}
@media (width < 32rem), (width < 40rem) and (orientation: portrait) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: clamp(40rem, 154vw, 48rem);
    padding: clamp(1.5rem, 6vw, 2.75rem) clamp(1rem, 5.5vw, 2.5rem);
  }
  .hero-image { object-position: 55% 58%; }
  .hero-photo::after {
    background: linear-gradient(180deg, #fbf2e59c, #fbf2e58f 35%, #fbf2e54d 45%, transparent 58%);
  }
  .hero .eyebrow { margin-bottom: .7rem; font-size: clamp(.68rem, 2vw, .77rem); }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-intro { max-width: 29ch; margin: .8rem 0 1.05rem; text-wrap: pretty; }
  .hero-actions { gap: .55rem 1.1rem; }
  .hero-actions .button { padding-inline: 1.12rem; }
}
@media (max-width: 20rem) {
  .hero-actions { gap: .4rem .65rem; }
  .hero-actions a { font-size: .84rem; }
  .hero-actions .button { padding-inline: .75rem; }
  .site-header:has(nav) { grid-template-columns: auto minmax(0, 1fr); column-gap: .625rem; }
  .site-header .header-cta { justify-self: end; padding-inline: .65rem; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
