/* ==========================================================================
   Easypack landing page
   --------------------------------------------------------------------------
   THEME: everything visual is driven by the tokens below.
   - Swap typefaces: change --font-display / --font-body (and the Google Fonts
     <link> in index.html).
   - Swap colours: edit the :root palette, or add another [data-theme] block.
   ========================================================================== */

:root {
  /* Typefaces (replaceable) */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Brand colours (taken from the Easypack logo) */
  --brand: #ec1d24;
  --brand-ink: #ffffff;        /* text on brand colour */

  /* Light theme surfaces */
  --bg: #ffffff;
  --bg-alt: #f5f4f2;
  --ink: #232021;
  --ink-muted: #6b6668;
  --line: #e3e0dd;
  --ph-a: #ecebe8;             /* image placeholder stripes */
  --ph-b: #e4e2de;

  /* Type scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-hero: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --container: 1920px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --radius: 0;                 /* rectangular visual language */
  --border: 1px solid var(--line);

  /* Hero: kraft-paper backdrop behind the text and photo (same in both themes) */
  --hero-wash: #ffcaa9;                              /* base colour under the texture: sets how warm/saturated the kraft looks */
  --hero-texture: url("assets/img/hero-kraft2-web.jpg");  /* web copy of hero-kraft2.jpg; set to none for a plain colour */
  --hero-texture-opacity: .53;
  --hero-height: 90vh;          /* desktop: height of the kraft backdrop and photo */
  --hero-ink: #000000;          /* headline and lead */
  --hero-ink-muted: #181818;    /* small label above the headline */
  --hero-accent: #ffffff;       /* the highlighted word ("sells") */
  --header-shadow: 3px 5px 12px rgb(167 145 129 / .10), 11px 20px 23px rgb(167 145 129 / .09),
                   25px 45px 31px rgb(167 145 129 / .05), 44px 79px 36px rgb(167 145 129 / .01);
  --hero-card-bg: rgb(0 0 0 / .3);   /* slide name card over the photo */
  --hero-card-ink: #ffffff;
  --hero-dot-bg: #ffffff;
  --hero-dot-line: #797979;
  --logo-tile-bg: #ffffff;           /* client logo tiles stay white in dark mode too */
  --file-chip-bg: #eeeeee;           /* uploaded-file chip in the 3D preview */

  /* Features section ("Why Easypack") */
  --features-bg: #ffe7c3;
  --features-card: #ffffff;
  --features-line: #ffeacb;
}

[data-theme="dark"] {
  --features-bg: #2a211a;
  --features-card: #1e1b1c;
  --features-line: #3a2e25;
  --bg: #161415;
  --bg-alt: #1e1b1c;
  --ink: #f3f1ef;
  --ink-muted: #a39d9f;
  --line: #34302f;
  --file-chip-bg: #2c2829;
  --ph-a: #252223;
  --ph-b: #2c2829;
}

/* ---------- Breakpoints ----------
   Phone first. Layouts widen at four widths, used everywhere (plant-scene.css and plant-scene.js too):
   640px   large phones / small tablets      (max-width: 639px for phone-only rules)
   860px   tablets
   1024px  laptops: full navigation, side-by-side hero and 3D preview
   1200px  wide screens
   ---------------------------------- */

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; border-radius: var(--radius); }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: var(--sp-2);
}
.eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--brand); }

.section-head {
  display: grid; gap: var(--sp-2);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-5);
}
.section-head h2 { font-size: var(--fs-xl); max-width: 18ch; }
.section-head p { color: var(--ink-muted); max-width: 46ch; }
@media (min-width: 860px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head p { justify-self: end; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  padding: 0.9rem 1.5rem; border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--sm { padding: 0.6rem 1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-arrow { font-size: var(--fs-sm); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--brand); }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative; width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px);
  display: grid; place-items: center;
  color: var(--ink-muted); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase;
}
.ph::after { content: attr(data-label); background: var(--bg); padding: 0.35rem 0.6rem; border: var(--border); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: var(--sp-3); }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); }
.logo img { width: 1.6rem; height: auto; }
[data-theme="dark"] .logo img { filter: invert(1) hue-rotate(180deg); }

