/* Lilywood Social — one-page site
   Colors, type, and voice from Brand Guide v1.1 */

:root {
  --lw-umber: #3A2A22;
  --lw-parchment: #F4EDE3;
  --lw-blush: #C97A7A;
  --lw-moss: #5C6B4E;
  --lw-brass: #C4A574;
  --lw-card: #efe6d9;
  --lw-serif: "Fraunces", Georgia, serif;
  --lw-sans: "Figtree", system-ui, Helvetica Neue, Arial, sans-serif;
  --wrap: 70rem;
  --narrow: 42rem;
  --header-h: 4.5rem;
  --space: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  background: var(--lw-parchment);
  color: var(--lw-umber);
  font-family: var(--lw-sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--lw-umber);
  text-decoration-color: var(--lw-brass);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--lw-blush);
}

:focus-visible {
  outline: 2px solid var(--lw-blush);
  outline-offset: 3px;
}

::selection {
  background: var(--lw-umber);
  color: var(--lw-parchment);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--lw-umber);
  color: var(--lw-parchment);
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Layout */
.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(var(--narrow), calc(100% - 2.5rem));
}

/* Buttons — umber fill, parchment type (11.8:1). Blush is reserved
   for marks, rules, and hover/focus; it is not body-text-safe on parchment. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--lw-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.8rem 1.25rem;
  min-height: 2.75rem;
  background: var(--lw-umber);
  color: var(--lw-parchment);
  border: 2px solid var(--lw-umber);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: color-mix(in srgb, var(--lw-umber) 88%, var(--lw-blush));
  border-color: color-mix(in srgb, var(--lw-umber) 88%, var(--lw-blush));
  color: var(--lw-parchment);
  text-decoration: none;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 0.95rem 1.6rem;
  min-height: 3.15rem;
}

.btn-on-dark {
  background: var(--lw-parchment);
  color: var(--lw-umber);
  border-color: var(--lw-parchment);
}

.btn-on-dark:hover {
  background: color-mix(in srgb, var(--lw-parchment) 88%, var(--lw-blush));
  border-color: color-mix(in srgb, var(--lw-parchment) 88%, var(--lw-blush));
  color: var(--lw-umber);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lw-parchment);
  border-bottom: 1px solid color-mix(in srgb, var(--lw-brass) 50%, var(--lw-parchment));
}

.header-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding-block: 0.45rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: cover;
}

.site-nav-desktop {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.header-cta {
  margin-left: 0;
}

.nav-details {
  display: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  display: inline-block;
  color: var(--lw-umber);
}

.site-nav a:hover {
  color: color-mix(in srgb, var(--lw-umber) 70%, var(--lw-blush));
  text-decoration: underline;
  text-decoration-color: var(--lw-blush);
}

.menu-toggle {
  display: none;
  list-style: none;
  cursor: pointer;
  background: none;
  border: 0;
  font-family: var(--lw-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lw-umber);
  padding: 0.45rem 0.15rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.menu-toggle::-webkit-details-marker,
.menu-toggle::marker {
  display: none;
  content: "";
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.2rem;
  height: 0.75rem;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--lw-umber);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-details[open] .burger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-details[open] .burger span:nth-child(2) {
  opacity: 0;
}

.nav-details[open] .burger span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 1.25rem 5rem;
  min-height: calc(100svh - var(--header-h));
  justify-content: center;
}

.hero-mark {
  width: 8.5rem;
  height: 8.5rem;
  object-fit: cover;
  margin-bottom: 0.35rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wm-lilywood {
  font-family: var(--lw-serif);
  font-weight: 700;
  font-optical-sizing: auto;
  font-size: clamp(3.6rem, 11vw, 7.15rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--lw-umber);
}

.wm-social {
  display: block;
  font-family: var(--lw-sans);
  font-weight: 600;
  font-size: clamp(0.8rem, 1.55vw, 1.05rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lw-moss);
  margin-top: 0.95rem;
}

.petal-rule {
  position: relative;
  width: 6.5rem;
  height: 0.7rem;
  margin: 1.15rem auto 1.45rem;
}

.petal-rule::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid var(--lw-brass);
}

.petal-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lw-blush);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-lede {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 2rem;
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1rem;
}

/* Sections */
.section {
  padding: 5rem 0 5.25rem;
}

