:root {
  --pearl: #f2f6f8;
  --pearl-2: #e4ecf1;
  --moon: #c5d2dc;
  --cyan: #7eb8c9;
  --cyan-deep: #3d7a8c;
  --lavender: #b8a8c9;
  --navy: #14263a;
  --ink: #0f1c2a;
  --muted: #4d6170;
  --line: rgba(61, 122, 140, 0.22);
  --glass: rgba(242, 246, 248, 0.78);
  --shadow: 0 20px 48px rgba(15, 28, 42, 0.12);
  --display: "Outfit", "Segoe UI", sans-serif;
  --text: "Nunito", "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(184, 168, 201, 0.28), transparent 55%),
    radial-gradient(760px 420px at 96% 12%, rgba(126, 184, 201, 0.32), transparent 50%),
    linear-gradient(168deg, var(--pearl) 0%, var(--pearl-2) 46%, #d5e2e9 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 70% 78%, rgba(126, 184, 201, 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(--ink);
}

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

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

h2 {
  font-size: clamp(1.4rem, 2.7vw, 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(242, 246, 248, 0.94), rgba(242, 246, 248, 0.78));
  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.18rem;
  font-weight: 600;
  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.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

/* Unique hero: centered brand mirror over full-bleed plane */
.hero-mirror {
  position: relative;
  min-height: min(94vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

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

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

.hero-mirror__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 248, 251, 0.35), transparent 32%),
    radial-gradient(circle at 50% 88%, rgba(184, 168, 201, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(20, 38, 58, 0.55) 0%, rgba(20, 38, 58, 0.42) 45%, rgba(20, 38, 58, 0.72) 100%);
}

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

.brand-hero {
  font-family: var(--display);
  font-size: clamp(3.2rem, 10vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 1rem;
  color: #f5f9fb;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.4);
}

.hero-mirror__line {
  width: min(220px, 48%);
  height: 1px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(90deg, transparent, rgba(126, 184, 201, 0.9), rgba(184, 168, 201, 0.7), transparent);
  box-shadow: 0 0 18px rgba(126, 184, 201, 0.55);
  animation: line-glow 4.5s ease-in-out infinite alternate;
}

.hero-mirror h1 {
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 400;
  max-width: 28ch;
  margin: 0 auto 0.85rem;
  color: #eaf3f7;
}

.hero-mirror .lede {
  max-width: 40ch;
  margin: 0 auto 1.5rem;
  color: rgba(234, 243, 247, 0.88);
}

.section {
  padding: 3.5rem 0;
}

.section--glow {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(126, 184, 201, 0.1)),
    linear-gradient(145deg, rgba(184, 168, 201, 0.14), transparent);
  border-block: 1px solid var(--line);
}

.kicker {
  font-size: 0.75rem;
  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;
}

.meta--pad {
  margin-bottom: 1.1rem !important;
}

.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.75rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  color: #f4f9fb;
  background:
    linear-gradient(128deg, var(--navy), var(--cyan-deep) 48%, var(--cyan) 78%, var(--lavender));
  background-size: 190% 100%;
  box-shadow: 0 10px 26px rgba(61, 122, 140, 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(242, 246, 248, 0.55) 0%, rgba(126, 184, 201, 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 32px rgba(61, 122, 140, 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: 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.86);
}

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

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

.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.2rem 1.3rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(126, 184, 201, 0.16));
  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: 400;
  font-size: 1.12rem;
}

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

.prose {
  max-width: 68ch;
}

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

.hero-schedule {
  padding-top: 2.5rem;
}

.hero-schedule__img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin-top: 1.5rem;
  filter: saturate(0.8) brightness(0.95);
}

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

.schedule-row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.schedule-row .code {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cyan-deep);
  letter-spacing: -0.02em;
  margin: 0;
}

.schedule-row h2 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.35rem;
}

.schedule-row h2 a {
  text-decoration: none;
  color: inherit;
}

.cta-row {
  margin-top: 2rem;
}

.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.78);
  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, 184, 201, 0.18)),
    linear-gradient(145deg, #d8e4eb, #b7c8d4);
  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(242, 246, 248, 0.96), rgba(126, 184, 201, 0.32));
  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%, 0);
  }
}

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

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

@keyframes line-glow {
  from {
    opacity: 0.55;
    transform: scaleX(0.92);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@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,
  .schedule-row {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(242, 246, 248, 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-mirror__center {
    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;
  }
}
