/* HappyYumi v6.47 — Editorial Living Design System */

:root {
  /* Color — HappyYumi brand kit */
  --color-brand-green: #4a5d4e;
  --color-brand-orange: #e8612d;
  --color-brand-cream: #f9e7b5;
  --color-brand-sage: #c2c9b6;
  --color-paper: #faf6ee;
  --color-paper-deep: #f3ebdc;
  --color-surface: #ffffff;
  --color-surface-soft: #f7f3ea;
  --color-bg: var(--color-paper);
  --color-ink: #2a332c;
  --color-ink-deep: #1a211c;
  --color-text: var(--color-ink);
  --color-text-muted: #4f5c52;
  --color-text-light: var(--color-text-muted);
  --color-terracotta: var(--color-brand-orange);
  --color-terracotta-deep: #d45628;
  --color-accent: var(--color-brand-orange);
  --color-accent-hover: var(--color-terracotta-deep);
  --color-sage: var(--color-brand-green);
  --color-olive: var(--color-brand-green);
  --color-gold: #f5c842;
  --color-mustard: var(--color-brand-cream);
  --color-border: rgba(20, 19, 16, 0.08);
  --color-success: #3e6f46;
  --color-warning: #b9842a;
  --color-error: #b54235;

  /* Semantic aliases — shared with home.css / components */
  --hy-ink: var(--color-ink);
  --hy-paper: var(--color-paper);
  --hy-paper-deep: var(--color-paper-deep);
  --hy-terracotta: var(--color-terracotta);
  --hy-terracotta-deep: var(--color-terracotta-deep);
  --hy-sage: var(--color-sage);
  --hy-gold: var(--color-gold);
  --hy-text: var(--color-ink);
  --hy-text-muted: var(--color-text-muted);
  --hy-glass: rgba(255, 252, 247, 0.72);
  --hy-glass-border: var(--color-border);
  --hy-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hy-ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-brand: "Nunito", "Inter", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: clamp(2.5rem, 5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 6.8vw, 5.25rem);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 999px;

  /* Elevation */
  --elevation-0: none;
  --elevation-1: 0 4px 20px rgba(20, 19, 16, 0.05);
  --elevation-2: 0 8px 28px rgba(158, 69, 32, 0.12);
  --elevation-3: 0 20px 48px rgba(20, 19, 16, 0.1);
  --elevation-4: 0 32px 72px rgba(20, 19, 16, 0.14);
  --elevation-5: 0 48px 96px rgba(20, 19, 16, 0.18);
  --shadow-soft: var(--elevation-1);
  --shadow-medium: var(--elevation-3);
  --shadow-premium: var(--elevation-4);

  /* Layout */
  --container: 1280px;
  --grid-max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 92px;
  --header-h-compact: 76px;
  --header-logo-h: 68px;
  --header-logo-h-compact: 56px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --dur-micro: 120ms;
  --dur-hover: 220ms;
  --dur-card: 380ms;
  --dur-enter: 600ms;
  --dur-hero: 1000ms;
  --dur-large: 1400ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body.hy-theme {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 0.35vw + 0.9rem, 1.125rem);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.hy-theme ::selection {
  background: rgba(232, 97, 45, 0.22);
  color: var(--color-ink);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hy-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10010;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--color-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur-hover) var(--ease-out);
}

.hy-skip:focus {
  top: 16px;
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
}

/* ── Global UI ── */
.hy-scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--color-accent); z-index: 10001; pointer-events: none;
}
.hy-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 10000;
  opacity: 0.035; mix-blend-mode: multiply;
}
.hy-cursor {
  position: fixed; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent); pointer-events: none; z-index: 10002;
  transform: translate(-50%, -50%); opacity: 0;
  transition: width var(--dur-hover) var(--ease), height var(--dur-hover) var(--ease), opacity var(--dur-hover);
}
.hy-cursor.is-on { opacity: 0.9; }
.hy-cursor.is-hover { width: 32px; height: 32px; opacity: 0.25; }
@media (hover: none), (pointer: coarse) { .hy-cursor { display: none !important; } }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
}

@media (max-width: 767px) {
  :root {
    --header-h: 76px;
    --header-h-compact: 64px;
    --header-logo-h: 52px;
    --header-logo-h-compact: 44px;
  }
}