.section + .section,
.section-for,
.section-services,
.section-how,
.section-about {
  border-top: 1px solid color-mix(in srgb, var(--lw-brass) 45%, var(--lw-parchment));
}

.slabel {
  font-family: var(--lw-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lw-moss);
  margin-bottom: 0.85rem;
}

.slabel-brass {
  color: var(--lw-brass);
}

h2 {
  font-family: var(--lw-serif);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

h3 {
  font-family: var(--lw-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.lead {
  font-size: 1.15rem;
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.spine {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.45;
}

.platform-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0;
  margin-top: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lw-moss);
}

.platform-list li:not(:last-child)::after {
  content: "·";
  margin: 0 0.7rem;
  color: var(--lw-brass);
  letter-spacing: 0;
  font-weight: 400;
}

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.who-card {
  background: var(--lw-card);
  padding: 1.5rem 1.4rem 1.6rem;
  border-top: 2px solid var(--lw-moss);
}

.who-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
}

.who-card p {
  font-size: 1rem;
  line-height: 1.55;
}

.not-fit {
  margin-top: 1.75rem;
  font-size: 1rem;
  color: var(--lw-umber);
  max-width: 46rem;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.plan {
  background: var(--lw-card);
  padding: 1.6rem 1.4rem 1.7rem;
  border-top: 2px solid var(--lw-moss);
  display: flex;
  flex-direction: column;
}

.plan-core {
  border-top-color: var(--lw-blush);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-brass) 65%, transparent);
}

.plan-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lw-moss);
  margin-bottom: 0.35rem;
}

.plan h3 {
  font-size: 1.7rem;
  margin-bottom: 0.55rem;
}

.plan-price,
.circle-price,
.audit-price {
  font-family: var(--lw-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price {
  font-size: 2.45rem;
  margin-bottom: 1.25rem;
}

.plan-price span,
.circle-price span {
  display: block;
  font-family: var(--lw-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  margin-top: 0.4rem;
  line-height: 1.2;
}

.audit-price span {
  display: inline;
  font-family: var(--lw-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  margin-left: 0.35rem;
}

.plan ul {
  list-style: none;
  font-size: 0.98rem;
  line-height: 1.45;
}

.plan li + li {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid color-mix(in srgb, var(--lw-umber) 10%, transparent);
}

.plan-note {
  margin-top: auto;
  padding-top: 1.15rem;
  font-size: 0.92rem;
}

.audit-band {
  margin-top: 1.15rem;
  background: var(--lw-card);
  padding: 1.4rem 1.5rem;
  border-top: 2px solid var(--lw-brass);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.audit-band h3 {
  font-size: 1.4rem;
}

.audit-price {
  font-size: 1.7rem;
  margin-top: 0.2rem;
}

.audit-band p:last-child {
  font-size: 1.02rem;
  max-width: 38rem;
}

.terms {
  margin-top: 1.5rem;
  font-size: 0.98rem;
  max-width: 52rem;
}

/* Founding Circle — inverse */
.section-circle {
  background: var(--lw-umber);
  color: var(--lw-parchment);
  border-top: 0;
  padding-block: 5.25rem 5.5rem;
}

.section-circle h2,
.section-circle .lead,
.section-circle a:not(.btn) {
  color: var(--lw-parchment);
}

.section-circle a:not(.btn) {
  text-decoration-color: var(--lw-brass);
}

.section-circle .lead {
  max-width: 46rem;
}

.circle-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) 1.15fr;
  gap: 2rem 3rem;
  margin-bottom: 2.4rem;
  align-items: start;
}

.circle-price-card {
  background: color-mix(in srgb, var(--lw-parchment) 6%, transparent);
  border-top: 2px solid var(--lw-blush);
  padding: 1.6rem 1.5rem 1.7rem;
}

.circle-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lw-brass);
  margin-bottom: 0.45rem;
}

.circle-price {
  font-size: clamp(2.6rem, 5vw, 3.5rem);
}

.circle-duration {
  font-size: 1.05rem;
  margin: 0.55rem 0 1rem;
}

.circle-then {
  font-size: 0.98rem;
  line-height: 1.5;
}

.circle-terms ul {
  list-style: none;
  margin-bottom: 1.15rem;
}

.circle-terms li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.75rem;
}

