/* OhBlinds 2026 design system: warm paper, ink, gold. Loaded after main.css on every page.
   Tailwind Play CDN injects its utilities later in <head>, so rules here use one extra
   element or class in the selector where they must win over a utility. */

:root {
  --ink: #1d1b18;
  --ink-2: #45413a;
  --muted: #6b665d;
  --paper: #fbf8f3;
  --paper-2: #f3eee5;
  --card: #ffffff;
  --line: #e6dfd2;
  --gold: #e2b052;
  --gold-hover: #d49e3a;
  --gold-text: #8a5f12;
  --gold-soft: #f7ecd6;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(29, 27, 24, 0.05), 0 12px 32px -12px rgba(29, 27, 24, 0.14);
  --shadow-lift: 0 2px 4px rgba(29, 27, 24, 0.06), 0 24px 48px -16px rgba(29, 27, 24, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-padding-top: 88px;
}

/* Smooth scrolling only after load (motion.js adds the class): a link like /#process
   then jumps straight to the section instead of scrolling the whole page first */
html.ohb-smooth {
  scroll-behavior: smooth;
}

body.bg-white,
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

/* Sections: warm paper instead of cold white/gray */
body section.bg-white,
body main.bg-white,
body .fabric-page.bg-white {
  background: var(--paper);
}

body section.bg-gray-50,
body section.bg-gray-100 {
  background: var(--paper-2);
}

body .text-gray-900 {
  color: var(--ink);
}

body .text-gray-700,
body .text-gray-600 {
  color: var(--ink-2);
}

/* Gold as text fails contrast on light backgrounds; use the deep tone */
body .text-primary {
  color: var(--gold-text);
}

body footer .text-primary {
  color: var(--gold);
}

body section h2.text-3xl {
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

body section h2.text-3xl + p,
body section h2.text-3xl ~ p.text-lg {
  color: var(--muted);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

/* ---------- Focus: keyboard users always see where they are ---------- */
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body [tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- Buttons ---------- */
body button:not(.btn):not(.ohb-filter-pill):not(.ohb-selection-card):not(.ohb-stage-toggle) {
  background: none;
  border: 0;
  box-shadow: none;
  animation: none;
  transform: none;
  color: inherit;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  overflow: visible;
}

body .btn,
body .btn.bg-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  background-size: auto;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 24px -12px rgba(170, 120, 30, 0.55);
  animation: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.35s var(--ease), color 0.2s;
  will-change: transform;
}

body .btn:hover,
body .btn:focus-visible,
body .btn.bg-primary:hover {
  animation: none;
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 30px -12px rgba(170, 120, 30, 0.6);
  transform: translateY(-2px);
}

body .btn:active {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #fff !important;
  transform: translateY(0) scale(0.98);
}

body .btn--ghost,
body .btn--ghost:hover,
body .btn--ghost:focus-visible {
  background: transparent;
  border-color: rgba(29, 27, 24, 0.28);
  color: var(--ink);
  box-shadow: none;
}

body .btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

body .btn i {
  font-size: 1.1em;
  transition: transform 0.35s var(--ease);
}

body .btn:hover i {
  transform: translateX(3px);
}

/* FAQ rows are .btn in markup but must read as accordion rows */
body .btn.faq-question,
body .btn.faq-question:hover,
body .btn.faq-question:focus-visible {
  min-height: 0;
  padding: 1.15rem 1.4rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
  transform: none;
  white-space: normal;
  text-align: left;
}

body .btn.faq-question:hover {
  color: var(--gold-text);
}

/* ---------- Header ---------- */
body header.sticky {
  background: rgba(251, 248, 243, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

body header.sticky.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(29, 27, 24, 0.25);
}

body header nav > a,
body header #catalog-desktop-toggle {
  position: relative;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
}

body header nav > a::after,
body header #catalog-desktop-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

body header nav > a:hover,
body header #catalog-desktop-toggle:hover {
  color: var(--ink);
}

body header nav > a:hover::after,
body header #catalog-desktop-toggle:hover::after {
  transform: scaleX(1);
}

body header nav a[href^="tel:"] {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-weight: 600;
  transition: border-color 0.25s, box-shadow 0.25s;
}

body header nav a[href^="tel:"]:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 20px -12px rgba(170, 120, 30, 0.6);
}

body #catalog-desktop-dropdown {
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 0.5rem 0.25rem;
}

body #catalog-desktop-dropdown a {
  border-radius: 10px;
  padding: 0.3rem 0.6rem;
}

body #catalog-desktop-dropdown a:hover {
  background: var(--paper-2);
}

