/* ==========================================================================
   לירי טורבטי — Fine Line & Botanical Tattoo
   Botanical palette: ink, moss, sage, parchment, dried rose
   ========================================================================== */

:root {
  --ink:        #1d2320;
  --ink-soft:   #3c4640;
  --moss:       #46584a;
  --sage:       #8fa088;
  --sage-pale:  #c5cfbe;
  --parchment:  #f6f2e9;
  --parchment-2:#efe9dc;
  --rose:       #b08476;
  --rose-pale:  #e4cdc4;
  --gold:       #a8894f;

  --bg:         var(--parchment);
  --bg-alt:     var(--parchment-2);
  --fg:         var(--ink);
  --fg-muted:   var(--ink-soft);
  --rule:       #ddd5c4;

  --font-display: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --font-body:    'Assistant', 'Heebo', system-ui, -apple-system, sans-serif;

  --measure: 62ch;
  --shell: 1180px;
  --radius: 2px;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4:  clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- base ---------------------------------------------------------------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.75;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }

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

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

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

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -4rem;
  inset-inline-start: 1rem;
  background: var(--ink); color: var(--parchment);
  padding: 0.7rem 1.2rem;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 1rem; }

/* --- section furniture --------------------------------------------------- */

section { position: relative; }

/* decorative art is allowed to bleed, but must never widen the document */
#contact, .gallery { overflow: hidden; }

.section-pad { padding-block: clamp(4.5rem, 9vw, 8.5rem); }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, var(--rule), transparent);
  max-width: 8rem;
}

.section-title {
  font-size: var(--step-3);
  margin-bottom: 1.4rem;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 46ch;
}

/* --- header -------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--parchment) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { padding-block: 0.65rem; }
.site-header.is-stuck::before { opacity: 1; border-bottom-color: var(--rule); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.wordmark svg { width: 26px; height: 26px; color: var(--moss); flex: none; }

.nav { display: flex; gap: 1.9rem; align-items: center; }

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-block: 0.3rem;
  color: var(--fg-muted);
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  inset-block-end: 0; inset-inline-start: 0;
  width: 100%; height: 1px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current='true'] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current='true']::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid var(--ink);
  padding: 0.5rem 1.15rem !important;
  border-radius: 100px;
  color: var(--ink) !important;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--parchment) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--parchment);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    font-size: var(--step-2);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 99;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { font-size: var(--step-1); color: var(--ink); }
  .nav-cta { font-size: var(--step-0); }
}

/* --- hero ---------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: var(--step-4);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-title .line {
  display: block;
  /* overflow:hidden masks the rise animation, but it also slices the italic
     line's first letter, which overhangs its advance width. Pad the clip box
     out on the inline-start (right, in RTL) and pull it back with a margin so
     the headline still lines up with the paragraph below. */
  overflow: hidden;
  padding-inline-start: 0.16em;
  margin-inline-start: -0.16em;
}
.hero-title .line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title em {
  font-style: italic;
  color: var(--moss);
}

@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  font-size: var(--step-1);
  color: var(--fg-muted);
  max-width: 34ch;
  margin-bottom: 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 2.4rem;
}
.hero-meta span { display: flex; align-items: center; gap: 0.55rem; }
.hero-meta span::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art svg { width: min(100%, 460px); height: auto; color: var(--moss); }

/* animated botanical line-drawing */
.draw path, .draw line, .draw circle, .draw ellipse {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
  animation: draw 2.8s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-title .line > span { transform: none; animation: none; }
  .draw path, .draw line, .draw circle, .draw ellipse { stroke-dashoffset: 0; animation: none; }
}

.scroll-hint {
  position: absolute;
  inset-block-end: 2rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--sage), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

@media (max-width: 860px) {
  .hero { min-height: auto; padding-block: 6.5rem 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(48%, 200px); }
  .hero-sub { margin-bottom: 1.6rem; }
  .hero-meta { gap: 0.4rem 1.1rem; margin-bottom: 1.8rem; }
  .scroll-hint { display: none; }
}

/* narrow phones: keep both hero buttons on one line so the CTA stays in view */
@media (max-width: 480px) {
  .hero .btn { padding: 0.8rem 1.35rem; font-size: 0.95rem; }
  .hero .btn-row { gap: 0.6rem; flex-wrap: nowrap; }
}

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 2rem;
  border-radius: 100px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--moss); border-color: var(--moss); transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* --- marquee strip ------------------------------------------------------- */

.strip {
  background: var(--ink);
  color: var(--parchment);
  padding-block: 1.1rem;
  overflow: hidden;
  white-space: nowrap;
}
.strip-track {
  display: inline-flex;
  gap: 3rem;
  padding-inline-start: 3rem;
  animation: slide 34s linear infinite;
}
.strip span {
  font-family: var(--font-display);
  font-size: var(--step-1);
  display: flex;
  align-items: center;
  gap: 3rem;
  color: var(--parchment);
}
.strip span::after { content: '✦'; color: var(--sage); font-size: 0.7em; }
@keyframes slide { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* --- about --------------------------------------------------------------- */

.about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about-art {
  position: sticky;
  top: 7rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 30%, rgba(143,160,136,0.12), transparent 65%),
    var(--parchment);
}
.about-art svg { width: 100%; max-width: 260px; color: var(--moss); }

.about-body p { font-size: 1.06rem; }
.about-body p:first-of-type { font-size: var(--step-1); line-height: 1.6; }

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--moss);
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-art { position: static; max-width: 320px; }
}

/* --- specialties --------------------------------------------------------- */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 3rem;
}

