:root {
  --offwhite: #f4f1ea;
  --paper: #ebe6dc;
  --graphite: #1c1c1c;
  --ink: #2a2a2a;
  --muted: #6d6860;
  --red: #c8102e;
  --line: rgba(28, 28, 28, 0.12);
  --veil: linear-gradient(180deg, rgba(16, 16, 16, 0.08) 0%, rgba(16, 16, 16, 0.45) 100%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --shell: 1220px;
  --header: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 10px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.is-intro {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 0.55em;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 1rem;
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--graphite);
  color: #fff;
  padding: 0.55rem 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.12rem;
  max-width: 36rem;
}

.chapter {
  max-width: 38rem;
  margin-bottom: 1.8rem;
}

.chapter--essence {
  max-width: 46rem;
  margin-bottom: 2.4rem;
}

.chapter--essence h1,
.chapter--essence h2,
.is-page h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.chapter--essence .lead {
  color: var(--muted);
  max-width: 40rem;
}

.chapter--quiet {
  max-width: none;
  margin-bottom: 1.6rem;
}

.chapter--quiet .kicker {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.65;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: 0;
}

.btn {
  padding: 0.75rem 1.4rem;
  background: var(--graphite);
  color: #fff;
}

.btn:hover,
.btn:focus-visible {
  background: #000;
}

.btn-light {
  background: #fff;
  color: var(--graphite);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--offwhite);
}

.text-link {
  padding: 0;
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: #fff;
}

.intro[hidden] {
  display: none;
}

.intro.is-leaving {
  animation: intro-out 0.6s ease forwards;
}

.intro-video {
  width: 100%;
  height: 100%;
  max-width: 1920px;
  max-height: 1080px;
  object-fit: contain;
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}

.site-header .shell {
  width: calc(100% - 2.8rem);
  max-width: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: var(--header);
}

.brand {
  display: block;
  width: 204px;
  height: 56px;
  overflow: hidden;
}

.brand img {
  width: 204px;
  height: auto;
  margin-top: -34px;
  mix-blend-mode: multiply;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list li + li::before {
  content: "";
  width: 1px;
  height: 0.85rem;
  margin: 0 1.05rem;
  background: currentColor;
  opacity: 0.35;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 1.35rem;
  min-height: 40px;
  padding: 0 0.95rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
}

.nav-cta[aria-current="page"] {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
  box-shadow: none;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--red);
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 currentColor;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--graphite);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

body.is-home {
  --header: 92px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #111;
}

body.is-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

body.is-home .brand {
  width: 238px;
  height: 66px;
}

body.is-home .brand img {
  width: 238px;
  margin-top: -40px;
  mix-blend-mode: normal;
}

body.is-home .nav-list a {
  padding: 0.45rem 0.2rem;
  font-size: 1.16rem;
}

body.is-home .nav-list li + li::before {
  height: 1.05rem;
  margin: 0 1.28rem;
}

body.is-home .nav-cta {
  min-height: 48px;
  margin-left: 1.6rem;
  padding: 0 1.28rem;
  font-size: 1.08rem;
}

body.is-home .nav-list a:hover,
body.is-home .nav-list a:focus-visible {
  color: #fff;
}

body.is-home .nav-list a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 #fff;
}

body.is-home .nav-cta:hover,
body.is-home .nav-cta:focus-visible {
  background: #fff;
  color: var(--graphite);
  border-color: #fff;
}

body.is-contact {
  --header: 92px;
}

body.is-contact .site-header {
  color: #1c1a17;
  background: rgba(243, 236, 227, 0.78);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 0;
  box-shadow: none;
}

body.is-contact .brand {
  width: 238px;
  height: 66px;
}

body.is-contact .brand img {
  width: 238px;
  margin-top: -40px;
  mix-blend-mode: normal;
}

body.is-contact .nav-list a {
  padding: 0.45rem 0.2rem;
  font-size: 1.16rem;
}

