@font-face {
  font-family: Baskervville;
  src: url(assets/baskervville.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Baskervville;
  src: url(assets/baskervville-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rethink Sans";
  src: url(assets/rethink-sans.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f7f2eb;
  --ink: #322737;
  --muted: #655969;
  --lilac: #d7c8db;
  --light-lilac: #e5d9e6;
  --rose: #994460;
  --rule: #cbbcc8;
  --gutter: clamp(1.25rem, 6vw, 7.5rem);
  --display: Baskervville, Georgia, serif;
  --sans: "Rethink Sans", "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
html { scroll-padding-top: 1.25rem; }
body { line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.018; }
h2 { font-size: clamp(2.75rem, 5.7vw, 6rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.65rem, 2.4vw, 2.5rem); letter-spacing: -.045em; }
h1 em, h2 em { font-weight: inherit; }
button { font: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 5px;
}

.wrap { width: min(100%, 100rem); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 10rem); }
.label { font-size: .875rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.42rem); line-height: 1.55; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 30;
  background: var(--paper);
  color: var(--ink);
  padding: .5rem 1rem;
}
.button, .mast-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.85rem;
  border: 1px solid var(--ink);
  padding: .68rem 1.35rem;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  transition: background-color .24s, color .24s, border-color .24s;
}
.button:hover { background: var(--rose); border-color: var(--rose); }
.text-link {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: .17rem;
  font-weight: 650;
}
.text-link:hover { color: var(--rose); }

.mast { border-bottom: 1px solid #b6a1b34d; }
.mast-inner {
  min-height: 5rem;
  display: grid;
  grid-template-areas: "nav logo cta";
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.mast .brand { grid-area: logo; display: block; }
.brand img { width: clamp(9.5rem, 12vw, 12rem); aspect-ratio: 270 / 70; object-fit: contain; }
.mast nav { grid-area: nav; display: flex; gap: clamp(.85rem, 2.5vw, 2.5rem); align-items: center; }
.mast nav a { min-height: 2.75rem; display: inline-flex; align-items: center; white-space: nowrap; text-underline-offset: .32em; }
.mast nav a:hover, .mast nav [aria-current="page"] { text-decoration: underline; }
.mast-cta { grid-area: cta; justify-self: end; color: var(--ink); background: transparent; font-size: .9rem; }
.mast-cta:hover { background: var(--ink); color: var(--paper); }

.hero { background: var(--lilac); }
.hero-copy {
  min-height: clamp(24rem, 36vw, 40rem);
  display: grid;
  grid-template-columns: 1.55fr .85fr;
  align-items: end;
  gap: 2.5rem;
  padding-block: clamp(3.6rem, 6.2vw, 7rem);
}
.hero .label { margin-bottom: clamp(1.5rem, 2.7vw, 3rem); }
.hero h1 { font-size: clamp(4.7rem, 11.2vw, 12.4rem); line-height: .79; letter-spacing: -.072em; }
.hero h1 em { color: #6b3d5e; }
.hero-side { max-width: 24rem; padding-bottom: .3rem; }
.hero-side p { font-size: clamp(1.13rem, 1.9vw, 1.65rem); line-height: 1.48; }
.hero-side .button { margin-top: 1.3rem; }

.panorama {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  height: 92vh;
  height: 92svh;
  background: #b69aaa;
}
.panorama-interlude {
  height: 85vh;
  height: 85svh;
}
.panorama img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--panorama-position, 60% 49%);
}
@supports (clip-path: inset(0)) and (height: 100lvh) {
  @media (prefers-reduced-motion: no-preference) {
    /* Clip the viewport-fixed image without creating a scroll container. */
    .panorama {
      overflow: visible;
      clip-path: inset(0);
    }
    .panorama img {
      position: fixed;
      inset: 0 0 auto;
      height: 100lvh;
      pointer-events: none;
    }
  }
}

.work {
  display: grid;
  grid-template-columns: .95fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
}
.work-heading .label, .portrait .label, .contact .label { margin-bottom: 1rem; }
.work-heading .lede { max-width: 25rem; margin-top: 1.6rem; }
.service-list { border-top: 1px solid var(--rule); }
.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  transition: padding .26s ease, color .26s;
}
.service-list a:hover { padding-inline: .65rem; color: var(--rose); }
.service-list strong { display: block; font: 400 clamp(1.65rem, 2.3vw, 2.5rem)/1.13 var(--display); letter-spacing: -.035em; }
.service-list span { color: var(--muted); display: block; margin-top: .28rem; }
.service-list i {
  flex: none;
  width: .8rem;
  height: .8rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color .26s;
}
.service-list a:hover i { background: currentColor; }

.portrait { background: var(--light-lilac); }
.portrait-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2.25rem, 8vw, 9rem);
}
.portrait-photo {
  max-width: 35.25rem;
  padding: clamp(.6rem, 1.35vw, 1.25rem);
  background: var(--paper);
  border-radius: 48% 48% .35rem .35rem / 28% 28% .35rem .35rem;
  overflow: hidden;
}
.portrait-photo img {
  border-radius: 48% 48% .2rem .2rem / 28% 28% .2rem .2rem;
  width: 100%;
}
.portrait-copy h2 em { color: #6b3d5e; }
.portrait-copy > p:not(.label) { margin-top: 1.25rem; max-width: 32rem; }
.portrait-copy .text-link { display: inline-block; margin-top: 1.4rem; }

.rooms-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 2.3rem;
}
.room-gallery {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: start;
  justify-content: start;
  gap: clamp(.6rem, 2.5vw, 2.1rem);
}
.room-gallery img { width: 100%; max-width: 35.25rem; object-fit: cover; aspect-ratio: 1.62; }
.room-gallery img:nth-child(2) { margin-top: clamp(1.3rem, 5vw, 4rem); }

