/*
 * home.css: the Nest Cleaning Co. homepage, v3 draft.
 * Palette and type come from the Nest brand (the business cards and the live
 * site): white pages with cream bands, forest green for every dark section,
 * Playfair Display over Poppins. The quote wizard keeps its own stylesheet
 * (css/nest-quote.css).
 */

/* ------------------------------------------------------------ fonts */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/playfair-display-latin.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-500-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); }

/* ------------------------------------------------------------ brand palette */
:root {
  --white: #ffffff;
  --cream: #f8f1e1;
  --cream-2: #f2ead6;
  --cream-3: #ebe2ca;
  --edge: #ddd3b8;
  --green: #285533;
  --green-deep: #1c3a22;
  --green-mid: #446342;
  --olive: #588140;
  --sage: #668145;
  --sage-ink: #4c6733;
  --sage-light: #84a869;
  --tan: #d3c7a1;
  --tan-soft: #e2d9bd;
  --ink: #23301f;
  --ink-soft: #4a5544;
  --ink-faint: #5d6655;
  --on-green: rgba(248, 241, 225, .88);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;

  --gutter: 20px;
  --round: 18px;
  --lift: 0 16px 36px -22px rgba(40, 85, 51, .45);
  --lift-big: 0 30px 60px -32px rgba(28, 58, 34, .55);
  --glide: cubic-bezier(.22, .9, .3, 1);
  --masthead-h: 76px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  font-synthesis-weight: none;
  /* Playfair Display draws old-style numerals by default, so "5.0" read as ".0" with the 5 dropped below the line; lining numerals sit every digit on the baseline */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--green-deep); text-wrap: balance; }
/* no single word left alone on the last line of a paragraph or list item */
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
strong { font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
/* On the dark green sections the olive ring is too faint (1.6 to 1.9:1), so it turns tan there (4:1 or more). */
:is(.band--green, .finale, .base, .strip, .glance, .compare, .coverage__panel, .menu__panel, .matrix thead) :focus-visible { outline-color: var(--tan); }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section[id] { scroll-margin-top: var(--masthead-h); }
.frame { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ------------------------------------------------------------ buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--glide), background-color .3s, color .3s, box-shadow .3s;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(.98); }
.pill--solid { background: var(--green); color: var(--cream); box-shadow: 0 12px 26px -14px rgba(28, 58, 34, .7); }
.pill--solid:hover { background: var(--green-deep); }
.pill--line { border-color: var(--green); color: var(--green); background: transparent; }
.pill--line:hover { background: rgba(40, 85, 51, .08); }
.pill--tan { background: var(--tan); color: var(--green-deep); }
.pill--tan:hover { background: var(--tan-soft); }
.pill--line-light { border-color: var(--tan); color: var(--tan-soft); }
.pill--line-light:hover { background: rgba(211, 199, 161, .15); }
/* A slow ring that pulses out from the main call to action. */
.pill--beat { animation: beat 2.6s ease-out infinite; }
.pill--beat:hover { animation-play-state: paused; }
@keyframes beat {
  0% { box-shadow: 0 0 0 0 rgba(88, 129, 64, .45); }
  70% { box-shadow: 0 0 0 14px rgba(88, 129, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 129, 64, 0); }
}
/* The phone icon gives a short ring every few seconds. */
.ring-ring { display: inline-block; transform-origin: 50% 80%; animation: ring 5s ease-in-out infinite; }
@keyframes ring {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-14deg); }
  93% { transform: rotate(12deg); }
  96% { transform: rotate(-8deg); }
}

/* ------------------------------------------------------------ highlighted word
   Playfair italic in olive over a tan ink swoosh that draws in when the
   heading appears, then drifts slightly. */
.mark {
  position: relative;
  display: inline-block;
  padding-right: .08em;
  font-style: italic;
  color: var(--olive);
  isolation: isolate;
}
.mark__ink {
  position: absolute;
  left: -.06em;
  right: -.02em;
  bottom: .02em;
  z-index: -1;
  height: .38em;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 22' preserveAspectRatio='none'%3E%3Cpath fill='%23d3c7a1' fill-opacity='.85' d='M2 14C16 9 34 7 52 7.5S86 9.5 98 9L97.5 14.5C84 15 70 14.5 54 15.5S20 18 3 19Z'/%3E%3C/svg%3E");
  transform-origin: left center;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.65, .05, .36, 1) .15s;
}
.mark.is-drawn .mark__ink { clip-path: inset(0 0 0 0); animation: drift 7s ease-in-out 1.6s infinite; }
@keyframes drift { 0%, 100% { transform: scaleX(1) translateY(0); } 50% { transform: scaleX(.97) translateY(1px); } }
/* in body text the word keeps the darker green so it reads at paragraph size */
.mark--text { color: var(--green); }
.closing .mark { color: var(--tan); }