body #mobile-menu-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}

body #mobile-menu {
  background: var(--paper);
}

/* ---------- Catalog filters and selection cards ---------- */
body #group-tabs {
  background: transparent;
  box-shadow: none;
  padding: 0.25rem 0.25rem 0.5rem;
  justify-content: safe center;
  gap: 0.5rem;
}

body .ohb-filter-pill {
  border-color: var(--line) !important;
  color: var(--ink-2) !important;
  padding: 0.7rem 1.15rem !important;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.35s var(--ease) !important;
}

body .ohb-filter-pill:hover {
  background: var(--card) !important;
  border-color: var(--gold) !important;
  color: var(--ink) !important;
}

body .ohb-filter-pill.is-active,
body .ohb-filter-pill.is-active:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #fff !important;
}

body .ohb-selection-card {
  border-color: var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.25s !important;
}

body .ohb-selection-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-lift) !important;
  border-color: #d9c39a !important;
}

body .ohb-selection-card.is-selected {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(226, 176, 82, 0.35), var(--shadow-lift) !important;
}

body .ohb-selection-card__media img {
  transition: transform 0.8s var(--ease);
}

body .ohb-selection-card:hover .ohb-selection-card__media img {
  transform: scale(1.05);
}

body .ohb-selection-card__meta {
  color: var(--gold-text);
}

/* ---------- Forms ---------- */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="number"],
body select,
body textarea {
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

body input[type="text"]:focus,
body input[type="email"]:focus,
body input[type="tel"]:focus,
body input[type="number"]:focus,
body select:focus,
body textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 176, 82, 0.22);
  outline: none;
}

body #total-price {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---------- Portfolio ---------- */
body .portfolio-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

body .portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

body .portfolio-item > img {
  transition: transform 1s var(--ease);
}

body .portfolio-item:hover > img {
  transform: scale(1.06);
}

body .portfolio-overlay {
  position: absolute;
  inset: 0 0 auto;
  height: 16rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(29, 27, 24, 0.55), rgba(29, 27, 24, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

body .portfolio-item:hover .portfolio-overlay,
body .portfolio-item:focus-within .portfolio-overlay {
  opacity: 1;
}

@media (hover: none) {
  body .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(29, 27, 24, 0.4), rgba(29, 27, 24, 0) 45%);
  }
}

body .portfolio-overlay .btn {
  min-height: 44px;
  padding: 0.6rem 1.2rem;
}

/* ---------- How to order ---------- */
body #process .grid {
  counter-reset: step;
}

body .process-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: step;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

body .process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  color: var(--gold-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body .process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

body .process-step .rounded-full {
  background: var(--gold-soft);
  border: 0;
  box-shadow: none;
  color: var(--gold-text);
}

/* ---------- FAQ ---------- */
body #faq > div,
body .faq-item {
  border-radius: var(--radius-sm);
}

/* ---------- Footer ---------- */
body footer.bg-gray-900 {
  background: #1b1915;
}

/* ---------- Decorative leftovers from the old theme ---------- */
body .wave-bg {
  display: none;
}

/* ---------- Motion ---------- */
.ohb-motion .fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.ohb-motion .fade-in.visible {
  opacity: 1;
  transform: none;
}

.ohb-motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.ohb-motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.ohb-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem);
  background:
    radial-gradient(1200px 520px at 85% 10%, rgba(226, 176, 82, 0.16), transparent 60%),
    var(--paper);
}

.ohb-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .ohb-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    min-height: min(78vh, 760px);
  }
}

.ohb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--gold-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ohb-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.ohb-hero__title {
  margin: 1.25rem 0 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.ohb-hero__title span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.ohb-hero__lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.7;
}

.ohb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.ohb-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.ohb-hero__facts strong {
  color: var(--ink);
  font-weight: 700;
}

.ohb-hero__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  width: 100%;
  border-radius: 32px;
  background: #f2ede4;
  box-shadow: 0 2px 4px rgba(29, 27, 24, 0.05), 0 40px 80px -36px rgba(29, 27, 24, 0.45);
  isolation: isolate;
}

@media (min-width: 1024px) {
  .ohb-hero__stage {
    aspect-ratio: auto;
    height: min(74vh, 700px);
    max-height: none;
  }
}

.ohb-hero__poster,
.ohb-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ohb-hero__poster {
  object-fit: cover;
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}

.ohb-hero__canvas {
  display: block;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.ohb-hero__stage.is-live .ohb-hero__canvas {
  opacity: 1;
}

.ohb-hero__stage.is-live .ohb-hero__poster {
  opacity: 0;
  transform: scale(1.04);
}

.ohb-hero__chip {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease) 0.4s, transform 0.6s var(--ease) 0.4s;
}

