/* Winslow Pantry: site styles. Tokens live in tokens.css. */

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--space-4); line-height: 1.12; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
figure { margin: 0; }
main { display: block; }
main:focus { outline: none; }

/* Links are always underlined in running text so they never rely on color alone. */
a { color: var(--color-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

/* One focus style everywhere: a thick outline plus a contrasting halo,
   visible on cream, blue, white and ink surfaces alike. */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--color-focus-ring);
  border-radius: 4px;
}

.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;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--wp-ink); color: var(--wp-white); padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); --color-focus: var(--wp-white); --color-focus-ring: var(--wp-ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 780px; }

.icon { width: 1.5em; height: 1.5em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--inline { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.18em; margin-inline: 0.35em 0; }
.icon--lead { margin-inline: 0 0.45em; }

/* ---------------------------------------------------------- typography */
.display, .h2, .h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.display { font-size: var(--step-5); font-weight: 400; letter-spacing: -0.01em; line-height: 1.04; }
.h2 { font-size: var(--step-4); }
.h3 { font-size: var(--step-2); }
.h4 { font-size: var(--step-0); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-3); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--color-text-soft); max-width: 62ch; }
.small { font-size: var(--step--1); }
.kicker {
  font-family: var(--font-script);
  font-size: var(--step-3);
  line-height: 1.1;
  color: var(--wp-harbor); /* large text: 4.1:1 on cream */
  margin-bottom: var(--space-2);
}
.kicker--on-blue, .kicker--on-dark { color: inherit; }
.prose p { max-width: 64ch; }

.text-link { display: inline-flex; align-items: center; font-weight: 600; }

/* ------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--wp-harbor);
  --btn-fg: var(--wp-white);
  --btn-border: var(--wp-harbor);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.4em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-border); border-radius: 999px;
  font: 600 var(--step-0)/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { --btn-bg: var(--wp-harbor-deep); --btn-border: var(--wp-harbor-deep); text-decoration: underline; text-underline-offset: 0.2em; }
.btn:active { transform: translateY(1px); }
.btn__icon { width: 1.2em; height: 1.2em; transition: transform 0.2s; }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--wp-ink); --btn-border: var(--wp-ink); }
.btn--ghost:hover { --btn-bg: var(--wp-ink); --btn-fg: var(--wp-white); --btn-border: var(--wp-ink); }
.btn--light { --btn-bg: var(--wp-cream); --btn-fg: var(--wp-ink); --btn-border: var(--wp-cream); }
.btn--light:hover { --btn-bg: var(--wp-white); --btn-fg: var(--wp-ink); --btn-border: var(--wp-white); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4em 1.1em;
  border: 2px solid var(--color-border-strong); border-radius: 999px;
  color: var(--wp-ink); background: var(--wp-paper);
  font-weight: 600; font-size: var(--step--1); text-decoration: none;
}
.chip:hover { background: var(--wp-ink); border-color: var(--wp-ink); color: var(--wp-white); }

/* ---------------------------------------------------------- patterns */
.plaid { height: clamp(90px, 14vw, 190px); background: url(/assets/img/brand/plaid.svg) 0 0 / 126px 126px repeat; }
.plaid--sm { height: clamp(48px, 7vw, 84px); }
.gingham { background: url(/assets/img/brand/gingham.svg) 0 0 / 28px 28px repeat; }
.gingham--footer { height: 28px; }