/* ── Header (glass on scroll) ── */
.hy-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--header-h);
  padding: 0;
  overflow: visible;
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(74, 93, 78, 0.08);
  transition:
    height var(--dur-card) var(--ease-out),
    top var(--dur-card) var(--ease-out),
    background var(--dur-card),
    border-color var(--dur-card),
    backdrop-filter var(--dur-card),
    box-shadow var(--dur-card),
    border-radius var(--dur-card);
}

.hy-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  max-width: var(--grid-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  overflow: visible;
}

.hy-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hy-header__tools {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  flex: 0 0 auto;
  min-width: 0;
}

.admin-bar .hy-header {
  top: 32px;
}

.admin-bar.hy-is-home .hy-header--v5 {
  top: calc(32px + max(14px, env(safe-area-inset-top, 0px)) * (1 - var(--hy-header-morph, 0)));
}

.admin-bar .hy-header.is-scrolled {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .hy-header {
    top: 46px;
  }

  .admin-bar.hy-is-home .hy-header--v5 {
    top: calc(46px + max(14px, env(safe-area-inset-top, 0px)) * (1 - var(--hy-header-morph, 0)));
  }

  .admin-bar .hy-header.is-scrolled {
    top: 46px;
  }
}

.hy-is-home .hy-header,
.hy-header--v5 {
  background: rgba(250, 246, 238, 0.55);
}

.hy-is-home .hy-header--v5 {
  --hy-header-morph: 0;
  top: calc(max(14px, env(safe-area-inset-top, 0px)) * (1 - var(--hy-header-morph)));
  left: calc(max(14px, env(safe-area-inset-left, 0px)) * (1 - var(--hy-header-morph)));
  right: calc(max(14px, env(safe-area-inset-right, 0px)) * (1 - var(--hy-header-morph)));
  width: auto;
  border-radius: calc(20px * (1 - var(--hy-header-morph)));
  height: calc(var(--header-h-compact) + (var(--header-h) - var(--header-h-compact)) * (1 - var(--hy-header-morph)));
  background: rgba(250, 246, 238, calc(0.55 + 0.33 * var(--hy-header-morph)));
  backdrop-filter: blur(calc(18px + 6px * var(--hy-header-morph))) saturate(calc(1.4 + 0.1 * var(--hy-header-morph)));
  -webkit-backdrop-filter: blur(calc(18px + 6px * var(--hy-header-morph))) saturate(calc(1.4 + 0.1 * var(--hy-header-morph)));
  border: 1px solid rgba(74, 93, 78, calc(0.1 * (1 - var(--hy-header-morph)) + 0.06 * var(--hy-header-morph)));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, calc(0.45 * var(--hy-header-morph))) inset,
    0 calc(10px * var(--hy-header-morph)) calc(28px * var(--hy-header-morph)) rgba(20, 19, 16, calc(0.07 * var(--hy-header-morph)));
  transition: none;
  overflow: visible;
}

.hy-header.is-scrolled,
body:not(.hy-is-home) .hy-header--v5.is-scrolled {
  height: var(--header-h-compact);
  background: rgba(255, 250, 245, 0.88);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom-color: rgba(20, 19, 16, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, var(--elevation-1);
}

.hy-is-home .hy-header--v5.is-scrolled {
  border-left: none;
  border-right: none;
  border-top: none;
}

.hy-is-home .hy-header--v5 .hy-brand--horizontal,
.hy-is-home .hy-header--v5 .hy-logo img {
  height: calc(var(--header-logo-h-compact) + (var(--header-logo-h) - var(--header-logo-h-compact)) * (1 - var(--hy-header-morph, 0)));
}

.hy-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: 10px;
  overflow: visible;
  line-height: 1;
  min-width: max-content;
}

.hy-logo--split {
  text-decoration: none;
}

.hy-wordmark--header {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  white-space: nowrap;
}

.hy-header .hy-logo img,
.hy-header .hy-brand--horizontal {
  display: block;
  flex-shrink: 0;
  height: var(--header-logo-h);
  width: auto;
  max-width: none;
  aspect-ratio: 228 / 68;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  filter: contrast(1.06) saturate(1.08);
  -webkit-filter: contrast(1.06) saturate(1.08);
  transition:
    height var(--dur-card) var(--ease-out),
    transform var(--dur-hover) var(--ease),
    filter var(--dur-hover) var(--ease);
}

