@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cocoa: #1f1410;
  --cocoa-soft: #c9b8a6;
  --ivory: #f4ece1;
  --ivory-deep: #ebe0d1;
  --ink: #2a1d17;
  --ink-soft: #6b574b;
  --gold: #b8925a;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(5.5rem, 13vw, 11rem);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
  scrollbar-color: var(--gold) var(--cocoa);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cocoa);
  color: var(--ivory);
  font: 400 1.0625rem/1.65 var(--sans);
  caret-color: var(--gold);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: var(--cocoa);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

em {
  font-style: italic;
}

p {
  text-wrap: pretty;
}

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

img {
  height: auto;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  color: var(--cocoa);
  translate: 0 -200%;
}

.skip:focus {
  translate: 0;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0 2rem;
  border: 1px solid;
  font: 500 0.8125rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.button--light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--cocoa);
}

.button--light:hover {
  background: transparent;
  color: var(--ivory);
}

.button--dark {
  background: var(--cocoa);
  border-color: var(--cocoa);
  color: var(--ivory);
}

.button--dark:hover {
  background: transparent;
  color: var(--cocoa);
}

.text-link,
.service__cta,
.extra a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.5rem;
  font: 500 0.8125rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.55em;
}

.section-title {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
}

.masthead {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--gutter);
  color: var(--ivory);
}

.wordmark {
  font: 500 1.3125rem/1 var(--serif);
  letter-spacing: 0.02em;
}

.wordmark em {
  font-weight: 400;
}

.masthead__nav {
  display: none;
}

.masthead__book {
  padding: 0.7rem 1.1rem;
  border: 1px solid rgb(244 236 225 / 0.55);
  font: 500 0.75rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}

.masthead__book:hover {
  background: var(--ivory);
  color: var(--cocoa);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding: 7rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--cocoa);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cocoa);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--cocoa) 4%, rgb(31 20 16 / 0.82) 34%, rgb(31 20 16 / 0) 66%),
    linear-gradient(to bottom, rgb(31 20 16 / 0.55), rgb(31 20 16 / 0) 22%);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__caption,
.hero__aside {
  display: none;
}

