/*
 * Eve Site — base styles (every page).
 * Design: "Eve Site Design – Home v3 Wow" + "Shop Flow" + "Mobile".
 */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --ink: oklch(0.16 0.01 280);
  --ink-2: oklch(0.21 0.012 280);
  --ink-3: oklch(0.22 0.012 280);
  --paper: oklch(0.97 0.005 90);
  --white: #fff;
  --pink: oklch(0.64 0.26 357);
  --pink-soft: oklch(0.64 0.26 357 / 0.12);
  --err: oklch(0.8 0.14 30);

  --fg: var(--paper);
  --fg-70: oklch(0.97 0.005 90 / 0.7);
  --fg-60: oklch(0.97 0.005 90 / 0.6);
  --fg-50: oklch(0.97 0.005 90 / 0.5);
  --line: oklch(0.97 0.005 90 / 0.12);
  --line-2: oklch(0.97 0.005 90 / 0.2);
  --ink-line: oklch(0.16 0.01 280 / 0.12);

  --font: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1440px;
  --wrap-shop: 1400px;
  --pad: 24px;
  --header-h: 68px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 26px;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);

  color-scheme: dark;
}
@media (max-width: 640px) { :root { --pad: 20px; } }

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.site-main { flex: 1; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
::selection { background: var(--pink); color: var(--ink); }
input::placeholder, textarea::placeholder { color: oklch(0.97 0.005 90 / 0.4); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 400; padding: 10px 16px; background: var(--pink); color: var(--ink); border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------- type */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink); }
.display {
  font-weight: 900; font-stretch: 120%; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 112px); line-height: 0.86; letter-spacing: -0.035em;
  text-wrap: balance;
}
.display em, .h2 em { font-style: normal; color: var(--pink); }
.h2 { font-weight: 850; font-stretch: 118%; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 64px); line-height: 0.95; letter-spacing: -0.02em; }
.lead { font-size: 17px; line-height: 1.5; color: var(--fg-70); max-width: 560px; text-wrap: pretty; }
.muted { color: var(--fg-60); }
.mono { font-family: var(--mono); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--shop { max-width: var(--wrap-shop); }
.wrap--narrow { max-width: 1200px; }
.page-pad { padding-block: clamp(40px, 6vw, 80px) 96px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 24px; border-radius: 12px; border: 0;
  background: var(--pink); color: var(--ink);
  font-weight: 800; font-size: 16px; line-height: 1.2; text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--fg); color: var(--ink); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: none; border: 1px solid var(--line-2); color: var(--fg); font-weight: 700; }
.btn--ghost:hover { background: none; border-color: var(--fg); color: var(--fg); }
.btn--dark { background: var(--ink); color: var(--fg); }
.btn--dark:hover { background: var(--pink); color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 20px; border-radius: 14px; font-size: 17px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg);
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: all 0.2s;
}
.chip:hover { color: var(--fg); border-color: var(--fg-60); }
.chip.is-on, .chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.chip--sq { border-radius: var(--r-sm); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.seg { display: inline-flex; background: var(--ink-2); border-radius: 12px; padding: 4px; }
.seg > * { border: 0; background: none; padding: 8px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--fg-70); }
.seg > .is-on { background: var(--fg); color: var(--ink); }