.nav { display: none; gap: var(--sp-4); }
.nav a { text-decoration: none; font-size: var(--fs-sm); color: var(--ink-muted); }
.nav a:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: var(--sp-1); }
.icon-btn { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: none; border: var(--border); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.header__cta { display: none; }
.menu-toggle { display: grid; }

.mobile-nav { display: none; border-top: var(--border); padding: var(--sp-3) var(--gutter) var(--sp-4); background: var(--bg); }
.mobile-nav.is-open { display: grid; gap: var(--sp-2); }
.mobile-nav a { text-decoration: none; font-size: var(--fs-lg); font-family: var(--font-display); }

@media (min-width: 1024px) {
  .nav, .header__cta { display: flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem) var(--section-y); }
.hero__grid { display: grid; gap: var(--sp-5); }
.hero h1 { font-size: var(--fs-hero); max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--hero-accent); }
.hero__lead { font-size: var(--fs-lg); color: var(--ink-muted); max-width: 40ch; margin-top: var(--sp-3); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--border); border-left: var(--border); margin-top: var(--sp-6); }
.stat { padding: var(--sp-3); border-right: var(--border); border-bottom: var(--border); }
.stat strong { display: block; font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 500; }
.stat span { font-size: var(--fs-sm); color: var(--ink-muted); }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Logo strip ---------- */
.trust { border-block: var(--border); padding-block: var(--sp-4); }
.trust__inner { display: grid; gap: var(--sp-3); }
.trust p { font-size: var(--fs-sm); color: var(--ink-muted); }
.trust__logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr)); gap: var(--sp-2); min-width: 0; }
.trust__logos .ph { --ratio: 3 / 1; }
.trust__logos .ph::after { padding: 0.2rem 0.4rem; }
@media (min-width: 860px) {
  .trust__inner { grid-template-columns: 12rem 1fr; align-items: center; }
  .trust__logos { grid-template-columns: repeat(auto-fill, minmax(9rem, 13rem)); }
}

/* Ticker (built by main.js): scrolls right to left, pauses on hover; logos are grey until hovered */
.trust__logos.trust__ticker {
  display: block; overflow: hidden; padding-block: var(--sp-1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust__track { display: flex; width: max-content; animation: trust-ticker var(--ticker-time, 40s) linear infinite; }
.trust__ticker:hover .trust__track { animation-play-state: paused; }
.trust__group { display: flex; gap: var(--sp-2); margin: 0; padding: 0 var(--sp-2) 0 0; list-style: none; }
.trust__ticker .trust__logo {
  position: relative; flex: none; width: 9rem; aspect-ratio: 3 / 1;
  transition: transform .3s ease;
}
.trust__ticker .trust__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); transition: filter .3s ease; }
.trust__ticker .trust__logo:hover { transform: scale(1.1); z-index: 1; }
.trust__ticker .trust__logo:hover img { filter: none; }
@media (min-width: 860px) { .trust__ticker .trust__logo { width: 13rem; } }
@keyframes trust-ticker { to { transform: translateX(-50%); } }
/* Reduced motion: no scrolling; each logo shown once, wrapping onto more rows */
@media (prefers-reduced-motion: reduce) {
  .trust__logos.trust__ticker { -webkit-mask-image: none; mask-image: none; }
  .trust__track { animation: none; width: auto; }
  .trust__group { flex-wrap: wrap; padding: 0; }
  .trust__group[aria-hidden="true"], .trust__logo.is-repeat { display: none; }
  .trust__ticker .trust__logo, .trust__ticker .trust__logo img { transition: none; }
}

