/* Les Aliments Joe & Ray. One stylesheet. Tokens first; components read like the page, top to bottom.
   State lives in attributes, never in ad-hoc classes:
     [data-state] on .form (idle|sending|sent|error), #catalogue (results|empty), .code (idle|copied)
     html[data-scrolled] for the header, [popover]:popover-open for the mobile menu,
     details[open] for FAQ, input:checked for catalogue categories. */

:root {
  --green-900: #0a2e23;
  --green-800: #01563f;   /* brand deep green */
  --green-600: #009247;   /* brand green */
  --green-50: #eef4f0;
  --red: #cf2a38;         /* brand tomato red: primary actions only */
  --red-700: #b01f2c;
  --ink: #10221a;         /* headlines */
  --body: #45524b;
  --muted: #6d7a73;
  --paper: #ffffff;
  --mist: #f0f5f2;        /* alternate section surface (light green) */
  --mist-grey: #f7f8f8;   /* near-white grey, services */
  --green-150: #dceae1;   /* hover on the light-green bands */
  --line: #dde3e0;
  --line-light: rgb(255 255 255 / .18);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --announce-h: 38px;
  --header-h: 80px;
  --top: calc(var(--announce-h) + var(--header-h)); /* full fixed chrome height */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; padding-top: var(--top); background: var(--paper); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 700; color: var(--ink); letter-spacing: -.025em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green-800); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.muted a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.center { display: flex; justify-content: center; text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.eyebrow { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--green-800); margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.55; margin-top: 20px; max-width: 58ch; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--pill); border: 1px solid transparent; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-700); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
/* secondary action in brand green, so the red catalogue button stays the one main CTA */
.btn-outline { border: 1.5px solid var(--green-800); background: transparent; color: var(--green-800); }
.btn-outline:hover { background: var(--green-50); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-50); }
.btn-ghost-light { border-color: var(--line-light); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .15s, opacity .15s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }

/* ---------- header: announcement bar + nav, fixed together ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
html[data-scrolled] .site-header { border-bottom-color: var(--line); }
.announce { height: var(--announce-h); background: var(--green-800); color: #fff; font-size: .84rem; }
.announce-in { height: 100%; display: flex; align-items: center; justify-content: center; }
.announce a { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #fff; font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce .i { width: 15px; height: 15px; }
.bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* the logo hangs below the bar in a white disc (as on the client's current site), so it can be large
   without a tall header; once the page scrolls it shrinks back inside the bar */
.brand { --logo: 116px; position: relative; z-index: 2; align-self: flex-start; flex: none; display: block; width: var(--logo); height: var(--logo); margin-top: 6px; padding: 5px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 18px -12px rgb(16 34 26 / .35); transition: width .25s var(--ease), height .25s var(--ease), padding .25s var(--ease), margin .25s var(--ease), box-shadow .25s; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
html[data-scrolled] .brand { --logo: 70px; margin-top: 5px; padding: 3px; box-shadow: 0 0 0 1px var(--line); }
.nav ul { display: flex; gap: 2px; }
.nav ul a { display: inline-flex; align-items: center; padding: 10px 14px; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink); border-radius: var(--pill); transition: background-color .15s; }
.nav ul a:hover { background: var(--mist); }
.nav ul a[aria-current="page"] { color: var(--green-800); font-weight: 600; }
.nav-foot, .menu-btn, .nav-close { display: none; }
.bar-actions { display: flex; align-items: center; gap: 18px; }
.bar-actions .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.lang { font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--ink); text-decoration: none; padding: 10px 2px; }
.lang:hover { color: var(--green-800); text-decoration: underline; text-underline-offset: 4px; }

