:root {
  --paper: #f5f8f8;
  --ink: #0e1d24;
  --slate: #8a9ea0;
  --rule: #5c7274;
  --teal: #019299;
  --amber: #f77f00;
  --nav: 5.6rem;
  --pad: clamp(1.1rem, 3.2vw, 2.75rem);
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: Manrope, "Avenir Next", "Segoe UI", sans-serif;
  --p: 0;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.7rem;
  transform: translateY(-160%);
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  z-index: 40;
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem 1.25rem;
  min-height: var(--nav);
  padding: 0.45rem var(--pad);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate);
}

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

.logo img,
.site-footer img {
  height: 4.4rem;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav a[aria-current="true"] {
  box-shadow: inset 0 -3px 0 var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.05rem;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  text-decoration: none;
  border: 0;
}

.btn:hover {
  background: color-mix(in srgb, var(--teal) 78%, var(--ink));
}

.text-link {
  font-weight: 700;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--teal);
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
.phone,
.voice h3,
.index {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.15rem, 6.4vw, 5.85rem);
  line-height: 0.9;
}

h1 em {
  font-style: italic;
  font-weight: 480;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-size: 100% 0.11em;
  background-position: 0 92%;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  line-height: 0.96;
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.12rem;
}

.hero {
  background: var(--paper);
}

.hero-sticky {
  display: block;
}

.hero-copy {
  padding: 1.6rem var(--pad) 1.4rem;
  border-bottom: 10px solid var(--teal);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.45rem;
}

.hero-photo {
  position: relative;
  margin: 0;
  height: min(78vh, 40rem);
  overflow: hidden;
  background: #d7d4d1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.hero-photo figcaption {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  max-width: none;
  padding: 0.55rem 0.8rem;
  background: var(--paper);
  font-size: 0.92rem;
}

.offer {
  padding: 4.2rem var(--pad) 0;
}

.index {
  margin: 0;
  color: var(--amber);
  font-size: clamp(4.6rem, 16vw, 9.5rem);
  line-height: 0.78;
}

