:root {
  --ivory: #f8f1e6;
  --ivory-deep: #efe3d0;
  --champagne: #e0c48a;
  --gold: #c9a45a;
  --coral: #e6a090;
  --coral-deep: #c97868;
  --pale-blue: #c8dde8;
  --sea: #9bbfd0;
  --sunlight: #fff4d8;
  --ink: #2f2b26;
  --ink-soft: #5a534a;
  --ink-muted: #787065;
  --pearl: #fffaf3;
  --nacre: linear-gradient(145deg, #fffaf3 0%, #f4e6d2 42%, #e8c9a8 72%, #d7ecf3 100%);
  --sunrise: linear-gradient(180deg, #fff8ea 0%, #f6e6d0 40%, #ecd5c2 70%, #d6e7ef 100%);
  --ripple: rgba(224, 196, 138, 0.45);
  --line: rgba(201, 164, 90, 0.3);
  --font-display: "Commissioner", "Avenir Next", sans-serif;
  --font-body: "Figtree", "Avenir Next", sans-serif;
  --radius: 0.4rem;
  --shadow-soft: 0 18px 40px rgba(90, 70, 40, 0.08);
  --shell: min(1100px, 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: var(--sunrise);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--coral-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);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

p {
  margin: 0 0 1rem;
}

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

.shell.narrow {
  max-width: 42rem;
}

.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(12px);
  background: rgba(248, 241, 230, 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;
  position: relative;
}

.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 30% 28%, #fffaf0 0%, #f0d9a8 45%, #e8a090 100%);
  box-shadow: 0 0 0 4px rgba(255, 250, 240, 0.55), 0 6px 16px rgba(201, 164, 90, 0.25);
  animation: pearl-float 5s ease-in-out infinite;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

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

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--nacre);
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 14px rgba(201, 164, 90, 0.2);
}

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

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

.nav-error {
  color: var(--coral-deep);
  font-size: 0.85rem;
  margin: 0;
}

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

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

.btn-pearl {
  color: var(--ink);
  background: linear-gradient(160deg, #fffaf3, #f0d5a8 55%, #e9b39f);
  box-shadow: 0 8px 24px rgba(201, 164, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-pearl::before,
.btn-pearl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 var(--ripple);
  opacity: 0;
}

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

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

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(255, 250, 243, 0.55);
  border: 1px solid rgba(224, 196, 138, 0.55);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  overflow: hidden;
  color: var(--ink);
}

.hero-centered {
  align-items: center;
  justify-items: center;
  text-align: center;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(1.02);
  animation: soft-zoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.35) 0%, rgba(58, 50, 40, 0.28) 45%, rgba(47, 43, 38, 0.55) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(255, 244, 216, 0.4), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) 0;
  max-width: 40rem;
  color: var(--pearl);
  animation: rise-in 0.95s ease-out both;
}

.hero-content .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
  color: #fffaf3;
  text-shadow: 0 10px 36px rgba(47, 43, 38, 0.28);
  line-height: 1;
}

.hero-content h1 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 400;
  color: #fff6e8;
  margin: 0 auto 0.9rem;
  max-width: 30rem;
}

.hero-content .lede {
  color: rgba(255, 250, 243, 0.92);
  font-size: 1.05rem;
  max-width: 30rem;
  margin-inline: auto;
}

.hero-centered .btn-row {
  justify-content: center;
}

.hero .btn-pearl {
  box-shadow: 0 10px 28px rgba(47, 43, 38, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

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

.section-soft {
  background: rgba(255, 250, 243, 0.35);
}

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

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

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

.split-media img,
.article-cover img {
  width: 100%;
  min-height: 18rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

.offer-list li {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.offer-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.offer-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

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

.offer-list a {
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

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

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

.evidence blockquote {
  margin: 0;
  padding: 1.4rem 1.35rem;
  background: rgba(255, 250, 243, 0.7);
  border-left: 3px solid var(--champagne);
  animation: rise-in 0.8s ease-out both;
}

.evidence blockquote:nth-child(2) { animation-delay: 0.08s; }
.evidence blockquote:nth-child(3) { animation-delay: 0.16s; }

.evidence p {
  margin: 0 0 0.75rem;
}

.evidence cite {
  font-style: normal;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.cta-band {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--nacre);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  margin-top: 0;
}

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

.page-hero h1 {
  margin: 0 0 0.75rem;
}

.page-hero .lede {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.page-hero-media .page-hero-image {
  margin-top: 2rem;
  width: 100%;
  overflow: hidden;
}

.page-hero-media .page-hero-image img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  animation: soft-zoom 16s ease-in-out infinite alternate;
}

.eyebrow {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

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

.muted,
.price-note,
.tile-meta {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

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

.prose li {
  margin-bottom: 0.45rem;
}

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

.service-tile,
.blog-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 250, 243, 0.62);
  border: 1px solid rgba(224, 196, 138, 0.3);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-tile:hover,
.blog-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.service-tile img,
.blog-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tile-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.service-tile h2,
.blog-tile h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.service-tile p,
.blog-tile p {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
}

.path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: none;
}

.path-steps li {
  padding: 1.5rem 1.6rem;
  background: rgba(255, 250, 243, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.path-steps h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

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

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(201, 164, 90, 0.45);
  outline-offset: 1px;
}

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

.form-status {
  margin: 0.75rem 0 0;
  min-height: 1.25em;
}

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

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

.contact-aside {
  padding: 1.5rem;
  background: rgba(255, 250, 243, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-self: start;
}

.contact-aside h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.afterword {
  margin-top: 2.5rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: rgba(47, 43, 38, 0.92);
  color: rgba(255, 250, 243, 0.88);
}

.site-footer a {
  color: var(--champagne);
}

.site-footer a:hover {
  color: #fffaf3;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fffaf3;
  margin-bottom: 0.4rem;
}

.footer-label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fffaf3;
  margin-bottom: 0.55rem;
}

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

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(224, 196, 138, 0.25);
  font-size: 0.9rem;
  color: rgba(255, 250, 243, 0.65);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(255, 250, 243, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(90, 70, 40, 0.1);
}

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

.cookie-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.cookie-copy p {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
}

@keyframes pearl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes pearl-ripple {
  0% {
    opacity: 0.55;
    box-shadow: 0 0 0 0 var(--ripple);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 18px transparent;
  }
}

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

@keyframes soft-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

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

  .nav-toggle {
    display: flex;
  }

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

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(224, 196, 138, 0.25);
  }

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

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

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