/* ------------------------------------------------------------ section label */
.cue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--cream);
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.band--cream .cue { background: var(--white); }
.cue__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); animation: glow 4.8s ease-in-out infinite; }
@keyframes glow {
  0%, 62%, 100% { box-shadow: 0 0 0 0 rgba(88, 129, 64, 0); }
  78% { box-shadow: 0 0 0 4px rgba(88, 129, 64, .2), 0 0 12px 2px rgba(132, 168, 105, .55); }
}
.cue--light { border-color: rgba(211, 199, 161, .45); background: rgba(248, 241, 225, .08); color: var(--tan-soft); }
.cue--light .cue__dot { background: var(--tan); }

/* ------------------------------------------------------------ leaves
   The live site's drawings: a filled leaf with a soft shadow, an outlined
   leaf and a line sprig, cropped by the section edge. Tonal on green. */
.leaf-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.leaf { position: absolute; display: block; height: auto; aspect-ratio: 130 / 140; pointer-events: none; color: var(--sage); }
.leaf--fill { opacity: .85; stroke: var(--cream); filter: drop-shadow(0 10px 14px rgba(28, 58, 34, .22)); animation: sway 9s ease-in-out infinite; }
.leaf--line { opacity: .7; }
@keyframes sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(3deg); } }
.has-leaf { overflow: hidden; overflow: clip; isolation: isolate; }
.has-leaf > .leaf { z-index: -1; }
.closing .leaf, .coverage__panel .leaf { color: var(--sage-light); opacity: .45; }
.coverage__panel > .leaf { position: absolute; z-index: 0; }
.base__leaf { right: -34px; bottom: -46px; width: 210px; color: var(--sage-light); opacity: .3; }
.band__leaf-tl { top: -18px; left: -26px; width: 90px; rotate: -8deg; }
.band__leaf-br { right: -24px; bottom: 18px; width: 96px; rotate: 6deg; }
.story__leaf { top: -22px; right: -20px; z-index: 1; width: 116px; rotate: 24deg; }
.story__sprig { bottom: -14px; left: -22px; z-index: 1; width: 104px; }
@media (min-width: 720px) {
  .band__leaf-tl { width: 120px; }
  .band__leaf-br { right: -18px; bottom: 26px; width: 132px; }
}

/* ------------------------------------------------------------ scroll-in */
[data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--glide), transform .8s var(--glide); }
[data-rise].is-risen { opacity: 1; transform: none; }
[data-rise="2"] { transition-delay: .1s; }
[data-rise="3"] { transition-delay: .2s; }
[data-rise="4"] { transition-delay: .3s; }
.no-rise [data-rise] { opacity: 1; transform: none; }

/* ------------------------------------------------------------ loading curtain */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(ellipse 60% 50% at 50% 46%, var(--cream) 0%, var(--white) 70%);
  transition: opacity .6s ease, visibility 0s linear .6s;
  animation: curtain-failsafe 0s linear 4.5s forwards;
}
.curtain.is-lifted { opacity: 0; visibility: hidden; }
.curtain__mark { width: min(36vw, 140px); animation: breathe 2.6s ease-in-out infinite; }
.curtain__name { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--green); }
.curtain__dots { display: flex; gap: 7px; }
.curtain__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: hop 1.1s ease-in-out infinite; }
.curtain__dots i:nth-child(2) { animation-delay: .15s; }
.curtain__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes breathe { 0%, 100% { transform: scale(.97); } 50% { transform: scale(1.03); } }
@keyframes hop { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-6px); opacity: 1; } }
@keyframes curtain-failsafe { to { opacity: 0; visibility: hidden; } }

/* ------------------------------------------------------------ offer ribbon */
.ribbon {
  position: relative;
  height: 36px;
  overflow: hidden;
  background: var(--tan);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}
