:root {
  --silver: #c5ccd6;
  --silver-bright: #e8eef5;
  --peach: #e8d5c4;
  --peach-deep: #d4a574;
  --gold: #c9a66b;
  --graphite: #2a2e35;
  --graphite-soft: #3d434d;
  --ink: #1a1d22;
  --mist: #f4f1ed;
  --horizon: linear-gradient(135deg, #f7ebe0 0%, #e8d5c4 28%, #c5ccd6 62%, #9aa3b0 100%);
  --mercury: linear-gradient(160deg, rgba(232, 238, 245, 0.9), rgba(197, 204, 214, 0.55), rgba(232, 213, 196, 0.75));
  --band: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), rgba(201, 166, 107, 0.35), transparent);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow: 0 18px 48px rgba(26, 29, 34, 0.12);
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --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);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(232, 213, 196, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(197, 204, 214, 0.45), transparent 50%),
    linear-gradient(180deg, #f7f5f2 0%, var(--mist) 40%, #ebe8e3 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--graphite-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 241, 237, 0.82);
  border-bottom: 1px solid rgba(197, 204, 214, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  letter-spacing: -0.02em;
  color: var(--graphite);
  text-decoration: none;
  max-width: 14rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--graphite-soft);
}

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

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--mercury);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  background: var(--silver-bright);
  border: 1px solid var(--silver);
  border-radius: var(--radius-sm);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

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

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

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

/* Buttons */
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
  color: var(--mist);
  background:
    linear-gradient(145deg, var(--graphite-soft), var(--graphite));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(42, 46, 53, 0.28);
}

.btn-primary:hover {
  transform: translateY(2px) scale(0.985);
  box-shadow:
    inset 0 6px 14px rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(42, 46, 53, 0.18);
}

.btn-primary:active {
  transform: translateY(3px) scale(0.97);
}

.btn-ghost {
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(197, 204, 214, 0.8);
}

.btn-ghost:hover {
  transform: translateY(2px) scale(0.985);
  background: rgba(232, 238, 245, 0.85);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full-bleed horizon composition */
.hero-horizon {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--mist);
}

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

.hero-horizon__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: horizonDrift 28s ease-in-out infinite alternate;
}

.hero-horizon__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 29, 34, 0.25) 0%, rgba(42, 46, 53, 0.35) 40%, rgba(26, 29, 34, 0.82) 100%),
    var(--band);
  background-size: auto, 200% 100%;
  animation: bandSweep 12s linear infinite;
  z-index: 1;
}

.hero-horizon__content {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  max-width: 38rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  animation: riseIn 0.9s ease both;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 32rem;
  margin: 0;
  color: rgba(244, 241, 237, 0.92);
  animation: riseIn 1s ease 0.12s both;
}

.hero-horizon .btn-row {
  animation: riseIn 1s ease 0.22s both;
}

@keyframes horizonDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, 1%, 0); }
}

@keyframes bandSweep {
  from { background-position: 0 0, -60% 0; }
  to { background-position: 0 0, 160% 0; }
}

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

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--graphite);
}

.section-head p {
  margin: 0;
  color: var(--graphite-soft);
}

.mercury-panel {
  background: var(--mercury);
  border: 1px solid rgba(197, 204, 214, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.mercury-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--band);
  background-size: 200% 100%;
  opacity: 0.35;
  pointer-events: none;
  animation: bandSweep 16s linear infinite;
}

.panel-pad {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.feature-split img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--graphite);
}

.feature-copy p {
  margin: 0 0 1rem;
  color: var(--graphite-soft);
}

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

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(197, 204, 214, 0.55);
}

.offer-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.offer-row img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.offer-meta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.offer-meta h3 a {
  text-decoration: none;
  color: var(--graphite);
}

.offer-meta p {
  margin: 0 0 0.75rem;
  color: var(--graphite-soft);
}

.offer-price {
  font-weight: 600;
  color: var(--peach-deep);
  font-size: 0.95rem;
}

.quote-band {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

.quote-attr {
  margin: 1rem 0 0;
  color: var(--graphite-soft);
  font-size: 0.95rem;
}

/* Services / blog grids — interaction containers only */
.listing-stack {
  display: grid;
  gap: 1.75rem;
}

.listing-item {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.listing-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.listing-item h2,
.listing-item h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.listing-item h2 a,
.listing-item h3 a {
  text-decoration: none;
  color: var(--graphite);
}

.meta-line {
  font-size: 0.88rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.page-hero {
  padding: clamp(3rem, 8vw, 4.5rem) 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: var(--graphite);
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--graphite-soft);
  font-size: 1.05rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--graphite-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

.cover-bleed {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 420px;
}

.cover-bleed img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.includes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.includes li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.4);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.process-steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--peach-deep);
  line-height: 1;
  padding-top: 0.2rem;
}

.process-step h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  color: var(--graphite);
}

.process-step p {
  margin: 0;
  color: var(--graphite-soft);
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--graphite);
}

.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 204, 214, 0.9);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

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

.field-error {
  color: #8a3b2a;
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(201, 166, 107, 0.25);
  color: var(--graphite);
}

.form-status.is-error {
  display: block;
  background: rgba(138, 59, 42, 0.12);
  color: #8a3b2a;
}

.island-error {
  color: #8a3b2a;
  text-align: center;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(42, 46, 53, 0.94);
  color: var(--mist);
  padding: 1rem 0 1.15rem;
  border-top: 1px solid rgba(197, 204, 214, 0.35);
  backdrop-filter: blur(10px);
}

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

.cookie-banner a {
  color: var(--peach);
}

.cookie-banner p {
  margin: 0;
  max-width: 48rem;
  font-size: 0.95rem;
}

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

.cookie-banner .btn-ghost {
  color: var(--mist);
  background: transparent;
  border-color: rgba(197, 204, 214, 0.45);
}

.cookie-banner .btn-primary {
  background: linear-gradient(145deg, var(--peach), var(--gold));
  color: var(--ink);
  box-shadow: none;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(197, 204, 214, 0.28));
  border-top: 1px solid rgba(197, 204, 214, 0.4);
}

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

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--graphite);
}

.footer-tag {
  margin: 0;
  color: var(--graphite-soft);
  max-width: 16rem;
}

.footer-label {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

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

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 204, 214, 0.45);
  font-size: 0.9rem;
  color: var(--graphite-soft);
}

.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.5rem);
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  color: var(--graphite);
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: var(--graphite-soft);
}

.about-portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.04em;
}

@media (max-width: 900px) {
  .feature-split,
  .offer-row,
  .listing-item,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(244, 241, 237, 0.97);
    border-bottom: 1px solid rgba(197, 204, 214, 0.5);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(197, 204, 214, 0.35);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }
}