.panel { position: relative; border-radius: var(--radius-arch); overflow: hidden; isolation: isolate; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.panel--lemon::before { background: url(/assets/img/patterns/lemon.webp) 0 0 / 180px 180px repeat; }
.panel--blueberry::before { background: url(/assets/img/patterns/blueberry-stripe.webp) 0 0 / 262px auto repeat; }
.panel--acacia::before { background: url(/assets/img/textures/acacia.jpg) center / cover; }
.panel--rose::before { background: repeating-linear-gradient(90deg, var(--wp-rose) 0 22px, var(--wp-white) 22px 40px, var(--wp-rose) 40px 43px, var(--wp-white) 43px 62px); opacity: 0.85; }
/* a soft paper inset keeps the product readable over busy prints */
.panel::after { content: ""; position: absolute; inset: 14px; z-index: -1; border-radius: var(--radius-arch); background: rgba(251, 246, 238, 0.82); box-shadow: inset 0 0 0 1px rgba(196, 160, 80, 0.55); }

/* -------------------------------------------------------------- header */
/* Sticky: main.js keeps --header-h in step with the real height (these are the no-JS fallbacks)
   and adds .is-scrolled, which tightens the header and lifts it with a shadow. */
:root { --header-h: 128px; }
.site-header { background: var(--wp-cornflower); position: sticky; top: 0; z-index: 20; transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(28, 37, 46, 0.16); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); padding-block: var(--space-4); transition: padding 0.3s; }
.site-header.is-scrolled .site-header__inner { padding-block: var(--space-2); }
.brand { display: block; width: clamp(108px, 14vw, 150px); flex: none; transition: width 0.3s; }
.site-header.is-scrolled .brand { width: clamp(84px, 9vw, 104px); }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }
.site-nav__list { display: flex; gap: var(--space-2); }
.site-nav__link {
  display: inline-block; padding: 0.55em 0.9em; color: var(--wp-ink);
  font-weight: 600; text-decoration: none; border-radius: 999px;
}
.site-nav__link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
/* the current page is marked by shape (underline bar) and weight, not color alone */
.site-nav__link[aria-current="page"] { background: rgba(255, 255, 255, 0.55); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.35em; }

.nav-toggle { display: none; }

/* Preview switch (site.json "lineupPreview"): the full collection or the launch product only */
[data-lineup="launch"] [data-show="all"], [data-lineup="all"] [data-show="launch"] { display: none !important; }
.lineup-toggle { display: inline-flex; align-items: center; gap: 0.55em; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.no-js .lineup-toggle { display: none; }
/* the track shows which view is on by thumb position and fill, not color alone */
.lineup-toggle__track { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; border: 2px solid var(--wp-ink); background: rgba(255, 255, 255, 0.55); transition: background 0.2s; }
.lineup-toggle__thumb { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--wp-ink); transition: transform 0.2s; }
[data-lineup="all"] .lineup-toggle__track { background: var(--wp-ink); }
[data-lineup="all"] .lineup-toggle__thumb { transform: translateX(14px); background: var(--wp-white); }
@media (prefers-reduced-motion: reduce) { .lineup-toggle__track, .lineup-toggle__thumb { transition: none; } }
[data-lineup="launch"] .hero__pkg--a { left: 22%; }
[data-lineup="launch"] .product-grid { grid-template-columns: minmax(0, 300px); justify-content: center; }

.lang { position: relative; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; padding: 0.4em 0.9em;
  border: 2px solid var(--wp-ink); border-radius: 999px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--step--1); color: var(--wp-ink); background: rgba(255, 255, 255, 0.35);
}
.lang__toggle::-webkit-details-marker { display: none; }
.lang__toggle .icon { width: 1.25em; height: 1.25em; }
.lang__chev { transition: transform 0.2s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: var(--space-2);
  background: var(--wp-paper); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.lang__link { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.8em; border-radius: var(--radius-sm); color: var(--wp-ink); text-decoration: none; font-weight: 500; }
.lang__link:hover { background: var(--wp-cream); text-decoration: underline; }
.lang__check { width: 1.1em; height: 1.1em; visibility: hidden; }
.lang__link[aria-current="true"] { font-weight: 700; }
.lang__link[aria-current="true"] .lang__check { visibility: visible; }

@media (max-width: 800px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6em; margin-left: auto; min-height: 44px; padding: 0.4em 0.9em;
    border: 2px solid var(--wp-ink); border-radius: 999px; background: transparent; color: var(--wp-ink);
    font: 600 var(--step--1)/1 var(--font-body); cursor: pointer;
  }
  .nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
  .nav-toggle__bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  :root { --header-h: 100px; }
  .site-header__inner { flex-wrap: wrap; }
  /* an open menu scrolls inside the header rather than running off screen */
  .site-header:has(.site-nav.is-open) { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: var(--space-4); padding-bottom: var(--space-3); }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__link { display: block; padding: 0.8em 0.4em; border-radius: 0; border-top: 1px solid rgba(28, 37, 46, 0.2); }
  .site-nav__link[aria-current="page"] { background: none; }
  .lang__menu { position: static; margin-top: var(--space-2); box-shadow: none; }
  .lang__toggle { width: 100%; justify-content: flex-start; }
  .lineup-toggle { display: flex; width: 100%; text-align: left; }
  .lineup-toggle__track { margin-left: auto; }
  .lang__chev { margin-left: auto; }
}

