:root {
  --bg: #111b27;
  --bg-deep: #0c141d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-soft: rgba(255, 255, 255, 0.025);
  --hero-panel: rgba(14, 24, 35, 0.76);
  --line: rgba(214, 224, 231, 0.12);
  --line-strong: rgba(214, 224, 231, 0.2);
  --text: #edf1f4;
  --text-dim: rgba(229, 236, 240, 0.72);
  --text-soft: rgba(229, 236, 240, 0.66);
  --mint: #b6cbd3;
  --button-bg: rgba(244, 239, 233, 0.96);
  --button-text: #111b27;
  --focus-ring: rgba(244, 239, 233, 0.92);
  --footer-bg: rgba(10, 17, 26, 0.92);
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.2);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.14);
  --radius-xl: 32px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top left, rgba(182, 203, 211, 0.12), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(200, 174, 147, 0.09), transparent 26%),
    linear-gradient(180deg, #182534 0%, var(--bg) 40%, var(--bg-deep) 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(182, 203, 211, 0.12), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(200, 174, 147, 0.09), transparent 26%),
    linear-gradient(180deg, #182534 0%, var(--bg) 40%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.landing-shell {
  position: relative;
  overflow: clip;
}

.site-header,
.hero,
.feature-band,
.service-strip,
.contact-panel {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 0 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-lockup__mark,
.cta__brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.brand-lockup__name,
.cta__brand span {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 26, 37, 0.58);
}

.site-nav a,
.button {
  transition:
    transform 180ms ease-out,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.72rem 0.96rem;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.82rem 1.18rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.site-nav a:focus-visible,
.brand-lockup:focus-visible,
.button:focus-visible,
.contact-meta a:focus-visible,
.footer-contact a:focus-visible,
.footer-col a:focus-visible,
.footer-legal a:focus-visible,
.footer-logo:focus-visible,
.footer-social a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 0.88fr);
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero__copy {
  display: grid;
  justify-items: start;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(237, 241, 244, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.service-panel h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero h1 {
  max-width: 10.8ch;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1;
}

.hero__lede,
.feature-band p,
.workflow-step p,
.service-panel p,
.contact-panel p,
.hero-card span,
.service-note span {
  color: var(--text-dim);
  line-height: 1.75;
}

.hero__lede {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  font-size: 1rem;
}

.hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.45rem;
}

.button--hero-primary,
.button--hero-secondary {
  min-height: 45px;
  font-size: 0.96rem;
}

.button--hero-primary {
  padding-inline: 1.18rem;
  border-color: rgba(255, 255, 255, 0.38);
  background: linear-gradient(180deg, #f5f1e9 0%, #e7dfd1 100%);
  color: #132033;
  box-shadow: 0 10px 20px rgba(3, 10, 23, 0.18);
}

.button--hero-primary:hover {
  box-shadow: 0 14px 26px rgba(3, 10, 23, 0.22);
}

.button--hero-secondary {
  padding-inline: 1.04rem;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 2rem 0 0;
}

.hero__stats div,
.workflow-step,
.service-note,
.contact-panel__inner {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: none;
}

.hero__stats div {
  padding: 1rem 1.05rem;
  border-radius: 22px;
}

.hero__stats dt {
  margin-bottom: 0.45rem;
  font-weight: 800;
  font-size: 0.98rem;
}

.hero__stats dd {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.6;
}

.hero__visual {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.15rem;
  min-height: 24rem;
}

.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(23rem, 84%);
  aspect-ratio: 1;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 32% 28%, rgba(182, 203, 211, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--hero-panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.hero-figure img {
  width: min(12rem, 54%);
  height: auto;
  object-fit: contain;
}

.hero-note {
  max-width: 18rem;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
}

.hero-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.96rem;
  line-height: 1.35;
}

.hero-note span {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.6;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  padding: 2.4rem 0 3.8rem;
}

.feature-band__header {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.45rem;
  max-width: 34rem;
  margin-bottom: 0.75rem;
}

.feature-band__header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.7vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.feature-band__header p {
  margin: 0;
  font-size: 0.98rem;
}

.feature-band article {
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}

.feature-band h3,
.workflow-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.15;
}

.feature-band article p {
  margin: 0;
  font-size: 0.94rem;
}

.contact-panel h2,
.feature-band__header h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.contact-panel h2,
.contact-panel h2 {
  font-size: clamp(2rem, 3.4vw, 3.05rem);
}

.service-strip {
  padding: 1.6rem 0 3.1rem;
}

.service-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.service-strip__grid div {
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line-strong);
}

.service-strip__grid strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.service-strip__grid span {
  display: block;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact-panel {
  padding: 1.8rem 0 3.4rem;
}

.contact-panel__inner {
  padding: 2.5rem 2.3rem;
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.cta__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.contact-panel p {
  max-width: 36rem;
  margin: 1rem auto 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-actions .button {
  min-width: 10.5rem;
}

.contact-meta {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.contact-meta a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .hero,
  .service-strip__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 26rem;
  }

  .feature-band,
  .service-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 1rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 3.1rem;
  }

  .hero__stats,
  .feature-band,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 23rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .site-header,
  .hero,
  .feature-band,
  .service-strip,
  .contact-panel,
  .legal-page {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .brand-lockup__mark,
  .cta__brand img {
    width: 3rem;
    height: 3rem;
  }

  .brand-lockup__name,
  .cta__brand span {
    font-size: 1rem;
  }

  .site-nav {
    gap: 0.2rem;
    padding: 0.28rem;
  }

  .site-nav a,
  .button {
    font-size: 0.92rem;
  }

  .hero__actions {
    gap: 0.55rem;
    margin-top: 1.3rem;
  }

  .button--hero-primary,
  .button--hero-secondary {
    min-height: 44px;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .feature-band,
  .service-strip__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  .contact-panel__inner {
    padding: 1.55rem 1rem;
  }

  .contact-meta {
    font-size: 0.9rem;
  }
}

/* ── Legal pages ── */

.legal-page {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.legal-page h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.legal-updated {
  margin: 0.8rem 0 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.legal-body {
  max-width: 48rem;
  margin-top: 2.5rem;
}

.legal-body h2 {
  margin: 2.5rem 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal-body h3 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1rem;
  font-weight: 700;
}

.legal-body p {
  margin: 0 0 0.85rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.legal-body li {
  margin-bottom: 0.45rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-body a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.legal-body a:hover {
  color: var(--text);
}

/* ── Footer ── */

.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}

.site-footer__inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  height: 2.2rem;
  width: auto;
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-tagline {
  margin: 0;
  max-width: 30rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 180ms ease;
}

.footer-contact a:hover {
  color: var(--mint);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.footer-social a:hover {
  color: var(--mint);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(233, 240, 238, 0.46);
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.18rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--text);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-soft);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-dim);
  transition: color 180ms ease;
}

.footer-legal a:hover {
  color: var(--text-dim);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 780px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 540px) {
  .site-footer__inner {
    width: min(calc(100% - 1.2rem), var(--max));
    padding: 2.5rem 0 1.5rem;
  }

  .site-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
