/* HNW Travel — hnwtravel.co.uk
   Palette: navy #0B1F3A, cream #F6F1E7, gold #C8A24A
   Editorial luxury, generous whitespace, original design. */

:root {
  --navy: #0B1F3A;
  --navy-2: #122A4A;
  --navy-deep: #071422;
  --cream: #F6F1E7;
  --cream-2: #E8DFD0;
  --ivory: #FBF8F2;
  --gold: #C8A24A;
  --gold-2: #D4B56A;
  --gold-dim: #9A7A32;
  --ink: #1A2332;
  --muted: #5A6370;
  --white: #ffffff;
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.12);
  --max: 1180px;
  --wide: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
p { margin: 0 0 1.15em; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; color: var(--navy); margin: 0 0 0.6em; }
::selection { background: var(--gold); color: var(--navy); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-200%);
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 200;
}
.skip-link:focus { top: 1rem; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
.site-header.is-transparent {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.55) 0%, rgba(7, 20, 34, 0) 100%);
}
.site-header.is-solid,
.site-header.is-scrolled {
  position: sticky;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(7, 20, 34, 0.25);
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  flex-shrink: 0;
}
.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.brand-domain {
  margin-top: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--gold);
  font-weight: 500;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  position: relative;
  transition: color 0.25s ease;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:not(.btn):hover,
.site-nav a.is-active { color: var(--gold-2); }
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(200, 162, 74, 0.45);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  position: absolute;
  left: 12px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 231, 0.55);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroEase 18s ease-out forwards;
}
@keyframes heroEase {
  to { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 20, 34, 0.28) 0%, rgba(7, 20, 34, 0.18) 38%, rgba(7, 20, 34, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 28px 10vh;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin-bottom: 0.35em;
}
.hero .lede {
  font-size: 1.08rem;
  max-width: 38rem;
  color: rgba(246, 241, 231, 0.86);
  margin-bottom: 2rem;
}

.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.35) 0%, rgba(7, 20, 34, 0.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 140px 28px 64px;
  width: 100%;
}
.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 18ch;
}
.page-hero .lede {
  color: rgba(246, 241, 231, 0.84);
  max-width: 38rem;
  font-size: 1.05rem;
}

/* ---------- Layout ---------- */
.section { padding: 108px 0; }
.section-tight { padding: 80px 0; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-wide {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 28px;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 56px;
}
.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 14px;
}
.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 0 22px;
}
.gold-rule.centered { margin-left: auto; margin-right: auto; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-copy { order: 1; }
.split-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.split-visual.framed img {
  height: 620px;
}

/* ---------- Collections ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); gap: 36px; }
.edition-card {
  background: var(--ivory);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.edition-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.edition-card .thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.edition-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.edition-card:hover .thumb img { transform: scale(1.07); }
.edition-card .body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.edition-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.4em;
}
.edition-card p {
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
}
.edition-card .meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}
.link-gold {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  width: fit-content;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-gold:hover { color: var(--gold-dim); }

/* ---------- Quote / bands ---------- */
.quote-band {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 108px 28px;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 44rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--cream);
}
.quote-band cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.cta-band {
  background: var(--cream-2);
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.cta-band p { max-width: 36rem; margin: 0 auto 2rem; color: var(--muted); }

.navy-band {
  background: var(--navy);
  color: var(--cream);
}
.navy-band h2, .navy-band h3 { color: var(--cream); }
.navy-band .kicker { color: var(--gold); }
.navy-band p { color: rgba(246, 241, 231, 0.82); }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--ivory);
  border: 1px solid rgba(11, 31, 58, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card .body { padding: 26px 26px 30px; }
.service-card h3 { font-size: 1.55rem; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 12px;
}
.value h3 { font-size: 1.45rem; margin-bottom: 0.45em; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.contact-aside p { color: var(--muted); }
.contact-aside a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.contact-aside dl { margin: 28px 0 0; }
.contact-aside dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 18px;
}
.contact-aside dd { margin: 6px 0 0; }

.enquiry-form {
  background: var(--ivory);
  padding: 40px 40px 36px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.field .req { color: var(--gold-dim); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.18);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #8a2b2b; }
.field-error {
  font-size: 0.82rem;
  color: #8a2b2b;
  min-height: 1.1em;
}
.form-note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.form-success {
  display: none;
  padding: 48px 28px;
  text-align: center;
  background: var(--ivory);
  box-shadow: var(--shadow);
}
.form-success.is-visible { display: block; }
.form-success h2 { font-size: 2.2rem; }
.enquiry-form.is-hidden { display: none; }

/* ---------- Legal ---------- */
.legal-page {
  padding: 160px 0 100px;
  background: var(--ivory);
}
.legal-page .wrap { max-width: 760px; }
.legal-page .notice {
  background: #efe6d4;
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  margin-bottom: 32px;
  font-size: 0.95rem;
}
.legal-page h1 { font-size: 2.8rem; }
.legal-page h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal-page p, .legal-page li { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 231, 0.78);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { color: var(--cream); font-size: 1.5rem; letter-spacing: 0.16em; }
.footer-brand .brand-domain { display: block; color: var(--gold); letter-spacing: 0.18em; font-size: 0.72rem; margin: 8px 0 18px; text-transform: lowercase; }
.footer-brand p { font-size: 0.95rem; max-width: 28ch; }
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { transition: color 0.25s ease; }
.site-footer a:hover { color: var(--gold); }
.footer-base {
  border-top: 1px solid rgba(200, 162, 74, 0.18);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.socials { display: flex; gap: 18px; }
.socials a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .service-grid, .values { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-copy { order: 0; }
  .split-visual img, .split-visual.framed img { height: 420px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 28px;
    gap: 4px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 8px; }
  .site-nav a.btn { margin: 12px 0 0; width: 100%; }
  .header-inner { padding: 0 20px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .hero { min-height: 92vh; }
  .hero-content { padding-bottom: 8vh; }
  .card-grid,
  .card-grid.two,
  .service-grid,
  .values { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .enquiry-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .page-hero { min-height: 48vh; }
}