.ribbon__msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity .5s ease, transform .5s var(--glide), visibility 0s linear .5s;
}
.ribbon__msg.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ribbon__msg.is-off { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.ribbon strong { font-weight: 600; }
.ribbon__link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ribbon__link i { font-size: 11px; transition: transform .3s var(--glide); }
.ribbon__link:hover i, .ribbon__link:focus-visible i { transform: translateX(3px); }
.ribbon__link:focus-visible { outline: 2px solid var(--green-deep); outline-offset: -2px; border-radius: 4px; }
.ribbon__short { display: none; }
@media (max-width: 640px) { .ribbon__long { display: none; } .ribbon__short { display: inline; } }

/* ------------------------------------------------------------ masthead */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--cream-3);
  transition: box-shadow .3s ease;
}
.masthead.is-tucked { box-shadow: 0 10px 30px -18px rgba(28, 58, 34, .45); }
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--masthead-h);
}
.lockup { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.lockup__mark { width: 46px; height: 46px; flex: none; }
.lockup__words { display: flex; flex-direction: column; line-height: 1.05; }
.lockup__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--green-deep); white-space: nowrap; }
.lockup__sub { margin-top: 3px; font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--sage-ink); }
.menu { display: none; align-items: center; gap: 26px; font-size: .92rem; font-weight: 400; }
.menu > a, .menu__toggle { padding: 10px 0; color: var(--ink); background: none; border: 0; cursor: pointer; transition: color .2s; }
.menu > a:hover, .menu__toggle:hover { color: var(--green); }
.menu > a { min-width: 44px; text-align: center; }
.menu__more { position: relative; }
.menu__toggle { display: inline-flex; align-items: center; gap: 6px; }
.menu__toggle i { font-size: .65rem; transition: transform .25s; }
.menu__more.is-open .menu__toggle i { transform: rotate(180deg); }
.menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  display: grid;
  width: max-content;
  min-width: 280px;
  padding: 10px;
  border: 1px solid var(--green-deep);
  border-radius: 16px;
  background: var(--green);
  box-shadow: var(--lift-big);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.menu__more.is-open .menu__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.menu__panel a { padding: 10px 14px; border-radius: 10px; color: var(--cream); font-size: .9rem; }
.menu__panel a:hover, .menu__panel a:focus-visible { background: var(--green-mid); }
.masthead__actions { display: flex; align-items: center; gap: 10px; }
.masthead__call, .masthead__quote { display: none; min-height: 46px; padding: 0 20px; font-size: .9rem; }
.burger {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--cream);
  color: var(--green-deep);
  font-size: 1.1rem;
  cursor: pointer;
}
@media (min-width: 640px) { .masthead__quote { display: inline-flex; } }
@media (min-width: 1100px) {
  .menu, .masthead__call { display: flex; }
  .burger { display: none; }
}
@media (max-width: 420px) { .lockup__sub { display: none; } .lockup__mark { width: 40px; height: 40px; } .lockup__name { font-size: 1.05rem; } }