.hy-logo:hover img,
.hy-logo:focus-visible img,
.hy-logo:hover .hy-brand--horizontal,
.hy-logo:focus-visible .hy-brand--horizontal {
  filter: contrast(1.08) saturate(1.12);
  -webkit-filter: contrast(1.08) saturate(1.12);
  transform: translateY(-1px);
}

.hy-header.is-scrolled .hy-brand--horizontal,
.hy-header.is-scrolled .hy-brand--symbol {
  height: var(--header-logo-h-compact);
}

.hy-header.is-scrolled .hy-wordmark--header {
  font-size: 1.15rem;
}

.hy-brand--symbol {
  height: 44px;
  width: auto;
  max-width: 52px;
  flex-shrink: 0;
  object-fit: contain;
}
.hy-brand--wordmark { height: 38px; width: auto; max-width: 200px; }
.hy-brand--footer-symbol { height: 56px; max-width: 56px; margin-bottom: 12px; }
.hy-brand--footer-word { height: 32px; margin-bottom: 8px; }
.hy-wordmark {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hy-wordmark .w-happy {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 80, "WONK" 0;
  color: var(--color-brand-green);
}
.hy-wordmark .w-yumi {
  font-family: var(--font-brand);
  color: var(--color-brand-orange);
}

.hy-nav { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.hy-nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 999px;
  transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.hy-nav-link:hover {
  background: rgba(74, 93, 78, 0.06);
}
.hy-nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: calc(100% - 24px); height: 1.5px;
  background: var(--color-accent);
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform var(--dur-hover) var(--ease);
}
.hy-nav-link:hover::after, .hy-nav-link.is-active::after { transform: translateX(-50%) scaleX(1); }

.hy-nav-link.hy-nav-cta {
  margin-left: 4px;
  background: var(--color-ink-deep);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background var(--dur-hover) var(--ease),
    transform var(--dur-hover) var(--ease-out),
    box-shadow var(--dur-hover) var(--ease);
}

.hy-nav-link.hy-nav-cta::after { display: none; }

.hy-nav-link.hy-nav-cta:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 97, 45, 0.22);
}

.hy-nav-link.hy-nav-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.hy-lang { flex-shrink: 0; }
.hy-lang__list {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 3px;
  align-items: center;
  background: rgba(74, 93, 78, 0.07);
  border-radius: 999px;
  border: 1px solid rgba(74, 93, 78, 0.08);
}
.hy-lang__link {
  display: block;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  color: rgba(28, 27, 25, 0.55);
  transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.hy-lang__link:hover { color: var(--color-text); }
.hy-lang__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.hy-lang__link.is-active {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 1px 6px rgba(28, 27, 25, 0.08);
}
.hy-lang__link.is-loading {
  opacity: 0.55;
  pointer-events: none;
}
.hy-lang[aria-busy="true"] .hy-lang__link {
  cursor: progress;
}
.hy-lang__link[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
html.hy-lang-switching {
  cursor: progress;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
  animation-timing-function: ease-out;
}

.hy-mobile-nav .hy-lang {
  margin: 0 0 16px;
  justify-content: center;
}

/* ── Header search (icon + glass panel) ── */
.hy-search {
  position: relative;
  flex: 0 0 auto;
}

.hy-search__trigger {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background var(--dur-hover) var(--ease),
    border-color var(--dur-hover) var(--ease),
    color var(--dur-hover) var(--ease),
    transform var(--dur-hover) var(--ease-out),
    box-shadow var(--dur-hover) var(--ease-out);
}

.hy-search__trigger:hover {
  background: var(--color-surface);
  border-color: rgba(74, 93, 78, 0.16);
  transform: translateY(-1px);
}

.hy-search__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.hy-search.is-open .hy-search__trigger {
  background: var(--color-ink-deep);
  border-color: var(--color-ink-deep);
  color: #fff;
  box-shadow: 0 10px 28px rgba(20, 19, 16, 0.14);
}

.hy-search__icon {
  display: block;
  flex-shrink: 0;
}

.hy-search__panel {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  right: var(--gutter);
  z-index: 601;
  width: min(26rem, calc(100vw - var(--gutter) * 2));
  padding: 6px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(74, 93, 78, 0.12);
  background: #fffaf5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(20, 19, 16, 0.14);
  transform-origin: top right;
  transform: translateY(-6px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--dur-card) var(--ease-out),
    transform var(--dur-card) var(--ease-out),
    visibility 0s linear var(--dur-card);
}

.hy-search.is-open .hy-search__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.hy-search__panel[hidden]:not(.hy-search.is-open .hy-search__panel) {
  display: block;
}

.hy-search__form {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.hy-search__field {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(74, 93, 78, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(42, 51, 44, 0.55);
  transition:
    border-color var(--dur-hover) var(--ease),
    box-shadow var(--dur-hover) var(--ease-out);
}

.hy-search__form:focus-within .hy-search__field {
  border-color: rgba(232, 97, 45, 0.32);
  box-shadow: 0 0 0 3px rgba(232, 97, 45, 0.1);
}

.hy-search__field-icon {
  flex: 0 0 auto;
  opacity: 0.55;
}

.hy-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--color-text);
  -webkit-appearance: none;
  appearance: none;
}

.hy-search__input::placeholder {
  color: rgba(42, 51, 44, 0.45);
}

.hy-search__input:focus {
  outline: none;
}

.hy-search__input::-webkit-search-cancel-button,
.hy-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.hy-search__submit {
  display: flex;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  transition:
    background var(--dur-hover) var(--ease),
    transform var(--dur-hover) var(--ease-out),
    box-shadow var(--dur-hover) var(--ease-out);
}

.hy-search__submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(232, 97, 45, 0.24);
}

.hy-search__submit:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

body.hy-search-open .hy-header {
  z-index: 600;
}

.admin-bar .hy-search__panel {
  top: calc(var(--header-h) + 32px + 10px);
}

@media screen and (max-width: 782px) {
  .admin-bar .hy-search__panel {
    top: calc(var(--header-h) + 46px + 10px);
  }
}

@media (max-width: 767px) {
  .hy-header .hy-lang { display: none; }

  .hy-search__panel {
    right: var(--gutter);
    left: var(--gutter);
    width: auto;
    transform-origin: top center;
  }
}

.hy-menu-btn {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background var(--dur-hover) var(--ease),
    border-color var(--dur-hover) var(--ease),
    transform var(--dur-hover) var(--ease-out);
}

.hy-menu-btn:hover {
  background: var(--color-surface-soft);
  transform: translateY(-1px);
}

.hy-menu-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.hy-menu-btn__icon,
.hy-menu-btn__icon::before,
.hy-menu-btn__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-ink);
  transition:
    transform var(--dur-hover) var(--ease-out),
    opacity var(--dur-hover) var(--ease);
}