/* ---------- Filters ---------- */
.filters { display: flex; gap: var(--sp-1); overflow-x: auto; margin-bottom: var(--sp-4); padding-bottom: 2px; scrollbar-width: none; }
.filter {
  flex: none; padding: 0.55rem 1rem; font-size: var(--fs-sm);
  background: transparent; border: var(--border); cursor: pointer; color: var(--ink-muted);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- Product grid ---------- */
.grid { display: grid; gap: var(--sp-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Products (Figma node 5774-41286): up to 4 per row, photos slightly taller than wide */
.grid--products .card .ph { --ratio: 15 / 16; background: var(--bg-alt); }
/* The whole card opens the product page (the name link stretches over it); "Quote this" stays on top */
.grid--products .card { position: relative; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.grid--products .card:has(.card__link:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.grid--products .card:hover h3 { color: var(--brand); }
.grid--products .card__foot a { position: relative; z-index: 2; }
/* Two columns on phones too, with tighter cards */
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) {
  .grid--products { gap: var(--sp-2) var(--sp-1); }
  .grid--products .card__body { padding: var(--sp-2) 12px; gap: 6px; }
  .grid--products .card h3 { font-size: var(--fs-md); line-height: 1.25; }
  .grid--products .card p { font-size: var(--fs-xs); line-height: 1.5; }
  .grid--products .tags { gap: 4px; margin-top: 2px; }
  .grid--products .tag { padding: .1rem .35rem; font-size: .6875rem; }
  .grid--products .card__foot { flex-wrap: wrap; gap: 2px 8px; padding-top: 10px; }
}
@media (min-width: 860px) { .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; border: var(--border); background: var(--bg); }
.card[hidden] { display: none; }
.card .ph { --ratio: 1 / 1; }
.card__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-1); flex: 1; }
.card h3 { font-size: var(--fs-lg); }
.card p { font-size: var(--fs-sm); color: var(--ink-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--sp-1); }
.tag { font-size: var(--fs-xs); padding: 0.2rem 0.5rem; border: var(--border); color: var(--ink-muted); }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: var(--sp-2); font-size: var(--fs-xs); color: var(--ink-muted); }

.finishes { margin-top: var(--sp-5); display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--border); border-left: var(--border); }
.finish { padding: var(--sp-2) var(--sp-3); border-right: var(--border); border-bottom: var(--border); font-size: var(--fs-sm); display: flex; align-items: center; gap: var(--sp-1); }
.finish::before { content: ""; width: 0.4rem; height: 0.4rem; background: var(--brand); flex: none; }
@media (min-width: 860px) { .finishes { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: 1fr; border-top: var(--border); border-left: var(--border); }
.feature { padding: var(--sp-4); border-right: var(--border); border-bottom: var(--border); display: grid; gap: var(--sp-2); align-content: start; }
.feature__num { font-family: var(--font-display); font-size: var(--fs-sm); color: var(--brand); }
.feature h3 { font-size: var(--fs-lg); }
.feature p { color: var(--ink-muted); font-size: var(--fs-sm); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Works ---------- */
/* A gapless bento strip, two tiles tall, that scrolls sideways (two-finger swipe, finger or the arrows).
   main.js marks every fifth tile .work--big (2 × 2). Text shows over the photo on hover / keyboard focus only. */
.works__bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--sp-2); }
.works__nav { display: flex; gap: var(--sp-1); }
.works__nav .icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.works {
  --tile: clamp(9rem, 42vw, 13rem);
  display: grid; gap: 0;
  grid-auto-flow: column dense; grid-template-rows: repeat(2, var(--tile)); grid-auto-columns: var(--tile);
  margin-top: var(--sp-4);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.works::-webkit-scrollbar { display: none; }
.works:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (min-width: 640px) { .works { --tile: clamp(12rem, 22vw, 19rem); } }
@media (prefers-reduced-motion: no-preference) { .works { scroll-behavior: smooth; } }
.work {
  position: relative; display: block; overflow: hidden; min-width: 0;
  padding: 0; border: 0; background: var(--bg-alt); text-align: left; cursor: pointer;
  scroll-snap-align: start;
}
.work[hidden] { display: none; }
.work--big { grid-row: span 2; grid-column: span 2; }
.work .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.work .ph img { transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.work:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; z-index: 1; }
.work__meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: grid; gap: 2px; padding: var(--sp-4) var(--sp-2) var(--sp-2);
  background: linear-gradient(transparent, rgb(0 0 0 / .62));
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.work h3 { font-size: var(--fs-md); color: #fff; }
.work--big h3 { font-size: var(--fs-lg); }
.work span { font-size: var(--fs-xs); color: rgb(255 255 255 / .82); }
@media (hover: hover) {
  .work:hover .work__meta, .work:focus-visible .work__meta { opacity: 1; transform: none; }
  .work:hover .ph img { transform: scale(1.04); }
}
/* Touch screens: no text over the photos (still read out by screen readers) */
@media (hover: none) { .work__meta { opacity: 0 !important; } .works__nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .work__meta, .work .ph img { transition: none; } }

/* Case study dialog */
.case { width: min(100% - 2rem, 56rem); max-height: 90vh; padding: 0; border: var(--border); background: var(--bg); color: var(--ink); }
.case::backdrop { background: rgb(0 0 0 / .55); }
.case__head { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-2) var(--sp-3); border-bottom: var(--border); }
.case__body { padding: var(--sp-4) var(--sp-3); display: grid; gap: var(--sp-4); }
.case__body h3 { font-size: var(--fs-xl); }
.case__facts { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.case__facts dt { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.25rem; }
.case__facts dd { margin: 0; }
.case__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-1); }
.case__gallery .ph { --ratio: 1 / 1; }
.case__gallery .ph:first-child { grid-column: span 3; --ratio: 16 / 9; }
@media (min-width: 640px) { .case__facts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
.rating strong { font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 500; line-height: 1; }
.rating span { color: var(--ink-muted); font-size: var(--fs-sm); }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(18rem, 85%);
  gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-2);
  scrollbar-width: thin;
}
@media (min-width: 640px) { .reviews__track { grid-auto-columns: calc((100% - 2 * var(--sp-3)) / 2.2); } }
@media (min-width: 1024px) { .reviews__track { grid-auto-columns: calc((100% - 2 * var(--sp-3)) / 3); } }
.review { scroll-snap-align: start; border: var(--border); background: var(--bg); padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.review blockquote { margin: 0; font-size: var(--fs-lg); font-family: var(--font-display); line-height: 1.35; }
.review__stars { color: var(--brand); letter-spacing: .15em; font-size: var(--fs-sm); }
.review__who { display: flex; gap: var(--sp-2); align-items: center; margin-top: auto; }
.review__who .ph { width: 3rem; --ratio: 1 / 1; flex: none; }
.review__who .ph::after { display: none; }
.review__who strong { display: block; font-size: var(--fs-sm); }
.review__who span { font-size: var(--fs-xs); color: var(--ink-muted); }
.review--video .ph { --ratio: 4 / 3; }
.reviews__controls { display: flex; gap: var(--sp-1); }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: var(--border); }
.step { padding: var(--sp-4) 0; border-bottom: var(--border); display: grid; gap: var(--sp-1); }
.step__num { font-family: var(--font-display); color: var(--brand); font-size: var(--fs-sm); }
.step h3 { font-size: var(--fs-lg); }
.step p { color: var(--ink-muted); font-size: var(--fs-sm); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-left: var(--border); }
  .step { padding: var(--sp-4); border-right: var(--border); }
}