/* desktop: the popover nav is just an inline nav */
@media (min-width: 1101px) {
  .nav[popover] { display: block; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; overflow: visible; width: auto; height: auto; color: inherit; }
}
@media (max-width: 1100px) {
  .menu-btn { display: inline-grid; }
  .hide-sm { display: none; }
  .bar-actions { gap: 12px; }
  .nav[popover] { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: calc(var(--top) + 8px) var(--gutter) 32px; border: 0; background: var(--paper); flex-direction: column; justify-content: space-between; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), display .25s allow-discrete, overlay .25s allow-discrete; }
  .nav[popover]:popover-open { display: flex; opacity: 1; transform: none; }
  @starting-style { .nav[popover]:popover-open { opacity: 0; transform: translateY(-8px); } }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 700; font-size: 1.8rem; letter-spacing: -.02em; padding: 14px 0; border-radius: 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav ul a:hover { background: none; }
  .nav-foot { display: flex; }
  .nav-foot .btn { flex: 1; }
  .nav-close { display: inline-grid; position: absolute; top: calc(var(--announce-h) + (var(--header-h) - 44px) / 2); right: var(--gutter); }
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 46ch; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* photo edge to edge, headline over a dark wash */
.hero { display: flex; align-items: flex-end; min-height: min(calc(100svh - var(--top)), 780px); padding: clamp(72px, 8vw, 112px) 0 clamp(36px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.hero .hero-media { position: absolute; inset: 0; z-index: -1; }
.hero .hero-media img { object-position: 60% 50%; }
.hero .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 30 22 / .82) 0%, rgb(8 30 22 / .5) 45%, rgb(8 30 22 / 0) 75%); }
.hero .hero-copy { max-width: 680px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-top: clamp(32px, 4vw, 48px); }
.hero-stats li { display: flex; flex-direction: column; gap: 4px; padding: 0 24px 0 0; }
.hero-stats li + li { padding-left: 24px; border-left: 1px solid rgb(255 255 255 / .25); }
.hero-stats strong { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -.03em; color: #fff; }
.hero-stats span { font-size: .9rem; color: rgb(255 255 255 / .78); }
.hero :is(h1, .eyebrow) { color: #fff; }
.hero .lead { color: rgb(255 255 255 / .86); }
.hero .btn-ghost { border-color: rgb(255 255 255 / .45); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; }

/* ---------- brands: right under the hero ---------- */
.brands { padding: clamp(40px, 5vw, 64px) 0 0; }
.brands-head { text-align: center; margin-bottom: 20px; }
.brands-head p { color: var(--muted); font-size: .95rem; }
.logo-rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; align-items: center; width: max-content; gap: 48px; animation: marquee 60s linear infinite; }
.logo-track a { display: grid; place-items: center; width: 140px; height: 80px; }
.logo-track img { max-height: 64px; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-track a:hover img, .logo-track a:focus-visible img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); } .logo-track li[aria-hidden] { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head.split > div { max-width: 720px; }

/* section backgrounds alternate so each block reads as its own section:
   logos + about (white) > services (near-white grey) > products (white) > reviews (tint) >
   wholesale (white) > coming soon (tint) > FAQ (white) > contact (tint) > footer (white) */
#testimonials, #coming-soon, #contact { background: var(--mist); }
#services { background: var(--mist-grey); }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.about-media img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.about-media:hover img { transform: scale(1.02); }
.about h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-bottom: 28px; }
.about h2 span { display: block; }
.about-copy p:not(.eyebrow) { max-width: 56ch; }
.about-copy p + p { margin-top: 16px; }