.hy-menu-btn__icon {
  position: relative;
}

.hy-menu-btn__icon::before,
.hy-menu-btn__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.hy-menu-btn__icon::before { top: -6px; }
.hy-menu-btn__icon::after { top: 6px; }

.hy-menu-btn[aria-expanded="true"] .hy-menu-btn__icon {
  background: transparent;
}

.hy-menu-btn[aria-expanded="true"] .hy-menu-btn__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.hy-menu-btn[aria-expanded="true"] .hy-menu-btn__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hy-mobile-nav {
  display: block;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  padding: var(--space-5) var(--gutter) var(--space-7);
  z-index: 499;
  overflow-y: auto;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--color-border);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--dur-card) var(--ease-out),
    transform var(--dur-card) var(--ease-out),
    visibility 0s linear var(--dur-card);
}

.hy-mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.hy-mobile-nav[hidden]:not(.is-open) {
  display: block;
}

.hy-mobile-nav__menu,
.hy-mobile-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hy-mobile-nav__menu a,
.hy-mobile-nav .menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}

body.hy-nav-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .hy-nav { display: flex; }
  .hy-menu-btn,
  .hy-mobile-nav { display: none !important; }
}

/* ── Typography ── */
.hy-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.02; letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  transition: font-variation-settings 400ms var(--ease);
}
.hy-display:hover { font-variation-settings: "SOFT" 95, "WONK" 0; }

.hy-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 600;
  font-variation-settings: "SOFT" 75, "WONK" 0;
}
.hy-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.625rem);
  line-height: 1.12;
  font-weight: 600;
  font-variation-settings: "SOFT" 75, "WONK" 0;
}
.hy-h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 600;
  font-variation-settings: "SOFT" 75, "WONK" 0;
}
.hy-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 36rem;
  line-height: 1.72;
}
.hy-caption { font-size: 13px; color: var(--color-text-light); letter-spacing: 0.04em; }
.hy-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-olive); margin-bottom: 24px;
}

