/* =========================================================
   Pages — styles that belong to one page only
   ========================================================= */

/* ============ HOME ============ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(24px, 4vw, 56px) clamp(44px, 6vw, 88px);
}
/* Ambient wash of light behind the hero, like the wall behind the studio desks */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -15% -25% 25%;
  background:
    radial-gradient(closest-side at 55% 40%, var(--glow-a), transparent 75%),
    radial-gradient(closest-side at 85% 82%, var(--glow-b), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__title { margin-top: 14px; }
.hero__title span { display: block; }
.hero__title b { font-weight: inherit; }   /* the gradient word hugs its own letters */
.hero__lede { margin-top: 20px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}
.hero__facts li { display: inline-flex; align-items: center; color: var(--text-2); }
.hero__facts li + li::before { content: "/"; margin-inline: 12px; color: var(--accent); font-weight: 700; }

.hero__visual { position: relative; margin-inline: 10px; }
.hero__block { position: absolute; z-index: 0; }
.hero__block--teal { left: -10px; top: -10px; width: 46%; height: 58%; background: var(--grad-teal); }
.hero__block--warm { right: -10px; bottom: -10px; width: 58%; height: 30%; background: var(--grad-warm); }
/* The photo follows the theme: the bright desk in light mode, the glowing desk in dark mode. */
.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10; /* phone: a little shorter, so the photo doesn't run long */
  background-color: var(--surface-2);
  background-image: url("../images/hero/mood-light-800.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
:root[data-theme="dark"] .hero__photo { background-image: url("../images/hero/mood-dark-800.jpg"); }

@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 640px) {
  .hero__photo { aspect-ratio: 16 / 10; background-position: center 25%; background-image: url("../images/hero/mood-light-1400.jpg"); }
  :root[data-theme="dark"] .hero__photo { background-image: url("../images/hero/mood-dark-1400.jpg"); }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
  .hero__visual { margin-inline: 16px 0; }
  .hero__block--teal { left: -16px; top: -16px; }
  .hero__block--warm { right: -16px; bottom: -16px; }
  .hero__photo { aspect-ratio: 8 / 9; max-height: 640px; background-position: center; }
}
/* Laptop: a shorter hero so the big search card (below) is fully on the first screen */
@media (min-width: 1024px) {
  .hero { padding-block: 28px 64px; }
  .hero__title { font-size: clamp(3.25rem, 5.6vw, 5rem); }
  .hero__lede { margin-top: 14px; }
  .hero__actions { margin-top: 20px; }
  .hero__facts { margin-top: 20px; padding-top: 12px; }
  .hero__photo { aspect-ratio: 5 / 4; max-height: 470px; }
}

.center-cta { display: flex; justify-content: center; margin-top: 36px; }

/* Two blocks side by side (visit + good to know) */
.split { display: grid; gap: 44px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.split .h2 + .lede { margin-top: 12px; }
.split .h2 + .rule-list,
.split .lede + .rule-list { margin-top: 22px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
}

/* ============ CATALOG ============ */
.catalog-head { padding-block: clamp(22px, 3.5vw, 44px) 18px; }
.catalog-head .h1 { margin-top: 12px; }
.catalog-head .lede { margin-top: 12px; max-width: 62ch; }

.cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px var(--gutter) 14px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-pills::-webkit-scrollbar { display: none; }

.catalog { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.catalog-main { min-width: 0; }

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text);
}
.results-count { margin-right: auto; }

.select {
  height: 44px;
  max-width: 100%;
  padding: 0 38px 0 14px;
  background-color: var(--surface);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 19px) 19px, calc(100% - 14px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select:hover { border-color: var(--text); }
.filters-open { flex: none; min-height: 44px; padding-block: 6px; }
.filters-open__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.type-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.type-pills .pill { min-height: 36px; font-size: 0.875rem; }

.active-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.active-bar > * { margin-bottom: 18px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filters:empty { display: none; }
.active-filters .pill { min-height: 34px; padding: 4px 10px 4px 12px; font-size: 0.875rem; }
.clear-all { font-size: 0.875rem; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Filter panel: slide-in on phone / tablet, sidebar on laptop */
.filters {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 120;
  width: min(380px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line);
  /* Revealed from the right edge with a wipe. It never sits past the screen edge,
     so phones don't zoom the page out to fit it. */
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path 0.28s var(--ease), visibility 0s linear 0.28s;
}
.filters.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.28s var(--ease); }
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 10px 10px 20px;
  border-bottom: 1px solid var(--line);
}
.filters__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.filters__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0s linear 0.28s;
}
.filters-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity 0.28s var(--ease); }