body.is-contact .nav-list a:hover,
body.is-contact .nav-list a:focus-visible {
  color: #1c1a17;
}

body.is-contact .nav-list li + li::before {
  height: 1.05rem;
  margin: 0 1.28rem;
}

body.is-contact .nav-cta,
body.is-contact .nav-cta[aria-current="page"] {
  min-height: 0;
  margin-left: 1.28rem;
  padding: 0.45rem 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1c1a17;
  font-size: 1.16rem;
  box-shadow: inset 0 -1px 0 currentColor;
}

body.is-contact .nav-cta:hover,
body.is-contact .nav-cta:focus-visible {
  background: transparent;
  color: #1c1a17;
  border-color: transparent;
}

body.is-home .site-footer--thin {
  flex-basis: 0;
  min-height: 0;
  height: 0;
  background: transparent;
}

body.is-home main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1;
  min-height: 100svh;
  color: #fff;
  display: grid;
  align-items: end;
}

.page-main {
  min-height: calc(100svh - var(--header) - 4.2rem);
}

.page-main .essence,
.page-main .rooms,
.page-main .contact {
  padding-top: 2.8rem;
}

.film,
.film-veil {
  position: absolute;
  inset: 0;
}

.film {
  overflow: hidden;
  background: #111;
}

.film-track,
.film-video {
  position: absolute;
  inset: 0;
}

.film-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-video[hidden] {
  display: none;
}

.film-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0;
  transition: opacity 1.25s ease;
  will-change: opacity, transform;
}

.film-track img.is-current {
  opacity: 1;
  z-index: 1;
  animation: kenburns-in 6.5s ease-out forwards;
}

.film-track img.is-current.is-alt {
  animation-name: kenburns-out;
}

.film-veil {
  background:
    linear-gradient(90deg, rgba(16, 12, 8, 0.55) 0%, rgba(16, 12, 8, 0.16) 40%, rgba(16, 12, 8, 0) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.05) 24%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.5) 100%);
}

.film-toggle {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  min-height: 40px;
  padding: 0 0.2rem;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: calc(100% - 2.8rem);
  margin-inline: auto;
  padding: 0 0 6.6rem;
}

.hero-copy .kicker {
  margin-bottom: 0.95rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.36em;
}

.hero-copy h1 {
  margin: 0 0 1.05rem;
  font-weight: 500;
  font-size: clamp(3.4rem, 5.5vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 24rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.45rem;
}

.hero-actions .btn {
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hero-meta {
  position: absolute;
  z-index: 2;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-meta-start {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.hero-count {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.hero-count-rule {
  width: 2.6rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-count [data-film-total] {
  color: rgba(255, 255, 255, 0.55);
}

.hero-meta .film-toggle {
  position: static;
  color: rgba(255, 255, 255, 0.72);
}

.hero-more {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  text-decoration: none;
  text-align: right;
}

.hero-more-copy {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-more-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.hero-more:hover .hero-more-icon,
.hero-more:focus-visible .hero-more-icon {
  background: #fff;
  color: var(--graphite);
}

.hero-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-actions .btn-ghost:hover,
.hero-actions .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.essence,
.portfolio {
  padding: 3.6rem 0;
}

html:has(body.is-essence) {
  background: #e8e8e8;
}

body.is-essence {
  background: #e8e8e8;
  color: #1a1a1a;
}

body.is-essence .site-header {
  background: #fff;
}

body.is-essence .page-main {
  min-height: calc(100svh - var(--header) - 4.2rem);
}

body.is-essence .essence {
  padding: 0 0 5rem;
}

body.is-essence .kicker {
  color: #7a7a7a;
  letter-spacing: 0.22em;
}

.essence-intro {
  width: min(calc(100% - 5.5rem), 1180px);
  margin: 2.6rem auto 0;
}

.essence-intro h1 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  letter-spacing: -0.038em;
  line-height: 1.08;
  max-width: 14ch;
  margin: 0;
  color: #1a1a1a;
}

.essence-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem 6rem;
  width: min(calc(100% - 5.5rem), 1180px);
  margin: 0 auto;
  padding: 5.2rem 0;
}

.essence-band--reverse {
  grid-template-columns: 1.2fr 1fr;
}

.essence-band--reverse .essence-copy {
  order: 2;
}

.essence-copy h2 {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.032em;
  line-height: 1.1;
  margin: 0 0 1.15rem;
  color: #1a1a1a;
}

.essence-copy p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #5c5c5c;
  max-width: 26rem;
  margin: 0 0 1.75rem;
}

.essence-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid #222;
  color: #222;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
}

button.essence-more {
  font: inherit;
  cursor: pointer;
}

.essence-more:hover,
.essence-more:focus-visible {
  background: #222;
  color: #fff;
}

.essence-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.essence-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.14);
}

.essence-band:nth-of-type(1) img {
  object-position: center 42%;
}

.essence-band:nth-of-type(2) img {
  object-position: center 48%;
}

.essence-band:nth-of-type(3) img {
  object-position: center 62%;
}

.portfolio[hidden] {
  display: none;
}

.is-portfolio .portfolio {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.5rem 0 4rem;
  background: #e8e8e8;
}

body.portfolio-open {
  overflow: hidden;
}

.portfolio-viewer-header {
  position: sticky;
  top: -2.5rem;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.6rem;
  padding: 2.5rem 0 1.4rem;
  background: #e8e8e8;
  border-bottom: 1px solid rgba(28, 28, 28, 0.16);
}

.portfolio-viewer-header .kicker {
  margin-bottom: 0.45rem;
  color: #777;
  letter-spacing: 0.22em;
}

.portfolio-viewer-header h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.035em;
}

