/* Blackbird One Ltd. — site styles. One file for every page; fonts are self-hosted (no third-party requests). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/playfair-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/playfair-italic-latin.woff2") format("woff2");
}

:root {
  --navy: #001528;
  --navy-2: #0a1f44;
  --red: #d90429;
  --red-hover: #b90323;
  --text: #374151;
  --text-strong: #111827;
  --text-subtle: #5b6472;
  --border: #e5e7eb;
  --surface-alt: #f6f7f9;
  --white: #ffffff;
  --radius-card: 16px;
  --max: 1120px;
  --pad: 24px;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: var(--navy-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--red);
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--navy-2);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}
h3 {
  font-size: 1.45rem;
}
p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand-logo {
  flex: none;
  display: block;
}
.brand-logo img {
  width: 99px;
  height: 52px;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--navy-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover {
  background: var(--surface-alt);
  color: var(--red);
}
.site-nav a[aria-current="page"] {
  color: var(--red);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-hover);
  color: var(--white);
}
.btn-navy {
  background: var(--navy-2);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline {
  border-color: var(--navy-2);
  color: var(--navy-2);
}
.btn-outline:hover {
  background: var(--navy-2);
  color: var(--white);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0, 21, 40, 0.88) 0%,
    rgba(0, 21, 40, 0.62) 48%,
    rgba(0, 21, 40, 0.1) 100%
  );
}
.hero .container {
  padding-top: clamp(72px, 11vw, 140px);
  padding-bottom: clamp(72px, 11vw, 140px);
}
.hero-copy {
  max-width: 640px;
}
.hero h1 {
  color: var(--white);
}
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 30px;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-head p {
  color: var(--text-subtle);
  font-size: 1.05rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

.facts {
  margin: 0;
  border-top: 2px solid var(--navy-2);
}
.facts div {
  display: grid;
  grid-template-columns: minmax(130px, 40%) 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.facts dt {
  color: var(--text-subtle);
  font-size: 15px;
}
.facts dd {
  margin: 0;
  color: var(--text-strong);
  font-weight: 600;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.facts dd a {
  color: var(--text-strong);
}
.facts dd a:hover {
  color: var(--red);
}

.note {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  background: var(--surface-alt);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
}
.note p:last-child {
  margin-bottom: 0;
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 36px);
  box-shadow:
    0 1px 2px rgba(17, 24, 39, 0.04),
    0 8px 24px rgba(17, 24, 39, 0.05);
}
/* a fixed-height row keeps both cards' headings level; the image must not be a
   direct flex item of .card, or align-items: stretch widens it to the card */
.card-logo {
  display: flex;
  align-items: center;
  height: 56px;
  margin-bottom: 22px;
}
.card-logo img {
  width: auto;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
}
.card p {
  font-size: 16px;
}
.card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.card-link {
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.card-link:hover {
  border-color: var(--navy-2);
  color: inherit;
}
.card-link h3,
.card-link .h3 {
  font-size: 1.25rem;
}
.card-link .more {
  margin-top: auto;
  color: var(--red);
  font-weight: 600;
  font-size: 15px;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.points li {
  padding-top: 18px;
  border-top: 2px solid var(--red);
  font-size: 16px;
}
.points strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy-2);
  margin-bottom: 6px;
  font-weight: 600;
}

/* ---------- inner page hero ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(40px, 7vw, 80px) 0 clamp(44px, 7vw, 76px);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 820px;
}
.page-hero .lede {
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0;
}
.breadcrumbs ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.breadcrumbs li {
  display: inline;
}
.breadcrumbs li + li::before {
  content: "/";
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumbs a:hover {
  color: var(--white);
}
.breadcrumbs [aria-current] {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- legal documents ---------- */
.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 88px;
}
.toc-rail {
  position: sticky;
  top: 24px;
  align-self: start;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  font-size: 14px;
}
.toc-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 10px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc a {
  display: block;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
}
.toc a:hover {
  color: var(--red);
}
.toc-mobile {
  display: none;
}
.prose {
  max-width: 740px;
}
.prose h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  margin-top: 2.2em;
  padding-top: 0.2em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose .clause {
  display: flex;
  gap: 10px;
}
.prose .clause .n {
  flex: none;
  min-width: 2.6em;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}
.prose .clause > div > :last-child {
  margin-bottom: 0;
}
.prose .clause {
  margin-bottom: 1em;
}
.updated {
  color: var(--text-subtle);
  font-size: 15px;
}
.summary {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 30px 12px;
  margin-bottom: 44px;
}
.summary h2 {
  margin-top: 0;
  font-size: 1.4rem;
}
.summary li {
  font-size: 16px;
}
.address {
  font-style: normal;
}

/* ---------- booking steps ---------- */
.intro-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: var(--navy-2);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  margin: 0 0 40px;
  max-width: 760px;
}
.steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 820px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.steps h2 {
  font-size: 1.4rem;
  margin: 6px 0 8px;
}
.steps p {
  font-size: 16px;
}
.steps p:last-child {
  margin-bottom: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 12px;
  line-height: 1.2;
}
.site-footer h2.col-title {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 4px 0 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 10px;
}
.site-footer a {
  color: var(--white);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  color: var(--white);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 32px;
  }
  .toc-rail {
    display: none;
  }
  .toc-mobile {
    display: block;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px 18px;
  }
  .toc-mobile summary {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 600;
    color: var(--navy-2);
  }
  .toc-mobile ol {
    padding-bottom: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards-3,
  .points {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --pad: 16px;
  }
  body {
    font-size: 16px;
  }
  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding-top: 10px;
  }
  .brand-logo img {
    width: 80px;
    height: 42px;
  }
  .site-nav ul {
    justify-content: space-between;
    margin: 4px -10px 2px;
  }
  .site-nav a {
    padding: 10px;
    font-size: 15px;
  }
  .two-col,
  .cards {
    grid-template-columns: 1fr;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(0, 21, 40, 0.78) 0%, rgba(0, 21, 40, 0.86) 100%);
  }
  .steps li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }
  .summary {
    padding: 22px 20px 8px;
  }
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc-rail,
  .toc-mobile,
  .skip-link {
    display: none !important;
  }
  .page-hero {
    background: none;
    color: #000;
    padding: 0 0 16px;
  }
  .page-hero h1,
  .page-hero .lede {
    color: #000;
  }
  .breadcrumbs {
    display: none;
  }
  .legal {
    display: block;
    padding: 0;
  }
  body {
    font-size: 11pt;
  }
}
