:root {
  --ivory: #fff8f0;
  --ivory-deep: #f3e6d4;
  --champagne: #c9a87c;
  --champagne-bright: #e2c79a;
  --coral: #e8a090;
  --coral-soft: #f3c4b8;
  --pale-blue: #c5dce8;
  --sea: #7eb8d4;
  --sea-deep: #4a7f96;
  --sunlight: #ffe8c8;
  --nacre: rgba(255, 250, 242, 0.72);
  --ink: #243038;
  --ink-soft: #4a5862;
  --line: rgba(36, 48, 56, 0.12);
  --shadow: 0 18px 40px rgba(74, 127, 150, 0.12);
  --radius: 1.25rem;
  --font-display: "Sora", sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::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(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--sunlight), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, var(--pale-blue), transparent 50%),
    linear-gradient(180deg, var(--ivory) 0%, #f7efe4 40%, #eef5f8 100%);
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 240, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fffaf2 0%, var(--champagne-bright) 42%, var(--sea) 100%);
  box-shadow: 0 0 0 4px rgba(201, 168, 124, 0.18);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

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

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink-soft);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  background: var(--nacre);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-pearl {
  color: var(--ink);
  background:
    linear-gradient(145deg, #fffaf2 0%, var(--sunlight) 40%, var(--coral-soft) 78%, var(--champagne-bright) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    var(--shadow);
}

.btn-pearl::before,
.btn-pearl::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.btn-pearl:hover {
  transform: translateY(-2px);
}

.btn-pearl:hover::before {
  animation: pearl-ripple 1.1s ease-out;
}

.btn-pearl:hover::after {
  animation: pearl-ripple 1.1s ease-out 0.18s;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.45);
}

@keyframes pearl-ripple {
  0% {
    opacity: 0.7;
    width: 0.4rem;
    height: 0.4rem;
  }
  100% {
    opacity: 0;
    width: 4.5rem;
    height: 4.5rem;
  }
}

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

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-home {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: rise-in 1.1s ease both;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 48, 56, 0.15) 0%, rgba(36, 48, 56, 0.55) 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 232, 200, 0.35), transparent 40%);
}

.hero-home-copy {
  width: var(--shell);
  margin: 0 auto 4.5rem;
  color: #fffaf2;
  max-width: 36rem;
  animation: rise-in 0.9s ease 0.15s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-home-copy h1 {
  color: #fffaf2;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.hero-home-copy p {
  color: rgba(255, 250, 242, 0.9);
  font-size: 1.08rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
  animation: rise-in 0.7s ease both;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 0.7rem;
}

.section-head p {
  color: var(--ink-soft);
}

.nacre-panel {
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.9), rgba(197, 220, 232, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: calc(var(--radius) + 0.35rem);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.primary-offer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

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

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea-deep);
  margin: 0 0 0.55rem;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.offer-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.offer-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
}

.offer-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.offer-item a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.evidence {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

.evidence blockquote {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.evidence-meta {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.pearl-float {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #fffaf2, var(--champagne-bright) 45%, var(--sea) 100%);
  box-shadow: var(--shadow);
  animation: drift 5s ease-in-out infinite;
  margin-bottom: 1rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 0.75rem;
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  color: var(--ink-soft);
}

.media-hero {
  position: relative;
  border-radius: calc(var(--radius) + 0.5rem);
  overflow: hidden;
  min-height: 280px;
  margin-bottom: 2rem;
}

.media-hero img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.media-hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  color: #fffaf2;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.service-grid,
.blog-grid,
.activation-grid,
.team-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid,
.blog-grid,
.activation-grid {
  grid-template-columns: repeat(2, 1fr);
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.tile h2,
.tile h3 {
  margin: 0;
  font-size: 1.2rem;
}

.tile p {
  color: var(--ink-soft);
  margin: 0;
}

.tile-meta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--sea-deep);
}

.price-note {
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.feature-list li {
  margin-bottom: 0.35rem;
}

.prose {
  max-width: 42rem;
}

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

.prose ul {
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form,
.form-panel {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.85);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--sea);
  outline-offset: 1px;
}

.field-error {
  color: #9a3d32;
  font-size: 0.82rem;
  min-height: 1.1em;
}

.form-status {
  font-family: var(--font-display);
  font-size: 0.9rem;
  min-height: 1.3em;
}

.form-status[data-state="success"] {
  color: #2f6b4f;
}

.form-status[data-state="error"] {
  color: #9a3d32;
}

.island-error {
  color: #9a3d32;
  font-size: 0.85rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(197, 220, 232, 0.28));
}

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

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

.footer-tag,
.footer-grid p,
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

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

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem 0;
  background: rgba(255, 248, 240, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(74, 127, 150, 0.12);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 0.5rem;
}

.activation-detail {
  display: grid;
  gap: 0.5rem;
}

.activation-detail .outcome {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--sea-deep);
}

@media (max-width: 900px) {
  .primary-offer,
  .evidence,
  .split,
  .footer-grid,
  .service-grid,
  .blog-grid,
  .activation-grid,
  .team-grid,
  .offer-list {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .header-inner {
    position: relative;
  }
}

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