.index-quiet {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.offer-copy {
  max-width: 38rem;
  margin-top: 0.4rem;
}

.offer-copy p,
.school-copy p,
.trust-copy p,
.place-note p,
.works-copy p,
.voices-intro p {
  margin: 0 0 0.9rem;
}

.offer-photo,
.place-hero,
.trust-photo,
.place-grid figure,
.works-track figure {
  margin: 0;
}

.offer-photo {
  margin: 2rem calc(var(--pad) * -1) 0;
}

.offer-photo figcaption {
  margin-left: var(--pad);
  margin-right: var(--pad);
}

.offer-photo img,
.place-hero img {
  width: 100%;
  max-height: 82vh;
  object-fit: cover;
}

.offer-photo img {
  object-position: 72% 40%;
}

.offer-photo figcaption,
.place-grid figcaption,
.trust-photo figcaption,
.reveal-frame figcaption,
.works-track figcaption {
  margin: 0.55rem var(--pad) 0;
  max-width: 40rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.trust-photo figcaption {
  margin-left: 0;
  margin-right: 0;
}

.school-copy {
  max-width: 38rem;
  padding: 4.4rem var(--pad) 1.2rem;
}

.reveal-frame {
  margin: 0;
}

.reveal-frame img {
  width: 100%;
  max-height: 88vh;
  object-fit: cover;
  object-position: center 18%;
}

.reveal-frame figcaption {
  padding-bottom: 0.2rem;
}

.place {
  padding-top: 3.5rem;
}

.place-hero img {
  object-position: 58% 42%;
}

.place-note {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: -2.6rem var(--pad) 0;
  padding: 1.25rem 1.3rem 0.4rem;
  background: var(--paper);
  border-left: 10px solid var(--teal);
}

.place-aside {
  color: var(--ink);
  font-size: 0.95rem;
}

.place-grid {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem var(--pad) 0;
}

.place-grid img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.place-grid figure:first-child img {
  object-position: center 46%;
}

.works {
  padding-top: 4.2rem;
}

.works-copy {
  max-width: 38rem;
  padding: 0 var(--pad) 1rem;
}

.works-hint {
  font-size: 0.92rem;
  font-weight: 700;
}

.works-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.works-track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.works-track figure {
  flex: 0 0 auto;
  width: min(74vw, 18rem);
  scroll-snap-align: start;
}

.works-track figure:first-child {
  width: min(88vw, 32rem);
}

.works-track img {
  width: 100%;
  height: min(52vh, 32rem);
  object-fit: cover;
}

.works-track figcaption {
  margin-left: 0;
  margin-right: 0;
}

.trust {
  display: grid;
  gap: 1.4rem;
  padding: 4.4rem var(--pad) 1rem;
}

.trust-copy ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.trust-copy li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.trust-copy li:last-child {
  border-bottom: 1px solid var(--rule);
}

.trust-photo img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  object-position: 55% 60%;
}

.voices {
  padding: 4rem var(--pad) 2rem;
}

.voices-intro {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.voice {
  display: grid;
  gap: 0.35rem;
  max-width: 52rem;
  padding: 1.35rem 0 1.5rem;
  border-top: 1px solid var(--rule);
}

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

.voice h3 {
  margin: 0;
  font-style: italic;
  font-weight: 480;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.voice blockquote {
  margin: 0;
}

.voice p {
  margin: 0;
}

.finale {
  background: var(--ink);
  color: var(--paper);
  padding: 4.5rem var(--pad) 3.2rem;
}

.finale h2 {
  max-width: 14ch;
}

.finale .lede,
.sms-note,
.salon-note,
address {
  max-width: 36rem;
}

.phone {
  display: inline-block;
  margin: 1.3rem 0 0.4rem;
  color: var(--paper);
  font-size: clamp(3.3rem, 10vw, 7.4rem);
  line-height: 0.88;
  text-decoration: none;
}

.sms-note,
.salon-note {
  margin: 0.35rem 0 1.15rem;
  color: var(--slate);
}

.salon-note {
  margin-top: 1.6rem;
  margin-bottom: 0;
}

.salon-note a {
  color: var(--paper);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--teal);
  text-underline-offset: 0.22em;
}

address {
  margin: 1.5rem 0 0;
  color: var(--slate);
  font-style: normal;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  padding: 1.2rem var(--pad) 1.6rem;
  background: var(--ink);
  color: var(--slate);
  border-top: 1px solid color-mix(in srgb, var(--slate) 45%, transparent);
}

.site-footer img {
  height: 3.3rem;
  background: var(--paper);
  padding: 0.25rem 0.4rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .logo img {
    height: 4.7rem;
  }

  .hero-sticky {
    display: grid;
    grid-template-columns: minmax(22rem, 0.92fr) 1.15fr;
    min-height: calc(100vh - var(--nav));
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem var(--pad) 2.4rem  var(--pad);
    border-bottom: 0;
    border-right: 10px solid var(--teal);
  }

  .hero-photo {
    height: auto;
    min-height: calc(100vh - var(--nav));
  }

  .offer {
    display: grid;
    grid-template-columns: max-content minmax(16rem, 38rem);
    column-gap: clamp(1.25rem, 3vw, 2.75rem);
    align-items: end;
    justify-content: start;
    padding-top: 5.5rem;
  }

  .offer-copy {
    margin-top: 0;
    padding-bottom: 0.7rem;
  }

  .offer-photo {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .place-grid {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 0.7rem;
    align-items: start;
  }

  .place-grid img {
    height: min(46vh, 28rem);
  }

  .trust {
    grid-template-columns: minmax(16rem, 0.85fr) 1.15fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding-top: 5.5rem;
  }

  .voice {
    grid-template-columns: 10.5rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .js.motion .hero {
    height: 168vh;
  }

  .js.motion .hero-sticky {
    position: sticky;
    top: var(--nav);
    min-height: calc(100vh - var(--nav));
    height: calc(100vh - var(--nav));
  }

  .js.motion .hero-photo img {
    transform: scale(calc(1 + var(--p) * 0.14));
    transform-origin: 50% 34%;
  }

  .js.motion .reveal {
    height: 210vh;
  }

  .js.motion .reveal-sticky {
    position: sticky;
    top: var(--nav);
    height: calc(100vh - var(--nav));
  }

  .js.motion .reveal-frame {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .js.motion .reveal-frame img {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    max-height: none;
    clip-path: inset(0 calc((1 - var(--p, 0)) * 34%) 0 calc((1 - var(--p, 0)) * 34%));
  }

  .js.motion .works {
    height: var(--works-height, auto);
  }

  .js.motion .works-sticky {
    position: sticky;
    top: var(--nav);
  }

  .js.motion .works-viewport {
    overflow: hidden;
    scroll-snap-type: none;
  }

  .js.motion .works-hint {
    display: none;
  }
}

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

  .js.motion .hero,
  .js.motion .reveal,
  .js.motion .works {
    height: auto;
  }

  .js.motion .hero-sticky,
  .js.motion .reveal-sticky,
  .js.motion .works-sticky {
    position: static;
    height: auto;
    min-height: 0;
  }

  .js.motion .hero-photo img,
  .js.motion .reveal-frame img,
  .js.motion .works-track {
    transform: none;
    clip-path: none;
  }

  .js.motion .works-viewport {
    overflow-x: auto;
  }

  .js.motion .works-hint {
    display: block;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .logo img {
    height: 3.5rem;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }
}