/* ------------------------------------------------------------------ logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.logo:hover { color: var(--fg); }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--pink); color: var(--ink);
  display: grid; place-items: center; font-weight: 900; font-size: 18px; font-stretch: 125%;
}
.logo__text { font-weight: 800; font-size: 15px; font-stretch: 115%; white-space: nowrap; }
@media (max-width: 480px) { .logo__more { display: none; } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.16 0.01 280 / 0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(0.97 0.005 90 / 0.08);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
.site-header__inner { max-width: var(--wrap-shop); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { padding: 10px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--fg-70); }
.nav__link:hover, .nav__link.is-current { color: var(--fg); }
.nav__link.is-current { color: var(--pink); font-weight: 800; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-left: 6px;
  border: 1px solid oklch(0.97 0.005 90 / 0.18); background: var(--ink-2); color: var(--fg);
  padding: 9px 10px 9px 14px; border-radius: 12px; font-size: 14px; font-weight: 700;
}
.cart-btn__count {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
  background: oklch(0.97 0.005 90 / 0.3); color: var(--ink);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.cart-btn__count:not([data-count="0"]) { background: var(--pink); }
.header-cta { padding: 10px 16px; font-size: 14px; border-radius: 10px; margin-left: 4px; }

/* Home: floating header with a pill nav over the hero. */
.is-home .site-header { position: fixed; inset: 0 0 auto; background: none; backdrop-filter: none; border: 0; pointer-events: none; }
.is-home.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
.is-home .site-header__inner { max-width: var(--wrap); padding: 18px 24px; }
.is-home .site-header .logo, .is-home .site-header .nav { pointer-events: auto; }
.is-home .site-header .logo {
  padding: 5px 12px 5px 5px; border-radius: 14px;
  background: oklch(0.16 0.01 280 / 0.88); backdrop-filter: blur(14px);
  border: 1px solid oklch(0.97 0.005 90 / 0.1);
  color: var(--fg);
}
.is-home .nav {
  gap: 4px; padding: 5px; border-radius: 14px;
  background: oklch(0.16 0.01 280 / 0.72); backdrop-filter: blur(14px); border: 1px solid oklch(0.97 0.005 90 / 0.1);
}
.is-home .cart-btn { border: 0; background: none; padding: 10px 12px; color: var(--fg-70); margin: 0; }

/* Mobile menu */
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; padding: 0;
  border: 1px solid oklch(0.97 0.005 90 / 0.15); background: oklch(0.16 0.01 280 / 0.7); backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; pointer-events: auto;
  position: relative; z-index: 70;
}
.menu-toggle__bar { width: 20px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform 0.45s var(--ease); }
.menu-open .menu-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.header-actions { display: none; align-items: center; gap: 8px; pointer-events: auto; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 65; background: var(--ink);
  display: flex; flex-direction: column; padding: 96px 20px 28px;
  clip-path: circle(0% at calc(100% - 44px) 44px); visibility: hidden;
  transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.2, 1); }
.mobile-menu__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-50); padding-bottom: 14px; }
.mobile-menu nav { border-top: 1px solid oklch(0.97 0.005 90 / 0.14); }
.mobile-menu__item { overflow: hidden; border-bottom: 1px solid oklch(0.97 0.005 90 / 0.14); }
.mobile-menu__item a {
  display: grid; grid-template-columns: 36px 1fr 44px; align-items: center; min-height: 64px; color: var(--fg);
  transform: translateY(110%); opacity: 0;
  /* Closing: stay put while the circle collapses, reset once it is gone. */
  transition: transform 0s 0.7s, opacity 0s 0.7s;
}
.menu-open .mobile-menu__item a { transform: none; opacity: 1; transition: transform 0.6s var(--ease) var(--d, 0s), opacity 0.4s var(--d, 0s); }
.mobile-menu__item a:hover, .mobile-menu__item a:active { color: var(--pink); }
.mobile-menu__n { font-family: var(--mono); font-size: 12px; color: var(--pink); }
.mobile-menu__t { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__t strong { font-weight: 850; font-stretch: 115%; font-size: 26px; line-height: 1; text-transform: uppercase; }
.mobile-menu__t small { font-size: 13px; color: var(--fg-60); }
.mobile-menu__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(20px); transition: transform 0s 0.7s, opacity 0s 0.7s; }
.menu-open .mobile-menu__foot { opacity: 1; transform: none; transition: transform 0.6s var(--ease) 0.4s, opacity 0.4s 0.4s; }
.mobile-menu__cta { display: flex; justify-content: space-between; align-items: center; background: var(--pink); color: var(--ink); padding: 20px; border-radius: 16px; font-weight: 800; font-size: 17px; }
.mobile-menu__cta:hover { color: var(--ink); }
.mobile-menu__note { font-size: 13px; color: var(--fg-60); }
.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .site-header .nav { display: none; }
  .menu-toggle, .header-actions { display: flex; }
  .header-actions .cart-btn { margin: 0; }
  .is-home .header-actions .cart-btn { background: oklch(0.16 0.01 280 / 0.7); backdrop-filter: blur(12px); border: 1px solid oklch(0.97 0.005 90 / 0.15); padding: 9px 10px 9px 14px; height: 48px; border-radius: 14px; color: var(--fg); }
  .is-home .logo__text { font-size: 14px; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------------------------------------------------------------- footer */
.site-footer { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 28px var(--pad); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: oklch(0.97 0.005 90 / 0.55); }
.site-footer__links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--fg); }