.spec {
  background: var(--bg);
  padding: 2.4rem 1.8rem;
  transition: background 0.4s var(--ease);
}
.spec:hover { background: var(--bg-alt); }
.spec svg { width: 40px; height: 40px; color: var(--moss); margin-bottom: 1.3rem; }
.spec h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.spec p { font-size: 0.97rem; color: var(--fg-muted); margin: 0; }

/* --- gallery ------------------------------------------------------------- */

.gallery { background: var(--bg-alt); overflow: hidden; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.5rem 0 3rem;
}
.filter {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--fg-muted);
  border-radius: 100px;
  padding: 0.5rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.93rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--sage); color: var(--ink); }
.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--parchment);
}

.grid {
  columns: 3;
  column-gap: 1.1rem;
}
@media (max-width: 900px) { .grid { columns: 2; } }
@media (max-width: 520px) { .grid { columns: 1; } }

.tile {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sage-pale);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.tile.is-in { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }

.tile img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.92);
}
.tile:hover img { transform: scale(1.045); filter: saturate(1.05); }

.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(29,35,32,0.42), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.tile:hover::after { opacity: 1; }

.tile-label {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-start: 1rem;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.5s var(--ease);
  z-index: 2;
}
.tile:hover .tile-label { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .tile { opacity: 1; transform: none; }
}

/* --- lightbox ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(21,26,23,0.95);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 86svh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb-btn {
  position: absolute;
  background: rgba(246,242,233,0.1);
  border: 1px solid rgba(246,242,233,0.25);
  color: var(--parchment);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.lb-btn:hover { background: rgba(246,242,233,0.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1.4rem; inset-inline-end: 1.4rem; }
.lb-prev { inset-inline-end: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-start: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  inset-block-end: 1.4rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  color: var(--sage-pale);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
@media (max-width: 620px) {
  .lb-prev, .lb-next { top: auto; bottom: 1.2rem; transform: none; }
  .lb-prev { inset-inline-end: 28%; }
  .lb-next { inset-inline-start: 28%; }
  .lb-count { inset-block-end: 5.4rem; }
}

/* --- process ------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 2rem;
  margin-top: 3.5rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0; inset-inline-start: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--sage);
  line-height: 1;
}
.step::after {
  content: '';
  position: absolute;
  top: 1.1rem; inset-inline-start: 3.2rem;
  height: 1px; width: calc(100% - 3.6rem);
  background: var(--rule);
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { font-size: 0.97rem; color: var(--fg-muted); margin: 0; }

/* --- faq ----------------------------------------------------------------- */

.faq { background: var(--bg-alt); }

.faq-list { margin-top: 3rem; border-top: 1px solid var(--rule); max-width: 860px; }

details {
  border-bottom: 1px solid var(--rule);
}
summary {
  cursor: pointer;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  list-style: none;
  transition: color 0.25s var(--ease);
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--moss); }
summary::after {
  content: '';
  flex: none;
  width: 13px; height: 13px;
  border-inline-end: 1.5px solid var(--moss);
  border-block-end: 1.5px solid var(--moss);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
  margin-block-start: -6px;
}
details[open] summary::after { transform: rotate(-135deg); margin-block-start: 4px; }
details p {
  color: var(--fg-muted);
  padding-block-end: 1.5rem;
  margin: 0;
  font-size: 1rem;
}

/* --- contact ------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  margin-top: 3rem;
}

.channels { display: grid; gap: 1rem; }

.channel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--bg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.channel:hover { border-color: var(--moss); transform: translateX(-4px); background: var(--bg-alt); }
.channel svg { width: 26px; height: 26px; color: var(--moss); flex: none; }
.channel b { display: block; font-weight: 600; font-size: 1.02rem; }
.channel small { color: var(--fg-muted); font-size: 0.9rem; }

/* form */

.form { display: grid; gap: 1.2rem; }

.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.92rem; color: var(--fg-muted); }
.field label .req { color: var(--rose); }

.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(70,88,74,0.12);
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] { border-color: var(--rose); }

.field-error { font-size: 0.86rem; color: var(--rose); min-height: 1.2em; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  display: none;
}
.form-status.is-shown { display: block; }
.form-status.ok { background: rgba(143,160,136,0.2); color: var(--moss); border: 1px solid var(--sage); }
.form-status.err { background: rgba(176,132,118,0.15); color: #8a5647; border: 1px solid var(--rose-pale); }

button[disabled] { opacity: 0.6; cursor: progress; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- footer -------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--parchment-2);
  padding-block: 4rem 2rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246,242,233,0.15);
}
.footer-mark {
  font-family: var(--font-display);
  font-size: var(--step-2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-mark svg { width: 34px; height: 34px; color: var(--sage); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 44px; height: 44px;
  border: 1px solid rgba(246,242,233,0.25);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social a:hover { background: var(--moss); border-color: var(--moss); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(246,242,233,0.6);
}

/* --- scroll reveal ------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- decorative botanical corners ---------------------------------------- */

.leaf-deco {
  position: absolute;
  pointer-events: none;
  color: var(--sage);
  opacity: 0.3;
  z-index: 0;
}
.leaf-deco svg { width: 100%; height: auto; }
.leaf-tr { top: -3rem; inset-inline-end: -5rem; width: 260px; transform: scaleX(-1); }
.leaf-bl { bottom: -4rem; inset-inline-start: -6rem; width: 300px; }
@media (max-width: 860px) { .leaf-deco { display: none; } }

/* Raise the shell above .leaf-deco. This must NOT be `.shell > *` — that would
   overwrite the positioning of children that set their own (the mobile nav). */
.shell { position: relative; z-index: 1; }