.hy-headline-words .w {
  display: inline-block; margin-right: 0.26em;
  opacity: 0; transform: translateY(24px);
  animation: hy-enter-word var(--dur-hero) var(--ease) forwards;
}
.hy-headline-words .w:nth-child(1) { animation-delay: 0.05s; }
.hy-headline-words .w:nth-child(2) { animation-delay: 0.12s; }
.hy-headline-words .w:nth-child(3) { animation-delay: 0.19s; }
.hy-headline-words .w:nth-child(4) { animation-delay: 0.26s; }
.hy-headline-words .w:nth-child(5) { animation-delay: 0.33s; }
.hy-headline-words .w:nth-child(6) { animation-delay: 0.4s; }
@keyframes hy-enter-word { to { opacity: 1; transform: translateY(0); } }

/* ── Buttons ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform var(--dur-hover) var(--ease-out),
    box-shadow var(--dur-hover) var(--ease-out),
    background var(--dur-hover) var(--ease),
    border-color var(--dur-hover) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--elevation-1);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent-hover);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-card) var(--ease-out);
  z-index: 0;
}
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(232, 97, 45, 0.28);
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--elevation-0);
}
.btn-secondary:hover {
  background: var(--color-surface-soft);
  box-shadow: var(--elevation-1);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.45);
}

/* ── Sections rhythm ── */
.hy-section { padding: clamp(3.5rem, 8vw, 5rem) 0; }
.hy-section-lg { padding: clamp(5rem, 10vw, 7.5rem) 0; }
.hy-section-xl { padding: clamp(6rem, 12vw, 10rem) 0; }
.hy-band-soft { background: var(--color-surface-soft); }
.hy-band-surface { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.hy-band-dark {
  background: var(--color-olive); color: #f5f1ea;
}
.hy-band-dark .hy-lead { color: rgba(245, 241, 234, 0.75); }
.hy-band-dark .hy-h2 { color: #fff; }

/* ── Hero ── */
.hy-hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; padding-top: var(--header-h);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(201, 100, 47, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 100%, rgba(47, 82, 51, 0.05), transparent 50%),
    linear-gradient(165deg, #faf7f2 0%, #f3ede4 100%);
}
.hy-hero-light {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.5), transparent 40%);
}
.hy-hero-grid {
  position: relative; z-index: 2;
  display: grid; gap: 64px; align-items: center; width: 100%;
}
@media (min-width: 992px) { .hy-hero-grid { grid-template-columns: 1fr 1fr; } }

.hy-hero-3d {
  position: relative; min-height: 420px;
  border-radius: 36px; border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}
.hy-hero-canvas { width: 100%; height: 420px; display: block; touch-action: none; }
.hy-hero-fallback {
  display: flex; align-items: center; justify-content: center;
  min-height: 420px; padding: 32px;
}
.hy-hero-fallback img {
  max-width: 280px;
  filter: drop-shadow(0 28px 48px rgba(60, 45, 20, 0.2));
}

.hy-scroll-cue {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; z-index: 3;
}
.hy-scroll-cue-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: hy-draw-line 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes hy-draw-line {
  0%, 100% { transform: scaleY(0.25); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── Cards ── */
.hy-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--dur-card) var(--ease), box-shadow var(--dur-card) var(--ease);
}

.hy-recipe-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-enter) var(--ease), transform var(--dur-enter) var(--ease), box-shadow var(--dur-card);
}

.hy-recipe-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.hy-recipe-card__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.hy-recipe-card.is-in { opacity: 1; transform: translateY(0); }
.hy-recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}
.hy-recipe-card.is-in:hover { transform: translateY(-4px); }

.hy-recipe-thumb {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, #f3e5dc, #e8efe9);
}
.hy-recipe-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms ease-out;
}
.hy-recipe-card:hover .hy-recipe-thumb img { transform: scale(1.03); }

