:root {
  --pearl: #f4f7fb;
  --pearl-2: #e8eef6;
  --moon-silver: #c5cdd8;
  --cyan: #8ec9d8;
  --cyan-soft: #b7dde8;
  --lavender: #c8bfd8;
  --navy: #0f1c33;
  --navy-mid: #1a2b4a;
  --ink: #152238;
  --muted: #4d5d73;
  --line: rgba(26, 43, 74, 0.18);
  --glass: rgba(244, 247, 251, 0.78);
  --shadow: 0 18px 44px rgba(15, 28, 51, 0.12);
  --display: "Fraunces", "Palatino Linotype", serif;
  --text: "Outfit", "Segoe UI", sans-serif;
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0.01em;
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(200, 191, 216, 0.45), transparent 58%),
    radial-gradient(760px 420px at 100% 12%, rgba(142, 201, 216, 0.38), transparent 52%),
    linear-gradient(168deg, var(--pearl) 0%, var(--pearl-2) 46%, #d5e0ec 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(132deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%),
    radial-gradient(circle at 74% 78%, rgba(142, 201, 216, 0.14), transparent 40%);
  animation: tide-sheen 26s ease-in-out infinite alternate;
}

main,
.site-header,
.site-footer,
.cookie {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

h1,
h2,
h3,
.brand {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.05rem, 4.8vw, 3.35rem);
  margin: 0.15em 0 0.45em;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--pearl);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.96), rgba(244, 247, 251, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  text-decoration: none;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.45rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--navy);
}

.site-nav ul {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
}

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

/* Distinct hero: centered tide plane, brand as dominant moonlit signal */
.hero-tide {
  position: relative;
  min-height: min(94vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero-tide__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-tide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.05) brightness(0.78);
  animation: moon-drift 28s ease-in-out infinite alternate;
}

.hero-tide__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.35), transparent 28%),
    radial-gradient(circle at 72% 30%, rgba(200, 191, 216, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(15, 28, 51, 0.55) 0%, rgba(15, 28, 51, 0.42) 42%, rgba(15, 28, 51, 0.78) 100%);
}

.hero-tide__copy {
  padding: 6rem 1.5rem 3.6rem;
  animation: rise-in 1.05s ease-out both;
}

.hero-tide__copy .brand-hero {
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.88;
  margin: 0 auto 1.35rem;
  max-width: 12ch;
  color: #f7fbff;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.hero-tide__copy h1 {
  font-family: var(--text);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 34ch;
  margin: 0 auto 0.9rem;
  color: #e8f1f8;
}

.hero-tide__copy .lede {
  max-width: 44ch;
  margin: 0 auto 1.5rem;
  color: rgba(244, 247, 251, 0.88);
}

.section {
  padding: 3.5rem 0;
}

.section--panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(142, 201, 216, 0.12)),
    linear-gradient(145deg, rgba(200, 191, 216, 0.22), transparent);
  border-block: 1px solid var(--line);
}

.kicker {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.78rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  color: #f7fbff;
  background:
    linear-gradient(125deg, var(--navy), var(--navy-mid) 40%, #3a6f86 72%, var(--cyan));
  background-size: 190% 100%;
  box-shadow: 0 10px 26px rgba(15, 28, 51, 0.28);
  transition: transform 0.25s ease, box-shadow 0.35s ease, background-position 0.4s ease;
}

.moon-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(244, 247, 251, 0.6) 0%, rgba(142, 201, 216, 0.22) 42%, transparent 68%);
  animation: moon-ring-fade 0.7s ease-out forwards;
}

.btn:hover {
  color: #fff;
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 28, 51, 0.34);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.primary-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: center;
}

.primary-band img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.82);
  box-shadow: var(--shadow);
}

.offer-list {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.offer-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.offer-row img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.86);
}

.offer-row h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.32rem;
}

.offer-row h3 a {
  text-decoration: none;
  color: inherit;
}

.quote-stack {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.quote {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(183, 221, 232, 0.28));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.quote p {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.post-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.media-tile {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-tile > *:not(img) {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}

.media-tile h3 {
  margin: 0.35rem 1.1rem 0.45rem;
  font-size: 1.22rem;
}

.media-tile h3 a {
  text-decoration: none;
  color: inherit;
}

.media-tile p {
  margin: 0 1.1rem 1.2rem;
  color: var(--muted);
}

.media-tile .meta {
  margin-top: 0.9rem;
}

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

.page-hero p {
  max-width: 58ch;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: start;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  min-height: 280px;
  filter: saturate(0.86);
}

.prose {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 0.9rem;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  color: #5a8fa3;
  letter-spacing: -0.03em;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--text);
  font-weight: 400;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: #8a3a3a;
  font-size: 0.85rem;
  min-height: 1.1em;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--text);
  font-weight: 400;
}

.form-status {
  margin: 0.5rem 0 0;
  color: #8a3a3a;
}

.form-status.is-ok {
  color: #2f6b4f;
}

.legal {
  padding-bottom: 3rem;
}

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

.legal ul {
  padding-left: 1.15rem;
}

.legal code {
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(142, 201, 216, 0.2)),
    linear-gradient(145deg, #d9e3ee, #b8c6d6);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 1.5rem;
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer__base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

.cookie__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  background:
    linear-gradient(145deg, rgba(244, 247, 251, 0.96), rgba(200, 191, 216, 0.35));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.not-found {
  min-height: 55vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.place-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

.place-panel img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

@keyframes moon-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(1.1%, -1%, 0);
  }
}

@keyframes tide-sheen {
  from {
    opacity: 0.28;
  }
  to {
    opacity: 0.48;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moon-ring-fade {
  from {
    opacity: 0.85;
    transform: scale(0.35);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .offer-row,
  .split,
  .post-grid,
  .service-grid,
  .site-footer__grid,
  .place-panel,
  .primary-band {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(244, 247, 251, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1rem;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-tide__copy {
    padding: 4.5rem 1.25rem 2.8rem;
  }

  .offer-row img {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