/* ---------- Quote ---------- */
.quote { background: var(--ink); color: var(--bg); }
.quote .eyebrow, .quote__aside p { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.quote__grid { display: grid; gap: var(--sp-5); }
.quote h2 { font-size: var(--fs-xl); max-width: 14ch; }
.quote__aside { display: grid; gap: var(--sp-4); align-content: start; }
.contact-list { display: grid; gap: var(--sp-1); }
.contact-list a { text-decoration: none; display: flex; justify-content: space-between; padding: var(--sp-2) 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); }
.contact-list a:hover { color: var(--brand); }

.form { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; background: transparent; color: var(--bg);
  border: 1px solid color-mix(in srgb, var(--bg) 30%, transparent);
}
.field select option { color: #232021; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bg); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--brand); }
.field__error { font-size: var(--fs-xs); color: #ff8a8e; min-height: 1em; }
.field input[type="file"] { padding: 0.6rem; font-size: var(--fs-sm); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; justify-content: space-between; }
.form__foot small { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.form__success { grid-column: 1 / -1; padding: var(--sp-3); border: 1px solid var(--bg); display: none; }
.form__success.is-visible { display: block; }
.quote .btn--primary:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .quote__grid { grid-template-columns: 1fr 1.5fr; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: var(--sp-5); }
.faq__list { border-top: var(--border); }
.faq__list details { border-bottom: var(--border); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: var(--sp-3) 0;
  display: flex; justify-content: space-between; gap: var(--sp-2);
  font-family: var(--font-display); font-size: var(--fs-lg);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; color: var(--brand); flex: none; }
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { padding-bottom: var(--sp-3); color: var(--ink-muted); max-width: 60ch; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 2fr; } }

/* ---------- Footer ---------- */
.footer { border-top: var(--border); padding-block: var(--sp-6) var(--sp-4); }
.footer__grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.footer p, .footer li { font-size: var(--fs-sm); color: var(--ink-muted); }
.footer h4 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 var(--sp-2); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__about { display: grid; gap: var(--sp-2); max-width: 30ch; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: var(--border); font-size: var(--fs-xs); color: var(--ink-muted); }
.badges { display: flex; gap: var(--sp-1); flex-wrap: wrap; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 2fr repeat(3, 1fr); } }

/* ---------- Floating WhatsApp ---------- */
.float-chat {
  position: fixed; right: var(--sp-3); bottom: var(--sp-3); z-index: 30;
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: 0.85rem 1.1rem; background: var(--brand); color: var(--brand-ink);
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.float-chat:hover { background: var(--ink); color: var(--bg); }

/* ---------- Real images inside placeholder frames ---------- */
.ph:has(img) { background: var(--bg-alt); }
.ph:has(img)::after { display: none; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trust__logo { background: var(--logo-tile-bg) !important; }
.trust__logo img { object-fit: contain; }
.case { overflow-x: hidden; }
.case__body > * { min-width: 0; }
.case__gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case__body { grid-template-columns: minmax(0, 1fr); }

/* ---------- Hero with sliding image carousel ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); }
/* The stage (text + photo) sits on the kraft backdrop and reaches up behind the floating header */
.hero__stage {
  position: relative; isolation: isolate;
  margin-top: calc(-1 * var(--hero-top)); padding-top: var(--hero-top);
  background: var(--hero-wash);
  --ink: var(--hero-ink); --ink-muted: var(--hero-ink-muted); color: var(--ink);
}
.hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--hero-texture) center / cover no-repeat; opacity: var(--hero-texture-opacity);
}
.hero__grid { align-content: center; }
.hero__lead { color: var(--ink); opacity: .78; }
.hero .stats { background: var(--bg); margin-top: 0; }

/* Small screens: the carousel is its own block under the text, name card over the image */
.hero-carousel { position: relative; isolation: isolate; margin-top: var(--sp-5); overflow: hidden; touch-action: pan-y; }
.hero-carousel__slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.hero-slide.is-active, .hero-slide.is-leaving, .hero-slide.is-peek { visibility: visible; }
/* The image can be dragged (mouse, touch, trackpad) to change slide */
.hero-carousel__slides { cursor: grab; user-select: none; -webkit-user-select: none; }
.hero-carousel.is-dragging .hero-carousel__slides { cursor: grabbing; }
.hero-slide img { -webkit-user-drag: none; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); user-select: none; }
.hero-card {
  position: absolute; left: 50%; bottom: var(--sp-3); z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  min-width: 207px; padding: 12px var(--sp-2);
  background: var(--hero-card-bg); color: var(--hero-card-ink);
}
/* Names stack in one cell so the old one can slide out while the new one slides in */
.hero-card__name {
  display: grid; overflow: hidden; margin: 0; text-align: center;
  font-family: var(--font-body); font-size: var(--fs-md); font-weight: 500; line-height: 1.5; letter-spacing: .2px; white-space: nowrap;
}
.hero-card__name > a { grid-area: 1 / 1; color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.hero-card__name > a:hover { text-decoration-color: currentColor; }
.hero-card__row { display: flex; align-items: center; height: 1.5rem; margin-block: -8px; } /* 24px click targets, drawn as an 8px row */
.hero-dot { height: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; }
.hero-carousel :focus-visible { outline: 2px solid var(--hero-card-ink); outline-offset: -4px; }
.hero-dots { display: flex; height: 100%; }
.hero-dot { width: 1rem; }
.hero-dot::before { content: ""; width: 8px; height: 8px; box-sizing: border-box; background: var(--hero-dot-bg); border: 1px solid var(--hero-dot-line); }
.hero-dot:hover::before { border-color: var(--brand); }
.hero-dot[aria-current="true"]::before { background: var(--brand); border-color: var(--brand); }
.hero-carousel:not(.is-ready) .hero-carousel__controls { display: none; }

@media (min-width: 1024px) {
  /* Text + photo fill --hero-height of the screen (more only if the text needs it) */
  .hero__grid { min-height: calc(var(--hero-height) - var(--hero-top) - var(--sp-6)); }
  .hero__stage { padding-bottom: var(--sp-6); }
  .hero__stage > .container { position: relative; z-index: 1; pointer-events: none; }
  .hero__stage > .container :is(a, h1, p, .eyebrow) { pointer-events: auto; }
  .hero-carousel { position: absolute; inset: 0 0 0 auto; width: 50%; padding: 0; margin: 0; }
  .hero-carousel__slides { position: absolute; inset: 0; aspect-ratio: auto; }
}

/* ---------- Product page (quick placeholder, product.html) ---------- */
.product-page { padding-block: 8rem var(--section-y); }
.product-page__back { display: inline-block; margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-muted); }
.product-page__back:hover { color: var(--brand); }
.product-page__grid { display: grid; gap: var(--sp-5); align-items: center; }
.product-page__photo { --ratio: 4 / 3; }
.product-page__info h1 { font-size: var(--fs-xl); margin-top: var(--sp-2); }
.product-page__lead { font-size: var(--fs-lg); color: var(--ink-muted); max-width: 40ch; margin-top: var(--sp-3); }
.product-page__specs { display: grid; margin: var(--sp-4) 0 0; border-top: var(--border); }
.product-page__specs div { display: grid; grid-template-columns: 10rem 1fr; gap: var(--sp-2); padding-block: var(--sp-2); border-bottom: var(--border); }
.product-page__specs dt { color: var(--ink-muted); }
.product-page__specs dd { margin: 0; }
.product-page__about { max-width: 52ch; margin-top: var(--sp-2); color: var(--ink); }
.product-page__about[hidden], .product-page__info .tags[hidden], .product-page__related[hidden], .product-page__specs[hidden] { display: none; }
.product-page__info .tags { margin-top: var(--sp-3); }
.product-page__lead a { color: var(--ink); }
.product-page__photo { background: var(--bg-alt); }
.product-page__related { margin-top: var(--section-y); }
.product-page__related h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
@media (min-width: 1024px) { .product-page__grid { grid-template-columns: 1.2fr 1fr; } }