/* ------------------------------------------------------------ opener */
.opener { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.opener__leaf { top: -40px; right: -34px; z-index: 1; width: 96px; rotate: 18deg; }
.opener__sprig { display: none; }
@media (min-width: 720px) {
  .opener__leaf { top: 4px; right: 10px; z-index: 0; width: 150px; }
  .opener__sprig { display: block; bottom: 34px; left: -30px; z-index: 0; width: 108px; }
}
.opener__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 980px) { .opener__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; } }
.opener__title { font-size: clamp(2.1rem, 6vw, 3.9rem); line-height: 1.08; }
.opener__area { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); }
.opener__lead { max-width: 34rem; margin-top: 14px; font-size: 1.04rem; color: var(--ink-soft); }
.opener__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.opener__ticks { display: grid; gap: 10px; max-width: 34rem; margin-top: 26px; }
.opener__ticks li { display: flex; align-items: baseline; gap: 10px; font-size: .95rem; font-weight: 400; }
.opener__ticks i { flex: none; width: 16px; color: var(--olive); }
.opener__stars { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 34rem; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--cream-3); font-size: .9rem; color: var(--ink-soft); }
.opener__stars strong { color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--green); font-size: 13px; }
.opener__terms { max-width: 34rem; margin-top: 14px; font-size: 11.5px; font-weight: 400; line-height: 1.55; color: var(--ink-faint); }
.opener__media { position: relative; justify-self: center; width: min(100%, 440px); }
.opener__media::before { content: ''; position: absolute; inset: 9% -7% -5% 12%; border-radius: 999px 999px 36px 36px; background: var(--cream); }
.opener__arch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 6px solid var(--white); border-radius: 999px 999px 26px 26px; box-shadow: var(--lift-big); }
.opener__arch img { width: 100%; height: 100%; object-fit: cover; animation: settle 14s ease-in-out infinite alternate; }
@keyframes settle { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.opener__seal {
  position: absolute;
  left: -12px;
  bottom: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 132px;
  height: 132px;
  padding: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--lift);
  font-family: var(--serif);
  font-size: .9rem;
  line-height: 1.2;
  text-align: center;
  color: var(--cream);
  animation: rock 6s ease-in-out infinite;
}
.opener__seal i { font-size: 1.05rem; color: var(--tan); }
@keyframes rock { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-3deg) translateY(-4px); } }
.opener__note {
  position: absolute;
  top: 10%;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  padding: 10px 14px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--lift);
  font-size: .8rem;
  line-height: 1.4;
  color: var(--ink-soft);
  animation: bob 5s ease-in-out infinite;
}
.opener__note strong { display: block; color: var(--ink); }
.opener__note i { color: var(--olive); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 560px) {
  .opener__actions .pill { flex: 1 1 100%; }
  .opener__seal { left: -4px; width: 112px; height: 112px; font-size: .76rem; }
  .opener__note { right: -4px; max-width: 190px; }
}
@media (max-width: 719px) {
  .opener { display: flex; align-items: center; min-height: calc(100svh - 112px - 70px); padding: 20px 0 18px; }
  .opener__grid { position: static; z-index: auto; display: block; }
  .opener__copy { position: relative; z-index: 2; }
  .opener__media { position: absolute; inset: 0; z-index: 0; width: auto; }
  .opener__media[data-rise] { transform: none; }
  .opener__media::before { display: none; }
  .opener__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(248, 241, 225, .72) 0%, rgba(248, 241, 225, .86) 34%, rgba(248, 241, 225, .94) 100%);
  }
  .opener__arch { height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
  .opener__seal, .opener__note { display: none; }
  .opener__title { font-size: clamp(1.8rem, 8.2vw, 2.25rem); }
  .opener__area { margin-top: 10px; font-size: .72rem; letter-spacing: .05em; }
  .opener__lead { margin-top: 8px; font-size: .94rem; line-height: 1.6; }
  .opener__actions { gap: 10px; margin-top: 18px; }
  .opener__actions .pill { min-height: 48px; }
  .opener__ticks { gap: 5px; margin-top: 16px; }
  .opener__ticks li { font-size: .84rem; line-height: 1.5; }
  .opener__stars { margin-top: 14px; padding-top: 12px; border-top-color: rgba(76, 103, 51, .2); font-size: .84rem; }
  .opener__terms { margin-top: 8px; font-size: 11px; line-height: 1.45; }
}

/* ------------------------------------------------------------ at a glance */
.glance { background: var(--green); padding: 34px 0; }
.glance__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
.glance__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 8px; text-align: center; }
.glance__ring { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border: 1.5px solid var(--tan); border-radius: 50%; background: rgba(248, 241, 225, .12); color: var(--tan-soft); font-size: 1.15rem; }
.glance__head { font-family: var(--serif); font-size: 1.1rem; line-height: 1.25; color: var(--cream); }
.glance__sub { font-size: .82rem; line-height: 1.5; color: var(--on-green); }
@media (min-width: 900px) {
  .glance__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .glance__item + .glance__item { border-left: 1px solid rgba(211, 199, 161, .3); }
}