.portfolio-viewer-close {
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.portfolio-viewer-close:hover,
.portfolio-viewer-close:focus-visible {
  background: #1a1a1a;
  color: #fff;
}

.is-portfolio .filters {
  border-bottom-color: rgba(28, 28, 28, 0.16);
}

.essence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.essence-item figure,
.placeholder {
  margin: 0 0 1.15rem;
  overflow: hidden;
  border-radius: 0.7rem;
}

.essence-item img,
.placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.7rem;
}

.essence-item:nth-child(1) img {
  object-position: center 60%;
}

.essence-item:nth-child(2) img {
  object-position: center bottom;
}

.essence-item:nth-child(3) img {
  object-position: center 28%;
}

.essence-item h2,
.essence-item h3 {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.essence-item h2 span,
.essence-item h3 span {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.placeholder {
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--graphite);
}

.essence-item p {
  color: var(--muted);
  margin: 0;
}

html:has(body.is-portfolio) {
  background: #e8e8e8;
}

body.is-portfolio {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #e8e8e8;
  color: #1a1a1a;
}

body.is-portfolio .page-main {
  flex: 1;
}

.rooms {
  padding: 2.6rem 0 5.4rem;
}

.rooms > .shell,
.is-portfolio .portfolio > .shell {
  width: min(calc(100% - 5.5rem), 1180px);
}

.rooms[hidden] {
  display: none;
}

.portfolio-intro {
  max-width: 40rem;
  margin-bottom: 3.8rem;
}

.portfolio-intro .kicker {
  color: #7a7a7a;
  letter-spacing: 0.22em;
}

.is-portfolio .portfolio-intro h1 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.038em;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 2.6rem 1.4rem;
}

.rooms-grid .room:nth-child(1) {
  grid-column: 1 / span 7;
}

.rooms-grid .room:nth-child(2) {
  grid-column: 8 / span 5;
}

.rooms-grid .room:nth-child(3) {
  grid-column: 1 / span 4;
}

.rooms-grid .room:nth-child(4) {
  grid-column: 5 / span 5;
}

.rooms-grid .room:nth-child(5) {
  grid-column: 10 / span 3;
}

.room {
  display: block;
  color: #1a1a1a;
  text-decoration: none;
}

.room-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d5d5d5;
}