/* ---------- Floating header (hides on scroll down) ---------- */
.header {
  position: fixed; top: var(--sp-2); left: 50%; right: auto;
  width: min(100% - 2 * var(--gutter), var(--container));
  transform: translateX(-50%);
  border: var(--border);
  background: var(--bg);
  box-shadow: var(--header-shadow);
  transition: transform .3s ease, opacity .3s ease;
}
.header.is-hidden { transform: translate(-50%, calc(-100% - var(--sp-3))); opacity: 0; }
.header__inner.container { width: auto; margin: 0; padding-inline: var(--sp-3); height: 4rem; }
.mobile-nav { padding-inline: var(--sp-3); }
.hero { --hero-top: calc(clamp(3.5rem, 2rem + 5vw, 7rem) + 5rem); padding-top: var(--hero-top); }
html { scroll-padding-top: 6.5rem; }
@media (prefers-reduced-motion: reduce) { .header { transition: none; } }

/* ---------- Section fade-in on scroll ---------- */
.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Product image zoom-out on hover ---------- */
.card .ph { overflow: hidden; }
.card .ph img {
  transform: scale(1.08);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.card:hover .ph img,
.card:focus-within .ph img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .card .ph img { transform: none; transition: none; }
}

/* ---------- Features: peach section, white cards ---------- */
#features { background: var(--features-bg); }
.feature { background: var(--features-card); border-color: var(--features-line); }

