/* =========================================================
   Anusha Shetty — homepage (home.css)
   Human, warm and simple: paper, ink, one lemon accent and a few handwritten notes.
   Fonts: Bricolage Grotesque (headings), DM Sans (reading), Caveat (handwriting).
   Follows the visitor's light / dark system setting. The blog page uses styles.css.
   ========================================================= */

:root {
  --paper: #FBF8F1;
  --paper-2: #F3EEE3;
  --card: #FFFFFF;
  --ink: #1D1B18;
  --ink-2: #45413A;
  --muted: #625C52;            /* AA on paper */
  --line: rgba(29, 27, 24, .12);
  --lemon: #FFD21F;
  --lemon-soft: rgba(255, 210, 31, .58);
  --logo: #D9A000;
  --night: #181715;
  --night-ink: #F3EFE6;
  --night-muted: #A9A397;
  --night-line: rgba(243, 239, 230, .16);
  --leaf: #23A66A;

  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --gutter: clamp(18px, 4vw, 56px);
  --sec: clamp(64px, 8vw, 112px);
  --header-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141311;
    --paper-2: #1A1916;
    --card: #201F1B;
    --ink: #F3EFE6;
    --ink-2: #D3CDC1;
    --muted: #A8A196;
    --line: rgba(243, 239, 230, .13);
    --lemon-soft: rgba(255, 210, 31, .3);
    --logo: #FFD21F;
    --night: #0D0C0B;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
b, strong { font-weight: 600; }
::selection { background: var(--lemon); color: #1D1B18; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.wrap, .container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.hand { font-family: var(--hand); font-weight: 700; }

/* lemon highlighter: drawn across the words when they come into view */
.hl {
  background-image: linear-gradient(100deg, rgba(255, 210, 31, 0) 0, var(--lemon-soft) 1.5%, var(--lemon-soft) 98%, rgba(255, 210, 31, 0) 100%);
  background-repeat: no-repeat; background-position: 0 92%; background-size: 100% var(--hl-h);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em; margin: 0 -.03em; border-radius: .25em .6em .35em .5em;
}
:root { --hl-h: 42%; }
@media (prefers-color-scheme: dark) {
  :root { --hl-h: 9%; --lemon-soft: rgba(255, 210, 31, .85); }
  .hl { color: var(--lemon); background-position: 0 96%; }
}
.js .hl { background-size: 0% var(--hl-h); transition: background-size 1.1s cubic-bezier(.65, 0, .35, 1) .35s; }
.js .is-visible .hl, .js .is-visible.hl { background-size: 100% var(--hl-h); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); vertical-align: middle; animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 166, 106, .5); }
  70% { box-shadow: 0 0 0 8px rgba(35, 166, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 166, 106, 0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1.2 var(--body); cursor: pointer; text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink span { transition: transform .2s ease; }
.btn--ink:hover { background: var(--lemon); color: #1D1B18; box-shadow: 0 10px 24px -10px rgba(180, 140, 0, .6); }
.btn--ink:hover span { transform: translateX(3px); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--text { padding-inline: 6px; min-height: 52px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.btn--text:hover { transform: none; text-decoration-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 15px; }
@media (prefers-color-scheme: dark) {
  .btn--ink { background: var(--lemon); color: #1D1B18; }
  .btn--ink:hover { background: #FFE066; }
}

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease; }
.header.is-scrolled, .header.menu-open {
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand__name {
  display: inline-block; transform: rotate(-2deg);
  font-family: var(--hand); font-weight: 700; font-size: clamp(28px, 2.6vw, 34px); line-height: 1;
  color: var(--logo); transition: transform .3s ease;
}
.brand:hover .brand__name { transform: rotate(0deg) scale(1.03); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: 16px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lemon);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 4px; }
/* "how I help": always-on hand-drawn underline */
.nav a.nav__hl { color: var(--ink); }
.nav a.nav__hl::after {
  transform: none; left: -4px; right: -4px; bottom: -5px; height: 9px; background: var(--logo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 20 3.5, 38 9.5, 58 6 S 98 2.5, 117 6.5' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 20 3.5, 38 9.5, 58 6 S 98 2.5, 117 6.5' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; padding: 0; color: var(--ink); }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- shared section pieces ---------- */
.sec { padding: var(--sec) 0; }
.sec--soft { background: var(--paper-2); }
.sec--line { border-top: 1px solid var(--line); }
.kicker {
  display: inline-block; margin-bottom: 8px; transform: rotate(-1.5deg); transform-origin: left;
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.45rem, 2vw, 1.7rem); line-height: 1; color: var(--ink-2);
}
.h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.04; letter-spacing: -0.035em;
}
.lead { margin-top: 16px; color: var(--ink-2); font-size: 1.06rem; max-width: 30em; }
.sec__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 40px; margin-bottom: clamp(28px, 3.5vw, 44px);
}
.sec__aside { color: var(--ink-2); max-width: 26em; }
.sec__aside a, .services__more a { white-space: nowrap; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.sec__aside a:hover, .services__more a:hover { text-decoration-color: var(--ink); }

/* ---------- hero: 2/3 words, 1/3 photo ---------- */
.hero { padding: calc(var(--header-h) + clamp(28px, 5vw, 76px)) 0 clamp(36px, 4vw, 56px); overflow-x: clip; }
/* homepage: no logo, "Hi, I'm Anusha" starts in the logo's place at the very top */
.header__inner--nologo { justify-content: flex-end; }
.hero--top { padding-top: calc(var(--header-h) + clamp(20px, 3.5vw, 48px)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__hello { display: inline-block; margin-bottom: 12px; transform: rotate(-2deg); transform-origin: left; font-size: clamp(1.8rem, 2.6vw, 2.25rem); line-height: 1; color: var(--ink-2); }
.hero__title {
  font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5.6vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.04em;
}
.hero__sub { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); }
.hero__sub b { color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.hero__status { margin-top: 26px; font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }

.hero__art { position: relative; padding: 18px 0 40px; }
/* the portrait: just the watercolour cut-out, no frame or background */
.portrait { width: min(100%, 440px); margin-left: auto; }
.portrait img { width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(60, 45, 20, .12)); }
@media (prefers-color-scheme: dark) { .portrait img { filter: none; } }
.sticky {
  position: absolute; left: -12px; bottom: 6px; width: min(56%, 220px); padding: 14px 16px 16px;
  background: var(--lemon); color: #1D1B18; font-size: 14.5px; line-height: 1.4; transform: rotate(-4deg);
  box-shadow: 0 16px 30px -14px rgba(60, 45, 0, .5); border-radius: 2px 2px 14px 2px;
}
.sticky b { display: block; font-size: 1.6rem; line-height: 1; margin-bottom: 6px; font-weight: 700; }

/* ---------- Sound familiar: dark band, 3D sliding cards (1/3 words, 2/3 cards) ---------- */
.night { background: var(--night); color: var(--night-ink); padding: var(--sec) 0; overflow-x: clip; }
@media (prefers-color-scheme: dark) { .night { border-block: 1px solid var(--line); } }
.night .kicker { color: var(--lemon); }
.night .hl { background: none; color: var(--lemon); padding: 0; margin: 0; }
.layers { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "list"; }
.layers__head { grid-area: head; }
.layers__head .h2 .ln { display: inline; }
.layers__lead { margin-top: 18px; color: var(--night-muted); max-width: 26em; }
@media (min-width: 1025px) {
  .layers { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(24px, 3vw, 56px); grid-template-areas: "head stage" "head list"; align-items: center; }
  .layers__head .h2 { font-size: clamp(2.1rem, 3vw, 3.2rem); }
  .layers__head .h2 .ln { display: block; white-space: nowrap; }
  .layers__list { align-self: start; }
  .layers__stage { margin-left: 16px; }
}
.layers__stage {
  grid-area: stage; position: relative; height: clamp(370px, 36vw, 460px);
  perspective: 1400px; margin: 8px 0 18px; touch-action: pan-y; cursor: grab; outline-offset: 6px;
}
.layers__stage.is-dragging { cursor: grabbing; }
.layers__stack { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .35s ease; pointer-events: none; }
.layers__stage.is-dragging .layers__stack { transition: none; }
.layer {
  --w: clamp(250px, 26vw, 330px);
  position: absolute; top: 50%; left: 50%; width: var(--w); height: calc(var(--w) * 1.2);
  margin: calc(var(--w) * -0.6) 0 0 calc(var(--w) / -2);
  display: flex; flex-direction: column; padding: clamp(20px, 2vw, 28px);
  border-radius: 22px; cursor: pointer; user-select: none; pointer-events: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .8s cubic-bezier(.2, .75, .2, 1), opacity .8s ease, filter .8s ease;
  will-change: transform;
}
.layer.is-active { cursor: inherit; }
.layer:not(.is-active) .layer__body { opacity: .5; }
.layer__body { margin-top: auto; display: flex; flex-direction: column; gap: 8px; transition: opacity .6s ease; }
.layer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.layer__num { font-family: var(--display); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -0.05em; line-height: .9; }
.layer__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; opacity: .75; }
.layer__problem { font-size: clamp(.95rem, 1.1vw, 1.02rem); line-height: 1.45; opacity: .85; }
.layer__problem s { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 62% / 100% 1.5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.layer__fix { font-family: var(--display); font-size: clamp(1.4rem, 1.9vw, 1.7rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.layer__fix::before { content: "→ "; }
.layer__desc { font-size: 14.5px; line-height: 1.5; opacity: .85; }
.layer__outcome, .layer__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.layer__outcome { background: rgba(20, 20, 20, .1); }
.layer__outcome::before { content: "✓"; }
.layer--1 { background: var(--lemon); color: #1D1B18; }
.layer--2 { background: #F3EFE6; color: #1D1B18; }
.layer--3 { background: #E8664A; color: #1D1B18; }
.layer--4 { background: #0F4C4E; color: #F3EFE6; }
.layer--4 .layer__outcome { background: rgba(255, 255, 255, .12); }
.layer--5 { background: #262522; color: #F3EFE6; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 210, 31, .35); }
.layer--5 .layer__fix { color: var(--lemon); }
.layer__cta { background: var(--lemon); color: #1D1B18; }
.layer__cta:hover { background: #fff; }
.layers__list { grid-area: list; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.layers__list button {
  position: relative; width: 100%; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px; padding: 12px 0 14px;
  background: none; border: 0; border-top: 1px solid var(--night-line); color: var(--night-muted); transition: color .3s ease;
}
.layers__list button:hover, .layers__list button.is-active { color: var(--night-ink); }
.layers__n { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.layers__t { font-size: 14.5px; line-height: 1.35; }
.layers__bar { position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--lemon); transform: scaleX(0); transform-origin: left; }
.layers__list button.is-active .layers__bar { animation: layer-progress 5.5s linear forwards; animation-play-state: paused; }
.layers.is-playing .layers__list button.is-active .layers__bar { animation-play-state: running; }
.layers.is-playing:hover .layers__list button.is-active .layers__bar { animation-play-state: paused; }
@keyframes layer-progress { to { transform: scaleX(1); } }

/* ---------- What I do: 1/3 heading, 2/3 list ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.split__head { position: sticky; top: calc(var(--header-h) + 24px); }
.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 20px; padding: clamp(22px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line); }
.service__n { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--muted); padding-top: .55em; }
.service h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; }
.service p { margin-top: 8px; color: var(--ink-2); max-width: 40em; }
.service .service__proof { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.service__proof b { color: var(--ink); font-weight: 600; }
.service__proof::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--lemon); vertical-align: 1px; }
.services__more { padding-top: 22px; color: var(--ink-2); }

/* ---------- What clients say: three columns, each card only as tall as its words ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.reviews__col { display: flex; flex-direction: column; gap: 18px; }
.review {
  display: block; padding: 24px 24px 22px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(40, 30, 10, .04);
}
.review__tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.review blockquote { margin: 14px 0 20px; font-size: 16.5px; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.review figcaption b { display: block; font-size: 15px; line-height: 1.3; }
.review figcaption small { display: block; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.review--dark { background: var(--night); color: var(--night-ink); border-color: transparent; }
.review--dark .review__tag { background: rgba(255, 255, 255, .1); color: var(--night-ink); }
.review__text { margin-top: 14px; font-size: 16px; color: var(--night-ink); }
@media (prefers-color-scheme: dark) { .review--dark { border-color: var(--line); } }
.review--cta { background: var(--lemon); color: #1D1B18; border-color: transparent; transition: transform .25s ease, box-shadow .25s ease; }
.review--cta .hand { display: block; font-size: 1.75rem; line-height: 1; transform: rotate(-2deg); transform-origin: left; }
.review--cta b { display: block; margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.review--cta:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(120, 90, 0, .6); }

/* ---------- About page (/about/): letter beside the portrait ---------- */
.apage__title { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
.apage__letter { margin-top: 22px; max-width: 36em; }
.apage__letter p { font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--ink-2); }
.apage__letter p + p { margin-top: 14px; }
.apage__letter b { color: var(--ink); }
.apage__letter a, .apage__more a { white-space: nowrap; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.apage__letter a:hover, .apage__more a:hover { text-decoration-color: var(--ink); }
.hero__copy .apage__sign { display: inline-block; margin-top: 18px; font-size: 2.6rem; line-height: 1; transform: rotate(-4deg); transform-origin: left; }
.apage { padding-bottom: var(--sec); }
.apage__more { margin-top: 26px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 64px); text-align: left; }
.facts li { padding-top: 14px; border-top: 2px solid var(--ink); }
.facts b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.25; }
.facts span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }

/* ---------- Built for good: free tools ---------- */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tool__tag { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.tool h3 { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.025em; }
.tool p { color: var(--ink-2); font-size: 15.5px; }
.tool__go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; }
.tool:hover { transform: translateY(-4px); border-color: var(--lemon); box-shadow: 0 18px 36px -22px rgba(60, 45, 0, .45); }
.tool:hover .tool__go { text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- Contact: the lemon page ---------- */
.contact { background: var(--lemon); color: #1D1B18; padding: var(--sec) 0; }
.contact__inner { max-width: calc(780px + 2 * var(--gutter)); text-align: center; }
.contact__hand { display: inline-block; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1; transform: rotate(-2deg); color: #3B362E; }
.contact__title { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.04em; }
.contact__text { margin: 20px auto 0; max-width: 34em; font-size: 1.1rem; color: #3B362E; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.contact .btn--ink { background: #1D1B18; color: #FBF8F1; }
.contact .btn--ink:hover { background: #FFFDF5; color: #1D1B18; box-shadow: 0 10px 24px -12px rgba(60, 45, 0, .6); }
.contact .btn--line { color: #1D1B18; border-color: rgba(29, 27, 24, .3); }
.contact .btn--line:hover { border-color: #1D1B18; }
.copy-email { gap: 12px; }
.copy-email__hint { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(29, 27, 24, .1); transition: background .2s ease, color .2s ease; }
.copy-email.is-copied .copy-email__hint { background: #1D1B18; color: var(--lemon); }
.socials { display: flex; justify-content: center; gap: 8px 26px; margin-top: 22px; color: #3B362E; font-weight: 500; }
.socials a { padding: 6px 2px; }
.socials a:hover { color: #1D1B18; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.footer { padding: 22px 0; font-size: 14.5px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__nav a { padding: 4px 0; }
.footer__nav a:hover { color: var(--ink); }

/* ---------- motion: calm fade-and-rise ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-18px) rotate(8deg); } }
@keyframes draw { from { background-size: 0% var(--hl-h); } }
.js .hero__copy > * { animation: rise 1.1s cubic-bezier(.16, 1, .3, 1) backwards; }
.js .hero__hello { animation-delay: .05s; }
.js .hero__title { animation-delay: .15s; }
.js .hero__sub { animation-delay: .3s; }
.js .hero__ctas { animation-delay: .42s; }
.js .hero__status { animation-delay: .52s; }
.js .hero .hl { background-size: 100% var(--hl-h); transition: none; animation: draw .9s cubic-bezier(.65, 0, .35, 1) backwards; }
.js .hero .hl { animation-delay: .8s; }
.js .hero .hl + .hl { animation-delay: 1.1s; }
.js .hero .hl + .hl + .hl { animation-delay: 1.4s; }
.js .portrait { animation: rise 1.2s cubic-bezier(.16, 1, .3, 1) .25s backwards; }
.js .sticky { animation: drop .9s cubic-bezier(.2, 1.3, .4, 1) .9s backwards; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__col:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 440px; margin: 8px auto 0; width: 100%; }
  .portrait { width: 82%; margin-inline: auto; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__head { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .layers__stage { height: 380px; }
  .layers__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .layers__t { display: none; }
  .layers__n { text-align: center; font-size: 13px; }
  .nav__toggle { display: block; }
  .nav {
    position: absolute; top: calc(var(--header-h) - 4px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 16px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.nav__hl::after { display: block; left: -2px; right: auto; width: 86px; bottom: 6px; }
  .nav__cta { margin: 14px 0 0; min-height: 48px; }
}

/* ---------- phones: card groups become one swipeable row (shorter page) ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero__ctas .btn--ink { flex: 1 1 100%; }
  .hero__ctas .btn--text { min-height: 40px; }
  .sticky { width: 56%; font-size: 13.5px; padding: 12px 13px 14px; }
  .sticky b { font-size: 1.4rem; }

  .reviews, .tools {
    display: flex; flex-wrap: nowrap; align-items: stretch; gap: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar, .tools::-webkit-scrollbar { display: none; }
  .reviews__col, .reviews__col:nth-child(3) { display: contents; }
  .reviews { align-items: flex-start; }
  .review, .tool, .tool:last-child { flex: 0 0 84%; scroll-snap-align: start; }
  .review--dark, .review--cta { flex-basis: 70%; }
  .js .reviews .reveal, .js .tools .reveal { opacity: 1; transform: none; }
  .review blockquote { font-size: 15.5px; }

  .sec__head { align-items: flex-start; }
  .contact__actions .btn { width: 100%; }
  .copy-email__text { overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
  .copy-email { gap: 8px; padding-inline: 16px; }
  .footer__inner { justify-content: center; text-align: center; }
  .footer__nav { justify-content: center; }
}
@media (max-width: 420px) {
  .facts { gap: 14px; }
  .facts b { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hl { background-size: 100% var(--hl-h); }
  .layers__list button.is-active .layers__bar { transform: scaleX(1); }
}