/* ------------------------------------------------------------ cart drawer */
.drawer-scrim { position: fixed; inset: 0; z-index: 80; background: oklch(0.1 0.01 280 / 0.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(100%, 440px);
  background: var(--paper); color: var(--ink); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.55s var(--ease); visibility: hidden;
}
.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open { overflow: hidden; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid oklch(0.16 0.01 280 / 0.1); }
.drawer__title { font-weight: 900; font-stretch: 118%; font-size: 26px; text-transform: uppercase; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid oklch(0.16 0.01 280 / 0.15); background: none; font-size: 18px; color: var(--ink); }
.drawer__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.drawer__body > .widget_shopping_cart_content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.drawer.is-loading .drawer__body { opacity: 0.5; pointer-events: none; }
.mini-cart__items { flex: 1; overflow-y: auto; padding: 8px 22px; list-style: none; margin: 0; }
.mini-cart__item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid oklch(0.16 0.01 280 / 0.1); }
.mini-cart__thumb { width: 72px; height: 88px; border-radius: 12px; overflow: hidden; background: oklch(0.9 0.012 90); }
.mini-cart__thumb img { width: 100%; height: auto; }
.mini-cart__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini-cart__row { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 16px; }
.mini-cart__row a { color: var(--ink); }
.mini-cart__line { font-size: 13px; line-height: 1.45; opacity: 0.65; }
.mini-cart__line dl { margin: 0; display: inline; }
.mini-cart__line dt, .mini-cart__line dd { display: inline; margin: 0; }
.mini-cart__line dt { display: none; }
.mini-cart__line dd + dt + dd::before { content: " · "; }
.mini-cart__line p { display: inline; margin: 0; }
.mini-cart__remove { align-self: flex-start; background: none; border: 0; padding: 4px 0; font-size: 13px; font-weight: 700; color: oklch(0.16 0.01 280 / 0.55); text-decoration: underline; }
.mini-cart__remove:hover { color: var(--ink); }
.mini-cart__foot { padding: 20px 22px 24px; border-top: 1px solid oklch(0.16 0.01 280 / 0.1); display: flex; flex-direction: column; gap: 12px; }
.mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.mini-cart__total strong { font-weight: 900; font-stretch: 118%; font-size: 34px; }
.mini-cart__note { font-size: 13px; opacity: 0.6; }
.mini-cart__empty { padding: 60px 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mini-cart__empty strong { font-size: 22px; font-weight: 800; }


/* ---------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label, .eve-field > label, .eve-field--choices > legend { font-size: 14px; font-weight: 700; }
.input, .eve-field input:not([type="radio"], [type="checkbox"], [type="file"]), .eve-field select, .eve-field textarea,
.woocommerce form .input-text, .woocommerce form select {
  width: 100%; padding: 16px; border-radius: 12px; border: 1px solid oklch(0.97 0.005 90 / 0.16);
  background: var(--ink-2); color: var(--fg); font-size: 15px; outline: none; transition: border-color 0.2s;
}
.input:focus, .eve-field :is(input, select, textarea):focus, .woocommerce form :is(.input-text, select):focus { border-color: var(--pink); }
textarea.input, .eve-field textarea { resize: vertical; min-height: 120px; }

.eve-form { display: flex; flex-direction: column; gap: 18px; }
.eve-form__step { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eve-form__step[hidden] { display: none; }
.eve-form__legend { font-weight: 850; font-stretch: 112%; font-size: 22px; text-transform: uppercase; padding: 0; }
.eve-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.eve-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.eve-field[hidden] { display: none; }
.eve-field--choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.eve-field--choices legend { padding: 0; margin-bottom: 10px; }
.eve-field--choices .chips { gap: 8px; }
.eve-field--plain > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.eve-form__req { color: var(--pink); }
.eve-form__nav { display: flex; gap: 10px; justify-content: space-between; }
.eve-form__nav .btn:last-child { margin-left: auto; }
.eve-form__progress { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; }
.eve-form__progress li { flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); font-size: 0; }
.eve-form__progress li[aria-current], .eve-form__progress li.is-done { background: var(--pink); }
.eve-form__status { font-size: 14px; }
.eve-form__status.is-error { color: var(--err); }
.eve-form [aria-invalid="true"] { border-color: var(--err) !important; }
.eve-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eve-form.is-busy { opacity: 0.6; pointer-events: none; }
.eve-form__done { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.eve-form__done strong { font-weight: 900; font-stretch: 120%; font-size: clamp(34px, 4vw, 52px); line-height: 0.9; text-transform: uppercase; color: var(--pink); }
.eve-form__done span { font-size: 16px; line-height: 1.55; color: var(--fg-70); }
.eve-form__done .btn { align-self: flex-start; }
input[type="file"] { font-size: 14px; color: var(--fg-70); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--fg); font-weight: 700; cursor: pointer; }

/* ------------------------------------------------------- generic content */
.entry-header { margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.entry-content { max-width: 760px; font-size: 17px; line-height: 1.65; color: oklch(0.97 0.005 90 / 0.82); }
.entry-content > * + * { margin-top: 1em; }
.entry-content :is(h2, h3, h4) { color: var(--fg); font-stretch: 112%; line-height: 1.1; margin-top: 1.6em; }
.entry-content h2 { font-size: 30px; font-weight: 850; text-transform: uppercase; }
.entry-content h3 { font-size: 22px; font-weight: 800; }
.entry-content a { text-decoration: underline; text-underline-offset: 0.2em; }
.entry-content :is(ul, ol) { padding-left: 1.2em; }
.entry-content img { border-radius: var(--r); }
.entry-content blockquote { border-left: 3px solid var(--pink); padding-left: 16px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.entry-content .wp-block-details summary { cursor: pointer; font-weight: 700; font-size: 18px; color: var(--fg); }
.entry-content .wp-block-button__link { display: inline-flex; padding: 16px 24px; border-radius: 12px; background: var(--pink); color: var(--ink); font-weight: 800; text-decoration: none; }

.post-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 14px; color: var(--fg); }
.card:hover { color: var(--pink); }
.card__media { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--ink-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__title { font-size: clamp(20px, 2vw, 26px); font-weight: 850; font-stretch: 110%; line-height: 1.1; }
.card__meta { font-family: var(--mono); font-size: 11px; color: var(--fg-60); text-transform: uppercase; }

.pagination, .woocommerce-pagination { margin-top: 48px; }
.nav-links, .woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; list-style: none; padding: 0; flex-wrap: wrap; }
.page-numbers:not(ul) { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--fg); font-weight: 700; }
.page-numbers.current:not(ul) { background: var(--pink); border-color: var(--pink); color: var(--ink); }

.error-404 { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }

/* ------------------------------------------------------------- page heads */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; }
.page-head__text { display: flex; flex-direction: column; gap: 16px; flex: 1 1 520px; }