/* ----------------------------------------------------- language banner */
.lang-banner { background: var(--wp-ink); color: var(--wp-white); --color-focus: var(--wp-white); --color-focus-ring: var(--wp-ink); }
.lang-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding-block: var(--space-3); font-size: var(--step--1); }
.lang-banner p { margin: 0; }
.lang-banner a { color: var(--wp-white); font-weight: 700; }
.lang-banner button { margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, 0.6); color: var(--wp-white); border-radius: 999px; padding: 0.35em 0.9em; font: inherit; cursor: pointer; min-height: 36px; }
.lang-banner button:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--wp-cornflower); color: var(--wp-ink); --color-text-soft: var(--wp-ink); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: var(--space-7); padding-block: var(--space-7) var(--space-8); }
.hero .lead { max-width: 54ch; }
.hero__art { position: relative; height: clamp(320px, 38vw, 470px); }
.hero__pkg { position: absolute; width: auto; filter: drop-shadow(0 18px 22px rgba(28, 37, 46, 0.25)); }
.hero__pkg--a { height: 92%; left: 2%; top: 4%; transform: rotate(-5deg); }
.hero__pkg--b { height: 74%; left: 38%; top: 0; transform: rotate(3deg); z-index: 1; }
.hero__pkg--c { height: 78%; right: 0; bottom: -4%; transform: rotate(7deg); z-index: 2; }
.hero__fruit { position: absolute; width: clamp(110px, 13vw, 170px); left: 30%; bottom: -8%; z-index: 3; }
.hero--page .hero__inner { padding-block: var(--space-7); grid-template-columns: minmax(0, 1fr) auto; }
.hero--page .display { font-size: var(--step-5); }
.hero__spot { width: clamp(120px, 16vw, 220px); }
.hero--404 .hero__inner { min-height: 50vh; }

@media (max-width: 860px) {
  .hero__inner, .hero--page .hero__inner { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-6) var(--space-7); }
  .hero__art { height: 330px; max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__spot { width: 120px; justify-self: end; margin-top: calc(-1 * var(--space-5)); }
}