/* products: 4 x 2 grid, every featured product visible */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.tile a { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
/* square photos (text-free 1:1 versions of the client's product posters) */
.tile-img { display: block; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--mist-grey); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile a:hover .tile-img img { transform: scale(1.03); }
.tile-cap { display: flex; flex-direction: column; gap: 2px; padding: 16px 2px 0; }
.tile-name { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.2; transition: color .15s; }
.tile a:hover .tile-name { color: var(--green-800); }
.tile-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.tile-ask { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-800); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); }
.tile-ask .i { width: 16px; height: 16px; }
.tile a:hover .tile-ask, .tile a:focus-visible .tile-ask { opacity: 1; transform: none; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.services { gap: 20px; }
.service { display: flex; flex-direction: column; padding: 28px 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .2s var(--ease); }
.service:hover { border-color: var(--green-800); transform: translateY(-2px); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.service-icon { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--green-50); color: var(--green-800); stroke-width: 1.7; transition: background-color .2s, color .2s; }
.service:hover .service-icon { background: var(--green-800); color: #fff; }
.service h3 { margin-bottom: 10px; }
.service p { font-size: .97rem; }

/* reviews: scroll-snap carousel, Google reviews first */
.g-summary { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); text-decoration: none; flex: none; transition: border-color .15s; }
.g-summary:hover { border-color: var(--ink); }
.g-logo { width: 22px; height: 22px; flex: none; }
.g-score { font-family: var(--display); font-weight: 700; font-size: 1.8rem; line-height: 1; color: var(--ink); }
.g-summary small { display: block; font-size: .8rem; color: var(--muted); }
.stars { display: block; font-size: 1rem; letter-spacing: 2px; line-height: 1; }
.stars::before { content: "★★★★★"; background: linear-gradient(90deg, #f2b705 calc(var(--r) / 5 * 100%), #d5d9d7 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: 4px; }
.review-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border-radius: var(--r); transition: transform .2s var(--ease), background-color .2s; }
.review:hover { transform: translateY(-2px); background: var(--green-150); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.review blockquote p::before { content: "“"; } .review blockquote p::after { content: "”"; }
.who { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.who strong { color: var(--ink); }
.who .stars { grid-column: 1; font-size: .95rem; }
.who .who-sub { grid-column: 1 / -1; color: var(--muted); }
.who .g-logo { width: 18px; height: 18px; }
.carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.rail-ctrl { display: flex; gap: 8px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-800); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link .i { width: 16px; height: 16px; }

/* wholesale */
.wholesale { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wholesale-media { margin: 0; }
.wholesale-media { border-radius: var(--r-lg); overflow: hidden; }
.wholesale-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; transition: transform .6s var(--ease); }
.wholesale-media:hover img { transform: scale(1.02); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 28px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; }
.checks .i { width: 20px; height: 20px; color: var(--green-600); stroke-width: 2.4; margin-top: 2px; }
.who-h { margin-top: 28px; font-family: var(--display); font-weight: 600; font-size: .875rem; color: var(--ink); }
.who-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.who-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--pill); font-size: .9rem; transition: border-color .2s, background-color .2s, color .2s; cursor: default; }
.who-list li:hover { border-color: var(--green-800); background: var(--green-50); color: var(--green-800); }

/* FAQ: native <details name> = exclusive accordion, zero JS */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--top) + 24px); display: flex; flex-direction: column; gap: 14px; }
.faq-aside h2 { margin-bottom: 4px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary { transition: color .15s; }
.faq-list summary:hover { color: var(--green-800); }
.faq-list summary:hover .faq-icon { border-color: var(--green-800); }
.faq-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: transform .25s var(--ease), background-color .15s, color .15s; }
.faq-icon .i { width: 16px; height: 16px; }
details[open] .faq-icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-list details p { padding: 0 56px 24px 0; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }
:root { interpolate-size: allow-keywords; }