/* ------------------------------------------------------------ sections */
.band { position: relative; padding: clamp(64px, 9vw, 112px) 0; background: var(--white); }
.band--cream { background: var(--cream); }
.band--rule { border-top: 1px solid var(--cream-3); }
#reviews { border-top: 1px solid var(--cream-3); }
.lede { max-width: 44rem; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.lede h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.lede p { margin-top: 14px; font-size: 1.02rem; color: var(--ink-soft); }

/* ------------------------------------------------------------ why Nest */
.trust__layout { display: grid; gap: 22px; }
@media (min-width: 960px) { .trust__layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; } }
.trust__board {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px;
  border-radius: var(--round);
  background:
    linear-gradient(160deg, rgba(40, 85, 51, .95), rgba(40, 85, 51, .9)),
    url("../images/why-room.jpg") center / cover;
  color: var(--cream);
}
@media (min-width: 960px) { .trust__board { border-radius: var(--round) 0 0 var(--round); } }
.trust__tag { align-self: flex-start; padding: 6px 14px; border: 1px solid rgba(211, 199, 161, .45); border-radius: 999px; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tan-soft); }
.tally { display: grid; gap: 4px; }
.tally__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(211, 199, 161, .22); }
.tally__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1.2; text-align: right; color: var(--cream); }
.tally__num small { margin-left: 3px; font-size: .5em; color: var(--tan); }
.tally dd { display: flex; flex-direction: column; }
.tally dd strong { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); }
.tally dd span { font-size: .82rem; color: var(--on-green); }
.voice { margin-top: auto; padding: 18px 20px; border: 1px solid rgba(211, 199, 161, .3); border-radius: 14px; background: rgba(248, 241, 225, .08); }
.voice__text { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.55; color: var(--cream); }
.voice__who { margin-top: 10px; font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--tan); }
.trust__list { padding: 28px; border: 1px solid var(--edge); border-radius: var(--round); background: var(--white); box-shadow: var(--lift); }
@media (min-width: 960px) { .trust__list { border-left: 0; border-radius: 0 var(--round) var(--round) 0; padding: 32px 36px; } }
.reasons { display: grid; }
.reason { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--cream-3); }
.reason:first-child { padding-top: 0; }
.reason__icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--edge); border-radius: 12px; background: var(--cream); color: var(--green); font-size: .95rem; }
.reason h3 { font-size: 1.12rem; }
.reason p { margin-top: 4px; font-size: .9rem; line-height: 1.65; color: var(--ink-soft); }
.trust__ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.trust__ask p { flex: 1 1 260px; font-size: .9rem; color: var(--ink-soft); }
.trust__ask strong { color: var(--ink); }

/* soft light that follows the pointer across the dark panels */
.glow-host::after {
  content: '';
  position: absolute;
  left: var(--gx, 50%);
  top: var(--gy, 50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 199, 161, .16), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.glow-host:hover::after { opacity: 1; }
.glow-host > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------ services */
.services { display: grid; gap: 22px; }
@media (min-width: 680px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--round);
  background: var(--white);
  box-shadow: var(--lift);
  transition: transform .4s var(--glide), box-shadow .4s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--lift-big); }
.service__photo { aspect-ratio: 16 / 10; background-size: cover; background-position: center; transition: transform .8s var(--glide); }
.service:hover .service__photo { transform: scale(1.06); }
.service__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 34px 24px 24px; background: var(--white); }
.service__badge { position: absolute; top: -24px; left: 24px; display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--green); border-radius: 14px; background: var(--white); color: var(--green); font-size: 1.05rem; box-shadow: var(--lift); }
.service h3 { font-size: 1.25rem; }
.service p { font-size: .92rem; color: var(--ink-soft); }
/* 44px tall to tap; the bottom margin gives back the extra height so the card keeps its size */
.service__link { margin-top: auto; margin-bottom: -10px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--sage-ink); }
.service__link::before { content: ''; position: absolute; inset: 0; z-index: 2; }
.service__link i { font-size: .75rem; transition: transform .25s; }
.service:hover .service__link i { transform: translateX(4px); }
.service:focus-within { outline: 2px solid var(--olive); outline-offset: 3px; }
.service__link:focus-visible { outline: none; }
.also { max-width: 640px; margin: 30px auto 0; font-size: .9rem; text-align: center; color: var(--ink-soft); }
.also a { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ before and after */
.compare-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare { position: relative; border-radius: var(--round); overflow: hidden; background: var(--green); box-shadow: var(--lift); }
.compare__stage {
  --cut: 50%;
  position: relative;
  aspect-ratio: 1050 / 780;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}
.compare__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.compare__stage::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, .3); pointer-events: none; }
.compare__grip {
  position: absolute;
  top: 50%;
  left: clamp(24px, var(--cut), calc(100% - 24px));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-size: .85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  transition: transform .2s;
}
.compare__grip:hover { transform: translate(-50%, -50%) scale(1.08); }
.compare__tag { position: absolute; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 12px; background: rgba(28, 58, 34, .78); color: var(--cream); }
.compare__tag--after { right: 12px; background: var(--cream); color: var(--green-deep); }
.compare__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px 14px;
  padding: 56px 18px 14px;
  background: linear-gradient(to top, rgba(28, 58, 34, .92) 0%, rgba(28, 58, 34, .62) 45%, rgba(28, 58, 34, 0) 100%);
  color: var(--cream);
  pointer-events: none;
}
.compare__caption strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.compare__caption span { margin-left: auto; font-size: .82rem; text-align: right; color: var(--on-green); }