/* ------------------------------------------------------------ sections */
.section { padding-block: var(--space-9); }
.section--paper { background: linear-gradient(rgba(251, 246, 238, 0.72), rgba(251, 246, 238, 0.72)), url(/assets/img/textures/paper.jpg) center / 900px auto; background-color: var(--wp-paper); }
.section--blue { background: var(--wp-cornflower); --color-text-soft: var(--wp-ink); }
.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-foot { margin: var(--space-7) 0 0; text-align: center; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__copy { position: relative; }
.photo-frame { padding: 12px; background: var(--wp-white); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.photo-frame img { border-radius: calc(var(--radius) - 6px); width: 100%; }
.story-intro__spot { position: absolute; right: -10px; bottom: -70px; width: 120px; transform: rotate(12deg); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .story-intro__spot { display: none; }
}

/* ---------------------------------------------------------- products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: var(--space-5); }
.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--wp-paper);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(28, 37, 46, 0.08), 0 22px 40px -16px rgba(28, 37, 46, 0.35); }
.product-card__media { height: 290px; display: flex; justify-content: center; align-items: center; padding: 26px 18px 14px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.product-card__media::after { border-radius: 999px 999px 10px 10px; }
.product-card__media > img { height: 100%; width: auto; max-width: 100%; object-fit: contain; min-height: 0; filter: drop-shadow(0 8px 10px rgba(28, 37, 46, 0.22)); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }
.product-card__body p { font-size: var(--step--1); color: var(--color-text-soft); }
.product-card__set { margin-bottom: var(--space-1); font-weight: 700; font-size: 0.78rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp-ink) !important; }
.product-card__name { font-size: var(--step-1); margin-bottom: var(--space-2); }
.product-card__name a { color: var(--wp-ink); text-decoration: none; }
/* the whole card is clickable through the title link */
.product-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-card__name a:focus-visible { outline: none; box-shadow: none; }
.product-card:has(a:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.product-card__more { margin-top: auto; display: inline-flex; align-items: center; font-weight: 700; font-size: var(--step--1); color: var(--color-link); text-decoration: underline; text-underline-offset: 0.2em; }

/* ----------------------------------------------------------- materials */
.materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.material { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-5); align-items: start; }
.material__swatch { width: 96px; height: 96px; border-radius: 50%; background: center / cover; box-shadow: var(--shadow); border: 4px solid var(--wp-white); overflow: hidden; }
.material__swatch--silicone { background: var(--wp-rose); display: grid; place-items: center; }
.material__swatch--silicone img { height: 120%; width: auto; transform: rotate(35deg); }
.material h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.material p { color: var(--color-text-soft); }
@media (max-width: 860px) { .materials { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.value { background: rgba(251, 246, 238, 0.9); border-radius: var(--radius); padding: var(--space-6); }
.value__icon { width: 44px; height: 44px; color: var(--wp-harbor); margin-bottom: var(--space-4); }
.value h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.value p { margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ CTA band */
.cta-band { background: var(--wp-harbor); color: var(--wp-white); --color-focus: var(--wp-white); --color-focus-ring: var(--wp-ink); }
.cta-band__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-6); padding-block: var(--space-8); }
.cta-band h2 { font-size: var(--step-3); margin-bottom: var(--space-2); }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-band__spot { width: clamp(100px, 12vw, 150px); }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__spot { width: 100px; } }

/* ------------------------------------------------------ story: quote */
.quote-band { background: var(--wp-cream); padding-block: var(--space-8); border-block: 1px solid var(--color-border); }
.quote { position: relative; max-width: 900px; margin-inline: auto; text-align: center; padding-top: var(--space-6); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: var(--step-4); line-height: 1.2; margin-bottom: var(--space-5); }
.quote figcaption { font-family: var(--font-script); font-size: var(--step-2); color: var(--wp-harbor); }
.quote__spot { width: 110px; margin: 0 auto var(--space-4); }

/* ---------------------------------------------------- collection page */
.jump { position: sticky; top: var(--header-h); z-index: 10; background: rgba(242, 227, 206, 0.96); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(6px); }
.jump__list { display: flex; gap: var(--space-2); overflow-x: auto; padding-block: var(--space-3); scrollbar-width: thin; }
.jump__list li { flex: none; }
.product { scroll-margin-top: 80px; }
.product__inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.product__inner--reverse .product__media { order: 2; }
.product__media { display: flex; justify-content: center; align-items: center; min-height: 520px; padding: 46px 30px 30px; position: sticky; top: 90px; }
.product__media img { max-height: 470px; width: auto; filter: drop-shadow(0 16px 20px rgba(28, 37, 46, 0.25)); }
.product__set { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: var(--step--1); margin-bottom: var(--space-2); }
.product__details { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
@media (max-width: 860px) {
  .product__inner { grid-template-columns: 1fr; }
  .product__inner--reverse .product__media { order: 0; }
  .product__media { position: relative; top: auto; min-height: 0; height: 420px; }
  .product__media img { height: 100%; max-height: none; width: auto; max-width: 100%; object-fit: contain; min-height: 0; }
  .product__details { grid-template-columns: 1fr; }
}

.features, .ticks { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.features li, .ticks li { display: flex; align-items: center; gap: var(--space-3); line-height: 1.35; }
.features .icon { width: 34px; height: 34px; padding: 6px; border: 1.5px solid var(--wp-harbor); border-radius: 50%; color: var(--wp-harbor-deep); stroke-width: 2.2; }
.ticks .icon { width: 20px; height: 20px; color: var(--wp-harbor-deep); stroke-width: 2.6; }

/* ------------------------------------------------------- contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--wp-paper); border-radius: var(--radius); padding: var(--space-6); box-shadow: var(--shadow); }
.contact-card__icon { width: 46px; height: 46px; color: var(--wp-harbor); margin-bottom: var(--space-4); }
.contact-card p { flex: 1; color: var(--color-text-soft); }
.contact-card .btn { font-size: var(--step--1); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

.faq { display: grid; gap: var(--space-3); }
.faq__item { background: var(--wp-white); border: 1px solid var(--color-border); border-radius: var(--radius); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); cursor: pointer; list-style: none; font-weight: 700; font-size: var(--step-1); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform 0.2s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { padding: 0 var(--space-5) var(--space-5); margin: 0; max-width: 65ch; }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--wp-ink); color: var(--wp-white); --color-focus: var(--wp-white); --color-focus-ring: var(--wp-ink); }
.site-footer a { color: var(--wp-white); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); padding-block: var(--space-8) var(--space-7); }
.site-footer__brand img { width: 150px; margin-bottom: var(--space-4); }
.site-footer__brand p { max-width: 32ch; color: #E4E8EC; }
.site-footer__title { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-4); color: var(--wp-cornflower); }
.site-footer ul { display: grid; gap: var(--space-2); }
.site-footer a[aria-current="true"] { font-weight: 700; text-decoration-thickness: 2px; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-block: var(--space-5); font-size: var(--step--1); color: #C9D0D6; }
.site-footer__base p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* -------------------------------------------------------------- motion */
/* motion.js drives everything; these rules only cover the moments before it
   runs. The "motion" class is added in <head> only when the visitor has not
   asked for reduced motion, and a timer reveals the page if scripts fail. */
.motion:not(.motion-ready) .hero__copy > *,
.motion:not(.motion-ready) .hero__art,
.motion:not(.motion-ready) .hero__spot { visibility: hidden; }

.curtain-in body::after,
.curtain {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background: url(/assets/img/brand/plaid.svg) 0 0 / 126px 126px repeat-x, var(--wp-cornflower);
}
.curtain-in body::after { content: ""; background: url(/assets/img/brand/logo.svg) center / 170px auto no-repeat, url(/assets/img/brand/plaid.svg) 0 0 / 126px 126px repeat-x, var(--wp-cornflower); }
.curtain { display: grid; place-items: center; }
.curtain img { width: 170px; height: auto; }

.word { display: inline-block; overflow: clip; overflow-clip-margin: 0.1em; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.word__inner { display: inline-block; }
.quote .word { overflow: visible; }

/* the product in view is marked by fill and an underline, not color alone */
.chip[aria-current="true"] { background: var(--wp-ink); border-color: var(--wp-ink); color: var(--wp-white); text-decoration: underline; text-underline-offset: 0.25em; }

/* ------------------------------------------------------ user settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-contrast: more) {
  :root { --color-text-soft: var(--wp-ink); --color-border: var(--wp-ink); }
  .panel::after { background: var(--wp-paper); }
}
@media (forced-colors: active) {
  .btn, .chip, .lang__toggle { border: 2px solid ButtonText; }
  .lineup-toggle__track { border-color: ButtonText; }
  .lineup-toggle__thumb { background: ButtonText; }
}
@media print {
  .site-header, .site-footer, .jump, .plaid, .cta-band, .lang-banner { display: none; }
  body { background: #fff; }
}