.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 7rem); }
.contact .button { margin-top: 1.75rem; }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-light:hover { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }
.contact .text-link:hover { color: var(--lilac); }
.contact-details { border-top: 1px solid #f7f2eb69; }
.contact-details > div { padding-block: 1.5rem; border-bottom: 1px solid #f7f2eb69; }
.contact-details address { font-style: normal; }
.contact-details address, .contact-details p { margin-top: .65rem; }
.contact-details a { display: inline-block; margin-top: .85rem; }

.footer { background: var(--paper); border-top: 1px solid var(--rule); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: .9rem 2rem;
  padding-block: 2.2rem;
  font-size: .9rem;
}
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer p { color: var(--muted); }

.entry {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--lilac);
  pointer-events: none;
  animation: entry-light 1100ms cubic-bezier(.38, .02, .24, 1) both;
}
.entry[hidden] { display: none; }
.entry img {
  width: clamp(10rem, 23vw, 16.875rem);
  aspect-ratio: 270 / 70;
  object-fit: contain;
  animation: entry-mark 620ms cubic-bezier(.22,.67,.22,1) both;
}
@keyframes entry-light {
  0%, 52% { clip-path: inset(0 round 0); opacity: 1; }
  100% { clip-path: inset(0 0 98% round 0); opacity: 0; }
}
@keyframes entry-mark {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .6s ease, transform .65s cubic-bezier(.2,.65,.23,1); }
  .reveal.is-pending { opacity: 0; transform: translateY(.85rem); }
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 220ms ease-out both; }
::view-transition-new(root) { animation: page-in 340ms ease-out both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .entry { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media (max-width: 720px) {
  .mast-inner {
    min-height: auto;
    grid-template-areas: "logo logo" "nav cta";
    grid-template-columns: auto 1fr;
    gap: .4rem;
    padding-block: .85rem .65rem;
  }
  .mast .brand { justify-self: center; margin-bottom: .42rem; }
  .mast nav { gap: .85rem; }
  .mast nav a, .mast-cta { font-size: .85rem; }
  .mast-cta { min-height: 2.45rem; padding: .38rem .72rem; }
  .hero-copy, .work, .portrait-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { align-items: start; min-height: 0; gap: 2.15rem; }
  .hero-side { max-width: 27rem; }
  .hero .panorama { --panorama-position: 68% 49%; }
  .panorama-interlude { height: 74vh; height: 74svh; }
  .portrait-photo { max-width: 32rem; }
  .room-gallery { gap: .75rem; }
}
@media (max-width: 350px) {
  .mast-inner { padding-inline: .85rem; }
  .mast nav { gap: .62rem; }
  .mast nav a, .mast-cta { font-size: .8rem; }
  .hero h1 { font-size: 4rem; }
}