.filter-group + .filter-group { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.filter-group__title { margin-bottom: 10px; }
.filter-group .field { margin-bottom: 8px; }

.cat-list { display: grid; gap: 1px; }
.cat-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 6px 10px;
  font-weight: 500;
  color: var(--text-2);
  text-align: left;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.cat-list__link:hover { background: var(--surface-2); color: var(--text); }
.cat-list__link.is-active { color: var(--text); font-weight: 600; box-shadow: inset 4px 0 0 var(--accent); background: var(--surface-2); }
.cat-list__count { font-size: 0.8125rem; color: var(--text-3); font-weight: 500; }

@media (min-width: 1024px) {
  .cat-pills { display: none; }
  .filters-open { display: none; }
  .catalog { grid-template-columns: 256px minmax(0, 1fr); gap: 48px; }
  .filters {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    z-index: auto;
    width: auto;
    max-height: calc(100vh - var(--header-h) - 48px);
    background: transparent;
    border: 0;
    transform: none;
    clip-path: none;
    visibility: visible;
    transition: none;
  }
  .filters__head, .filters__foot { display: none; }
  .filters__body { padding: 0 8px 0 0; }
  .filters-backdrop { display: none; }
}
@media (min-width: 1360px) {
  .catalog .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============ PRODUCT ============ */
.product-page { padding-top: clamp(16px, 2.5vw, 32px); }
.product { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin-top: 20px; align-items: start; }

.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--media-bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.gallery__main .media-placeholder { padding: 16px 18px; font-size: 0.9375rem; }
/* Up to 6 thumbnails sit in one row; more scroll sideways instead of wrapping */
.gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 8px) / 6); gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--media-bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.gallery__thumb:hover { border-color: var(--text-3); }
.gallery__thumb[aria-current="true"] { border-color: var(--text); box-shadow: inset 0 -4px 0 var(--accent); }
.product.is-out .gallery__main img { opacity: 0.55; filter: grayscale(1); }

/* The information column, always in the same order:
   brand · title · model · availability (+ New) · summary · key points
   · colours · warranty / delivery / store · buttons */
.product-info__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.product-info__brand:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
}
.auth-badge .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.product-info__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 2.4vw + 1.2rem, 3.25rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.product-info__model { margin-top: 8px; font-size: 0.9375rem; color: var(--text-3); }
.product-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.product-status__note { flex: 1 1 100%; font-size: 0.875rem; color: var(--text-2); }
.product-info__summary { margin-top: 18px; font-size: 1.0625rem; color: var(--text-2); max-width: 56ch; }

.highlight-list { display: grid; gap: 8px; margin-top: 20px; }
.highlight-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-weight: 500; }
.highlight-list .icon { width: 17px; height: 17px; margin-top: 4px; stroke-width: 2.4; color: var(--accent); }

.info-rows { margin-top: 24px; border-top: 2px solid var(--text); }
.info-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.info-row dt { font-size: 0.875rem; }
.info-row dd { font-weight: 500; }
.info-row__note { display: block; margin-top: 2px; font-size: 0.875rem; font-weight: 400; color: var(--text-3); }

.cta-group { display: grid; gap: 10px; margin-top: 24px; }
.cta-group__secondary { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cta-note { margin-top: 12px; font-size: 0.875rem; color: var(--text-3); }

.specs { margin-top: clamp(40px, 6vw, 72px); }
.specs .notice { margin-top: 20px; max-width: 68ch; }
.specs__grid { display: grid; gap: 28px 48px; margin-top: 22px; }
.spec-group__title {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.spec-row dt { color: var(--text-3); }
.spec-row dd { font-weight: 500; }

.related { margin-top: clamp(48px, 7vw, 88px); }
.product-page > .empty-state { margin-top: 24px; }

@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
  .specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ BRANDS ============ */
.brand-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-bottom: 20px;
}
.brand-tools .field { flex: 1 1 280px; max-width: 460px; }
.brands-empty { margin-top: 4px; }

/* ============ ABOUT ============ */
.about-split { display: grid; gap: 32px; align-items: center; }
.about-split__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
@media (min-width: 900px) {
  .about-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 64px; }
  .about-split__photo { aspect-ratio: 5 / 6; }
}
.link-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ============ POLICIES ============ */
.doc-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.doc-toc { padding: 16px 18px; background: var(--bg-2); border-left: 4px solid var(--text); }
.doc-toc ol { display: grid; gap: 1px; margin-top: 8px; counter-reset: toc; }
.doc-toc a { display: flex; gap: 10px; padding: 7px 0; font-weight: 500; color: var(--text-2); }
.doc-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--text-3); font-variant-numeric: tabular-nums; }
.doc-toc a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.doc-section { padding-block: 36px; border-top: 1px solid var(--line); }
.doc-section:first-child { padding-top: 0; border-top: 0; }
.doc-section .h2 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.1rem); }
.doc-section .h2:lang(km) { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
.doc-updated { margin-top: 12px; font-size: 0.875rem; color: var(--text-3); }
@media (min-width: 1024px) {
  .doc-layout { grid-template-columns: 264px minmax(0, 1fr); gap: 72px; }
  .doc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ============ CONTACT ============ */
.contact-grid { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--text); }
.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.contact-card p { margin-top: 8px; color: var(--text-2); max-width: 46ch; }
.contact-card .big {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.75rem);
  line-height: 1.05;
  color: var(--text);
}
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; }
.social-list { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.social-list a:hover { color: var(--brand); }
.social-list small { color: var(--text-3); font-size: 0.875rem; font-weight: 400; }
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
}