.ohb-hero__chip .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #dbccad;
  box-shadow: 0 0 0 2px #fff;
}

.ohb-hero__stage.is-live .ohb-hero__chip {
  opacity: 1;
  transform: none;
}

body .ohb-stage-toggle {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(29, 27, 24, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.25s, transform 0.35s var(--ease);
}

body .ohb-stage-toggle:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.ohb-stage-toggle[hidden] {
  display: none;
}

/* Hero entrance */
.ohb-motion .ohb-hero [data-hero-in] {
  opacity: 0;
  transform: translateY(26px);
  animation: ohb-hero-in 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

/* The title is the LCP candidate: it moves in but is never transparent */
.ohb-motion .ohb-hero [data-hero-in="move"] {
  opacity: 1;
  animation-name: ohb-hero-move;
}

@keyframes ohb-hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ohb-hero-move {
  from {
    transform: translateY(18px);
  }
  to {
    transform: none;
  }
}

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

/* Inner panels (calculator, summaries): warm instead of Tailwind's cool gray */
body .bg-gray-50:not(section) {
  background-color: #faf7f1;
}

body .border-gray-200,
body .border-gray-100 {
  border-color: var(--line);
}

/* Fabric collection pages */
body .fabric-page h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
}

body .fabric-page h1 + p {
  color: var(--ink-2);
}

/* ---------- Header: logo shrinks once the page scrolls ---------- */
body header.sticky > div > a > img {
  height: 64px;
  width: auto;
  transition: height 0.35s var(--ease);
}

body header.sticky.is-scrolled > div > a > img {
  height: 46px;
}

@media (min-width: 1024px) {
  body header.sticky > div > a > img {
    height: 76px;
  }

  body header.sticky.is-scrolled > div > a > img {
    height: 52px;
  }
}

/* ---------- Live preview ("fitting room") next to fabric grids ---------- */
/* overflow: hidden would make the sticky preview stop working; clip keeps the look */
body section#catalog,
body section#collection-fabrics {
  overflow: clip;
}

.ohb-fit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.ohb-fit__aside {
  position: sticky;
  top: 72px;
  z-index: 6;
  margin: 0 -1rem;
  padding: 0.5rem 1rem 0.75rem;
  background: linear-gradient(var(--paper-2) 85%, rgba(243, 238, 229, 0));
}

.ohb-fit__stage {
  position: relative;
  overflow: hidden;
  height: clamp(190px, 28vh, 300px);
  border-radius: 24px;
  background: #f2ede4;
  box-shadow: 0 1px 2px rgba(29, 27, 24, 0.05), 0 24px 48px -28px rgba(29, 27, 24, 0.45);
  isolation: isolate;
}

.ohb-fit__poster,
.ohb-fit__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ohb-fit__poster {
  object-fit: cover;
  transition: opacity 0.6s var(--ease);
}

.ohb-fit__canvas {
  display: block;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.ohb-fit__stage.is-live .ohb-fit__canvas {
  opacity: 1;
}

.ohb-fit__stage.is-live .ohb-fit__poster {
  opacity: 0;
}

.ohb-fit__chip {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 1.5rem);
  margin: 0;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.ohb-fit__chip span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ohb-fit__swatch {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--paper-2) center / cover;
  box-shadow: 0 0 0 2px #fff;
}

.ohb-fit__info {
  display: none;
}

.ohb-motion .ohb-fit__aside.is-changed .ohb-fit__chip {
  animation: ohb-fit-pop 0.5s var(--ease);
}

@keyframes ohb-fit-pop {
  0% {
    transform: scale(0.94);
  }
  60% {
    transform: scale(1.04);
  }
  100% {
    transform: none;
  }
}

@media (max-width: 639px) {
  body .ohb-fit__main .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  body .ohb-fit__main .ohb-selection-card__content {
    padding: 0.7rem 0.75rem 0.8rem;
  }

  body .ohb-fit__main .ohb-selection-card__subtitle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .ohb-fit {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    gap: 2rem;
  }

  .ohb-fit__aside {
    order: 2;
    top: 96px;
    margin: 0;
    padding: 0;
    background: none;
  }

  .ohb-fit__stage {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .ohb-fit__info {
    display: block;
    padding: 1.25rem 0.25rem 0;
  }

  .ohb-fit__eyebrow {
    margin: 0;
    color: var(--gold-text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .ohb-fit__name {
    margin: 0.4rem 0 0;
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .ohb-fit__group {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
  }

  .ohb-fit__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.1rem;
  }

  .ohb-fit__actions .btn {
    min-height: 46px;
    padding: 0.65rem 1.2rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 639px) {
  body .ohb-fit__main .ohb-selection-card__meta {
    display: none;
  }
}

/* ---------- Footer ---------- */
body footer.ohb-footer {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
  background: #1b1915;
  color: #d9d3c8;
}

body footer.ohb-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 176, 82, 0.6), transparent);
}

.ohb-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .ohb-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ohb-footer__grid {
    grid-template-columns: 1.3fr 0.9fr 1fr 1.3fr;
    gap: 3rem;
  }
}