.hy-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--color-mustard); color: var(--color-text);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.hy-badge-olive { background: var(--color-olive); color: #fff; }

.hy-card-rating {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: #2a332c;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 8px 22px rgba(28, 27, 25, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hy-card-rating__star {
  color: #d7a928;
  font-size: 15px;
  line-height: 1;
}

.hy-card-rating__count {
  color: rgba(42, 51, 44, 0.62);
  font-size: 10px;
  font-weight: 700;
}

.hy-recipe-body { padding: 24px 28px 28px; }
.hy-recipe-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-olive); margin-bottom: 10px;
}
.hy-recipe-body h3 {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 10px;
  transition: color var(--dur-hover);
}
.hy-recipe-card:hover h3 { color: var(--color-accent); }
.hy-recipe-excerpt {
  font-size: 15px; color: var(--color-text-light); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hy-recipe-meta { margin-top: 14px; font-size: 13px; color: var(--color-text-light); }

.hy-recipes-grid {
  display: grid; gap: 28px;
  position: relative;
}
@media (min-width: 640px) { .hy-recipes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hy-recipes-grid { grid-template-columns: repeat(3, 1fr); } }

.hy-archive-pagination { margin-top: 48px; }
.hy-archive-pagination .navigation.pagination { margin: 0; }
.hy-archive-pagination .nav-links {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center;
}
.hy-archive-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--color-border);
  background: var(--color-surface); color: var(--color-text);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background var(--dur-hover), border-color var(--dur-hover), color var(--dur-hover);
}
.hy-archive-pagination .page-numbers:hover,
.hy-archive-pagination .page-numbers:focus-visible {
  border-color: var(--color-accent); color: var(--color-accent);
}
.hy-archive-pagination .page-numbers.current {
  background: rgba(201, 100, 47, 0.12);
  border-color: var(--color-accent); color: var(--color-accent);
}
.hy-archive-pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* Faceted search / archive filters */
.hy-facets {
  max-width: 920px;
  margin: 0 auto 40px;
  padding: 20px 22px;
  border: 1px solid rgba(74, 93, 78, 0.14);
  border-radius: 18px;
  background: rgba(247, 243, 236, 0.65);
}

.hy-facets__search {
  margin-bottom: 14px;
}

.hy-facets__search input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(20, 19, 16, 0.1);
  font-family: var(--font-ui, system-ui, sans-serif);
  background: #fff;
}

.hy-facets__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hy-facets__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(28, 27, 25, 0.62);
}

.hy-facets__field select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(20, 19, 16, 0.1);
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-ink, #141310);
  background: #fff;
}

.hy-facets__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 800px) {
  .hy-facets__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hy-facets__grid {
    grid-template-columns: 1fr;
  }
}

/* Filters */
.hy-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.hy-filter {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--color-border); background: var(--color-surface);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background var(--dur-hover), border-color var(--dur-hover), color var(--dur-hover), transform var(--dur-hover);
}
.hy-filter.is-active, .hy-filter:hover {
  background: rgba(201, 100, 47, 0.1);
  border-color: var(--color-accent); color: var(--color-accent);
  transform: translateY(-1px);
}
a.hy-filter { text-decoration: none; color: inherit; display: inline-block; }
.hy-cluster-nav { margin-bottom: 0; }

/* Cuisine pills */
.hy-cuisines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .hy-cuisines { grid-template-columns: repeat(5, 1fr); } }
.hy-cuisine {
  display: block; padding: 32px 16px; text-align: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  transition: transform var(--dur-card) var(--ease), box-shadow var(--dur-card);
}
.hy-cuisine:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); color: var(--color-accent); }

/* ── Recipe single ── */
.hy-recipe-page { padding-top: calc(var(--header-h) + 12px); }

.hy-portion {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  margin: 24px 0 40px;
}
.hy-portion button {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--color-border); background: var(--color-surface);
  font-size: 1.2rem; cursor: pointer;
  transition: background var(--dur-micro), border-color var(--dur-micro);
}
.hy-portion button:hover { background: var(--color-surface-soft); border-color: var(--color-accent); }
.hy-odometer {
  font-weight: 700; font-variant-numeric: tabular-nums; min-width: 1.5ch;
  transition: transform var(--dur-card) var(--ease), opacity var(--dur-card);
}

.hy-ingredient {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--color-border);
  cursor: pointer; transition: opacity var(--dur-card), transform var(--dur-card);
}
.hy-recipe-page .hy-ingredient {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--color-border);
  cursor: pointer; transition: opacity var(--dur-card), transform var(--dur-card);
}
.hy-recipe-page .hy-ingredient.is-done {
  opacity: 1;
  transform: none;
}
.hy-ingredient.is-done { opacity: 0.45; transform: translateX(6px); }
.hy-ingredient.is-done .hy-ingredient-label {
  text-decoration: line-through; text-decoration-color: var(--color-accent);
  text-decoration-thickness: 1.5px;
}
.hy-check {
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid var(--color-border); flex-shrink: 0;
  display: grid; place-items: center; font-size: 12px;
  transition: background var(--dur-hover), border-color var(--dur-hover);
}
.hy-ingredient.is-done .hy-check {
  background: var(--color-olive); border-color: var(--color-olive); color: #fff;
}