/* ---------- Reviews: expanding cards on hover (desktop) ---------- */
@media (min-width: 1024px) and (hover: hover) {
  .reviews__controls { display: none; }
  .reviews__track {
    display: flex; gap: var(--sp-2); overflow: visible; padding-bottom: 0;
    height: 26rem;
  }
  .review {
    flex: 1 1 0; min-width: 0; padding: var(--sp-3); overflow: hidden; cursor: default;
    transition: flex-grow .6s cubic-bezier(.22, 1, .36, 1), border-color .3s ease;
  }
  .review:hover, .review:focus-within { flex-grow: 2.6; border-color: var(--ink); }
  .review:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

  /* collapsed: truncated quote, single-line name/role */
  .review blockquote {
    font-size: var(--fs-md);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
    transition: font-size .4s ease;
  }
  .review__who > div:last-child { min-width: 0; }
  .review__who strong, .review__who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* expanded: full quote, larger type */
  .review:hover blockquote, .review:focus-within blockquote {
    -webkit-line-clamp: unset; line-clamp: unset; font-size: var(--fs-lg);
  }

  /* video card: image fills the card height */
  .review--video > .ph { aspect-ratio: auto; flex: 1; min-height: 0; }
}
@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: reduce) {
  .review, .review blockquote { transition: none; }
}

