:root {
  --pearl: #f3f6fa;
  --pearl-2: #e4ebf2;
  --silver: #c5d0dc;
  --cyan: #7ec8d9;
  --cyan-deep: #3a8fa0;
  --lavender: #b8a9d4;
  --navy: #152238;
  --ink: #101a2a;
  --muted: #4a5a6d;
  --line: rgba(21, 34, 56, 0.16);
  --glass: rgba(243, 246, 250, 0.78);
  --shadow: 0 20px 48px rgba(16, 26, 42, 0.14);
  --display: "Syne", "Avenir Next", sans-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;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.01em;
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(126, 200, 217, 0.35), transparent 55%),
    radial-gradient(700px 420px at 96% 12%, rgba(184, 169, 212, 0.28), transparent 50%),
    linear-gradient(168deg, var(--pearl) 0%, var(--pearl-2) 46%, #d0dbe8 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.45) 50%, transparent 62%),
    radial-gradient(circle at 72% 78%, rgba(126, 200, 217, 0.12), transparent 40%);
  animation: tide-sheen 22s 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(--cyan-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin: 0.15em 0 0.45em;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
}

.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: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.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.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.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.92rem;
  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: full-bleed tide plane, brand as dominant centered mark */
.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: -1;
}

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

.hero-tide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.32), transparent 28%),
    radial-gradient(circle at 18% 70%, rgba(184, 169, 212, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(16, 26, 42, 0.45) 0%, rgba(21, 34, 56, 0.35) 38%, rgba(16, 26, 42, 0.78) 100%);
}

.hero-tide__copy {
  width: min(100%, 920px);
  padding: 5.5rem 1.5rem 3.6rem;
  animation: rise-in 1.05s ease-out both;
}

.hero-tide__copy .brand-hero {
  font-family: var(--display);
  font-size: clamp(2.8rem, 10vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  margin: 0 auto 1.35rem;
  max-width: 14ch;
  color: #f7fbfe;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-tide__copy h1 {
  font-family: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 36ch;
  margin: 0 auto 0.85rem;
  color: #e6f2f7;
}

.hero-tide__copy .lede {
  max-width: 40ch;
  margin: 0 auto 1.5rem;
  color: rgba(243, 246, 250, 0.86);
}

.section {
  padding: 3.5rem 0;
}

.section--panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(126, 200, 217, 0.12)),
    linear-gradient(145deg, rgba(184, 169, 212, 0.16), transparent);
  border-block: 1px solid var(--line);
}

.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  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.04em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  color: #f4f9fc;
  background:
    linear-gradient(125deg, var(--navy), #1e3a52 40%, var(--cyan-deep) 72%, var(--cyan));
  background-size: 190% 100%;
  box-shadow: 0 12px 28px rgba(58, 143, 160, 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(243, 246, 250, 0.6) 0%, rgba(126, 200, 217, 0.22) 40%, 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 16px 34px rgba(58, 143, 160, 0.36);
}

.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: 0.95fr 1.05fr;
  gap: 1.8rem;
  align-items: center;
}

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

.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.85);
}

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

.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(184, 169, 212, 0.14));
  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: normal;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.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.2rem;
}

.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.85);
}

.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.2rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cyan-deep);
  letter-spacing: -0.03em;
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  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;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(126, 200, 217, 0.18)),
    linear-gradient(145deg, #d5e0ea, #b8c5d4);
  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.76rem;
  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(243, 246, 250, 0.96), rgba(184, 169, 212, 0.28));
  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);
}

.process-hero-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  filter: saturate(0.85);
}

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

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  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(243, 246, 250, 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.2rem 1.25rem 2.8rem;
  }

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

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