.hy-step { padding: 28px 0; border-bottom: 1px solid var(--color-border); }
.hy-step-num {
  display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-text); color: #fff;
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.hy-timer {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  font-size: 14px; color: var(--color-olive); font-weight: 500;
}
.hy-timer svg { transform: rotate(-90deg); }
.hy-timer-progress {
  transition: stroke-dashoffset 1s linear;
}

.hy-recipe-layout {
  display: grid; gap: 40px; padding-bottom: 120px;
}
@media (min-width: 1024px) { .hy-recipe-layout { grid-template-columns: 5fr 7fr; } }

.hy-hero-photo {
  border-radius: 28px; overflow: hidden; aspect-ratio: 16/10;
  box-shadow: var(--shadow-medium);
}
.hy-hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hy-ken-burns 20s ease-in-out infinite alternate;
}
@keyframes hy-ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hy-panel { padding: 32px; }

/* ── Premium ── */
.hy-pricing-wrap { max-width: 440px; margin: 0 auto; }
.hy-pricing-toggle {
  display: inline-flex; position: relative;
  padding: 4px; border-radius: 999px;
  background: var(--color-surface-soft); margin-bottom: 40px;
}
.hy-pricing-toggle button {
  position: relative; z-index: 1; padding: 12px 24px;
  border: none; background: transparent; font-weight: 600;
  font-size: 14px; cursor: pointer; border-radius: 999px;
  color: var(--color-text); transition: color var(--dur-hover);
}
.hy-pricing-toggle button.is-active { color: #fff; }
.hy-pricing-pill {
  position: absolute; top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  background: var(--color-accent); border-radius: 999px;
  transition: transform var(--dur-card) var(--ease);
}
.hy-pricing-pill.is-right { transform: translateX(100%); }

.hy-pricing-featured {
  position: relative; padding: 2px; border-radius: 28px;
  background: conic-gradient(from var(--angle, 0deg), var(--color-accent), var(--color-mustard), var(--color-olive), var(--color-accent));
  animation: hy-spin-border 12s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes hy-spin-border { to { --angle: 360deg; } }

.hy-pricing-inner { background: var(--color-surface); border-radius: 26px; padding: 48px 36px; }
.hy-price {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  color: var(--color-accent); line-height: 1;
  transition: opacity var(--dur-hover), transform var(--dur-hover);
}
.hy-price--soon {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}
.hy-features { list-style: none; margin: 32px 0; padding: 0; }
.hy-features li {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--color-border); font-size: 15px;
}
.hy-features .ico { color: var(--color-olive); font-weight: 700; }

/* ── Footer — editorial premium v2 ── */
.hy-footer--editorial {
  position: relative;
  background: #0a0e0c;
  color: rgba(245, 241, 234, 0.68);
  overflow: hidden;
}

.hy-footer__edge {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(194, 201, 182, 0.12) 22%,
    rgba(232, 97, 45, 0.38) 50%,
    rgba(194, 201, 182, 0.12) 78%,
    transparent 100%
  );
}

.hy-footer__wrap {
  position: relative;
  max-width: var(--grid-max, 1200px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) var(--gutter) clamp(32px, 4vw, 44px);
}

.hy-footer__wrap::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -10%;
  width: 50%;
  height: 360px;
  background: radial-gradient(circle, rgba(232, 97, 45, 0.06) 0%, transparent 68%);
  pointer-events: none;
}

.hy-footer__main {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  align-items: start;
}

@media (min-width: 960px) {
  .hy-footer__main {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(48px, 6vw, 88px);
  }
}

.hy-footer__logo {
  display: inline-block;
  text-decoration: none;
  transition: opacity var(--dur-hover) var(--ease-out);
}

.hy-footer__logo:hover {
  opacity: 0.88;
}

.hy-footer__logo .hy-brand--horizontal,
.hy-brand--footer {
  display: block;
  height: clamp(60px, 7.5vw, 76px);
  width: auto;
  max-width: min(340px, 88vw);
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  filter: none;
  -webkit-filter: none;
}

.hy-footer__lede {
  margin: clamp(20px, 3vw, 28px) 0 0;
  max-width: 22rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: rgba(245, 241, 234, 0.52);
}