/* dark panels: Acqua eVa, contact */
.panel-dark { background: var(--green-900); color: rgb(255 255 255 / .8); border-radius: var(--r-lg); overflow: hidden; }
.panel-dark :is(h2, h3) { color: #fff; }
.panel-dark .eyebrow { color: #9fd3b6; }

/* Acqua eVa */
.eva { display: grid; grid-template-columns: .85fr 1.15fr; }
.eva-media { margin: 0; min-height: 100%; }
.eva-media img { width: 100%; height: 100%; object-fit: cover; }
.eva-copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.status { padding: 6px 14px; border-radius: var(--pill); background: rgb(255 255 255 / .1); color: #fff; font-family: var(--display); font-weight: 600; font-size: .85rem; }
.eva-title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.tagline { font-size: 1.2rem; font-style: italic; color: #fff; margin-top: -6px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { padding: 6px 14px; border: 1px solid var(--line-light); border-radius: var(--pill); font-size: .9rem; }
.release { width: 100%; max-width: 480px; display: grid; margin: 4px 0 8px; }
.release li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.release li:first-child { border-top: 1px solid var(--line-light); }
.release strong { font-weight: 600; color: #fff; }
.release span:last-child { font-size: .88rem; text-align: right; }
.release li[data-state="later"] { opacity: .65; }
.cap { width: 16px; height: 16px; border-radius: 50%; justify-self: center; }
.cap-white { background: #fff; }
.cap-black { background: #111; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.fine { font-size: .82rem; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(32px, 5vw, 72px); }
.contact-lines { display: grid; gap: 16px; margin-top: 32px; }
.contact-lines li { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.contact-lines .i { margin-top: 2px; opacity: .7; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form { position: relative; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: rgb(255 255 255 / .8); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-light); background: rgb(255 255 255 / .06); color: #fff; outline: none; transition: border-color .15s, background-color .15s; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: #fff; background: rgb(255 255 255 / .1); }
.form input:user-invalid, .form textarea:user-invalid { border-color: #ff8a8a; }
.form button[type=submit] { margin-top: 6px; min-height: 54px; }
.when-sending, .form-error, .form-sent { display: none; }
.form[data-state="sending"] .when-idle { display: none; }
.form[data-state="sending"] .when-sending { display: inline-flex; }
.form[data-state="sending"] button[type=submit] { opacity: .7; pointer-events: none; }
.form[data-state="error"] .form-error { display: flex; }
.form[data-state="sent"] .form-fields { visibility: hidden; }
.form[data-state="sent"] .form-sent { display: flex; }
.form-error { grid-column: 1 / -1; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: rgb(207 42 56 / .2); color: #ffd3d6; font-size: .92rem; }
.form-sent { position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.sent-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--green-900); margin-bottom: 8px; }
.sent-icon .i { width: 28px; height: 28px; stroke-width: 2.4; }
.form-sent h3 { font-size: 1.7rem; }

/* contact form honeypot (Web3Forms botcheck): invisible to people, bots tick it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* social icons: contact panel and footer */
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-light); border-radius: 50%; color: #fff; transition: background-color .15s, border-color .15s, color .15s; }
.social a:hover { background: #fff; border-color: #fff; color: var(--green-800); }
.social .i { width: 19px; height: 19px; }

/* 404 */
.not-found { min-height: 50vh; }
.not-found h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.not-found .row { flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--green-800); color: rgb(255 255 255 / .8); padding: 72px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
/* logo.png's white disc is clipped by the image edge: a slightly larger CSS circle behind it completes it */
.foot-logo { width: 120px; height: 120px; padding: 6px; object-fit: contain; background: #fff; border-radius: 50%; margin-bottom: 20px; }
.site-footer .muted { max-width: 36ch; color: rgb(255 255 255 / .75); }
.foot-h { font-family: var(--display); font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; color: #fff; }
.foot-acc summary { display: flex; align-items: center; justify-content: space-between; list-style: none; pointer-events: none; }
.foot-acc summary::-webkit-details-marker { display: none; }
.foot-acc-icon { display: none; }
.foot-links { display: grid; gap: 8px; }
.foot-links a { text-decoration: none; transition: color .15s; }
.foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .contact-lines { margin-top: 0; }
.site-footer .contact-lines a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .85rem; color: rgb(255 255 255 / .65); }
.foot-bottom a { color: #fff; }

/* ---------- catalogue page ---------- */
.cat-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: var(--mist); }
.cat-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); max-width: 18ch; }
.catalogue { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.cat-bar { display: contents; }
.search { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--green-800); box-shadow: 0 0 0 4px rgb(1 86 63 / .1); }
.search > .i { position: absolute; left: 20px; color: var(--muted); pointer-events: none; }
.search input { flex: 1; min-width: 0; height: 60px; padding: 0 12px 0 52px; border: 0; background: none; outline: none; font-size: 1rem; }
.search input::placeholder { color: #8a948d; }
.catalogue .search { grid-column: 1 / -1; position: sticky; top: calc(var(--top) + 8px); z-index: 10; margin-top: clamp(28px, 3vw, 40px); }
.showing { padding-right: 22px; font-size: .85rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cats { position: sticky; top: calc(var(--top) + 96px); max-height: calc(100dvh - var(--top) - 120px); overflow: auto; border: 0; margin: 0; padding: 0; min-inline-size: 0; display: grid; gap: 2px; scrollbar-width: thin; }
.cat-chip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; transition: background-color .15s; }
.cat-chip:hover { background: var(--mist); }
.cat-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cat-chip:has(input:checked) { background: var(--green-800); color: #fff; }
.cat-chip:has(input:focus-visible) { outline: 3px solid var(--green-800); outline-offset: 2px; }
.cat-chip .n, .cat-group h2 .n { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-chip:has(input:checked) .n { color: rgb(255 255 255 / .7); }
.cat-chip[data-empty] { opacity: .4; }
.cat-results { min-width: 0; padding-top: 16px; }
.cat-group { margin-bottom: 40px; }
.cat-group[hidden] { display: none; }
.cat-group h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.5rem; padding: 12px 0; border-bottom: 2px solid var(--ink); }
.items { display: grid; grid-template-columns: 1fr; }
.item { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.item[hidden] { display: none; }
.item-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 4px; text-decoration: none; }
.item-main img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.item-name { flex: 1; min-width: 0; }
.item-go { color: var(--muted); opacity: 0; width: 18px; height: 18px; transition: opacity .15s; }
.item:hover { background: var(--mist); }
.item:hover .item-go, .item-main:focus-visible .item-go { opacity: 1; color: var(--red); }
.code { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; border: 1px solid transparent; background: var(--mist); font: 500 .78rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; color: var(--muted); cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s, background-color .15s; }
.code .i { width: 14px; height: 14px; }
.code:hover { border-color: var(--line); color: var(--ink); }
.code .ic-done, .code[data-state="copied"] .ic-copy { display: none; }
.code[data-state="copied"] { background: var(--green-50); color: var(--green-800); }
.code[data-state="copied"] .ic-done { display: block; }
mark { background: #fbe7a1; color: inherit; border-radius: 3px; padding: 0 1px; }
.empty { display: none; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 64px 16px; }
.catalogue[data-state="empty"] .empty { display: flex; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mist); color: var(--muted); margin-bottom: 8px; }
.empty-icon .i { width: 28px; height: 28px; }
.empty h2 { font-size: 1.7rem; }
.empty .row { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .review-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; --announce-h: 36px; }
  .about-grid, .faq-grid, .contact, .eva, .wholesale { grid-template-columns: 1fr; }
  .brand { --logo: 88px; margin-top: 4px; padding: 4px; }
  html[data-scrolled] .brand { --logo: 60px; margin-top: 4px; padding: 3px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .tile-ask { display: none; }
  .wholesale-media img { aspect-ratio: 16 / 10; }
  .eva-media img { aspect-ratio: 1; height: auto; object-position: 50% 30%; }
  .faq-aside { position: static; }
  .catalogue { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cat-bar { display: block; position: sticky; top: var(--top); z-index: 10; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 0; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
  .catalogue .search { position: relative; top: auto; margin-top: 0; }
  .cat-hero { padding-bottom: 24px; }
  .cats { position: static; display: flex; max-height: none; overflow-x: auto; gap: 6px; padding: 10px var(--gutter); margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat-chip { flex: none; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; padding: 7px 12px; white-space: nowrap; }
  .cat-chip:has(input:checked) { border-color: var(--green-800); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head.split { align-items: start; flex-direction: column; }
  .lead { margin-top: 14px; }
  .row { margin-top: 24px; }
  .row .btn { flex: 1 1 auto; }

  .hero { min-height: 0; padding: 140px 0 40px; }
  .hero-stats li { padding: 0 10px 0 0; }
  .hero-stats li + li { padding-left: 10px; }
  .hero-stats span { font-size: .78rem; line-height: 1.35; }
  .hero .hero-media::after { background: linear-gradient(0deg, rgb(8 30 22 / .92) 0%, rgb(8 30 22 / .7) 55%, rgb(8 30 22 / .25) 100%); }

  .brands { padding: 32px 0; }
  .brands-head { margin-bottom: 12px; }
  .logo-track { gap: 28px; }
  .logo-track a { width: 104px; height: 60px; }
  .logo-track img { max-height: 46px; }

      
  .tile-cap { padding-top: 12px; }
  .tile-name { font-size: 1rem; }
  .tile-meta { font-size: .85rem; }

  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 22px 20px 24px; }
  .service-top { margin-bottom: 24px; }

  .g-summary { width: 100%; }
  .review-track { grid-auto-columns: 100%; gap: 12px; }
  .review { padding: 22px; }
  .carousel-foot { margin-top: 16px; }

  .checks { grid-template-columns: 1fr; }
  .faq-grid { gap: 24px; }
  .faq-list summary { padding: 18px 0; font-size: 1rem; }
  .faq-list details p { padding: 0 44px 18px 0; }

  .panel-dark { margin-inline: calc(-1 * var(--gutter) / 2); border-radius: var(--r); }
  .eva-copy { padding: 28px 20px 32px; gap: 14px; }
  .release li { grid-template-columns: 20px 1fr; }
  .release span:last-child { grid-column: 2; text-align: left; }
  .eva .btn { width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
  .contact { padding: 28px 18px; gap: 32px; }
  .form-fields { grid-template-columns: 1fr; }

  .site-footer { padding: 48px 0 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-acc { border-block: 1px solid var(--line-light); }
  .foot-acc summary { pointer-events: auto; cursor: pointer; padding: 16px 0; }
  .foot-acc .foot-h { margin: 0; }
  .foot-acc-icon { display: block; color: #fff; transition: transform .2s var(--ease); }
  .foot-acc[open] .foot-acc-icon { transform: rotate(45deg); }
  .foot-links { grid-template-columns: 1fr 1fr; gap: 10px 16px; padding-bottom: 18px; }
  .foot-bottom { margin-top: 36px; }

  .search input { height: 56px; }
  .showing { display: none; }
  .item { flex-wrap: wrap; gap: 0 12px; padding-bottom: 12px; }
  .item-main { padding-bottom: 6px; flex-basis: 100%; }
  .item .code { margin-left: 4px; }
  .cat-group { margin-bottom: 28px; }
  .cat-group h2 { font-size: 1.25rem; padding: 10px 0; }
}