body .ohb-footer__logo {
  display: inline-block;
  color: var(--gold);
  font-family: Pacifico, cursive;
  font-size: 2.2rem;
  line-height: 1.2;
}

.ohb-footer__tagline {
  max-width: 22rem;
  margin: 1rem 0 1.5rem;
  color: #a8a194;
  line-height: 1.7;
}

body .ohb-footer .ohb-footer__cta {
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  font-size: 0.92rem;
}

.ohb-footer__title {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ohb-footer__title--small {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.ohb-footer__col ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .ohb-footer__col a {
  color: #bdb6a9;
  transition: color 0.2s;
}

body .ohb-footer__col a:hover {
  color: #fff;
}

.ohb-footer__contacts li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.6rem;
  color: #bdb6a9;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ohb-footer__contacts i {
  color: var(--gold);
  line-height: 1.55;
}

.ohb-footer__pay {
  display: flex;
  gap: 0.9rem;
  color: #8f887c;
  font-size: 1.5rem;
}

.ohb-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8f887c;
  font-size: 0.88rem;
}

.ohb-footer__bottom p {
  margin: 0;
}

@media (min-width: 768px) {
  .ohb-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* The studio credit is a real, visible link: gold, underlined, clear focus */
body .ohb-footer__credit a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

body .ohb-footer__credit a:hover {
  color: #fff;
  text-decoration-color: var(--gold);
}

body .ohb-footer a:focus-visible {
  outline-color: var(--gold);
}

@media (max-width: 639px) {
  .ohb-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.25rem;
  }

  .ohb-footer__brand,
  .ohb-footer__grid > .ohb-footer__col:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Mobile menu ---------- */
body .ohb-burger {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  cursor: pointer;
}

.ohb-burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.ohb-burger span:first-child {
  top: 18px;
}

.ohb-burger span:last-child {
  top: 25px;
  right: 18px;
}

.ohb-menu-open,
.ohb-menu-open body {
  overflow: hidden;
}

.ohb-mmenu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.9rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  background:
    radial-gradient(600px 360px at 100% 0%, rgba(226, 176, 82, 0.16), transparent 60%),
    var(--paper);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.ohb-mmenu[hidden] {
  display: none;
}

.ohb-mmenu.is-open {
  opacity: 1;
  transform: none;
}

.ohb-mmenu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ohb-mmenu__logo img {
  height: 46px;
  width: auto;
}

body .ohb-mmenu__close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.2s;
}

body .ohb-mmenu__close:active {
  transform: scale(0.94);
}

.ohb-mmenu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 1.75rem;
}

body .ohb-mmenu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
}

.ohb-mmenu__link i {
  color: var(--gold-text);
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform 0.35s var(--ease);
}

.ohb-mmenu__link[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.ohb-mmenu__catalog {
  padding: 0.5rem 0.25rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.ohb-mmenu__group {
  margin: 0.9rem 0 0.5rem;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ohb-mmenu__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body .ohb-mmenu__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

body .ohb-mmenu__chips a:active {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.ohb-mmenu__bottom {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 2rem;
}

body .ohb-mmenu__cta {
  width: 100%;
}

.ohb-mmenu__meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Items rise in one after another when the menu opens */
.ohb-motion .ohb-mmenu .ohb-mmenu__link,
.ohb-motion .ohb-mmenu .ohb-mmenu__bottom {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(0.06s + var(--i, 6) * 0.045s);
}

.ohb-motion .ohb-mmenu.is-open .ohb-mmenu__link,
.ohb-motion .ohb-mmenu.is-open .ohb-mmenu__bottom {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .ohb-mmenu {
    display: none !important;
  }
}

/* Menu buttons: the id beats the generic button reset above */
body #ohb-mmenu .ohb-mmenu__link {
  padding: 0.95rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 700;
}

body #ohb-mmenu .ohb-mmenu__close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 1.4rem;
}
