:root {
  --navy: #07141f;
  --navy-deep: #050d14;
  --charcoal: #12181f;
  --slate: #2a323c;
  --fjord: #6a8796;
  --stone: #9aa3ab;
  --silver: #d5d9dd;
  --champagne: #cbb892;
  --copper: #b07d58;
  --ivory: #f2ebe1;
  --ivory-soft: #e7ddd0;
  --ink: #081018;
  --panel: #0e1a26;
  --line: rgba(203, 184, 146, 0.28);
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ivory-soft);
  background: var(--navy-deep);
  min-height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

::selection {
  background: var(--copper);
  color: var(--ivory);
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ivory);
  box-shadow: 0 0 0 1000px #0b141c inset;
  caret-color: var(--ivory);
}

body.is-nav-locked,
body.is-modal-locked,
html.is-scroll-locked,
html.is-scroll-locked body,
body.is-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

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

a {
  color: var(--champagne);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.35s var(--ease), opacity 0.35s var(--ease);
}

a:hover {
  color: var(--ivory);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--champagne);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
li,
a,
span,
label,
button,
input,
textarea,
.nav-link,
.card,
.form-field,
.modal,
.site-nav {
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}

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

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

.micro {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0 0 0.85rem;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--silver);
  max-width: 42rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.header-inner {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 320;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ivory);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(0.92rem, 2.4vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  position: relative;
  z-index: 410;
}

.menu-toggle:hover {
  border-color: var(--copper);
  color: var(--champagne);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 2rem));
  height: var(--header-h);
  z-index: 405;
  pointer-events: none;
}

.site-nav .nav-link {
  pointer-events: auto;
}

.nav-link {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.page {
  padding-top: var(--header-h);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 20, 0.28) 0%, rgba(5, 13, 20, 0.42) 42%, rgba(5, 13, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 13, 20, 0.55) 0%, rgba(5, 13, 20, 0.05) 55%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto 4.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.hero .lede {
  margin-bottom: 1.8rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--champagne);
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.35s var(--ease);
}

.btn:hover {
  background: var(--champagne);
  color: var(--navy);
}

.btn-solid {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--ivory);
}

.btn-solid:hover {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--navy);
}

.btn:disabled,
.btn.is-disabled {
  background: #2a323c;
  border-color: #3a4450;
  color: #7d868f;
  cursor: not-allowed;
  opacity: 0.72;
}

.btn.is-success {
  background: #2f4a3a;
  border-color: #6f8f78;
  color: var(--ivory);
}

section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.wrap {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.split.reverse .copy {
  order: 2;
}

.split.reverse .frame {
  order: 1;
}

.frame {
  position: relative;
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.86);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid var(--line);
  pointer-events: none;
}

.frame.wide img {
  aspect-ratio: 16 / 10;
}

.band {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.band-dark {
  background: var(--navy);
}

.suite-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.suite-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
}

.suite-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.suite-card .pad,
.service-card .pad,
.legal-block,
.contact-card {
  padding: 1.25rem 1.3rem 1.5rem;
}

.suite-stack {
  display: grid;
  gap: 1.2rem;
}

.service-grid,
.info-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card,
.contact-card,
.legal-block {
  background: rgba(18, 24, 31, 0.72);
  border: 1px solid var(--line);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(176, 125, 88, 0.08), transparent 42%),
    var(--charcoal);
}

.page-hero {
  padding: clamp(4rem, 10vw, 7.5rem) 0 3rem;
  background:
    linear-gradient(180deg, rgba(176, 125, 88, 0.08), transparent 55%),
    var(--navy);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  max-width: 16ch;
}

.editorial {
  max-width: 46rem;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.enquiry-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--charcoal);
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #3b4550;
  background: #0b141c;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0;
}

.form-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #b56a5c;
}

.form-field input.is-valid,
.form-field textarea.is-valid {
  border-color: #6f8f78;
}

.field-error {
  min-height: 1.1rem;
  font-size: 0.82rem;
  color: #d7a197;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 13, 20, 0.78);
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  width: min(32rem, 100%);
  max-height: min(86svh, 36rem);
  overflow: auto;
  background: var(--navy);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem;
}

.modal h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.modal-close {
  margin-top: 1.1rem;
}

.site-footer {
  background: #050b11;
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.footer-col p,
.footer-col a {
  display: block;
  color: var(--silver);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: var(--champagne);
}

.social-row a {
  margin-bottom: 0.55rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.legal-nav a {
  color: var(--stone);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-line {
  margin-top: 1.2rem;
  color: var(--stone);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .site-nav,
  .btn {
    transition: none;
  }
}

@media (max-width: 980px) {
  .split,
  .split.reverse,
  .suite-grid,
  .service-grid,
  .info-grid,
  .policy-grid,
  .cta-panel,
  .form-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy,
  .split.reverse .frame {
    order: unset;
  }

  .frame img,
  .suite-card img {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    transform: translateX(100%);
    z-index: 350;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.4rem;
    padding: calc(var(--header-h) + 1.25rem) 1.5rem 2rem;
    background: var(--navy-deep);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transition: transform 0.45s var(--ease), opacity 0.35s var(--ease), visibility 0.45s;
  }

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

  .nav-link {
    font-size: 1.35rem;
    letter-spacing: 0.14em;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .brand-name {
    letter-spacing: 0.04em;
  }

  .hero-copy {
    margin-bottom: 2.4rem;
  }

  .btn {
    width: 100%;
  }

  .enquiry-form,
  .modal,
  .cta-panel {
    padding: 1.1rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 2rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .modal {
    max-height: 88svh;
  }
}
