/* Ramirez Website Studio
   Palette is fixed by the brand (PRD section 3). Glass is used only on the hero, the before/after handle,
   the step markers and the closing call to action. */
:root {
  --green: #1e4e34;
  --deep: #183424;
  --cream: #fbf5ea;
  --cream-2: #e8e0d4;
  --coral: #e88264;
  --green-hi: #2a6043;          /* tint of forest green, borders on green only */
  --line: rgba(232, 224, 212, .22);
  --line-deep: rgba(24, 52, 36, .16);

  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --slab-r: clamp(28px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; }

::selection { background: var(--coral); color: var(--deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.slab :focus-visible { outline-color: var(--deep); }
html { scrollbar-color: var(--green-hi) var(--deep); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--green-hi); border-radius: 999px; border: 3px solid var(--deep); }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--cream); color: var(--deep); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- glass ---------- */
.glass {
  background: rgba(251, 245, 234, .09);
  border: 1.5px solid rgba(251, 245, 234, .34);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    inset 0 1.5px 0 rgba(251, 245, 234, .45),
    inset 0 -14px 28px -10px rgba(24, 52, 36, .45),
    0 24px 48px -28px rgba(8, 22, 14, .75);
}

/* ---------- 3D stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.stage.live .stage-canvas { opacity: 1; }
.stage-poster {
  position: absolute; width: min(56vw, 640px); height: auto;
  right: max(-6vw, -80px); top: 14vh; opacity: .95;
  transition: opacity .8s var(--ease);
}
.stage.live .stage-poster { opacity: 0; }
@media (max-width: 760px) { .stage-poster { width: 78vw; right: -22vw; top: 4vh; opacity: .55; } }

main, .top, .foot { position: relative; z-index: 1; }
/* legibility backstop: body copy that floats over the glass stage gets a soft green shadow */
.hero .lede, .tagline, .proof, .who p, .chips li, .demo-copy p, .client, .step p, .contact .lede, .handle {
  text-shadow: 0 1px 14px rgba(24, 52, 36, .85), 0 0 2px rgba(24, 52, 36, .6);
}
.pill { text-shadow: none; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 16px var(--gutter) auto; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.capsule {
  display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px);
  height: 60px; padding: 0 10px 0 8px; border-radius: 999px;
}
.capsule.glass { background: rgba(24, 52, 36, .4); }   /* tinted so the label holds over light images */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: .98rem; line-height: 1.1; white-space: nowrap; }
.brand img { width: 52px; height: auto; padding: 8px 6px; background: var(--green); border-radius: 999px; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); font-size: .95rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--cream-2); padding: 6px 2px; transition: color .2s; }
.nav-links a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--coral); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); cursor: pointer; }
.menu-btn svg { width: 22px; margin: auto; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
.top-cta .short { display: none; }
/* over the cream slabs the glass would vanish, so the header turns solid deep green */
.capsule, .top-cta { transition: background-color .4s var(--ease), color .4s, border-color .4s; }
.top.on-light .capsule { background: rgba(24, 52, 36, .94); border-color: rgba(24, 52, 36, .94); }
.top.on-light .top-cta { background: var(--green); color: var(--cream); }
.top.on-light .top-cta .disc { background: var(--cream); color: var(--deep); }

@media (max-width: 980px) {
  .capsule { position: relative; padding-right: 8px; }
  .menu-btn { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px;
    background: var(--deep); border: 1.5px solid var(--line);
    opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden;
    transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .35s var(--ease); }
  .nav-links a { display: block; padding: 12px 14px; border-radius: 14px; font-size: 1.05rem; color: var(--cream); }
  .nav-links a:hover { background: var(--green); text-decoration: none; }
}
@media (max-width: 520px) {
  .top { inset: 12px 12px auto; }
  .capsule { height: 56px; gap: 8px; padding-left: 6px; }
  .brand { font-size: .82rem; gap: 6px; }
  .brand > span { display: grid; }
  .brand img { width: 40px; padding: 7px 5px; }
  .brand-2 { white-space: nowrap; }
  .menu-btn { width: 40px; height: 40px; }
  .top-cta { padding: 0 18px !important; font-size: .9rem; }
  .top-cta .long, .top-cta .disc { display: none; }
  .top-cta .short { display: inline; }
}

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.pill:active { transform: scale(.97); }
.pill-cream { background: var(--cream); color: var(--deep); padding-right: 8px; }
.pill-cream:has(.ig) { padding-right: 26px; }
.pill-glass { color: var(--cream); }
.pill-glass:hover { background: rgba(251, 245, 234, .16); }
.disc {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: var(--cream); flex: none;
  transition: transform .45s var(--ease), background-color .25s;
}
.disc svg, .pill .ig { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill-cream:hover .disc { transform: translateX(4px); background: var(--coral); color: var(--deep); }
.pill-cream:hover { background: #fff8ee; }
.top-cta { min-height: 60px; padding-left: 24px; }
@media (max-width: 520px) { .top-cta { min-height: 56px; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 96px; position: relative; }
.hero-title, .contact-title {
  font-family: var(--display); font-weight: 800;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(2.9rem, 8.4vw, 6rem); line-height: 1; letter-spacing: -.025em;
  display: flex; flex-direction: column; align-items: flex-start; gap: .1em;
}
.bubble {
  display: inline-block; padding: .1em .42em .17em; border-radius: 999px;
  background: rgba(251, 245, 234, .08);
  border: 1.5px solid rgba(251, 245, 234, .36);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow:
    inset 0 2px 0 rgba(251, 245, 234, .5),
    inset 0 -18px 32px -14px rgba(24, 52, 36, .5),
    inset 12px 0 24px -18px rgba(251, 245, 234, .35),
    0 30px 60px -34px rgba(8, 22, 14, .8);
  position: relative;
}
/* specular highlight: a small cream sheen on the upper-left of each glass word */
.bubble::before {
  content: ""; position: absolute; left: .45em; top: .14em; width: .9em; height: .16em;
  border-radius: 999px; background: rgba(251, 245, 234, .55); filter: blur(1.5px); pointer-events: none;
}
.bubble em { font-style: normal; color: var(--coral); }
/* the coral word's bubble is tinted deeper so coral keeps 3:1+ as large text */
.bubble:has(em) { background: rgba(24, 52, 36, .42); }
.hero-title .bubble:nth-child(2) { margin-left: clamp(.3em, 4vw, 1.1em); }
.hero-title .bubble:nth-child(3) { margin-left: clamp(.1em, 1.5vw, .4em); }

.js .hero-title .bubble { animation: inflate 1.1s var(--ease) both; }
.js .hero-title .bubble:nth-child(2) { animation-delay: .12s; }
.js .hero-title .bubble:nth-child(3) { animation-delay: .24s; }
@keyframes inflate {
  from { transform: translateY(18px) scale(.9); filter: blur(6px); }
  to { transform: none; filter: none; }
}

.lede { max-width: 36ch; margin-top: 32px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--cream-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tagline { margin-top: 40px; font-weight: 700; font-size: .95rem; letter-spacing: .01em; }
.proof { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; color: var(--cream-2); font-size: .95rem; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }


/* ---------- section rhythm ---------- */
section h2 {
  font-family: var(--display); font-weight: 750; font-variation-settings: "SOFT" 100;
  font-size: clamp(2.2rem, 5.2vw, 4.1rem); line-height: 1.03; letter-spacing: -.02em; text-wrap: balance;
}
.who, .demo, .how, .contact { padding: clamp(88px, 11vw, 140px) 0; }

.reveal { transition: transform 1s var(--ease), filter 1s var(--ease); }
.reveal.pending { transform: translateY(26px); filter: blur(5px); }

/* ---------- who ---------- */
.who-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.who-grid p { max-width: 46ch; margin-top: 22px; color: var(--cream-2); font-size: 1.12rem; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.chips li {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 16px; border-radius: 999px;
  background: var(--deep); border: 1.5px solid var(--line);
  font-weight: 500; font-size: 1.05rem;
  transition: border-color .25s, transform .4s var(--ease);
}
.chips li:hover { border-color: var(--coral); transform: translateY(-2px); }
.chips svg { width: 26px; fill: none; stroke: var(--coral); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .who-grid { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; } }

/* ---------- before / after ---------- */
.demo-head { display: grid; gap: 20px; }
.demo-head p { max-width: 50ch; color: var(--cream-2); font-size: 1.1rem; }
@media (min-width: 900px) { .demo-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; } }

/* client tabs above the case notes */
.demo-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--deep); border: 1.5px solid var(--line); }
.demo-tabs button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 10px 18px; font-weight: 700; font-size: .95rem; color: var(--cream-2);
  transition: background-color .3s var(--ease), color .3s;
}
.demo-tabs button[aria-selected="true"] { background: var(--cream); color: var(--deep); }
.demo-tabs button:not([aria-selected="true"]):hover { color: var(--cream); background: var(--green); }
.case p { max-width: 44ch; margin-top: 22px; color: var(--cream-2); font-size: 1.12rem; text-shadow: 0 1px 14px rgba(24, 52, 36, .85), 0 0 2px rgba(24, 52, 36, .6); }
.ba-view img { transition: opacity .35s var(--ease); }
.ba.swapping .ba-view img { opacity: 0; }

/* real client before/after, shown in a phone */
.demo-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: 1fr minmax(320px, 420px); gap: 80px; } }
.demo-copy p { max-width: 44ch; margin-top: 22px; color: var(--cream-2); font-size: 1.12rem; }
.client { margin: 30px 0 0; display: grid; gap: 0; max-width: 460px; border-top: 1.5px solid var(--line); }
.client div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1.5px solid var(--line); }
.client dt { font-weight: 700; color: var(--cream-2); font-size: .9rem; }
.client dd { margin: 0; font-weight: 500; }
.client a { color: var(--cream); }
.client a:hover { text-decoration-color: var(--coral); }
.ba-phone {
  /* whole phone always fits the screen height, so the comparison is never cut off */
  justify-self: center; width: min(100%, 380px, calc((100svh - 150px) * .532 + 24px));
  padding: 12px; border-radius: 48px; background: var(--deep);
  box-shadow: inset 0 0 0 1.5px var(--line), 0 50px 90px -50px rgba(6, 18, 12, .9);
}
.ba-phone .ba { margin: 0; border: 0; border-radius: 36px; box-shadow: none; }
.ba-phone .ba-view { aspect-ratio: 920 / 1730; cursor: ew-resize; }
.ba-view img, .ba-before img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; pointer-events: none; -webkit-user-drag: none;
}
.ba-phone .ba-before { background: #f4f4f4; }
.ba-phone .ba-tag { bottom: 14px; }
.ba-phone .ba-tag-before { left: 14px; }
.ba-phone .ba-tag-after { right: 14px; }

.ba {
  margin-top: 18px; border-radius: 22px; overflow: hidden;
  background: var(--deep); border: 1.5px solid var(--line);
  box-shadow: 0 50px 90px -50px rgba(6, 18, 12, .9);
}
.ba-chrome { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: var(--deep); border-bottom: 1.5px solid var(--line); }
.ba-chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--green-hi); }
.ba-url { margin-left: 14px; padding: 4px 14px; border-radius: 999px; background: var(--green); color: var(--cream-2); font-size: .8rem; }
.ba-view {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  container-type: inline-size; touch-action: pan-y; user-select: none; cursor: ew-resize;
}
@media (max-width: 700px) { .ba-view { aspect-ratio: 4 / 5; } }
.ba-after, .ba-before { position: absolute; inset: 0; z-index: 0; }
.ba-before { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); will-change: clip-path; }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px;
  background: var(--coral); outline: none; cursor: ew-resize; z-index: 3;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; display: grid; place-items: center; color: var(--cream);
  background: rgba(30, 78, 52, .55);
  transition: transform .4s var(--ease);
}
.ba-knob svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-knob { translate: var(--kx, 0px) 0; }
.ba-handle:hover .ba-knob, .ba.dragging .ba-knob { transform: scale(1.1); }
.ba-handle:focus-visible .ba-knob { outline: 3px solid var(--coral); outline-offset: 4px; }
.ba-tag {
  position: absolute; bottom: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: opacity .3s;
}
.ba-tag-before { left: 16px; background: var(--deep); color: var(--cream); }
.ba-tag-after { right: 16px; background: var(--green); color: var(--cream); }
.ba[data-low] .ba-tag-before, .ba[data-high] .ba-tag-after { opacity: 0; }
.demo-note { margin-top: 14px; font-size: .88rem; color: var(--cream-2); }
.demo-cta { margin-top: 30px; }