.hero__title {
  font-size: clamp(3.25rem, 15vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__line > span {
  display: block;
}

.hero__lede {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: var(--cocoa-soft);
}

.hero__actions {
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin-top: 2rem;
}

.hero__actions .button {
  width: 100%;
}

.services {
  padding-block: var(--section);
  background: var(--ivory);
  color: var(--ink);
}

.services__intro {
  display: grid;
  gap: 1.75rem;
  padding-inline: var(--gutter);
}

.statement {
  max-width: 15ch;
  font-size: clamp(2.5rem, 6.4vw, 5.25rem);
}

.services__lede {
  max-width: 34rem;
  color: var(--ink-soft);
}

.service-list {
  display: grid;
  gap: clamp(4.5rem, 11vw, 9rem);
  margin-top: clamp(4rem, 10vw, 8rem);
}

.service {
  display: grid;
  gap: 2rem;
}

.service__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service__body {
  padding-inline: var(--gutter);
}

.service__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.service__kind {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service__body > p:not(.service__kind) {
  max-width: 34rem;
  margin-top: 1.5rem;
}

.service__details {
  max-width: 34rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gold);
}

.service__details li {
  padding-block: 0.9rem;
  border-bottom: 1px solid rgb(184 146 90 / 0.45);
}

.service__cta {
  margin-top: 2rem;
}

.icon--arrow {
  transition: translate 0.35s var(--ease);
}

.service__cta:hover .icon--arrow {
  translate: 0.35rem 0;
}

.extras {
  margin-top: var(--section);
  padding-inline: var(--gutter);
}

.extras__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.extras__list {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gold);
}

.extra {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
  padding-block: 1.75rem;
  border-bottom: 1px solid rgb(42 29 23 / 0.14);
}

.extra__name {
  font-size: 1.625rem;
}

.extra p {
  max-width: 30rem;
  color: var(--ink-soft);
}

.compare {
  display: grid;
  gap: 2.5rem;
  padding: var(--section) var(--gutter);
  background: var(--ivory-deep);
  color: var(--ink);
}

.compare__copy p {
  max-width: 28rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

.slider {
  --pos: 50%;
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cocoa);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider__img--after {
  clip-path: inset(0 0 0 var(--pos));
}

.slider__label {
  position: absolute;
  top: 1rem;
  padding: 0.45rem 0.75rem;
  background: rgb(31 20 16 / 0.72);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.slider__label--before {
  left: 1rem;
}

.slider__label--after {
  right: 1rem;
}

.slider__handle {
  position: absolute;
  inset-block: 0;
  left: var(--pos);
  width: 1px;
  background: var(--gold);
  pointer-events: none;
}

.slider__handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.85rem;
  max-width: none;
  translate: -50% -50%;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgb(31 20 16 / 0.78);
  color: var(--ivory);
}

.slider:has(.slider__range:focus-visible) .slider__handle svg {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}

.slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.work {
  padding-block: var(--section);
  background: var(--ivory);
  color: var(--ink);
}

.work__title {
  padding-inline: var(--gutter);
  font-size: clamp(3.25rem, 10vw, 6rem);
}

.gallery {
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

.gallery__head {
  display: grid;
  gap: 0.6rem;
  padding-inline: var(--gutter);
}

.gallery__name {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-style: italic;
}

.gallery__head p {
  max-width: 24rem;
  color: var(--ink-soft);
}

.gallery__grid {
  display: grid;
  grid-auto-columns: 78%;
  grid-auto-flow: column;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.gallery__grid::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  scroll-snap-align: start;
  background: var(--ivory-deep);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.work__more {
  margin: clamp(3rem, 7vw, 5rem) var(--gutter) 0;
}

.about {
  display: grid;
  gap: 3rem;
  padding: var(--section) var(--gutter);
}

.about__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__copy > p {
  max-width: 34rem;
  margin-top: 1.4rem;
  color: var(--cocoa-soft);
}

.about__copy > .section-title + p {
  margin-top: 2rem;
}

.about__copy > .about__signature {
  margin-top: 3rem;
  color: var(--gold);
  font: italic 400 clamp(2.5rem, 5vw, 3.5rem)/1 var(--serif);
  letter-spacing: -0.01em;
}

.about__signature span {
  font-size: 0.55em;
}

.about__copy > .about__motto {
  margin-top: 1rem;
  color: var(--ivory);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reviews {
  margin-inline: var(--gutter);
  padding-block: var(--section);
  border-top: 1px solid rgb(184 146 90 / 0.4);
}

.reviews__note {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: var(--cocoa-soft);
}

.reviews__list {
  display: grid;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.review {
  padding-block: 1.75rem;
  border-top: 1px solid rgb(244 236 225 / 0.14);
}

.review blockquote {
  margin: 0;
  font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.25 var(--serif);
  text-wrap: pretty;
}

.review--lead blockquote {
  max-width: 22ch;
  font-size: clamp(2.125rem, 5.4vw, 4.5rem);
  font-style: italic;
  line-height: 1.08;
}

.review--lead {
  padding-bottom: 3rem;
  border-top: 0;
}

.booking {
  padding: var(--section) var(--gutter);
  background: var(--ivory);
  color: var(--ink);
}

.steps {
  display: grid;
  gap: 3rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1.25rem;
  font: italic 400 2.5rem/1 var(--serif);
}

.step__title {
  font-size: 1.875rem;
}

.step p {
  max-width: 30rem;
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.booking__cta {
  margin-top: 3.5rem;
}

.close {
  padding: var(--section) var(--gutter);
}

.close__title {
  font-size: clamp(3.25rem, 11vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.close__title span {
  display: block;
}

.close__title em {
  color: var(--gold);
}

.close__cta {
  margin-top: 3rem;
}

.contact {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid rgb(184 146 90 / 0.4);
}

.contact dt {
  color: var(--cocoa-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact dd {
  margin-top: 0.4rem;
  font: 400 1.375rem/1.3 var(--serif);
}

.contact a {
  text-decoration: underline;
  text-decoration-color: rgb(184 146 90 / 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--gutter) calc(6.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(244 236 225 / 0.1);
  color: var(--cocoa-soft);
  font-size: 0.875rem;
}

.dock {
  position: fixed;
  inset: auto 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  border: 1px solid var(--gold);
  background: var(--cocoa);
  color: var(--ivory);
  font: 500 0.8125rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: translate 0.45s var(--ease), visibility 0.45s;
}

.js .dock:not(.is-shown) {
  translate: 0 calc(100% + 1.5rem);
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media {
    animation: fade-in 1.8s ease-out both;
  }

  .hero__line > span {
    animation: rise 1.2s var(--ease) 0.2s both;
  }

  .hero__line + .hero__line > span {
    animation-delay: 0.34s;
  }

  .hero__lede,
  .hero__actions,
  .hero__aside {
    animation: fade-in 1s ease-out 0.8s both;
  }

  .js .reveal img {
    clip-path: inset(100% 0 0 0);
    scale: 1.06;
    transition: clip-path 1.2s var(--ease), scale 1.6s var(--ease);
  }

  .js .reveal.is-in img {
    clip-path: inset(0);
    scale: 1;
  }

  .gallery__item {
    overflow: hidden;
  }
}

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

@keyframes rise {
  from {
    translate: 0 105%;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@media (min-width: 40rem) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
  }

  .hero__actions .button {
    width: auto;
  }

  .gallery__grid {
    grid-auto-columns: 42%;
  }

  .extras__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }

  .reviews__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }

  .review--lead {
    grid-column: 1 / -1;
  }

  .contact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .masthead {
    padding-block: 1.75rem;
  }

  .masthead__nav {
    display: flex;
    gap: 2.5rem;
    margin-left: auto;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .masthead__nav a {
    padding-block: 0.5rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.55em;
    transition: text-decoration-color 0.3s;
  }

  .masthead__nav a:hover {
    text-decoration-color: var(--gold);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) auto 11rem;
    align-items: center;
    column-gap: clamp(2rem, 4vw, 4.5rem);
    padding: 6.5rem var(--gutter) 3.5rem;
  }

  .hero__media {
    position: relative;
    inset: auto;
    z-index: 0;
    grid-area: 1 / 2;
    height: min(calc(100svh - 10rem), 58rem);
    aspect-ratio: 9 / 16;
  }

  .hero__media::after {
    display: none;
  }

  .hero__copy {
    position: relative;
    z-index: 1;
    grid-area: 1 / 1;
  }

  .hero__title {
    font-size: clamp(4.5rem, 7.4vw, 6rem);
    white-space: nowrap;
    text-shadow: 0 0 2.5rem rgb(31 20 16 / 0.5);
  }

  .hero__line + .hero__line {
    margin-right: -1.2em;
    text-align: right;
  }

  .hero__lede {
    margin-top: 2rem;
  }

  .hero__actions {
    margin-top: 2.5rem;
  }

  .hero__caption,
  .hero__aside {
    display: block;
    color: var(--cocoa-soft);
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .hero__caption {
    position: absolute;
    bottom: 0;
    left: calc(100% + clamp(2rem, 4vw, 4.5rem));
    width: 11rem;
  }

  .hero__aside {
    grid-area: 1 / 3;
    align-self: start;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .hero__aside li {
    padding-block: 0.75rem;
    border-bottom: 1px solid rgb(184 146 90 / 0.4);
  }

  .hero__aside a:hover {
    color: var(--ivory);
  }

  .services__intro {
    grid-template-columns: 7fr 4fr;
    align-items: end;
    column-gap: 4rem;
  }

  .service {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    column-gap: 2rem;
    padding-inline: var(--gutter);
  }

  .service__body {
    padding-inline: 0;
  }

  .service__media,
  .service__body {
    grid-row: 1;
  }

  .service:nth-child(1) .service__media {
    grid-column: 1 / span 7;
    margin-left: calc(-1 * var(--gutter));
  }

  .service:nth-child(1) .service__body {
    grid-column: 9 / span 4;
  }

  .service:nth-child(2) .service__media {
    grid-column: 7 / span 6;
    margin-right: calc(-1 * var(--gutter));
  }

  .service:nth-child(2) .service__body {
    grid-column: 1 / span 5;
  }

  .service:nth-child(3) .service__media {
    grid-column: 2 / span 4;
  }

  .service:nth-child(3) .service__media img {
    aspect-ratio: 3 / 4;
  }

  .service:nth-child(3) .service__body {
    grid-column: 7 / span 5;
  }

  .extras__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .extra {
    align-content: start;
    border-bottom: 0;
  }

  .compare {
    grid-template-columns: minmax(0, 1fr) minmax(0, 42rem);
    align-items: center;
    column-gap: clamp(3rem, 6vw, 6rem);
  }

  .slider {
    max-width: none;
  }

  .gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    align-items: start;
    column-gap: 3rem;
    padding-inline: var(--gutter);
  }

  .gallery__head {
    padding-inline: 0;
  }

  .gallery__grid {
    grid-auto-flow: row dense;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
    padding: 0;
    overflow: visible;
  }

  .gallery__item--lead {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery--flip .gallery__item--lead {
    grid-column: 3 / span 2;
  }

  .gallery__item--lead img {
    aspect-ratio: auto;
  }

  .about {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    column-gap: clamp(3rem, 8vw, 8rem);
  }

  .reviews__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
  }

  .close {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 3rem;
  }

  .contact {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }

  .footer {
    padding-bottom: 2rem;
  }

  .dock {
    display: none;
  }
}