.room-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.05), rgba(12, 12, 12, 0.62));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.room img,
.room .placeholder {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.room:nth-child(1) img {
  aspect-ratio: 16 / 10;
}

.room:nth-child(2) img {
  aspect-ratio: 5 / 4;
}

.room:nth-child(3) img {
  aspect-ratio: 4 / 5;
}

.room:nth-child(4) img {
  aspect-ratio: 4 / 3;
  object-position: center 62%;
}

.room:nth-child(5) img {
  aspect-ratio: 3 / 4;
  object-position: center 52%;
}

.room:hover img,
.room:focus-visible img {
  transform: scale(1.075);
  filter: brightness(0.68) saturate(0.85);
}

.room:hover .room-media::after,
.room:focus-visible .room-media::after {
  opacity: 1;
}

.room-action {
  position: absolute;
  z-index: 1;
  inset: auto 1.2rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.room-action > span {
  font-size: 1.25rem;
  line-height: 1;
}

.room:hover .room-action,
.room:focus-visible .room-action {
  opacity: 1;
  transform: translateY(0);
}

.room-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.85rem 0 0;
  transition: transform 0.35s ease;
}

.room:hover .room-meta,
.room:focus-visible .room-meta {
  transform: translateX(0.35rem);
}

.room-meta span {
  color: #777;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.room-meta h2,
.room-meta h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 200;
  letter-spacing: -0.025em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
  margin-bottom: 2.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.filter {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.filter.is-active,
.filter:hover,
.filter:focus-visible {
  color: var(--graphite);
}

.gallery {
  columns: 2 28rem;
  column-gap: 1.4rem;
}

.shot {
  margin: 0 0 1.4rem;
  break-inside: avoid;
}

.shot.is-hidden {
  display: none;
}

.shot--feature {
  column-span: none;
}

.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #d5d5d5;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.shot--feature img {
  min-height: 0;
}

.statement {
  padding: 2.2rem 0;
}

.statement-inner {
  max-width: 42rem;
}

.statement p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.statement-line {
  margin: 0;
  font-style: italic;
}

html:has(body.is-contact) {
  background: #f3ece3;
}

body.is-contact {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(108deg, transparent 4%, rgba(255, 252, 246, 0.92) 14%, transparent 26%),
    linear-gradient(116deg, transparent 24%, rgba(168, 136, 98, 0.2) 36%, transparent 48%),
    linear-gradient(104deg, transparent 46%, rgba(255, 255, 255, 0.7) 58%, transparent 70%),
    #f3ece3;
  color: #1c1a17;
}

body.is-contact .page-main {
  flex: 1;
}

body.is-contact .contact {
  position: relative;
  padding: 1.4rem 0 4.2rem;
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.contact-plant {
  margin: 0;
  justify-self: end;
  width: min(100%, 520px);
  overflow: hidden;
  border-radius: 0 0 0 28px;
}

.contact-plant img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 62%;
}

.is-contact .contact > .shell {
  width: min(calc(100% - 4.5rem), 1480px);
}

.is-contact .chapter--essence {
  max-width: 38rem;
  margin-bottom: 0;
}

.is-contact .chapter--essence .kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  color: #9a8468;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
}

.is-contact .chapter--essence .kicker::after {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: #c4a574;
}

.is-contact .chapter--essence h1 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", var(--serif);
  font-size: clamp(2.8rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #161616;
}

.is-contact .chapter--essence .lead {
  max-width: 36rem;
  margin: 0;
  color: #7a726a;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
}

.contact-channels {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 2.4rem;
}

.channel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: 22px;
  background: #fffdf9;
  color: #1c1a17;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(70, 48, 24, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.channel:hover,
.channel:focus-visible {
  transform: translateY(-0.28rem);
  box-shadow: 0 22px 46px rgba(70, 48, 24, 0.1);
}

.channel-photo {
  display: block;
  aspect-ratio: 16 / 11;
  min-height: 280px;
  overflow: hidden;
  background: #f7f2ea;
}

.channel-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.channel:nth-child(3) .channel-photo img {
  object-position: center top;
}

.channel-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.25rem;
}

