:root {
  --cream: #f6f1ea;
  --cream-dark: #efe6d9;
  --beige: #e4d5c3;
  --sand: #cbb79a;
  --gold: #806036;
  --gold-soft: #d4b483;
  --ink: #1b1714;
  --ink-soft: #4a433c;
  --white: #fffcf8;
  --line: rgba(27, 23, 20, 0.12);
  --shadow: 0 24px 60px rgba(27, 23, 20, 0.12);
  --header-h: 84px;
  --radius: 2px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

h3 {
  font-size: 1.7rem;
}

p {
  margin: 0 0 1em;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.8125rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.section {
  padding: 7.5rem 0;
}

.section__header {
  max-width: 38rem;
  margin-bottom: 3.5rem;
}

.section__intro {
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 234, 0.55);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn--small {
  min-height: 44px;
  padding: 0.65rem 1.2rem;
}

.btn--full {
  width: 100%;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background: rgba(246, 241, 234, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2.5rem));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.28em;
}

.logo__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0;
}

.nav__list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 7px 8px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Editorial hero: a quiet text column paired with a taller photographic column. */
.hero {
  background: var(--cream);
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  overflow: hidden;
}
.hero__layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__content { padding: 1.5rem 0; min-width: 0; }
.hero .eyebrow { display: flex; align-items: center; gap: 1rem; }
.hero .eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.hero h1 {
  font-size: clamp(3.6rem, 7.4vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 2rem;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--gold); font-weight: 400; padding-left: 0.55em; }
.hero__lead { color: var(--ink-soft); max-width: 25rem; font-size: 1rem; }
.hero__actions { margin-top: 2rem; }
.hero__actions .btn { gap: 2.5rem; min-width: 14rem; }
.hero__arrow { width: 12px; height: 12px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; position: relative; }
.hero__arrow::after { content: ""; position: absolute; right: -1px; top: -1px; width: 16px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.hero__demo { font-size: 0.8125rem; color: var(--ink-soft); max-width: 25rem; margin: 1.25rem 0 0; }
.hero__media { margin: 0; min-width: 0; position: relative; padding-top: 1rem; }
.hero__media::before { content: ""; position: absolute; inset: 0 1rem 4rem -1rem; border: 1px solid var(--gold); pointer-events: none; }
.hero__media img { position: relative; width: 100%; height: clamp(440px, 66vh, 660px); object-fit: cover; object-position: 55% center; background: var(--beige); }
.hero__media figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin-top: 1.25rem; font-size: 0.8125rem; color: var(--ink-soft); }
.hero__media figcaption span { font-style: italic; }
.hero__media figcaption .hero__caption-label { font-style: normal; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero__content { animation: hero-enter 650ms ease-out both; }
  .hero__media { animation: hero-enter 850ms ease-out both; }
}

