:root {
  --ink: #17120d;
  --muted: #655f55;
  --paper: #fffaf1;
  --panel: #f6ead8;
  --navy: #0d1735;
  --maroon: #7b1f2c;
  --gold: #c9922e;
  --leaf: #38634f;
  --line: rgba(23, 18, 13, 0.16);
  --shadow: 0 24px 80px rgba(35, 21, 10, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--maroon), var(--leaf));
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 10;
  width: min(1160px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(20, 18, 14, 0.44);
  color: #fff;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-solid {
  background: rgba(255, 250, 241, 0.92);
  color: var(--ink);
  box-shadow: 0 14px 44px rgba(23, 18, 13, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  font-size: 11px;
  color: currentColor;
  opacity: 0.74;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  padding: 10px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.86;
}

nav a:hover {
  opacity: 1;
}

nav a[aria-current="page"] {
  color: var(--gold);
  opacity: 1;
}

.work-page {
  background: #f8f0e3;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: end;
  gap: 28px;
  padding: 160px max(28px, calc((100vw - 1160px) / 2)) 52px;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-media video,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  opacity: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.82), rgba(9, 8, 7, 0.42) 48%, rgba(9, 8, 7, 0.16)),
    linear-gradient(0deg, rgba(9, 8, 7, 0.78), rgba(9, 8, 7, 0.02) 48%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.02;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions,
.resort-copy .button {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  border-radius: 8px;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #16100a;
}

.button.ghost {
  margin-left: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  display: grid;
  gap: 10px;
}

.hero-panel div,
.story,
.service,
.contact-card,
.inquiry,
.resort-board {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 18px;
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.hero-panel strong {
  display: block;
  color: var(--maroon);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section-pad {
  padding: 96px max(24px, calc((100vw - 1160px) / 2));
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2,
.resort-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  background: linear-gradient(180deg, var(--paper), #f4ecde);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story,
.service,
.contact-card,
.inquiry,
.resort-board {
  padding: 24px;
}

.story h3,
.service h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.04;
}

.story p,
.service p,
.resort-copy p,
.contact-card p,
.quote-band p {
  margin: 0;
  color: var(--muted);
}

.marquee-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  white-space: nowrap;
}

.collection-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-image {
  min-height: 720px;
  margin: 0;
  overflow: hidden;
}

.feature-image img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  display: grid;
  gap: 14px;
}

.service {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 16px;
}

.service span {
  grid-row: span 2;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.gallery figure {
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.gallery figure:nth-child(1),
.gallery figure:nth-child(4) {
  grid-column: span 2;
}

.gallery figure:nth-child(2),
.gallery figure:nth-child(3),
.gallery figure:nth-child(5),
.gallery figure:nth-child(6) {
  grid-column: span 1;
}

.resort {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: center;
  background: var(--navy);
  color: #fff;
}

.resort-copy p {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.resort-board {
  color: var(--ink);
}

.resort-board strong {
  display: block;
  color: var(--maroon);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.9;
}

.resort-board span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.resort-board ol {
  margin: 26px 0 0;
  padding-left: 20px;
}

.resort-board li + li {
  margin-top: 12px;
}

.quote-band {
  padding: 94px max(24px, calc((100vw - 980px) / 2));
  background: var(--maroon);
  color: #fff;
  text-align: center;
}

.quote-band p {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1.02;
}

.quote-band span {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: end;
  min-height: 84svh;
  padding: 150px max(24px, calc((100vw - 1160px) / 2)) 74px;
  background:
    linear-gradient(120deg, rgba(123, 31, 44, 0.16), transparent 45%),
    linear-gradient(180deg, #fffaf1, #efe1cd);
}

.work-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 8vw, 112px);
  line-height: 0.92;
}

.work-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.work-hero-media {
  margin: 0;
  height: min(62svh, 640px);
  min-height: 430px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.work-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-controls {
  padding-block: 34px;
  border-block: 1px solid var(--line);
  background: #17120d;
  color: #fff;
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row + .filter-row {
  margin-top: 14px;
}

.filter-row span {
  min-width: 58px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filter-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #17120d;
}

.work-grid-wrap {
  background: #f8f0e3;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  display: grid;
  grid-template-rows: 330px 1fr;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 22px 58px rgba(35, 21, 10, 0.12);
  overflow: hidden;
}

.work-card[hidden] {
  display: none;
}

.work-card.wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  grid-template-rows: auto;
}

.work-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.work-card img,
.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card div {
  padding: 22px;
}

.work-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-card h2,
.empty-state h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.03;
}

.work-card p:not(.work-kicker),
.empty-state p {
  margin: 12px 0 0;
  color: var(--muted);
}

.work-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.work-card li + li {
  margin-top: 7px;
}

.empty-state {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.9);
  padding: 30px;
  text-align: center;
}

.work-cta {
  margin-top: 0;
}

.contact {
  background:
    linear-gradient(90deg, rgba(201, 146, 46, 0.1), transparent),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.contact-card a {
  color: var(--maroon);
  font-weight: 900;
  text-decoration: none;
}

.contact-card span {
  color: var(--muted);
}

.inquiry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.inquiry label:nth-child(4) {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 13px 12px;
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

button {
  font: inherit;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - 1160px) / 2));
  background: #120d08;
  color: #fff;
}

footer strong,
footer span {
  display: block;
}

footer span,
footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero,
  .work-hero,
  .intro-grid,
  .collection-layout,
  .resort,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-image {
    min-height: 520px;
  }

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

  .gallery figure,
  .gallery figure:nth-child(n) {
    grid-column: span 1;
  }

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

  .work-card.wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
    grid-template-rows: 330px auto;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 20px;
  }

  .work-hero {
    min-height: auto;
    padding: 128px 20px 52px;
  }

  .work-hero-media {
    min-height: 360px;
    height: 48svh;
  }

  .hero-panel,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .button.ghost {
    margin: 10px 0 0;
  }

  .section-pad,
  .quote-band {
    padding-block: 68px;
  }

  .section-heading h2,
  .resort-copy h2 {
    font-size: 38px;
  }

  .feature-image {
    min-height: 420px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 320px auto;
  }

  footer {
    display: grid;
  }
}