.channel-icon {
  width: 28px;
  height: 28px;
  color: #a68456;
}

.channel-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.channel-name {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.channel-note,
.channel-address {
  color: #8a8176;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.4;
}

.channel-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(166, 132, 86, 0.55);
  border-radius: 50%;
  color: #a68456;
  font-size: 0.95rem;
  line-height: 1;
}

.channel:hover .channel-arrow,
.channel:focus-visible .channel-arrow {
  background: #a68456;
  color: #fff;
}

.correspondence {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: 36rem;
  padding-top: 0.4rem;
}

.correspondence-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 0.15rem;
  color: #a68456;
}

.correspondence .kicker {
  margin: 0 0 0.35rem;
  color: #8d7b66;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.correspondence p {
  margin: 0 0 0.45rem;
  max-width: 32rem;
  color: #6f675f;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
}

.correspondence a {
  color: #1c1a17;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.correspondence a:hover,
.correspondence a:focus-visible {
  color: var(--red);
}


.site-footer {
  padding: 1.1rem 0 1.4rem;
  background: var(--graphite);
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}

.site-footer--thin {
  flex: 0 0 16px;
  min-height: 16px;
  padding: 0;
  background: #fff;
  border: 0;
}

.site-footer--soft {
  background: #e8e8e8;
  border-top: 1px solid rgba(28, 28, 28, 0.12);
}

.site-footer--soft .footer-inner p {
  color: #707070;
}

.site-footer--soft .footer-inner a:hover,
.site-footer--soft .footer-inner a:focus-visible {
  color: #1a1a1a;
}

.site-footer.site-footer--cream {
  background: #f4efe6;
  border-top: 0;
}

.site-footer.site-footer--cream .footer-inner p,
.site-footer.site-footer--cream .footer-inner a {
  color: #8a8176;
}

.site-footer.site-footer--cream .footer-inner a:hover,
.site-footer.site-footer--cream .footer-inner a:focus-visible {
  color: #1c1a17;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 2rem;
}

.footer-inner p {
  margin: 0;
  color: rgba(244, 241, 234, 0.48);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #fff;
}

.depoimento[hidden] {
  display: none;
}

.depoimento {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1.2rem 1.5rem;
  background: #111;
}

.depoimento-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: min(100%, 720px);
}

.depoimento video {
  width: 100%;
  max-height: calc(100vh - 7rem);
  background: #000;
}

.depoimento-close {
  min-height: 44px;
  padding: 0 1.4rem;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.depoimento-close:hover,
.depoimento-close:focus-visible {
  background: #fff;
  color: #111;
}

body.depoimento-open {
  overflow: hidden;
}

body.depoimento-open .site-header {
  visibility: hidden;
}

.lightbox[hidden] {
  display: none;
}

body.lightbox-open .site-header {
  visibility: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 4rem 1rem 2rem;
}

.lightbox-figure {
  margin: 0;
  text-align: center;
}

.lightbox-figure img {
  max-height: calc(100vh - 10rem);
  margin-inline: auto;
}

.lightbox-figure figcaption,
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  color: #fff;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-height: 44px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

@keyframes kenburns-in {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes kenburns-out {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
    filter: blur(16px);
  }
}

@media (max-width: 1100px) {
  .rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1.2rem;
  }

  .rooms-grid .room,
  .rooms-grid .room:nth-child(1),
  .rooms-grid .room:nth-child(2),
  .rooms-grid .room:nth-child(3),
  .rooms-grid .room:nth-child(4),
  .rooms-grid .room:nth-child(5) {
    grid-column: auto;
    margin-top: 0;
  }

  .rooms-grid .room:nth-child(5) {
    grid-column: 1 / -1;
    width: 58%;
    justify-self: center;
  }

}

