/* Organic Maids — one-pager
   Palette from the logo: lime #75a801, leaf #b9d35e, pale #dff2aa, on warm cream. */

:root {
  --cream: oklch(97% 0.015 110);
  --cream-2: oklch(94.5% 0.035 115);
  --pale: oklch(94% 0.1 118);
  --leaf: oklch(83% 0.13 118);
  --lime: oklch(67% 0.18 127);
  --lime-hover: oklch(63% 0.18 127);
  --lime-deep: oklch(46% 0.14 130);
  --ink: oklch(30% 0.05 135);
  --ink-soft: oklch(42% 0.045 135);
  --ink-drench: oklch(25% 0.045 140);
  --hairline: oklch(30% 0.05 135 / 0.14);

  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.35rem + 1vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.6vw, 4.6rem);
  --step-5: clamp(3.1rem, 1.9rem + 6.5vw, 7.25rem);

  --space-section: clamp(4.5rem, 10vw, 8.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }

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

::selection { background: var(--pale); color: var(--ink); }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--lime-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.spark { width: 0.9em; height: 0.9em; fill: currentColor; flex: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.brand { margin-right: auto; }
.brand img { width: auto; height: 3.25rem; }

.header-nav {
  display: flex;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.header-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease-out);
}
.header-nav a:hover { color: var(--ink); }

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink-drench);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), translate 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn:hover {
  background: var(--lime-hover);
  translate: 0 -2px;
  box-shadow: 0 10px 24px -12px oklch(45% 0.14 127 / 0.55);
}
.btn:active { translate: 0 0; }

.btn-header { padding: 0.7rem 1.3rem; font-size: 0.95rem; }

.link-quiet {
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration-color: var(--leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease-out);
}
.link-quiet:hover { color: var(--ink); }

/* ============ Hero ============ */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(9rem, 16vw, 13rem);
}

.hero-inner { position: relative; }

.hero-kicker {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--lime-deep);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 12ch;
}
.hero-title .line { display: block; }
.hero-title .accent {
  position: relative;
  width: fit-content;
  color: var(--lime-deep);
}
.hero-title .underline {
  position: absolute;
  left: 2%;
  bottom: -0.12em;
  width: 96%;
  height: 0.14em;
  color: var(--leaf);
}

