:root {
  --ivory: #f7f1e8;
  --ivory-deep: #efe6d8;
  --champagne: #d4b896;
  --gold: #c9a86c;
  --coral: #e8a598;
  --coral-deep: #d8897a;
  --pale-blue: #b8d4e3;
  --sky-soft: #d7e8f0;
  --sunlight: #f5e6c8;
  --nacre: #fff9f2;
  --ink: #2a2a28;
  --ink-soft: #5a5650;
  --ink-faint: #8a847a;
  --line: rgba(42, 42, 40, 0.12);
  --shadow: 0 18px 40px rgba(80, 60, 40, 0.08);
  --radius: 20px;
  --font-display: "Archivo Narrow", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, var(--sunlight), transparent 58%),
    radial-gradient(900px 480px at 100% 0%, var(--sky-soft), transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, var(--nacre) 42%, var(--ivory-deep) 100%);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral-deep);
}

.shell {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 232, 0.84);
  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;
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, var(--champagne) 52%, var(--pale-blue));
  box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.28), 0 0 0 7px rgba(184, 212, 227, 0.16);
  animation: pearl-breathe 4.5s ease-in-out infinite;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

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

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

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

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

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

.btn:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-pearl {
  color: var(--ink);
  background: linear-gradient(145deg, #fff9f2 0%, var(--sunlight) 40%, var(--champagne) 100%);
  border-color: rgba(201, 168, 108, 0.45);
  box-shadow: var(--shadow);
}

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

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

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

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

.btn-coral {
  background: linear-gradient(145deg, #f3c4b8, var(--coral));
  border-color: rgba(216, 137, 122, 0.4);
  color: var(--ink);
}

/* Editorial home hero — stacked, brand-led, full-bleed image band */
.hero-editorial {
  padding: 3.5rem 0 0;
  animation: rise-in 0.7s ease both;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.hero-brand {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  max-width: 12ch;
  z-index: 1;
}

.hero-brand .pearl-float {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--champagne) 50%, var(--pale-blue));
  opacity: 0.55;
  animation: drift 8s ease-in-out infinite;
  z-index: -1;
}

.hero-brand .pearl-float.a {
  top: -0.4rem;
  right: -1.5rem;
  width: 48px;
  height: 48px;
}

.hero-brand .pearl-float.b {
  bottom: 0.2rem;
  left: 55%;
  width: 72px;
  height: 72px;
  animation-delay: -3s;
}

.hero-bleed {
  margin-top: 1.75rem;
  width: 100%;
  max-height: min(52vh, 520px);
  object-fit: cover;
  animation: float-in 0.9s ease both 0.12s;
}

.hero-after {
  padding: 2rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.hero-after p {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.section {
  padding: 4.5rem 0;
}

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

.section-head h2,
.page-hero h1,
.bleed-hero h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-head p,
.page-hero p,
.bleed-hero p {
  color: var(--ink-soft);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.75rem;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.primary-offer img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.offer-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--gold));
}

.service-rail {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  text-decoration: none;
  background: rgba(255, 249, 242, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.service-row img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.service-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-row .meta {
  color: var(--ink-faint);
  font-size: 0.9rem;
  white-space: nowrap;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote-item {
  margin: 0;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 249, 242, 0.9), rgba(215, 232, 240, 0.35));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote-item blockquote {
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.quote-item footer {
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.cta-band {
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(500px 200px at 10% 0%, rgba(245, 230, 200, 0.8), transparent 60%),
    radial-gradient(400px 180px at 100% 100%, rgba(184, 212, 227, 0.45), transparent 55%),
    rgba(255, 249, 242, 0.75);
  border: 1px solid var(--line);
}

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

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  max-width: 18ch;
}

.bleed-hero {
  position: relative;
  padding-bottom: 2rem;
}

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

.bleed-hero .shell {
  margin-top: -3.5rem;
  position: relative;
  padding: 2rem;
  background: rgba(255, 249, 242, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bleed-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.service-grid,
.blog-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tile {
  display: block;
  text-decoration: none;
  background: rgba(255, 249, 242, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tile-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.tile-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.tile-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price-tile {
  padding: 1.75rem;
  background: rgba(255, 249, 242, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-tile h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.price-tile .amount {
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0.75rem 0;
}

.price-tile ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.detail-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.detail-layout,
.contact-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
}

.detail-aside,
.contact-aside {
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 249, 242, 0.95), rgba(215, 232, 240, 0.4));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: fit-content;
}

.detail-aside dl {
  margin: 0;
}

.detail-aside dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1rem;
}

.detail-aside dt:first-child {
  margin-top: 0;
}

.detail-aside dd {
  margin: 0.25rem 0 0;
  font-weight: 600;
}

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

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

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--nacre);
  font: inherit;
  color: var(--ink);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--coral-deep);
}

.field-error {
  min-height: 1.1em;
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--coral-deep);
}

.form-field:not(.is-invalid) .field-error {
  visibility: hidden;
}

.form-status {
  min-height: 1.4em;
  font-weight: 600;
}

.form-status.is-success {
  color: #3d6b4f;
}

.form-status.is-error {
  color: var(--coral-deep);
}

.blog-meta {
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.readout-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 249, 242, 0.55);
  border-radius: var(--radius);
  overflow: hidden;
}

.readout-table th,
.readout-table td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.readout-table th {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: rgba(215, 232, 240, 0.35);
}

.readout-mobile {
  display: none;
  gap: 1rem;
}

.framework {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 249, 242, 0.65);
}

.framework h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

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

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.team-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.25rem;
}

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

.legal-wrap {
  padding: 0 0 4rem;
}

.error-page {
  padding: 6rem 0;
  text-align: center;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(239, 230, 216, 0.45);
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.footer-tagline,
.footer-contact {
  color: var(--ink-soft);
}

.footer-heading {
  font-weight: 700;
  margin: 0 0 0.75rem;
}

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

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

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 249, 242, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(80, 60, 40, 0.08);
  padding: 1rem 0;
}

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

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.cookie-error {
  flex-basis: 100%;
  color: var(--coral-deep);
  margin: 0;
  font-size: 0.9rem;
}

@keyframes pearl-ripple {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(14); opacity: 0; }
}

@keyframes pearl-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.25), 0 0 0 7px rgba(184, 212, 227, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(212, 184, 150, 0.32), 0 0 0 12px rgba(184, 212, 227, 0.12); }
}

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

@keyframes float-in {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(247, 241, 232, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

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

  .header-cta { width: fit-content; }

  .hero-after,
  .primary-offer,
  .quote-grid,
  .service-grid,
  .blog-grid,
  .price-grid,
  .detail-layout,
  .contact-split,
  .footer-grid,
  .team-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .hero-actions { justify-content: flex-start; }

  .service-row .meta { justify-self: start; }

  .readout-table { display: none; }
  .readout-mobile { display: grid; }
}

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