/* Editorial sections. Hero rules above remain unchanged. */
.editorial-heading { max-width: none; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: end; }
.section h2 em { color: var(--gold); font-weight: 400; }
.section__intro { max-width: 28rem; margin-bottom: 0.6em; }
.services { border-top: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 4rem 5rem; align-items: start; }
.service-card { min-width: 0; }
.service-card:nth-child(even) { margin-top: 6rem; }
.service-card__media { overflow: hidden; background: var(--beige); }
.service-card__media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(0.65); }
.service-card:nth-child(even) .service-card__media img { aspect-ratio: 4 / 5; }
.service-card__body { position: relative; padding: 1.5rem 0 0 3rem; border-top: 1px solid var(--gold); }
.service-card__index { position: absolute; top: 1.7rem; left: 0; color: var(--gold); font-size: 0.8125rem; }
.service-card h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.service-card p { color: var(--ink-soft); max-width: 28rem; }
.text-link { display: inline-flex; gap: 1.5rem; align-items: center; min-height: 44px; border-bottom: 1px solid var(--gold); color: var(--ink); font-size: 0.875rem; }
.text-link:hover { color: var(--gold); }
.about { background: var(--cream-dark); }
.about__grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.about__media { margin: 0; position: relative; }
.about__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about__media figcaption { padding-top: 1rem; font-size: 0.8125rem; color: var(--ink-soft); }
.about__content p { color: var(--ink-soft); }
.about__lead { font-size: 1.2rem; }
.about__note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gold); }
.about__note p { font-size: 0.875rem; margin: 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
.gallery__item { grid-column: span 4; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; color: var(--ink); cursor: zoom-in; }
.gallery__item:nth-child(1) { grid-column: span 7; }
.gallery__item:nth-child(2) { grid-column: span 5; padding-top: 4rem; }
.gallery__item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.65); transition: filter 350ms ease; }
.gallery__item:nth-child(1) img { aspect-ratio: 6 / 5; }
.gallery__item:nth-child(2) img { aspect-ratio: 1; }
.gallery__item:hover img, .gallery__item:focus-visible img { filter: saturate(1); }
.gallery__caption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; font-size: 0.8125rem; }
.gallery__credit { margin: 2rem 0 0; font-size: 0.8125rem; color: var(--ink-soft); }
.gallery__credit .text-link { font-size: inherit; }
.philosophy { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.philosophy__grid { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 4rem; align-items: center; }
.philosophy .eyebrow, .philosophy h2 em { color: var(--gold-soft); }
.philosophy h2 { font-size: clamp(2.5rem, 5.5vw, 5rem); }
.philosophy__aside { border-left: 1px solid var(--gold-soft); padding-left: 2.5rem; }
.philosophy__symbol { display: block; font: italic 5rem/1 var(--font-serif); color: var(--gold-soft); margin-bottom: 1.5rem; }
.philosophy__signature { color: var(--gold-soft); font-size: 0.875rem; margin: 1.5rem 0 0; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contacts__info { min-width: 0; }
.contacts__info > p { color: var(--ink-soft); }
.contacts__lead { font-size: 1.2rem; margin-top: 2rem; }
.contacts__notice { border-top: 1px solid var(--gold); padding-top: 1.5rem; margin-top: 2.5rem; }
.contacts__notice p { font-size: 0.875rem; color: var(--ink-soft); }
.hint { display: block; font-size: 0.82rem; color: var(--ink-soft); }
.booking { min-width: 0; background: var(--white); border-top: 2px solid var(--gold); padding: clamp(1.25rem, 3vw, 3rem); }
.booking h3 { font-size: 2rem; }
.booking__note { color: var(--ink-soft); font-size: 0.875rem; margin-bottom: 2rem; }
.booking label { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.875rem; color: var(--ink-soft); }
.booking input, .booking select { width: 100%; min-width: 0; min-height: 50px; padding: 0.7rem 0.8rem; border: 1px solid #a99b89; background: var(--cream); color: var(--ink); font-size: 1rem; border-radius: 0; }
.booking input:focus, .booking select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-status { min-height: 1.4em; margin: 1rem 0 0; font-size: 0.95rem; }
.form-status.is-success { color: #3d6b4f; }
.form-status.is-error { color: #8a3b32; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; text-align: left; }
.footer__inner p { margin: 0; }
.footer__inner > p:last-child { font-size: 0.8125rem; }
@media (max-width: 1024px) {
  .services__grid { gap: 3rem; }
  .about__grid, .contacts__grid { gap: 2.5rem; }
  .philosophy__grid { gap: 2rem; }
  .footer__inner { grid-template-columns: auto 1fr; }
  .footer__inner > p:last-child { grid-column: 2; }
}
@media (max-width: 820px) {
  .editorial-heading, .about__grid, .philosophy__grid, .contacts__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__media img { aspect-ratio: 5 / 4; }
  .philosophy__aside { padding-left: 1.5rem; }
}
@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-card:nth-child(even) { margin-top: 0; }
  .service-card:nth-child(even) .service-card__media img { aspect-ratio: 5 / 4; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; }
  .gallery__item, .gallery__item:nth-child(2) { grid-column: span 1; padding-top: 0; }
  .gallery__item:nth-child(1) { grid-column: span 2; }
  .gallery__item:nth-child(2) img { aspect-ratio: 4 / 5; }
  .gallery__caption { font-size: 0.8125rem; line-height: 1.5; }
  .footer__inner { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .footer__inner > p:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .service-card__media img { transition: filter 350ms ease; }
  .service-card:hover .service-card__media img { filter: saturate(1); }
  .section-reveal { animation: hero-enter 500ms ease-out; }
}

.footer {
  background: var(--cream-dark);
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.8rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.logo--footer {
  justify-content: center;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.modal[hidden],
.lightbox[hidden] {
  display: none;
}

.modal {
  display: flex;
  padding: 1rem;
  overflow-y: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 23, 20, 0.55);
}

.modal__dialog {
  position: relative;
  width: min(460px, calc(100% - 2rem));
  margin: auto;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--cream);
  padding: 2.4rem 2rem 2rem;
  box-shadow: var(--shadow);
}

.modal__close,
.lightbox__close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  color: var(--ink);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.modal .btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
}

.lightbox {
  display: grid;
  place-items: center;
  background: rgba(27, 23, 20, 0.88);
}

.lightbox img {
  max-width: min(92vw, 980px);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox__close {
  color: var(--cream);
  top: 1rem;
  right: 1.2rem;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .header__cta {
    display: none;
  }

  .header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--cream);
    padding: 1.4rem 1.5rem 2rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .nav a,
  .header.is-open .logo,
  .header.is-open .nav-toggle {
    color: var(--ink);
  }

  .header:not(.is-scrolled).is-open {
    background: var(--cream);
  }

  .header:not(.is-scrolled).is-open .logo__mark {
    border-color: var(--gold);
    color: var(--gold);
  }

  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero__content { padding: 0; }
  .hero h1 { font-size: clamp(3rem, 11.5vw, 5.75rem); margin: 1.25rem 0; }
  .hero__media img { height: auto; aspect-ratio: 4 / 3; }
  .hero__media::before { inset: -0.6rem 0.6rem 3rem -0.6rem; }

  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .hero__actions .btn,
  .hero__actions .btn--ghost {
    width: 100%;
  }

  .booking {
    padding: 1.5rem 1.2rem;
  }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.lightbox :focus-visible { outline-color: var(--cream); }
.header { background: var(--cream); }
.header.is-open .nav a,
.header.is-open .nav a:visited { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gallery__item:hover img, .gallery__item:focus-visible img { transform: none; }
}

/* Allow the existing content grid to shrink on narrow screens. */
.about__grid > * { min-width: 0; overflow-wrap: anywhere; }

/* Keep the desktop header spacious before switching to the mobile disclosure. */
@media (min-width: 821px) and (max-width: 1100px) {
  .header__inner { gap: 1rem; }
  .nav__list { gap: 1rem; }
  .nav a { font-size: 0.75rem; letter-spacing: 0.08em; }
  .header__cta { padding-inline: 1rem; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 1rem); padding-bottom: 2rem; }
  .hero__layout { gap: 1.75rem; }
  .hero__media { margin-left: 0.5rem; }
  .hero__media img { aspect-ratio: 5 / 4; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__media figcaption { margin-top: 0.75rem; }
}
.modal__dialog { max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); }
.lightbox { grid-template-rows: minmax(0, 1fr) auto; gap: 1rem; padding: 4.5rem 1rem 1.5rem; }
.lightbox img { max-height: 100%; min-height: 0; }
.lightbox__caption { margin: 0; color: var(--cream); text-align: center; font-size: 0.875rem; }
.booking [aria-invalid="true"] { border-color: #8a3b32; }
/* Draw arrows in CSS so they do not depend on a font's symbol coverage. */
.text-link > span[aria-hidden], .gallery__caption > span[aria-hidden] {
  display: inline-block;
  flex: 0 0 0.65rem;
  width: 0.65rem;
  height: 0.65rem;
  margin: 0.3rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  font-size: 0;
  position: relative;
}
.text-link > span[aria-hidden]::after, .gallery__caption > span[aria-hidden]::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 0.9rem;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}