.hero-lead {
  margin-top: 2rem;
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

/* Spinning badge */
.badge {
  position: absolute;
  top: clamp(1rem, 4vw, 4rem);
  right: 0;
  width: clamp(9rem, 14vw, 11.5rem);
  aspect-ratio: 1;
}
.badge > svg:first-child {
  width: 100%;
  height: 100%;
  animation: spin 32s linear infinite;
}
.badge text {
  fill: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.badge-spark {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 34%;
  height: 34%;
  translate: -50% -50%;
  fill: var(--lime);
}
@keyframes spin { to { rotate: 360deg; } }

/* Skyline line art */
.roofline {
  position: absolute;
  inset: auto 0 -4px 0;
  width: 100%;
  min-width: 900px;
  color: var(--pale);
  pointer-events: none;
}
.roofline-sparks { color: var(--leaf); fill: currentColor; }

/* ============ Marquee ============ */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  padding-block: 1rem;
  background: var(--cream);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.marquee-track i {
  font-style: normal;
  color: var(--lime);
  font-size: 0.75rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections shared ============ */

.section-title {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

/* ============ Services ============ */

.services { padding-block: var(--space-section); }

.services .section-title { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.services-list {
  list-style: none;
  padding: 0;
  border-bottom: 1px solid var(--hairline);
}

.services-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(1.25rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(0.5rem, 2vw, 1.5rem);
  border-top: 1px solid var(--hairline);
  text-decoration: none;
  transition: background-color 0.3s var(--ease-out);
}
.services-list a:hover { background: oklch(95% 0.06 115); }

.services-list .num {
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--leaf);
  letter-spacing: -0.02em;
}

.service-copy h3 {
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.service-copy p {
  margin-top: 0.6rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

.service-cta {
  align-self: center;
  font-weight: 700;
  color: var(--lime-deep);
  white-space: nowrap;
  opacity: 0;
  translate: -8px 0;
  transition: opacity 0.3s var(--ease-out), translate 0.3s var(--ease-out);
}
.services-list a:hover .service-cta,
.services-list a:focus-visible .service-cta { opacity: 1; translate: 0 0; }

/* ============ Why organic (ink drench) ============ */

.organic {
  position: relative;
  overflow: hidden;
  background: var(--ink-drench);
  color: var(--cream);
  padding-block: var(--space-section);
}

.organic-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.organic-title {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.organic-lead {
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--pale);
}

.organic-points {
  list-style: none;
  padding: 0;
  margin-top: 2.25rem;
  display: grid;
  gap: 1.4rem;
}
.organic-points li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  line-height: 1.65;
  color: oklch(90% 0.02 115);
}
.organic-points .spark { color: var(--leaf); fill: currentColor; translate: 0 0.1em; }
.organic-points strong { color: var(--cream); font-weight: 700; }

.organic-house {
  position: absolute;
  right: -3rem;
  bottom: -1.5rem;
  width: clamp(20rem, 38vw, 34rem);
  color: oklch(90% 0.1 118 / 0.14);
  pointer-events: none;
}

/* ============ Steps ============ */

.steps {
  background: var(--cream-2);
  padding-block: var(--space-section);
}

.steps .section-title { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.steps-list li {
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}
.step-num {
  display: block;
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--lime-deep);
  line-height: 1;
}
.steps-list h3 {
  margin-top: 0.9rem;
  font-size: var(--step-1);
  font-weight: 700;
}
.steps-list p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
}
.steps-list p a {
  font-weight: 700;
  color: var(--ink);
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ============ Call band (lime drench) ============ */

.call-band {
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  padding-block: var(--space-section);
}

.call-band h2 {
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.phone-giant {
  display: inline-block;
  max-width: 100%;
  margin-top: 1rem;
  /* Sized so the unbreakable number never outgrows the 92vw container on small phones */
  font-size: clamp(2.5rem, 11vw, 7.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink-drench);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.08em;
  transition: text-decoration-color 0.3s var(--ease-out);
}
.phone-giant:hover { text-decoration-color: var(--cream); }

.call-band-text {
  margin-top: 1.25rem;
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink-drench);
}
.call-band-text a {
  font-weight: 800;
  text-decoration-color: var(--cream);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.call-band-sub {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.7rem;
  row-gap: 0.25rem;
  font-weight: 600;
  color: oklch(24% 0.06 132);
}
.call-band-sub span { white-space: nowrap; }

/* ============ Footer ============ */

.site-footer {
  background: var(--ink-drench);
  color: oklch(88% 0.02 115);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo { width: auto; height: 3.5rem; }
.site-footer a {
  font-weight: 700;
  color: var(--leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ============ Mobile call bar ============ */

.call-bar {
  position: fixed;
  inset: auto 0.75rem 0.75rem;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink-drench);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px -10px oklch(30% 0.05 135 / 0.45);
  transition: translate 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.call-bar.is-hidden {
  translate: 0 5rem;
  opacity: 0;
  pointer-events: none;
}

/* ============ Reveal on scroll ============ */

html.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.8s var(--ease-out) var(--d, 0s), translate 0.8s var(--ease-out) var(--d, 0s);
}
html.js [data-reveal].in {
  opacity: 1;
  translate: 0 0;
}

/* Hero entrance (CSS only, runs once on load) */
html.js .hero-kicker,
html.js .hero-title .line,
html.js .hero-lead,
html.js .hero-ctas,
html.js .badge {
  animation: rise 0.9s var(--ease-out) both;
}
html.js .hero-title .line:nth-child(1) { animation-delay: 0.08s; }
html.js .hero-title .line:nth-child(2) { animation-delay: 0.16s; }
html.js .hero-title .line:nth-child(3) { animation-delay: 0.24s; }
html.js .hero-lead { animation-delay: 0.34s; }
html.js .hero-ctas { animation-delay: 0.42s; }
html.js .badge { animation-delay: 0.5s; }

@keyframes rise {
  from { opacity: 0; translate: 0 30px; }
  to { opacity: 1; translate: 0 0; }
}

/* ============ Responsive ============ */

@media (max-width: 1020px) {
  .badge { display: none; }
}

@media (max-width: 820px) {
  .header-nav { display: none; }

  .organic-inner { grid-template-columns: 1fr; }

  .services-list a {
    grid-template-columns: auto 1fr;
  }
  .service-cta { display: none; }
}

@media (max-width: 640px) {
  .brand img { height: 2.6rem; }
  .btn-header { display: none; }

  .call-band-sub { flex-direction: column; align-items: center; }
  .call-band-sub .dot { display: none; }

  .call-bar { display: inline-flex; }
  body { padding-bottom: 4.5rem; }

  .hero { padding-bottom: clamp(7rem, 30vw, 9rem); }
}

/* ============ Reduced motion ============ */

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

  .marquee-track { animation: none; }
  .badge > svg:first-child { animation: none; }

  html.js [data-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }
  html.js .hero-kicker,
  html.js .hero-title .line,
  html.js .hero-lead,
  html.js .hero-ctas,
  html.js .badge {
    animation: none;
  }

  .btn, .phone-giant, .call-bar, .service-cta { transition: none; }
}