/* ---------- cream slabs ---------- */
.slab {
  position: relative; background: var(--cream); color: var(--deep);
  border-radius: var(--slab-r); margin-inline: clamp(8px, 1.4vw, 20px);
  padding: clamp(72px, 9vw, 120px) 0;
}
.slab-lede { max-width: 44ch; margin-top: 20px; font-size: 1.15rem; color: var(--deep); opacity: .85; }

.feature { display: grid; gap: 28px; padding: 48px 0; border-top: 1.5px solid var(--line-deep); margin-top: 48px; }
.feature + .feature { margin-top: 0; }
.feature h3 { font-family: var(--display); font-weight: 750; font-variation-settings: "SOFT" 100; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.015em; }
.feature-copy p { margin-top: 12px; max-width: 42ch; font-size: 1.1rem; }
.feature-demo { display: flex; justify-content: flex-start; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 64px 0; }
  .feature:nth-of-type(even) .feature-copy { order: 2; }
  .feature-demo { justify-content: center; }
}

.phone {
  width: min(250px, 70vw); margin: 0; padding: 9px; border-radius: 38px; background: var(--deep); position: relative;
}
.phone img { width: 100%; aspect-ratio: 920 / 1300; object-fit: cover; object-position: center top; border-radius: 30px; }
.phone figcaption { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); white-space: nowrap; font-size: .85rem; font-weight: 700; color: var(--green); }
.feature-demo:has(.phone) { padding-bottom: 40px; }
.in .phone { animation: lift 1.4s var(--ease) both; }
@keyframes lift { from { transform: translateY(30px) rotate(-4deg); } to { transform: rotate(-3deg); } }
.phone { transform: rotate(-3deg); }

