@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f3efe8;
  --paper-2: #e9e3d9;
  --ink: #151413;
  --ink-soft: #5d5952;
  --line: #d6cfc3;
  --dark: #121110;
  --dark-2: #1c1a18;
  --on-dark: #efe9df;
  --on-dark-soft: #a29b90;
  --accent: #e0662f;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; }
h1 em, h2 em { color: var(--accent); }
p { margin: 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 500; font-size: 16px;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 10px 18px; font-size: 15px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .25s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 8vw, 110px) var(--gutter) clamp(56px, 8vw, 110px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero h1 { font-size: clamp(48px, 7vw, 104px); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; }
.hv { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(20, 15, 10, .45); }
.hv img { width: 100%; height: 100%; object-fit: cover; }
.hv-1 { inset: 0 22% 18% 0; }
.hv-2 { width: 42%; aspect-ratio: 3 / 4; right: 0; top: 8%; animation: float 9s ease-in-out infinite; }
.hv-3 { width: 52%; aspect-ratio: 3 / 2; right: 6%; bottom: 0; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 36px); white-space: nowrap; color: var(--ink-soft); }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .5em; margin-left: 48px; color: var(--accent); vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2, .about h2, .book h2 { font-size: clamp(40px, 5.2vw, 72px); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--paper-2); border-radius: var(--radius);
  padding: 34px 30px 36px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s ease, background .3s ease;
}
.service:hover { transform: translateY(-4px); background: #e3dccf; }
.service-no { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.service h3 { font-size: 24px; }
.service p { color: var(--ink-soft); }
.service ul { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.service li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* projects */
.section-dark {
  max-width: none; background: var(--dark); color: var(--on-dark);
  border-radius: clamp(20px, 3vw, 36px); margin: 0 clamp(8px, 1.2vw, 16px);
}
.section-dark > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.section-dark .eyebrow { color: var(--on-dark-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  font: inherit; font-size: 14px; cursor: pointer;
  padding: 9px 16px; border-radius: 999px;
  background: transparent; color: var(--on-dark-soft);
  border: 1px solid #3a3632; transition: all .2s;
}
.chip:hover { color: var(--on-dark); border-color: var(--on-dark-soft); }
.chip.is-active { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.gallery { columns: 3 300px; column-gap: 16px; }
.tile {
  break-inside: avoid; margin: 0 0 16px; position: relative; overflow: hidden;
  border-radius: 12px; cursor: zoom-in; background: var(--dark-2);
  opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease;
}
.tile.is-in { opacity: 1; transform: none; }
.tile[hidden] { display: none; }
.tile img { width: 100%; height: auto; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  font-size: 14px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
  opacity: 0; transition: opacity .3s;
}
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 26px 24px 0 0; }
.steps span { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--accent); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* about */
.about { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.about-text h2 { margin-bottom: 26px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 54ch; }
.link-arrow { display: inline-block; margin-top: 10px; font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.link-arrow::after { content: " →"; }

/* booking */
.book-inner { background: var(--accent); color: #1a0f08; border-radius: clamp(20px, 3vw, 36px); padding: clamp(40px, 7vw, 96px); }
.book .eyebrow { color: rgba(26, 15, 8, .7); }
.book .lead { color: rgba(26, 15, 8, .8); margin-top: 22px; }
.book-options { display: grid; grid-template-columns: minmax(0, 440px); gap: 16px; margin-top: 44px; }
.book-card {
  display: flex; flex-direction: column; gap: 4px; padding: 26px 28px;
  background: var(--ink); color: var(--paper); border-radius: 16px; text-decoration: none;
  transition: transform .2s ease;
}
.book-card:hover { transform: translateY(-3px); }
.book-card-alt { background: rgba(255, 255, 255, .22); color: #1a0f08; }
.book-kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.book-card strong { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; }
.book-sub { font-size: 15px; opacity: .8; }

/* footer */
.footer {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 15px; color: var(--ink-soft);
}
.footer-brand { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(12, 11, 10, .94);
  display: grid; place-items: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 8px 16px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--on-dark-soft); font-size: 14px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 36px; }
.legal h2 { font-family: var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 10px; line-height: 1.3; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .about { grid-template-columns: 1fr; }
  .about-img { max-width: 480px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav-links.is-open { transform: none; }
  .nav-links a:not(.btn) { font-size: 20px; padding: 8px 0; color: var(--ink); }
  .nav-links .btn { margin-top: 10px; }
  .book-options { grid-template-columns: 1fr; }
  .lightbox { padding: 56px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile { opacity: 1; transform: none; }
}