/* Shared: info list rows (contact). */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rows > * { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--fg); }
.rows a:hover { color: var(--pink); }

/* Panels */
.panel { background: var(--ink-2); border: 1px solid oklch(0.97 0.005 90 / 0.1); border-radius: 24px; padding: clamp(22px, 3vw, 34px); }

/* Accordion (FAQ) */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 18px; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--pink); transition: transform 0.3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: oklch(0.97 0.005 90 / 0.72); max-width: 640px; text-wrap: pretty; }

/* Page wipe between pages (Shop Flow). */
.wipe {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--pink);
  display: grid; place-items: center; transform: translateY(100%);
}
.wipe span { font-weight: 900; font-stretch: 125%; font-size: clamp(48px, 10vw, 140px); line-height: 0.9; color: var(--ink); text-transform: uppercase; letter-spacing: -0.04em; text-align: center; padding: 0 24px; max-width: 100%; }
.wipe.is-cover { transform: translateY(0); transition: transform 0.48s cubic-bezier(0.7, 0, 0.3, 1); }
.wipe.is-out { transform: translateY(-100%); transition: transform 0.55s cubic-bezier(0.7, 0, 0.3, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Posts */
.post-title { font-size: clamp(36px, 5vw, 72px); }
.entry-thumb { margin-bottom: 40px; }
.entry-thumb img { width: 100%; border-radius: var(--r-lg); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
.post-nav a { color: var(--fg); }
.post-nav a:hover { color: var(--pink); }
.card__media { display: block; }

/* Mobile menu sits under the header so the close button stays on top. */
.menu-open .site-header { z-index: 70; }
.menu-open:not(.is-home) .site-header { background: var(--ink); backdrop-filter: none; }

/* ------------------------------------------------------- quote popup */
.quote-modal {
  width: min(100% - 32px, 620px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px;
  background: var(--pink); color: var(--ink); overflow: auto; overscroll-behavior: contain;
}
.quote-modal::backdrop { background: oklch(0.1 0.01 280 / 0.7); backdrop-filter: blur(6px); }
.quote-modal[open] { animation: quote-in 0.5s var(--ease); }
.quote-modal[open]::backdrop { animation: fade-in 0.4s ease; }
@keyframes quote-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } }
@keyframes fade-in { from { opacity: 0; } }
.quote-modal__panel { position: relative; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.quote-modal__close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid oklch(0.16 0.01 280 / 0.25); background: none; color: var(--ink); font-size: 18px;
}
.quote-modal__close:hover { background: var(--ink); color: var(--paper); }
.quote-modal__title { margin: 0; font-weight: 900; font-stretch: 118%; font-size: clamp(56px, 12vw, 104px); line-height: 0.82; letter-spacing: -0.04em; text-transform: uppercase; }
.quote-modal__lead { font-size: 17px; line-height: 1.4; font-weight: 600; max-width: 440px; }
.quote-modal .brief__card { background: var(--ink); color: var(--paper); border-radius: 22px; padding: clamp(20px, 3vw, 28px); }
.quote-modal .eve-form__done strong { color: var(--pink); }
.quote-open { overflow: hidden; }
@media (max-width: 640px) {
  .quote-modal { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .quote-modal[open] { animation: quote-up 0.5s var(--ease); }
  @keyframes quote-up { from { transform: translateY(100%); } }
  .quote-modal .brief__card { padding: 18px; }
  .quote-modal .chip { min-height: 44px; }
}
.js-wipe-in .wipe { transform: translateY(0); }
.js-wipe-in .intro { display: none !important; }
.quote-modal__close:focus:not(:focus-visible) { outline: none; }

/* ----------------------------------------------------- custom cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; mix-blend-mode: difference; transition: opacity 0.25s; display: none; }
.has-cursor .cursor { display: block; }
.cursor.is-on { opacity: 1; }
.cursor__dot { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transform: scale(var(--cs, 1)); }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--ink); opacity: var(--cl, 0); }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__dot { background: var(--pink); }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor :is(input:not([type="radio"], [type="checkbox"], [type="submit"], [type="button"]), textarea, select, [contenteditable], iframe) { cursor: auto !important; }
/* Popups live in the top layer above the cursor: use the system cursor there. */
.has-cursor:has(dialog[open]), .has-cursor:has(dialog[open]) * { cursor: auto !important; }
.has-cursor:has(dialog[open]) .cursor { display: none; }
.input, .eve-field input:not([type="radio"], [type="checkbox"], [type="file"]), .eve-field select, .eve-field textarea { padding: 13px 14px; }
.entry-content:has(.ev-guide-section) { max-width: none; }

/* ---------------------------------------- sticky "Get a quote" (phones) */
.quote-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 55; display: none; align-items: center; gap: 12px;
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 8px 8px 8px 16px; box-shadow: 0 20px 40px -12px oklch(0 0 0 / 0.6);
  transform: translateY(160%); transition: transform 0.45s var(--ease);
}
.quote-bar.is-shown { transform: none; }
.quote-bar > span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.quote-bar strong { font-size: 14px; }
.quote-bar small { font-size: 12px; opacity: 0.65; }
.quote-bar .btn { padding: 14px 16px; font-size: 14px; }
@media (max-width: 760px) { .quote-bar { display: flex; } }
.menu-open .quote-bar, .drawer-open .quote-bar { transform: translateY(160%); }
.buy-bar__price { font-size: 20px; font-weight: 900; font-stretch: 115%; }

/* Social icons (footer, quote popup, contact) */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials__link {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid color-mix(in oklch, currentColor 22%, transparent); color: inherit; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.socials__link:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.site-footer { align-items: center; }
.site-footer .socials__link { width: 38px; height: 38px; }
.site-footer .socials__link svg { width: 18px; height: 18px; }
.quote-modal__alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