.hy-footer__columns {
  display: grid;
  gap: 36px 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 719px) {
  .hy-footer__columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.hy-footer__label {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(194, 201, 182, 0.72);
}

.hy-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hy-footer__menu li + li {
  margin-top: 14px;
}

.hy-footer__menu a {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 450;
  line-height: 1.4;
  color: rgba(245, 241, 234, 0.78);
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}

.hy-footer__menu a:hover {
  color: #fff;
  transform: translateX(2px);
}

.hy-footer__menu a:focus-visible,
.hy-footer__menu-btn:focus-visible {
  outline: 2px solid rgba(232, 97, 45, 0.85);
  outline-offset: 3px;
}

.hy-footer__menu-btn {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 450;
  line-height: 1.4;
  color: rgba(245, 241, 234, 0.78);
  cursor: pointer;
  text-align: inherit;
  transition: color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}

.hy-footer__menu-btn:hover {
  color: #fff;
  transform: translateX(2px);
}

.hy-footer__rule {
  height: 1px;
  margin: clamp(40px, 5vw, 56px) 0 clamp(28px, 4vw, 36px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09) 20%, rgba(255, 255, 255, 0.09) 80%, transparent);
}

.hy-footer__base {
  display: grid;
  gap: 12px 24px;
  align-items: center;
  font-size: 0.8125rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hy-footer__base {
    grid-template-columns: 1fr auto 1fr;
    gap: 16px 32px;
  }
}

.hy-footer__copy {
  margin: 0;
  color: rgba(245, 241, 234, 0.38);
}

.hy-footer__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  text-align: center;
  color: rgba(245, 241, 234, 0.32);
}

.hy-footer__credit {
  margin: 0;
  text-align: right;
  color: rgba(245, 241, 234, 0.38);
}

.hy-footer__credit a {
  color: rgba(249, 231, 181, 0.62);
  text-decoration: none;
  transition: color var(--dur-hover);
}

.hy-footer__credit a:hover {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  .hy-footer__tagline,
  .hy-footer__credit {
    text-align: left;
  }
}

/* ── Editorial pages (legal, about) ── */
.hy-page--doc {
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 56px));
  padding-bottom: clamp(64px, 10vw, 120px);
  background: var(--color-paper);
}

.hy-doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.hy-doc__head {
  margin-bottom: clamp(32px, 5vw, 48px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.hy-doc__eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hy-doc__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.hy-doc__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.hy-doc__body .hy-doc__lead,
.hy-doc__lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--color-ink);
  margin: 0 0 2rem;
}

.hy-doc__body h2 {
  margin: 2.25em 0 0.75em;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.hy-doc__body h2:first-child {
  margin-top: 0;
}

.hy-doc__body p {
  margin: 0 0 1.1em;
}

.hy-doc__body ul {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.hy-doc__body li {
  margin-bottom: 0.5em;
}

.hy-doc__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hy-doc__body a:hover {
  color: var(--color-accent-hover);
}

.hy-doc__body strong {
  color: var(--color-ink);
  font-weight: 600;
}

/* ── Skeleton ── */
.hy-skeleton {
  background: linear-gradient(90deg, var(--color-surface-soft) 0%, #fff 50%, var(--color-surface-soft) 100%);
  background-size: 200% 100%;
  animation: hy-shimmer 1.4s ease-in-out infinite;
  border-radius: 12px;
}
@keyframes hy-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Inputs ── */
.hy-input {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--color-border); background: var(--color-surface);
  font-family: var(--font-ui); font-size: 15px;
  transition: border-color var(--dur-hover), box-shadow var(--dur-hover);
}
.hy-input:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(201, 100, 47, 0.2);
}

.hy-ribbon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--color-olive); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.hy-ribbon-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--color-mustard); }

.hy-empty { text-align: center; padding: 80px 24px; color: var(--color-text-light); }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hy-headline-words .w { opacity: 1; transform: none; animation: none; }
  .hy-display:hover { font-variation-settings: "SOFT" 80, "WONK" 0; }
  .hy-pricing-featured { animation: none; background: var(--color-accent); }
  .hy-hero-photo img { animation: none; }
  .btn:hover,
  .btn:active,
  .hy-nav-link.hy-nav-cta:hover,
  .hy-menu-btn:hover { transform: none; }
  .hy-footer__menu a:hover,
  .hy-footer__menu-btn:hover { transform: none; }
}

/* Spacer for fixed header */
.hy-page { padding-top: var(--header-h); }