/* ---------- 3D preview / configurator ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.configurator { display: grid; gap: var(--sp-4); }
@media (min-width: 1024px) {
  .configurator { grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr); align-items: start; }
}
.configurator__stage { border: var(--border); background: var(--bg); }
.configurator__view {
  position: relative; aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 42%, var(--bg) 0%, var(--bg-alt) 75%);
}
@media (min-width: 640px) { .configurator__view { aspect-ratio: 4 / 3; } }
.configurator__view canvas { display: block; width: 100%; height: 100%; cursor: default; }
/* The box only takes drag and wheel once the preview is fully on screen and the page has stopped (configurator.js) */
.configurator__view.is-interactive canvas { cursor: grab; }
.configurator__view.is-interactive canvas:active { cursor: grabbing; }
.configurator__hint {
  position: absolute; left: var(--sp-2); top: var(--sp-2);
  font-size: var(--fs-xs); color: var(--ink-muted); pointer-events: none;
  transition: opacity .4s ease;
}
.configurator__hint.is-faded { opacity: 0; }
/* Camera button: saves a picture of the current 3D view */
.configurator__shot {
  position: absolute; right: var(--sp-2); bottom: var(--sp-2); z-index: 2;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0;
  border: var(--border); background: var(--bg); color: var(--ink); cursor: pointer;
}
.configurator__shot:hover { border-color: var(--ink); }
.configurator__shot:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.configurator__shot.is-done { color: var(--brand); border-color: var(--brand); }
.configurator__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--sp-4);
  text-align: center; color: var(--ink-muted); font-size: var(--fs-sm);
}
.configurator__dieline {
  position: absolute; inset: 0; padding: var(--sp-3);
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--sp-1);
  background: #fbfaf8;            /* paper: a technical drawing stays light in both themes */
}
.configurator__dieline svg { width: 100%; height: 100%; }
.configurator__legend { display: flex; gap: var(--sp-3); justify-content: center; font-size: var(--fs-xs); color: #6b6668; }
.configurator__legend span { display: inline-flex; align-items: center; gap: .4rem; }
.configurator__legend span::before { content: ""; width: 1.25rem; border-top: 1.5px solid #232021; }
.configurator__legend .fold::before { border-top: 1.5px dashed #ec1d24; }

.configurator__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-top: var(--border);
}
.segmented { display: inline-flex; border: var(--border); }
.segmented button {
  padding: 0.5rem 1rem; border: 0; background: transparent; cursor: pointer;
  font-size: var(--fs-sm); color: var(--ink-muted);
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.range { display: flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-xs); color: var(--ink-muted); }
.range[hidden] { display: none; }
.range input { width: 10rem; accent-color: var(--brand); }
.range--fold input { width: 12rem; }
/* Side buttons: jump the camera to a side, or unfold the box flat */
.configurator__sides {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  padding: var(--sp-2) var(--sp-3); border-top: var(--border);
}
.configurator__sides[hidden] { display: none; }
.cfg-sides__label { margin-right: .4rem; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.configurator__sides button {
  padding: .45rem .8rem; border: var(--border); background: transparent; cursor: pointer;
  font-size: var(--fs-sm); color: var(--ink-muted);
}
.configurator__sides button:hover { color: var(--ink); border-color: var(--ink); }
.configurator__sides button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.configurator__panel { display: grid; gap: var(--sp-4); }
.cfg-group { display: grid; gap: var(--sp-1); margin: 0; padding: 0; border: 0; min-width: 0; }
.cfg-group legend, .cfg-label {
  padding: 0; margin-bottom: var(--sp-1);
  font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
}
.cfg-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-1); }
.cfg-dims label { display: grid; gap: .3rem; font-size: var(--fs-sm); }
.cfg-dims input { width: 100%; padding: .7rem .8rem; border: var(--border); background: var(--bg); }
.cfg-dims input:focus { outline: none; border-color: var(--ink); }
.cfg-dims input[aria-invalid="true"] { border-color: var(--brand); }
.configurator .field__error { color: var(--brand); }

.swatches { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .8rem; border: var(--border); font-size: var(--fs-sm); cursor: pointer;
}
.swatch span::before { content: ""; width: 1rem; height: 1rem; background: var(--swatch); border: 1px solid rgb(0 0 0 / .15); }
.swatch:hover span { border-color: var(--ink); }
.swatch input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.cfg-upload { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.cfg-upload input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }
.cfg-remove { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; cursor: pointer; }
.cfg-note { font-size: var(--fs-xs); color: var(--ink-muted); }
.cfg-note.is-error { color: var(--brand); }
/* Artwork (Figma node 6007-83759): a toggle that opens one upload per side */
.cfg-toggle {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-1); width: 100%;
  padding: var(--sp-1) var(--sp-2); border: 1px solid transparent; background: var(--bg); color: var(--ink);
  font-size: var(--fs-sm); font-weight: 500; cursor: pointer;
}
.cfg-toggle svg { flex: none; transition: transform .2s ease; }
.cfg-toggle[aria-expanded="true"] { background: transparent; border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.cfg-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.cfg-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cfg-artpanel { display: grid; gap: var(--sp-1); }
.cfg-artpanel[hidden] { display: none; }
.cfg-sides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
@media (max-width: 639px) { .cfg-sides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cfg-side { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; align-content: start; gap: 6px; padding: 10px 12px; background: var(--bg); min-width: 0; }
.cfg-side__name { font-size: var(--fs-sm); }
/* The side's size in mm, under the upload button; red when the uploaded image is a different shape */
.cfg-side__size { font-size: var(--fs-xs); line-height: 1.4; color: var(--ink-muted); white-space: nowrap; }
.cfg-side__size.is-error { color: var(--brand); }
.cfg-side input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }
/* After upload (Figma node 6010-83760): thumbnail, file name and remove, on a grey chip */
.cfg-side label[hidden] { display: none; }
.cfg-file { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 3px 6px 3px 4px; background: var(--file-chip-bg); }
.cfg-file[hidden] { display: none; }
.cfg-file__thumb { position: relative; flex: none; }
.cfg-file__peek { display: block; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: zoom-in; }
.cfg-file__peek img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cfg-file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); font-weight: 500; }
.cfg-file__remove { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.cfg-file__remove:hover { color: var(--brand); }
.cfg-file :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Enlarged preview on hover or keyboard focus of the thumbnail */
.cfg-file__preview {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 20;
  width: 13.75rem; padding: 6px; background: var(--bg); border: var(--border); box-shadow: var(--header-shadow);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.cfg-file__preview img { display: block; width: 100%; max-height: 13rem; object-fit: contain; background: var(--bg-alt); }
.cfg-side:nth-child(3n) .cfg-file__preview { left: auto; right: -120px; }
.cfg-file__thumb:hover .cfg-file__preview,
.cfg-file__thumb:focus-within .cfg-file__preview { opacity: 1; visibility: visible; transform: none; }
.cfg-file__thumb.is-dismissed .cfg-file__preview { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .cfg-file__preview { transition: none; transform: none; } }
.cfg-summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-2) 0; border-block: var(--border); font-size: var(--fs-sm); }
.cfg-summary p { min-width: 0; }
.cfg-reset {
  flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .2rem 0; border: 0; background: none;
  font-size: var(--fs-sm); color: var(--ink-muted); cursor: pointer;
}
.cfg-reset:hover { color: var(--ink); }
.cfg-reset:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.cfg-actions { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.configurator__view [hidden] { display: none !important; }


/* ===== Live plant view section: full-bleed map under the section intro (scene styles in plant-scene.css) ===== */
.plant { padding-bottom: 0; }
.plant__frame { height: clamp(520px, 100svh, 960px); }
@media (max-width: 639px) { .plant__frame { height: 64svh; } }
