:root {
  --color-salt: #F7FAFB;
  --color-salt-deep: #E8F1F4;
  --color-atlantic: #0B3A5B;
  --color-atlantic-deep: #072A42;
  --color-teal: #5B9A9A;
  --color-teal-soft: #A8D0D0;
  --color-coral: #E07A5F;
  --color-coral-deep: #C45F46;
  --color-brass: #C4A35A;
  --color-brass-soft: #E6D5A8;
  --color-ink: #1A2B36;
  --color-muted: #5A6F7C;
  --color-paper: #FFFEFB;
  --color-error: #B33A3A;
  --color-success: #2F6B4F;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 40px rgba(11, 58, 91, 0.08);
  --shadow-lift: 0 18px 48px rgba(11, 58, 91, 0.14);
  --header-h: 4.5rem;
  --space: clamp(1rem, 2vw, 2rem);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(168, 208, 208, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(224, 122, 95, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-salt) 0%, var(--color-salt-deep) 48%, var(--color-salt) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--color-atlantic);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-coral-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-atlantic-deep);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--primary {
  background: var(--color-atlantic);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-coral);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-brass);
  color: var(--color-atlantic);
}

.btn--ghost:hover {
  background: rgba(224, 122, 95, 0.12);
  border-color: var(--color-coral);
  color: var(--color-coral-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(247, 250, 251, 0.72);
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-header__brand {
  grid-column: 2;
  justify-self: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--color-atlantic-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-align: center;
}

.site-header__toggle {
  grid-column: 1;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-brass);
  border-radius: 12px;
  background: rgba(255, 254, 251, 0.8);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.site-header__toggle-bar {
  width: 1.1rem;
  height: 2px;
  background: var(--color-atlantic);
  display: block;
}

.site-nav {
  grid-column: 1 / -1;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.65rem;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-coral-deep);
}

.site-nav__cta {
  display: inline-flex;
  margin-top: 0.25rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--color-atlantic);
  color: #fff !important;
  width: fit-content;
}

@media (min-width: 960px) {
  .site-header__toggle {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .site-header__brand {
    grid-column: 2;
  }

  .site-nav {
    grid-column: 3;
    justify-self: end;
  }

  .site-nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0;
  }

  .site-nav__cta {
    margin-top: 0;
  }
}

main {
  overflow-x: clip;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) var(--space);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.section__lead {
  max-width: 38rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vw, 4rem) var(--space) clamp(3rem, 7vw, 5rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 42, 66, 0.78) 0%, rgba(7, 42, 66, 0.45) 48%, rgba(7, 42, 66, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 42, 66, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  color: #fff;
}

.hero__eyebrow {
  font-family: var(--font-display);
  color: var(--color-brass-soft);
  margin-bottom: 0.75rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero__text {
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

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

.hero--split {
  min-height: auto;
  padding-top: clamp(3rem, 8vw, 5rem);
  align-items: stretch;
}

.hero--split .hero__layout {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero--split .hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 3rem;
  }
}

.hero--split .hero__copy h1 {
  color: var(--color-atlantic-deep);
  max-width: 12ch;
}

.hero--split .hero__copy p {
  color: var(--color-muted);
  max-width: 34rem;
}

.hero--split .hero__figure {
  position: relative;
}

.hero--split .hero__figure img {
  width: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-brass);
  box-shadow: var(--shadow-soft);
}

.hero--split .hero__figure::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1rem -1rem 15%;
  border-radius: var(--radius-card);
  border: 1px solid rgba(91, 154, 154, 0.45);
  z-index: -1;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-paper);
  border: 1px solid var(--color-brass);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.card__image {
  margin: -1.5rem -1.5rem 1.15rem;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__meta {
  color: var(--color-teal);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.card h3 {
  font-size: 1.35rem;
}

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

.card__link {
  font-weight: 600;
  text-decoration: none;
}

.band {
  background: rgba(255, 254, 251, 0.7);
  border-block: 1px solid rgba(196, 163, 90, 0.25);
}

.asymmetric {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .asymmetric {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .asymmetric--flip {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .asymmetric--flip .asymmetric__media {
    order: -1;
  }
}

.asymmetric__media img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-brass);
  box-shadow: var(--shadow-soft);
  min-height: 18rem;
  object-fit: cover;
}

.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote {
  background: var(--color-paper);
  border-left: 3px solid var(--color-brass);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-atlantic-deep);
}

.quote__meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) var(--space) 2rem;
}

.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  max-width: 16ch;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.detail-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .detail-layout {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}

.detail-panel {
  background: var(--color-paper);
  border: 1px solid var(--color-brass);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.detail-panel dt {
  font-family: var(--font-display);
  color: var(--color-teal);
  margin-top: 0.85rem;
}

.detail-panel dd {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(11, 58, 91, 0.2);
  border-radius: 14px;
  font: inherit;
  background: #fff;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 1px;
}

.field-error {
  color: var(--color-error);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-message {
  margin: 0.5rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-message.is-success {
  background: rgba(47, 107, 79, 0.12);
  color: var(--color-success);
}

.form-message.is-error {
  background: rgba(179, 58, 58, 0.12);
  color: var(--color-error);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-card {
  background: var(--color-paper);
  border: 1px solid var(--color-brass);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-brass);
  border-radius: var(--radius-card);
  background: var(--color-paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(11, 58, 91, 0.1);
  vertical-align: top;
}

th {
  font-family: var(--font-display);
  background: rgba(168, 208, 208, 0.25);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: var(--color-paper);
  border: 1px solid var(--color-brass);
  border-radius: var(--radius-card);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-atlantic);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.price-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(196, 163, 90, 0.35);
}

.price-row strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-atlantic-deep);
}

.site-footer {
  margin-top: 2rem;
  background: var(--color-atlantic-deep);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(3rem, 6vw, 4.5rem) var(--space) 2rem;
}

.site-footer a {
  color: var(--color-brass-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
  }
}

.site-footer__label {
  font-family: var(--font-display);
  color: var(--color-teal-soft);
  margin-bottom: 0.65rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.site-footer__text {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.newsletter-form {
  display: grid;
  gap: 0.65rem;
}

.newsletter-form input {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 163, 90, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.92rem;
}

.site-footer__legal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-banner__inner {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--color-paper);
  border: 1px solid var(--color-brass);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  margin: 0;
  color: var(--color-muted);
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--space);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-brass);
  color: var(--color-teal);
  font-size: 0.82rem;
  margin-right: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up,
  .stagger > *,
  .card,
  .btn,
  .hero__media img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