@media (max-width: 1120px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    inset: var(--header) 0 auto 0;
    background: #fff;
    color: var(--graphite);
    border-bottom: 1px solid var(--line);
    display: none;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem 0.4rem;
    gap: 0.95rem;
  }

  .nav-list li + li::before {
    display: none;
  }

  .nav-cta {
    margin: 0.35rem 1.2rem 1.2rem;
  }

  body.is-home .nav-toggle-bars,
  body.is-home .nav-toggle-bars::before,
  body.is-home .nav-toggle-bars::after {
    background: #fff;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 68px;
  }

  .site-header .shell {
    width: calc(100% - 1.6rem);
  }

  .brand {
    width: 168px;
    height: 48px;
  }

  .brand img {
    width: 168px;
    margin-top: -28px;
  }

  .nav-list a {
    font-size: 1.15rem;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    inset: var(--header) 0 auto 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--line);
    display: none;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem 0.4rem;
    gap: 0.95rem;
  }

  .nav-list li + li::before {
    display: none;
  }

  .nav-cta {
    margin: 0.35rem 1.2rem 1.2rem;
  }

  body.is-home .nav-toggle-bars,
  body.is-home .nav-toggle-bars::before,
  body.is-home .nav-toggle-bars::after {
    background: #fff;
  }

  body.is-home .nav.is-open {
    background: #fff;
    color: var(--graphite);
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 3.7rem);
  }

  .hero-copy {
    width: calc(100% - 1.6rem);
  }

  .hero-meta {
    left: 0.8rem;
    right: 0.8rem;
    width: auto;
    align-items: flex-end;
  }

  .hero-more-copy {
    font-size: 0.58rem;
  }

  .essence-grid {
    grid-template-columns: 1fr;
  }

  .essence-intro,
  .essence-band {
    width: min(calc(100% - 2rem), 1280px);
  }

  .essence-intro {
    margin-top: 2.2rem;
  }

  .essence-band {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 2.6rem 0;
  }

  .essence-band--reverse .essence-copy {
    order: 0;
  }

  .essence-visual img {
    aspect-ratio: 4 / 3;
  }

  .rooms > .shell,
  .is-portfolio .portfolio > .shell,
  .is-contact .contact > .shell {
    width: min(calc(100% - 2rem), 1180px);
  }

  .is-portfolio .portfolio {
    padding: 1.5rem 0 3rem;
  }

  .portfolio-intro {
    margin-bottom: 2.8rem;
  }

  .rooms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .rooms-grid .room,
  .rooms-grid .room:nth-child(1),
  .rooms-grid .room:nth-child(2),
  .rooms-grid .room:nth-child(3),
  .rooms-grid .room:nth-child(4),
  .rooms-grid .room:nth-child(5),
  .rooms-grid .room:last-child {
    grid-column: auto;
    width: 100%;
    margin-top: 0;
    justify-self: stretch;
  }

  .room:nth-child(1) img,
  .room:nth-child(2) img,
  .room:nth-child(3) img,
  .room:nth-child(4) img,
  .room:nth-child(5) img {
    aspect-ratio: 4 / 3;
  }

  .portfolio-viewer-header {
    top: -1.5rem;
    align-items: center;
    padding: 1.5rem 0 1rem;
  }

  .portfolio-viewer-header h2 {
    font-size: 1.8rem;
  }

  .portfolio-viewer-close {
    padding: 0 0.9rem;
  }

  .gallery {
    columns: 1;
  }

  .contact-intro {
    grid-template-columns: 1fr;
  }

  .contact-plant {
    width: 100%;
    border-radius: 18px;
  }

  .contact-plant img {
    height: 200px;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .channel-photo {
    min-height: 220px;
  }

  .contact-scene {
    display: none;
  }

  .correspondence {
    align-items: flex-start;
  }

  .shot--feature img {
    min-height: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.45rem;
  }

  .hero-copy {
    padding-bottom: 4.2rem;
  }

  .room-meta h2,
  .room-meta h3 {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .film-track img.is-current {
    transform: none;
  }
}