/* ------------------------------------------------------------ how a job runs */
.journey { display: grid; gap: 30px; max-width: 40rem; margin: 0 auto; }
.journey__step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.journey__step::before { content: ''; position: absolute; top: 60px; bottom: -26px; left: 27px; width: 2px; background: var(--cream-3); }
.journey__step:last-child::before { display: none; }
.journey__num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--green); border-radius: 50%; background: var(--white); font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--green); transition: background-color .3s, color .3s; }
.journey__step:hover .journey__num { background: var(--green); color: var(--cream); }
.journey h3 { margin: 10px 0 6px; font-size: 1.22rem; }
.journey p { font-size: .94rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: none; }
  .journey__step { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; }
  .journey__step::before { top: 27px; bottom: auto; left: 64px; right: -28px; width: auto; height: 2px; }
}

/* ------------------------------------------------------------ about */
.story { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; } }
.story__pics { position: relative; max-width: 480px; margin-inline: auto; padding: 0 0 34px; transform-style: preserve-3d; transition: transform .5s var(--glide); }
.story__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--round); box-shadow: var(--lift-big); }
.story__inset { position: absolute; right: -14px; bottom: 0; width: 44%; aspect-ratio: 5 / 6; object-fit: cover; border: 6px solid var(--white); border-radius: 16px; box-shadow: var(--lift-big); }
.story__badge { position: absolute; top: 20px; left: -12px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--edge); border-radius: 14px; background: var(--white); box-shadow: var(--lift); font-size: .78rem; line-height: 1.35; color: var(--ink-soft); }
.story__badge strong { display: block; font-size: .88rem; color: var(--ink); }
.story__badge i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: var(--cream); }
.story__text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.story__text > p { margin-top: 16px; font-size: .98rem; color: var(--ink-soft); }
.story__points { display: grid; gap: 12px; margin-top: 22px; }
.story__points li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.story__points i { flex: none; margin-top: 5px; color: var(--green); }
.story__points strong { color: var(--ink); }
.story__quote { margin-top: 24px; padding-left: 18px; border-left: 2px solid var(--sage); font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--green-deep); }
.story__quote cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: .8rem; color: var(--ink-faint); }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.figure { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--edge); border-radius: 14px; background: var(--white); box-shadow: var(--lift); }
.figure__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--green); border-radius: 12px; background: var(--cream); color: var(--green); }
.figure strong { display: block; font-family: var(--serif); font-size: clamp(1.1rem, 4.4vw, 1.35rem); line-height: 1.2; white-space: nowrap; color: var(--ink); }
.figure > span:last-child { font-size: .78rem; line-height: 1.35; color: var(--ink-faint); min-width: 0; }