/* ============ 404 ============ */
.not-found { padding-block: clamp(56px, 10vw, 120px); }
.not-found .display { font-size: clamp(5rem, 18vw, 11rem); }
.not-found .lede { margin-top: 12px; max-width: 46ch; }

/* ---------- Softer corners on boxes ---------- */
.gallery__main { border-radius: var(--r-lg); }
.gallery__thumb { border-radius: var(--r-sm); }
.hero__photo, .about-split__photo { border-radius: var(--r-lg); }
.doc-toc { border-radius: var(--r-md); }
.select { border-radius: var(--r-sm); }

/* ============ HOME: BIG SEARCH ============
   A large, centred search card that floats over the bottom of the hero.
   It opens the site-wide search pop-up. While it is on screen, the small header
   search (laptop) and the bottom search bar (phone) step aside (see home.js). */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Sits inside the hero grid: phone/tablet = between the headline and the photo;
   laptop = a full-width row under both columns, centred. */
.home-search { position: relative; z-index: 2; }
@media (min-width: 1024px) {
  .hero__copy { grid-column: 1; grid-row: 1; }
  .hero__visual { grid-column: 2; grid-row: 1; }
  .home-search { grid-column: 1 / -1; grid-row: 2; margin-top: -8px; }
}
.home-search__card {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 32px);
  text-align: center;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  position: relative;
  isolation: isolate;
}
/* Gradient frame in the logo colours, slowly moving */
.home-search__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: calc(var(--r-lg) + 2px);
  background: linear-gradient(110deg, #006565, #19a39c, #ef5f43, #cc322f, #006565);
  background-size: 300% 100%;
  animation: home-search-flow 8s linear infinite;
}
.home-search__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--r-lg);
  background: var(--surface);
}
:root[data-theme="dark"] .home-search__card, :root[data-theme="dark"] .home-search__card::after { background: var(--bg-2); }
@keyframes home-search-flow { to { background-position: 300% 0; } }

.home-search__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.home-search__title:lang(km), .home-search__title [lang="km"] { text-transform: none; line-height: 1.5; }

.home-search__box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 8px 8px 8px 20px;
  background: var(--bg);
  border: 2px solid var(--text);
  border-radius: 999px;
  color: var(--text-2);
  font: inherit;
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  text-align: left;
  cursor: text;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
}
.home-search__box > .icon { width: 24px; height: 24px; flex: none; color: var(--brand); stroke-width: 2.4; }
.home-search__box:hover, .home-search__box:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); outline: none; }
.home-search__box:active { transform: scale(0.99); }
.home-search__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-search__caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em; background: var(--brand); animation: home-search-blink 1s steps(1) infinite; }
@keyframes home-search-blink { 50% { opacity: 0; } }
.home-search__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s var(--ease);
}
.home-search__go:lang(km), .home-search__go [lang="km"] { text-transform: none; letter-spacing: 0; }
.home-search__box:hover .home-search__go { background: var(--brand-hover); }

.home-search__popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; }
.home-search__popular .label { flex: none; margin-right: 4px; color: var(--text-3); white-space: nowrap; }
.home-search__chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.home-search__chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

@media (max-width: 639.98px) {
  .home-search__box { min-height: 58px; padding-left: 16px; }
  .home-search__go { padding: 0 16px; min-height: 44px; font-size: 1rem; }
  .home-search__popular { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .home-search__popular::-webkit-scrollbar { display: none; }
  .home-search__chip { flex: none; }
}

/* While the big search is on screen, the small ones step aside */
.site-header .search-trigger, .dock { transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
body.home-search-visible .site-header .search-trigger { opacity: 0; pointer-events: none; }
body.home-search-visible .dock { transform: translateY(110%); }

@media (prefers-reduced-motion: reduce) {
  .home-search__card::before, .home-search__caret { animation: none; }
}