@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #161513;
  --paper: #f8f6f1;
  --sand: #eee7df;
  --muted: #554e49;
  --line: #d7d0c7;
  --accent: #ff955d;
  --rust: #9b3e18;
  --gutter: clamp(1.25rem, 4.65vw, 5rem);
  --heading-font: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ink);
  font: 400 100% / 1.6 Manrope, system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, figure {
  margin: 0;
}

body {
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-inline-size: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
  inline-size: 1px;
  block-size: 1px;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 0 auto auto 1rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(calc(-100% - 8px));
}

.skip-link:focus {
  transform: translateY(.75rem);
}

.shell {
  width: min(100% - var(--gutter) * 2, 79rem);
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.site-header {
  position: relative;
  z-index: 1;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid #37322e;
}

.header-inner, .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner {
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-height: 2.75rem;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.wordmark {
  flex: none;
  font: 700 2.85rem / .84 var(--heading-font);
  letter-spacing: -.035em;
}

.wordmark span {
  color: var(--accent);
}

.brand-name {
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.21;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(.5rem, 2.5vw, 2.5rem);
}

.main-nav a, .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: .35rem;
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a:hover, .social-link:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  width: fit-content;
  max-width: 100%;
  min-height: 3.25rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.arrow {
  flex: none;
  font: 500 1.15em / 1 system-ui, sans-serif;
}

.button-nav {
  min-height: 2.75rem;
  color: var(--paper);
  border-color: #777068;
}

.button-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button-primary {
  color: var(--ink);
  background: var(--accent);
}

.button-primary:hover {
  background: #ffb48c;
}

.hero .button:focus-visible {
  outline-color: var(--paper);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-dark:hover {
  background: #38302b;
}

.button-dark:focus-visible {
  outline-color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background: #131211;
}

.hero-visual, .hero-visual picture, .hero-visual::after {
  position: absolute;
  inset: 0;
}

.hero-visual {
  z-index: -1;
  overflow: hidden;
}

.hero-visual picture {
  inset-inline-start: min(9vw, 9rem);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 43%;
}

.hero-visual::after {
  content: "";
  background: linear-gradient(90deg, #131211 9%, rgb(19 18 17 / .76) 31%, rgb(19 18 17 / .34) 57%, transparent 77%);
}

.hero-video-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: #131211;
}

.hero--video-visible .hero-video-layer {
  opacity: 1;
}

.hero-video-layer video {
  position: absolute;
  inset: 0 0 auto auto;
  width: 70%;
  height: 100%;
  object-fit: cover;
}

.hero-video-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #131211 30%, rgb(19 18 17 / .86) 42%, rgb(19 18 17 / .62) 56%, transparent 78%),
    linear-gradient(0deg, rgb(19 18 17 / .5), transparent 48%);
}

.hero-video-control {
  position: absolute;
  right: var(--gutter);
  bottom: 2.8rem;
  min-height: 2.75rem;
  padding: .5rem .7rem;
  border: 1px solid #a79b91;
  border-radius: 3px;
  color: var(--paper);
  background: #161513;
  font: 750 .75rem / 1.4 Manrope, system-ui, sans-serif;
  cursor: pointer;
}

.hero-video-control:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.hero-inner {
  display: grid;
  align-items: center;
  min-height: clamp(36rem, calc(86svh - 5rem), 48rem);
  padding-block: clamp(4rem, 8vh, 7rem);
}

.hero-copy {
  min-width: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--rust);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .095em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex: 0 0 1.35rem;
  height: 1px;
  background: currentColor;
}

.hero .kicker, .location .kicker {
  color: var(--accent);
}

h1, h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.018em;
}

h1 {
  margin-block: 1.4rem 1.6rem;
  font-size: clamp(3.9rem, 7.15vw, 7.5rem);
}

h2 {
  margin-block: .9rem 1.3rem;
  font-size: clamp(3.5rem, 7.2vw, 6.85rem);
}

.hero-description {
  max-width: 29ch;
  margin-bottom: 1.65rem;
  color: #f4eee6;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
}

.booking-note {
  margin-top: .75rem;
  color: #eee5dc;
  font-size: .78rem;
  font-weight: 650;
}

.image-credit {
  position: absolute;
  z-index: 1;
  right: .7rem;
  bottom: .7rem;
  padding: .24rem .48rem;
  border-radius: 2px;
  color: var(--paper);
  background: rgb(22 21 19 / .94);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.35;
}

.hero-visual .image-credit {
  z-index: 2;
  right: var(--gutter);
  bottom: 1rem;
}

.recovery {
  background: var(--paper);
}

.recovery-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "intro services"
    "photo services";
  align-items: start;
  column-gap: clamp(2.5rem, 7.3vw, 7.5rem);
  row-gap: 1.9rem;
}

.recovery-intro {
  grid-area: intro;
}

.recovery-intro > p:last-child, .shop-copy > p:not(.kicker) {
  max-width: 36ch;
  color: var(--muted);
}