/* ------------------------------------------------------------ reviews */
.praise { display: grid; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.praise__track { display: flex; gap: 18px; width: max-content; animation: glide-left 60s linear infinite; }
.praise__row--back .praise__track { animation-name: glide-right; }
.praise:hover .praise__track { animation-play-state: paused; }
@keyframes glide-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes glide-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.note { flex: none; width: 320px; padding: 20px 22px; border: 1px solid var(--edge); border-radius: 16px; background: var(--white); box-shadow: var(--lift); }
.note header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.note header strong { display: block; font-size: .92rem; font-weight: 500; }
.note header small { display: block; font-size: .75rem; color: var(--ink-faint); }
.note__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--cream); font-family: var(--serif); }
.note .stars { color: #c99a2e; margin-bottom: 6px; }
.note p { font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
.note--empty { border-style: dashed; background: var(--cream); box-shadow: none; }
/* one real review: a still card in the middle, no marquee and no doubled copy */
.praise--single { -webkit-mask-image: none; mask-image: none; padding: 4px 16px 36px; }
.praise--single .praise__track { width: auto; justify-content: center; animation: none; }
.praise--single .note { width: min(520px, 100%); }
.praise--single .note[aria-hidden="true"] { display: none; }
.note--empty .note__avatar { background: var(--cream-3); color: var(--ink-faint); }

/* ------------------------------------------------------------ gallery */
.wall { columns: 1; column-gap: 18px; }
@media (min-width: 620px) { .wall { columns: 2; } }
@media (min-width: 980px) { .wall { columns: 3; } }
.wall__item { position: relative; margin-bottom: 18px; overflow: hidden; border-radius: 16px; break-inside: avoid; box-shadow: var(--lift); }
.wall__item img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; transition: transform .8s var(--glide); }
.wall__item:hover img { transform: scale(1.06); }
.wall__item figcaption { position: absolute; inset: auto 0 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(40, 85, 51, .85)); color: var(--cream); font-size: .85rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.wall__item:hover figcaption, .wall__item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .wall__item figcaption { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ service areas */
.coverage { display: grid; gap: 22px; }
@media (min-width: 960px) { .coverage { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.coverage__panel { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--round); background: var(--green); color: var(--cream); }
.coverage__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(211, 199, 161, .3); border-radius: 14px; }
.coverage__stats div { padding: 12px 6px; text-align: center; }
.coverage__stats div + div { border-left: 1px solid rgba(211, 199, 161, .3); }
.coverage__stats dt { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--cream); }
.coverage__stats dd { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-green); }
.towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.towns a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid rgba(211, 199, 161, .2); font-size: .9rem; font-weight: 400; color: var(--cream); transition: color .2s; }
.towns a:hover { color: var(--tan); }
.towns i { font-size: .65rem; color: var(--tan); transition: transform .2s; }
.towns a:hover i { transform: translateX(3px); }
.coverage__note { font-size: .85rem; color: var(--on-green); }
.coverage__call { align-self: stretch; }
.coverage__map { position: relative; min-height: 320px; overflow: hidden; border: 4px solid var(--white); border-radius: var(--round); box-shadow: var(--lift-big); }
.coverage__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coverage__label { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 28px); padding: 10px 14px; border-radius: 12px; background: var(--white); box-shadow: var(--lift); font-size: .76rem; line-height: 1.35; color: var(--ink-soft); }
.coverage__label strong { display: block; font-size: .86rem; color: var(--ink); }
.coverage__label--top { top: 14px; left: 14px; }
.coverage__label--bottom { right: 14px; bottom: 34px; }
/* OpenStreetMap credit as a visible strip along the bottom of the map */
.coverage__credit { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 3px 10px; background: rgba(255, 255, 255, .88); font-size: .68rem; line-height: 1.4; text-align: right; color: var(--ink-soft); }
.coverage__credit a { padding-block: 12px; margin-block: -12px; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.coverage__label-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--green); color: var(--cream); font-size: .8rem; }
.every { margin-top: 56px; text-align: center; }
.every h3 { font-size: 1.45rem; margin-bottom: 20px; }
.every__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; margin: 0 auto; }
.every__list a, .every__list span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--edge); border-radius: 999px; background: var(--white); font-size: .88rem; font-weight: 400; transition: border-color .2s, color .2s; }
.every__list a:hover { border-color: var(--green); color: var(--green); }

/* ------------------------------------------------------------ FAQ */
.answers { display: grid; gap: 12px; }
@media (min-width: 860px) { .answers { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.answers__col { display: grid; gap: 12px; }
.qa { border: 1px solid var(--edge); border-radius: 16px; background: var(--white); box-shadow: 0 10px 28px -22px rgba(40, 85, 51, .4); transition: border-color .3s; }
.qa[open] { border-color: var(--green); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 18px 22px; font-size: .97rem; font-weight: 500; line-height: 1.45; text-wrap: balance; cursor: pointer; list-style: none; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--edge); border-radius: 9px; background: var(--cream); color: var(--green); font-size: .7rem; transition: transform .35s var(--glide), background-color .3s, color .3s; }
.qa[open] .qa__q i { transform: rotate(180deg); background: var(--green); color: var(--cream); }
.qa__a { overflow: hidden; font-size: .92rem; color: var(--ink-soft); }
.qa__a > p { max-width: 68ch; padding: 0 22px 20px; }

/* ------------------------------------------------------------ closing band */
.closing { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 120px) 0; background-size: cover; background-position: center; text-align: center; }
.closing__veil { position: absolute; inset: 0; background: linear-gradient(to right, rgba(40, 85, 51, .97), rgba(40, 85, 51, .92) 45%, rgba(40, 85, 51, .84)); }
.closing__inner { position: relative; z-index: 1; max-width: 40rem; }
.closing h2 { font-size: clamp(2rem, 4.6vw, 3rem); color: var(--cream); }
.closing p { margin-top: 14px; font-size: 1.02rem; color: var(--on-green); }
.closing .center-row { margin-top: 30px; }