.circle-terms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--lw-blush);
  border-radius: 50%;
}

/* How we work */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.35rem;
  counter-reset: none;
}

.steps h3 {
  font-size: 1.3rem;
  margin: 0.35rem 0 0.6rem;
}

.steps p:not(.step-num) {
  font-size: 1rem;
  line-height: 1.55;
}

.step-num {
  font-family: var(--lw-serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--lw-umber) 82%, var(--lw-blush));
  /* umber-mixed blush keeps the accent without failing contrast */
  line-height: 1;
}

/* About */
.section-about {
  padding-bottom: 5.75rem;
}

.signoff {
  font-family: var(--lw-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem;
  margin-top: 1.75rem !important;
  letter-spacing: -0.02em;
}

/* Footer */
.site-footer {
  background: var(--lw-umber);
  color: var(--lw-parchment);
  padding: 3rem 0 1.75rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--lw-brass) 35%, transparent);
  align-items: start;
}

.footer-wordmark {
  font-family: var(--lw-serif);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.footer-wordmark span {
  font-family: var(--lw-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lw-brass);
  display: block;
  margin-top: 0.35rem;
}

.footer-tag,
.footer-place {
  font-size: 1rem;
  margin-top: 0.7rem;
}

.footer-contact {
  justify-self: end;
  text-align: right;
}

.footer-contact a {
  color: var(--lw-parchment);
  text-decoration-color: var(--lw-brass);
}

.footer-contact > p a {
  font-weight: 500;
  font-size: 1.05rem;
}

.social-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 2.5rem;
}

.social-links a:hover {
  color: color-mix(in srgb, var(--lw-parchment) 85%, var(--lw-blush));
  text-decoration: underline;
  text-decoration-color: var(--lw-blush);
}

.social-links svg {
  flex-shrink: 0;
}

.footer-copy {
  padding-top: 1.15rem;
  font-size: 0.9rem;
}

/* Mobile nav (details/summary), stacked sections */
@media (max-width: 860px) {
  .header-inner {
    gap: 0.35rem 0.75rem;
    padding-block: 0.25rem;
    position: relative;
  }

  .site-nav-desktop {
    display: none;
  }

  .nav-details {
    display: block;
    flex: 0 0 auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .plan-note {
    margin-top: 1.15rem;
  }

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

  .nav-details {
    position: static;
  }

  .nav-details[open] .site-nav {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: var(--lw-parchment);
    padding: 0.65rem 1.25rem 1rem;
    border-top: 1px solid color-mix(in srgb, var(--lw-brass) 50%, var(--lw-parchment));
    box-shadow: 0 0.75rem 1.25rem color-mix(in srgb, var(--lw-umber) 8%, transparent);
    z-index: 40;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.05rem;
    width: 100%;
  }

  .who-grid,
  .plans,
  .steps,
  .circle-grid,
  .audit-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-self: start;
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 2.5rem 1.25rem 3.75rem;
    min-height: 0;
  }

  .hero-mark {
    width: 6.75rem;
    height: 6.75rem;
  }

  .section {
    padding: 3.5rem 0 3.75rem;
  }

  .section-circle {
    padding-block: 3.75rem 4rem;
  }

  .header-cta {
    font-size: 0.875rem;
    padding: 0.65rem 0.9rem;
  }
}

@media (max-width: 480px) {
  .wrap,
  .wrap.narrow {
    width: min(var(--wrap), calc(100% - 1.75rem));
  }

  .header-inner {
    width: min(var(--wrap), calc(100% - 1.75rem));
  }

  .hero-lede {
    max-width: 22rem;
  }

  .menu-toggle-text {
    display: none;
  }

  .brand-mark {
    width: 2.85rem;
    height: 2.85rem;
  }
}

@media (min-width: 861px) {
  .nav-details {
    display: none;
  }
}

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

  .btn,
  .burger span {
    transition: none;
  }
}