.photo {
  position: relative;
  overflow: hidden;
  background: #4b4c47;
}

.photo-frame {
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recovery-visual {
  grid-area: photo;
}

.recovery-visual .photo-frame {
  aspect-ratio: 1.42;
}

.recovery-visual img {
  object-position: 50% 57%;
}

.services {
  grid-area: services;
  align-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding-block: clamp(1.1rem, 2.1vw, 1.8rem);
  border-bottom: 1px solid var(--line);
}

.service > div {
  flex: 1 1 14rem;
  min-width: 0;
}

.service h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.2;
}

.service p {
  max-width: 47ch;
  margin-top: .4rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 5.8rem;
  min-height: 2.75rem;
  padding: .4rem .65rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.service-link:hover {
  border-color: var(--ink);
}

.shop {
  background: var(--sand);
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.shop-copy {
  padding-block: 1rem;
}

.shop-copy .button {
  margin-top: 1.65rem;
}

.shop-visual {
  background: #a49078;
}

.shop-visual .photo-frame {
  aspect-ratio: 1.5;
}

.location {
  color: var(--paper);
  background: var(--ink);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.location h2 {
  font-size: clamp(3.4rem, 6.6vw, 6rem);
}

address {
  color: #e1d7cc;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-style: normal;
}

.location-links {
  border-top: 1px solid #5c534c;
}

.location-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem .15rem;
  border-bottom: 1px solid #5c534c;
  text-decoration: none;
}

.location-links strong, .location-links small {
  display: block;
}

.location-links strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.location-links small {
  color: #e1d7cc;
  font-size: .825rem;
}

.location-links .arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  border: 1px solid #837266;
  border-radius: 50%;
  color: var(--accent);
}

.location-links a:hover .arrow {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent);
}

.site-footer {
  border-top: 1px solid #413a34;
  color: var(--paper);
  background: var(--ink);
}

.footer-inner {
  min-height: 5.5rem;
  padding-block: .8rem;
}

.social-link {
  gap: .5rem;
}

@media (max-width: 850px) {
  .recovery-layout {
    column-gap: 1.9rem;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding-top: .75rem;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0 .35rem;
    border-top: 1px solid #37322e;
  }

  .main-nav a:first-child {
    padding-left: 0;
  }

  .main-nav a:last-child {
    padding-right: 0;
  }

  .button-nav {
    display: none;
  }

  .recovery-layout, .shop-layout, .location-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .recovery-layout {
    grid-template-areas:
      "intro"
      "photo"
      "services";
    grid-template-rows: auto;
  }

  .recovery-visual .photo-frame {
    aspect-ratio: 1.65;
  }

  .shop-copy {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    min-height: max(36rem, calc(min(90svh, 46rem) - 6rem));
    align-items: end;
    padding-top: clamp(10.5rem, 45vw, 17.5rem);
    padding-bottom: 2.25rem;
  }

  .hero-visual picture {
    inset-inline-start: 0;
  }

  .hero-visual img {
    object-position: 54% 26%;
  }

  .hero-visual::after {
    background: linear-gradient(0deg, #141311 5%, rgb(20 19 17 / .97) 32%, rgb(20 19 17 / .52) 58%, rgb(20 19 17 / .05) 88%),
      linear-gradient(90deg, rgb(20 19 17 / .28), transparent 64%);
  }

  .hero-video-layer {
    --video-height: clamp(13.5rem, 77vw, 24rem);
  }

  .hero-video-layer video {
    width: 100%;
    height: var(--video-height);
    object-position: 50% 15%;
  }

  .hero-video-layer::after {
    height: var(--video-height);
    background: linear-gradient(180deg, transparent 38%, rgb(19 18 17 / .24) 57%, rgb(19 18 17 / .72) 78%, #131211);
  }

  .hero-video-control {
    top: 2.5rem;
    right: .8rem;
    bottom: auto;
  }

  .hero-visual .image-credit {
    top: .8rem;
    right: .8rem;
    bottom: auto;
  }

  h1 {
    margin-block: .7rem .9rem;
    font-size: clamp(3.2rem, 12.1vw, 4.875rem);
  }

  .hero-description {
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 350px) {
  .kicker {
    letter-spacing: .055em;
  }

  h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.05rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero-video-layer {
    transition: opacity 240ms ease-in-out;
  }

  @supports (view-timeline-name: --hero) {
    .hero-visual {
      view-timeline-name: --hero;
    }

    .recovery-visual {
      view-timeline-name: --recovery;
    }

    .hero-visual img {
      animation: hero-drift linear both;
      animation-timeline: --hero;
      animation-range: exit 0% exit 100%;
    }

    .recovery-visual img {
      animation: photo-settle linear both;
      animation-timeline: --recovery;
      animation-range: entry 0% entry 100%;
    }
  }
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.075); }
}

@keyframes photo-settle {
  from { transform: scale(1.11); }
  to { transform: scale(1); }
}