/* ------------------------------------------------------------ footer */
.base { position: relative; overflow: hidden; padding: 64px 0 0; background: var(--green); color: var(--on-green); }
.base__grid { position: relative; display: grid; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(211, 199, 161, .3); }
@media (min-width: 780px) { .base__grid { grid-template-columns: 1.5fr 1.1fr .9fr 1fr; gap: 40px; } }
.lockup--light .lockup__mark { padding: 5px; border-radius: 50%; background: var(--cream); width: 50px; height: 50px; }
.lockup--light .lockup__name { color: var(--cream); }
.lockup--light .lockup__sub { color: var(--tan); }
.base__brand p { margin-top: 14px; max-width: 360px; font-size: .88rem; }
.base__rating { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(211, 199, 161, .35); border-radius: 12px; }
.base__rating strong { color: var(--cream); font-weight: 600; }
.base__social { display: flex; gap: 10px; margin-top: 16px; }
.base__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(211, 199, 161, .35); border-radius: 12px; color: var(--cream); transition: background-color .2s; }
.base__social a:hover { background: rgba(248, 241, 225, .12); }
.base__col h3 { margin-bottom: 14px; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tan); }
/* footer links are 44px to tap; on desktop a small negative margin keeps the old 36px spacing */
.base__col li a, .base__contact span { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; margin-block: -4px; padding-block: 5px; font-size: .9rem; text-wrap: balance; transition: color .2s; }
.base__col li a:hover { color: var(--tan); }
.base__contact li { display: flex; align-items: center; gap: 10px; }
.base__contact i { width: 16px; color: var(--tan); font-size: .85rem; }
.base__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 22px 0 26px; font-size: .8rem; }
.base__truth { margin-top: 4px; }
.base__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.base__legal a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; margin-block: -4px; }
.base__legal a:hover { color: var(--tan); }
@media (max-width: 1024px) { .base__col li a, .base__contact span, .base__contact a, .base__legal a { min-height: 44px; margin-block: 0; } }
@media (max-width: 760px) { .base { padding-bottom: 76px; } }

/* ------------------------------------------------------------ phone action bar */
.thumb-bar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--edge); background: var(--white); box-shadow: 0 -10px 24px -16px rgba(28, 58, 34, .4); }
.thumb-bar .pill { min-height: 48px; padding: 0 12px; }
@media (min-width: 761px) { .thumb-bar { display: none; } }

/* ------------------------------------------------------------ menu sheet (phones and tablets) */
.sheet__veil { position: fixed; inset: 0; z-index: 90; background: rgba(40, 85, 51, .5); opacity: 0; transition: opacity .3s; }
.sheet__veil.is-shown { opacity: 1; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; display: flex; flex-direction: column; gap: 18px; width: min(86vw, 360px); padding: 18px 20px 24px; background: var(--white); transform: translateX(105%); transition: transform .4s var(--glide); overflow-y: auto; }
.sheet.is-open { transform: none; box-shadow: -20px 0 50px rgba(28, 58, 34, .25); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__head .lockup__mark { width: 38px; height: 38px; }
.sheet__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--edge); border-radius: 12px; background: var(--cream); cursor: pointer; }
.sheet__links { display: grid; }
.sheet__links a { display: flex; align-items: center; gap: 14px; min-height: 50px; border-bottom: 1px solid var(--cream-3); font-size: .98rem; font-weight: 400; }
.sheet__links i { width: 20px; color: var(--green); }
.sheet__actions { display: grid; gap: 10px; margin-top: auto; }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-rise] { opacity: 1; transform: none; }
  .mark__ink { clip-path: none; }
  .praise { overflow-x: auto; }
}