.taps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(100%, 420px); }
.taps li {
  display: flex; flex-direction: column; gap: 22px; padding: 18px; border-radius: 20px;
  background: var(--green); color: var(--cream); font-weight: 700; font-size: 1.05rem;
  transition: transform .4s var(--ease), background-color .25s;
}
.taps li:first-child { background: var(--deep); }
.taps li:hover { transform: translateY(-3px); }
.taps svg { width: 30px; fill: none; stroke: var(--cream); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.taps li:first-child svg { stroke: var(--coral); }

.serp {
  width: min(100%, 440px); padding: 22px; border-radius: 22px; background: var(--cream-2);
  display: flex; flex-direction: column; gap: 6px; position: relative;
}
.serp-q { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--cream); font-weight: 500; }
.serp-q svg { width: 18px; fill: none; stroke: var(--deep); stroke-width: 2; stroke-linecap: round; }
.serp-load { height: 4px; border-radius: 4px; background: rgba(24, 52, 36, .12); margin: 10px 0 12px; overflow: hidden; }
.serp-load i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(1); }
.in .serp-load i { animation: load 1.1s var(--ease) .3s both; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.serp-url { font-size: .85rem; opacity: .8; }
.serp-t { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 1.3rem; line-height: 1.3; color: var(--green); }
.serp-d { font-size: .95rem; }
.serp-ex { position: absolute; top: 14px; right: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* ---------- how ---------- */
.how-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1.25fr; } .how h2 { position: sticky; top: 140px; align-self: start; } }
.steps { position: relative; display: grid; gap: clamp(56px, 9vw, 110px); padding-left: 92px; }
.steps-path { position: absolute; left: 30px; top: 30px; bottom: 30px; width: 4px; height: calc(100% - 60px); overflow: visible; }
.steps-path line { stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.steps-path .track { stroke: var(--line); }
.steps-path .current { stroke: var(--coral); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--how, 0)); }
.step { position: relative; }
.step-dot {
  position: absolute; left: -92px; top: -6px; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease);
}
.step.lit .step-dot { background: var(--coral); color: var(--deep); border-color: var(--coral); transform: scale(1.06); }
.step h3 { font-family: var(--display); font-weight: 750; font-variation-settings: "SOFT" 100; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -.015em; }
.step p { margin-top: 12px; max-width: 40ch; color: var(--cream-2); font-size: 1.12rem; }
@media (max-width: 520px) { .steps { padding-left: 76px; } .step-dot { left: -76px; width: 54px; height: 54px; font-size: 1.25rem; } .steps-path { left: 25px; } }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } }
.portrait { max-width: 440px; }
.portrait > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 40% 30%; border-radius: 32px; background: var(--green); }
.about-copy p { margin-top: 20px; max-width: 54ch; font-size: 1.12rem; }
.about-copy h2 + p { margin-top: 26px; }
.sign { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important; line-height: 1.3; color: var(--green); }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(110px, 14vw, 180px); }
.contact-title { font-size: clamp(2.4rem, 7vw, 5.4rem); }
.contact-title .bubble:nth-child(2) { margin-left: clamp(.2em, 3vw, .9em); }
.weigh { font-style: normal; color: var(--coral); font-variation-settings: "SOFT" 100, "wght" var(--weigh, 500); font-weight: inherit; }
.handle { margin-top: 26px; color: var(--cream-2); font-weight: 500; }

/* ---------- footer ---------- */
.foot { border-top: 1.5px solid var(--line); padding: 28px 0 36px; background: var(--deep); font-size: .92rem; color: var(--cream-2); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot a { color: var(--cream); font-weight: 700; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.pending { transform: none; filter: none; }
}
