:root {
  --bg: #f7f4ee;
  --surface: #fffdf9;
  --surface-strong: #f0ebe1;
  --text: #16202a;
  --muted: #5d6771;
  --border: rgba(22, 32, 42, 0.1);
  --accent: #b59a68;
  --accent-deep: #8e7547;
  --shadow: 0 24px 70px rgba(18, 25, 33, 0.08);
  --radius: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(181, 154, 104, 0.14), transparent 28%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
  color: var(--text);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(252, 251, 248, 0.82);
  border-bottom: 1px solid rgba(22, 32, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--text), #273240);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.brand-text {
  display: grid;
  gap: 0.18rem;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: end;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.section-intro h2,
.contact-panel h2,
.info-card h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  max-width: 11ch;
}

.hero-text,
.page-hero p,
.section-copy p,
.section-intro p,
.contact-panel p,
.info-card p,
.detail-card p {
  color: var(--muted);
  line-height: 1.8;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-actions,
.centered {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: #fff;
}

.button-primary:hover {
  background: #24303d;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero-card,
.info-card,
.detail-card,
.enquiry-form,
.contact-panel {
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(22, 32, 42, 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
  border-radius: var(--radius);
}

.hero-card-label {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  font-weight: 700;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.section {
  padding: 3rem 0;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(240, 235, 225, 0.4), rgba(240, 235, 225, 0.12));
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.section-heading h2,
.section-intro h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 10ch;
}

.section-copy,
.section-intro {
  max-width: 680px;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--text);
  font-weight: 700;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 160px;
  gap: 1rem;
  margin-top: 2rem;
}

.preview-tile {
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(22, 32, 42, 0.92), rgba(22, 32, 42, 0.64)),
    linear-gradient(135deg, rgba(181, 154, 104, 0.3), transparent);
  box-shadow: var(--shadow);
}

.preview-tile.tall {
  grid-row: span 2;
}

.preview-tile.wide {
  grid-column: span 2;
}

.contact-panel {
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.three-up,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

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

.info-card,
.detail-card,
.enquiry-form {
  padding: 1.5rem;
  border-radius: 22px;
}

.info-card h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.contact-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.detail-label {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.detail-card a {
  font-size: 1.15rem;
  font-weight: 700;
}

.enquiry-form {
  display: grid;
  gap: 1rem;
}

.enquiry-form label {
  display: grid;
  gap: 0.5rem;
}

.enquiry-form span {
  font-weight: 700;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 32, 42, 0.12);
  border-radius: 16px;
  background: #fff;
  padding: 0.95rem 1rem;
  color: var(--text);
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.empty-gallery {
  padding: 2rem;
  border: 1px dashed rgba(22, 32, 42, 0.16);
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 32, 42, 0.08);
}

.footer-inner p {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.4rem;
  justify-items: end;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .three-up,
  .contact-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: start;
  }

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

  .footer-inner,
  .footer-links {
    justify-items: start;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand-text span {
    display: none;
  }

  .hero,
  .page-hero {
    padding-top: 3.5rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .gallery-preview {
    grid-template-columns: 1fr;
    grid-auto-rows: 160px;
  }

  .preview-tile.tall,
  .preview-tile.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}
