/*
Theme Name: The Bearing Store — Heritage
Theme URI: https://bearingstore.in
Author: The Bearing Store
Description: Warm, heritage-style theme for The Bearing Store, Kalbadevi, Mumbai (since 1974). Includes Home, Products, About, Contact, Get a Quote and Blog pages, a quote-request form saved to WP admin, and a find-by-size WhatsApp tool. Pages are created automatically on activation.
Version: 2.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bearingstore
*/

/* ------------------------------------------------------------------
   Tokens
------------------------------------------------------------------ */
:root {
  --paper: #f7f0e3;
  --paper-2: #efe4d0;
  --paper-3: #e5d4b7;
  --card: #fbf7ef;
  --ink: #2a1e16;
  --ink-2: #5b4636;
  --ink-3: #6b5544;
  --rust: #a8471f;
  --rust-2: #86361a;
  --rust-tint: #f3dcc9;
  --brass: #b8862f;
  --brass-tint: #f1e2c1;
  --brass-text: #7a561a;
  --green: #2f4a3a;
  --green-2: #213529;
  --wa: #1f7a4c;
  --line: #dccbae;
  --line-2: #c9b18b;
  --espresso: #221710;
  --cream: #f7f0e3;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Courier Prime", "Courier New", ui-monospace, monospace;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 0 rgba(42, 30, 22, .05), 0 14px 34px -18px rgba(42, 30, 22, .35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .24 0 0 0 0 .14 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-2); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--rust); font-weight: 500; }
p { margin: 0 0 1em; }
::selection { background: var(--rust); color: var(--cream); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
  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:focus {
  position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
  background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: var(--radius);
}
.mono { font-family: var(--mono); }

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.35rem; border-radius: var(--radius);
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rust); color: var(--cream); box-shadow: 0 6px 16px -8px rgba(168, 71, 31, .7); }
.btn-primary:hover { background: var(--rust-2); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17613c; color: #fff; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--rust-2); }
.btn-outline-light { color: var(--cream); border-color: rgba(247, 240, 227, .6); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }
.btn-sm { padding: .7rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.topbar { background: var(--espresso); color: #e9dcc6; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #f7f0e3; text-decoration: none; }
.topbar a:hover { color: var(--brass-tint); }
.topbar-note { font-family: var(--serif); font-style: italic; letter-spacing: .01em; }
.topbar-links { display: flex; gap: 1.4rem; align-items: center; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 4px double var(--line-2);
  transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(42, 30, 22, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 50px; height: 50px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; font-weight: 600; }

.primary-nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-list li { margin: 0; position: relative; }
.nav-list a {
  display: block; padding: .55rem .8rem; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 1.02rem; border-radius: var(--radius);
}
.nav-list a:hover { color: var(--rust); }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .is-current > a { color: var(--rust); }
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-list .is-current > a::after {
  content: ""; display: block; height: 2px; background: var(--rust); margin-top: 2px; border-radius: 2px;
}
.nav-list .sub-menu { display: none; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius);
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-mobile-extra { display: none; }

@media (max-width: 1000px) {
  .topbar-note { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0; top: var(--header-offset, 122px); z-index: 40;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--paper); padding: 1.25rem var(--gutter) 2rem;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { font-family: var(--serif); font-size: 1.5rem; padding: .8rem .2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after, .nav-list .is-current > a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: .6rem; margin-top: .5rem; }
  .primary-nav > .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .topbar-links .hide-sm { display: none; }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: .65rem; letter-spacing: .14em; }
}

/* ------------------------------------------------------------------
   Section scaffolding
------------------------------------------------------------------ */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.12rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-text); margin-bottom: 1rem;
}
.eyebrow::before, .section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); }

/* Ornamental divider */
.ornament { display: flex; align-items: center; gap: 1rem; color: var(--line-2); margin: 0 auto; max-width: 280px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.ornament svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 1.4rem;
}
.hero-kicker .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
/* The H1 is the small kicker line; the big tagline is a <p> styled like an H1. */
.hero h1.hero-kicker { display: block; font-family: var(--sans); font-size: .85rem; font-weight: 700; line-height: 1.4; letter-spacing: .16em; color: var(--ink-2); margin: 0 0 1.4rem; }
.hero-title {
  font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink);
  font-size: clamp(2.3rem, 5.4vw, 4.1rem); margin: 0 0 .4em; font-variation-settings: "SOFT" 50, "WONK" 0;
}
.hero-title .line { display: block; }
.hero-title em { font-style: italic; color: var(--rust); font-weight: 500; }
.hero .lede { max-width: 36em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-call { margin-top: 1.4rem; color: var(--ink-2); font-size: .98rem; }
.hero-call a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--brass); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero-art .bearing-art { width: 100%; height: 100%; }
.bearing-art .balls { transform-origin: 200px 200px; animation: spin 60s linear infinite; }
.hero-stamp { position: absolute; width: 36%; right: -2%; top: -2%; }
.hero-stamp .stamp-ring { transform-origin: 100px 100px; animation: spin 40s linear infinite reverse; }
.hero-tag {
  position: absolute; left: -4%; bottom: 6%;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 1rem 1.1rem 1rem 1.4rem; max-width: 250px; transform: rotate(-3deg); box-shadow: var(--shadow);
}
.hero-tag::before {
  content: ""; position: absolute; left: .55rem; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper);
}
.hero-tag strong { display: block; font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; margin-bottom: .25rem; }
.hero-tag span { font-size: .92rem; color: var(--ink-2); line-height: 1.4; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .bearing-art .balls, .hero-stamp .stamp-ring { animation: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; order: -1; }
  .hero-tag { left: 0; bottom: 0; max-width: 220px; }
}

/* Ticker of part numbers */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); overflow: hidden; white-space: nowrap; padding: .75rem 0;
  font-family: var(--mono); font-size: .98rem; color: var(--ink-2);
}
.ticker-track { display: inline-flex; gap: 2.2rem; animation: ticker 70s linear infinite; padding-left: 2rem; }
.ticker-track span::after { content: "✦"; color: var(--brass); margin-left: 2.2rem; font-size: .7rem; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ------------------------------------------------------------------
   Promise pillars
------------------------------------------------------------------ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.pillar { padding: clamp(24px, 3vw, 36px); position: relative; }
.pillar + .pillar { border-left: 1px dashed var(--line-2); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rust-tint); color: var(--rust); margin-bottom: 1.1rem;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.pillar p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px dashed var(--line-2); }
}

/* ------------------------------------------------------------------
   Sourcing (dark green panel)
------------------------------------------------------------------ */
.sourcing { background: var(--green); color: #e8e1d2; position: relative; overflow: hidden; }
.sourcing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, #f7f0e3 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, #f7f0e3 31px 32px);
}
.sourcing .wrap { position: relative; }
.sourcing h2, .sourcing h3 { color: var(--cream); }
.sourcing h2 em { color: var(--brass-tint); }
.sourcing .eyebrow { color: #d9b56c; }
.sourcing .lede { color: #d5cdbd; }
.sourcing-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.spec-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.8rem; }
.spec-list li { display: grid; grid-template-columns: 28px 1fr; gap: .7rem; }
.spec-list svg { width: 22px; height: 22px; color: #d9b56c; margin-top: .2rem; }
.spec-list strong { display: block; color: var(--cream); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.25; margin-bottom: .2rem; }
.spec-list span { font-size: .97rem; color: #cfc6b4; line-height: 1.5; }
@media (max-width: 960px) { .sourcing-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .spec-list { grid-template-columns: 1fr; } }

/* Size finder card */
.finder {
  background: var(--card); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
  border: 1px solid var(--line-2); position: relative;
}
.finder::after {
  content: ""; position: absolute; inset: 7px; border: 1px dashed var(--line); border-radius: 10px; pointer-events: none;
}
.finder > * { position: relative; z-index: 1; }
.finder h3 { color: var(--ink); font-size: 1.55rem; margin-bottom: .3rem; }
.finder p.small { color: var(--ink-2); font-size: .98rem; }
.finder-diagram { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; align-items: center; margin: 1.1rem 0 1.2rem; }
.finder-diagram svg { width: 150px; height: auto; }
.finder-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.finder-fields.two { grid-template-columns: 1fr 2fr; margin-top: .7rem; }
.finder-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.1rem; }
@media (max-width: 480px) {
  .finder-diagram { grid-template-columns: 1fr; justify-items: center; }
  .finder-fields { grid-template-columns: 1fr 1fr 1fr; }
  .finder-fields.two { grid-template-columns: 1fr; }
  .finder-actions { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Forms (shared)
------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--rust); }
.field .hint { font-size: .85rem; color: var(--ink-3); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fffdf8; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  padding: .72rem .85rem; transition: border-color .15s, box-shadow .15s; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(168, 71, 31, .15); }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b4636' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.2rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.quote-form { display: grid; gap: 1.6rem; }
.form-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; padding: 0; margin-bottom: .9rem;
  display: flex; align-items: center; gap: .7rem; width: 100%;
}
.fieldset legend .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: inline-grid; place-items: center; font-size: .95rem; font-family: var(--sans); font-weight: 700; flex: none;
}
.items-table { display: grid; gap: .6rem; }
.item-row { display: grid; grid-template-columns: 2.2fr 1.2fr .8fr 40px; gap: .6rem; align-items: end; }
.item-row .field label { font-size: .82rem; }
.item-row:not(:first-child) .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.item-remove {
  height: 46px; width: 40px; border: 1.5px solid var(--line-2); background: transparent; border-radius: var(--radius);
  color: var(--ink-3); cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.item-remove:hover { color: var(--rust); border-color: var(--rust); }
.item-row:only-child .item-remove { visibility: hidden; }
.add-item {
  justify-self: start; margin-top: .3rem; background: none; border: 1.5px dashed var(--line-2); color: var(--ink);
  padding: .6rem 1rem; border-radius: var(--radius); font: inherit; font-weight: 700; cursor: pointer;
}
.add-item:hover { border-color: var(--rust); color: var(--rust); }
.choice-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; height: 100%; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: .75rem .9rem;
  background: #fffdf8; cursor: pointer; transition: border-color .15s, background .15s;
}
.choice span strong { display: block; font-size: .98rem; }
.choice span small { color: var(--ink-3); font-size: .85rem; line-height: 1.35; display: block; }
.choice input:checked + span { border-color: var(--rust); background: var(--rust-tint); box-shadow: inset 0 0 0 1px var(--rust); }
.choice input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.choice-group.inline { grid-template-columns: repeat(3, auto); justify-content: start; }
.choice-group.inline span { padding: .55rem 1rem; }
.form-submit { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; padding-top: .4rem; border-top: 1px dashed var(--line-2); padding-top: 1.4rem; }
.form-submit .note { font-size: .88rem; color: var(--ink-3); flex-basis: 100%; margin: 0; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .item-row { grid-template-columns: 1fr 1fr 40px; }
  .item-row .field-part { grid-column: 1 / -1; }
  .item-row .field label { position: static !important; width: auto !important; height: auto !important; clip: auto !important; }
  .item-row { padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
  .choice-group, .choice-group.inline { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
}

.notice { border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.4rem; border: 1px solid; }
.notice strong { font-family: var(--serif); font-size: 1.15rem; display: block; margin-bottom: .2rem; }
.notice p { margin: 0 0 .6rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-success { background: #e4eee4; border-color: #9fbfa3; color: #1f3a26; }
.notice-error { background: #f8e1d8; border-color: #dba58f; color: #6d2a12; }

/* ------------------------------------------------------------------
   Steps (express)
------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; position: relative; }
.step { position: relative; padding-top: 1rem; }
.step-num {
  font-family: var(--serif); font-size: 3.6rem; font-weight: 400; font-style: italic; line-height: 1;
  color: var(--rust); display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem;
}
.step-num::after { content: ""; flex: 1; border-top: 2px dotted var(--line-2); }
.step:last-child .step-num::after { display: none; }
.step h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.step p { color: var(--ink-2); margin: 0; }
.express-callout {
  margin-top: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: 1.4rem clamp(20px, 3vw, 36px);
}
.express-callout p { margin: 0; font-size: 1.1rem; }
.express-callout strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; display: block; color: var(--cream); }
.express-callout .icon-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--rust); display: grid; place-items: center; flex: none; }
.express-callout .icon-badge svg { width: 26px; height: 26px; color: var(--cream); }
.express-callout .lead { display: flex; gap: 1rem; align-items: center; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step-num::after { display: none; }
}

/* ------------------------------------------------------------------
   Category cards
------------------------------------------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--rust); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card .cat-icon { width: 56px; height: 56px; color: var(--ink); }
.cat-card h3 { margin: .2rem 0 0; font-size: 1.35rem; }
.cat-card p { color: var(--ink-2); margin: 0; font-size: 1rem; flex: 1; }
.cat-card .examples { font-family: var(--mono); font-size: .88rem; color: var(--ink-3); border-top: 1px dashed var(--line-2); padding-top: .7rem; }
.cat-card .link-arrow { color: var(--rust); font-size: .95rem; }
.also-list { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; color: var(--ink-2); }
.chip {
  display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: .3rem .8rem;
  font-size: .9rem; background: var(--card); color: var(--ink-2); text-decoration: none;
}
a.chip:hover { border-color: var(--rust); color: var(--rust); }
.chip.mono { font-family: var(--mono); }
@media (max-width: 960px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Brands (letterhead row)
------------------------------------------------------------------ */
.brands { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.brand-cell { text-align: center; padding: 1.4rem .5rem; }
.brand-cell + .brand-cell { border-left: 1px solid var(--line-2); }
.brand-cell b { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: .04em; color: var(--ink); line-height: 1.1; }
.brand-cell small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: .35rem; }
.brands-note { text-align: center; color: var(--ink-2); margin-top: 1.2rem; font-style: italic; font-family: var(--serif); }
@media (max-width: 860px) {
  .brands { grid-template-columns: repeat(4, 1fr); }
  .brand-cell:nth-child(5) { border-left: 0; }
  .brand-cell:nth-child(n+5) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 480px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand-cell:nth-child(5) { border-left: 1px solid var(--line-2); }
  .brand-cell:nth-child(4), .brand-cell:nth-child(7) { border-left: 0; }
  .brand-cell:nth-child(n+4) { border-top: 1px solid var(--line-2); }
}

/* ------------------------------------------------------------------
   Story
------------------------------------------------------------------ */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticket {
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  position: relative; text-align: center; box-shadow: var(--shadow);
}
.ticket::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 181, 108, .45); border-radius: 9px; pointer-events: none;
}
.ticket .t-small { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: #d9b56c; font-weight: 700; }
.ticket .t-year { font-family: var(--serif); font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: 1; font-weight: 500; margin: .6rem 0 .3rem; color: var(--cream); font-variation-settings: "SOFT" 100; }
.ticket .t-rule { height: 1px; background: rgba(217, 181, 108, .45); margin: 1.2rem auto; width: 60%; }
.ticket address { font-style: normal; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: #e8dcc6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; border-top: 1px solid var(--line-2); padding-top: 1.6rem; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--rust); line-height: 1; }
.stat span { font-size: .85rem; letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; font-weight: 600; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .ticket { max-width: 460px; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------
   Ledger (stock register)
------------------------------------------------------------------ */
.ledger {
  background: #fffcf4; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; position: relative;
}
.ledger-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 1.4rem; border-bottom: 3px double var(--line-2); background: var(--paper-2);
}
.ledger-head h3 { margin: 0; font-size: 1.25rem; }
.ledger-head span { font-family: var(--mono); font-size: .9rem; color: var(--ink-3); }
.ledger-scroll { overflow-x: auto; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 640px; }
.ledger th {
  text-align: left; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); font-weight: 700;
}
.ledger td { padding: .85rem 1rem; border-bottom: 1px solid #eadcc3; vertical-align: middle; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td:first-child, .ledger th:first-child { border-right: 2px solid rgba(168, 71, 31, .35); width: 56px; text-align: center; font-family: var(--mono); color: var(--ink-3); }
.ledger .part { font-family: var(--mono); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.ledger .make { font-family: var(--serif); font-weight: 600; }
.ledger .dims { font-family: var(--mono); color: var(--ink-2); }
.ledger td:last-child { text-align: right; }
.ledger tbody tr:hover { background: var(--brass-tint); }
.ledger .in-stock { font-size: .8rem; font-weight: 700; color: var(--green); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ledger .in-stock::before { content: "●"; margin-right: .35rem; font-size: .7rem; }

/* ------------------------------------------------------------------
   Posts
------------------------------------------------------------------ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line-2); background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, #eadcc3 12px 13px); }
.post-card .thumb-placeholder svg { width: 72px; height: 72px; color: var(--ink-3); opacity: .6; }
.post-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-text); font-weight: 700; }
.post-card h3, .post-card .card-title { font-size: 1.28rem; margin: 0; }
.post-card .card-title a { color: var(--ink); text-decoration: none; }
.post-card .card-title a:hover { color: var(--rust); }
.post-card p { color: var(--ink-2); font-size: .98rem; margin: 0; flex: 1; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 .8rem;
  border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ------------------------------------------------------------------
   CTA band
------------------------------------------------------------------ */
.cta-band { background: var(--rust); color: var(--cream); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; margin-top: -210px; border-radius: 50%;
  border: 40px solid rgba(247, 240, 227, .08); box-shadow: 0 0 0 60px rgba(247, 240, 227, .04);
}
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: var(--cream); margin-bottom: .3em; }
.cta-band h2 em { color: var(--brass-tint); }
.cta-band p { color: #f6e3d6; font-size: 1.15rem; margin: 0; max-width: 40em; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; }
@media (max-width: 820px) {
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ------------------------------------------------------------------
   Page headers (inner pages)
------------------------------------------------------------------ */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 16em; }
.page-hero .lede { max-width: 42em; }
.page-hero-mark { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 220px; opacity: .9; }
.breadcrumbs { font-size: .88rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--rust); }
.breadcrumbs span[aria-hidden] { margin: 0 .5rem; }
@media (min-width: 901px) { .page-hero.has-mark .wrap { padding-right: calc(var(--gutter) + 260px); } }
@media (max-width: 900px) { .page-hero-mark { display: none; } }

/* Products page */
.jump-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.product-block { display: grid; grid-template-columns: 90px 1fr; gap: clamp(20px, 3vw, 36px); padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.product-block:last-child { border-bottom: 0; }
.product-block .cat-icon { width: 80px; height: 80px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 50%; padding: 12px; }
.product-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.product-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; margin-top: 1.2rem; }
.product-cols h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem; }
.product-cols ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; }
.product-cols ul li::before { content: "—"; color: var(--brass); margin-right: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.product-block .actions { margin-top: 1.4rem; display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 760px) {
  .product-block { grid-template-columns: 1fr; }
  .product-cols { grid-template-columns: 1fr; }
}

/* About */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value { border-top: 3px solid var(--ink); padding-top: 1.2rem; }
.value .v-num { font-family: var(--serif); font-style: italic; color: var(--rust); font-size: 1.1rem; }
.value h3 { font-size: 1.45rem; margin: .3rem 0 .5rem; }
.value p { color: var(--ink-2); margin: 0; }
.then-now { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.then-now > div { padding: clamp(24px, 4vw, 44px); }
.then-now > div + div { border-left: 1px dashed var(--line-2); }
.then-now .tn-label { font-family: var(--serif); font-size: 2.6rem; font-style: italic; color: var(--rust); line-height: 1; margin-bottom: .8rem; }
.then-now p { color: var(--ink-2); margin: 0; }
.prose-cols { columns: 2; column-gap: 3rem; color: var(--ink-2); font-size: 1.1rem; }
.prose-cols p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 4.2rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--rust); font-weight: 600;
}
@media (max-width: 820px) {
  .values { grid-template-columns: 1fr; }
  .then-now { grid-template-columns: 1fr; }
  .then-now > div + div { border-left: 0; border-top: 1px dashed var(--line-2); }
  .prose-cols { columns: 1; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 50%; background: var(--rust-tint); color: var(--rust); display: grid; place-items: center; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list .cl-label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.contact-list .cl-value { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.contact-list .cl-value a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--brass); }
.contact-list .cl-value a:hover { color: var(--rust); }
.contact-list address { font-style: normal; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--paper-2); aspect-ratio: 4 / 3.2; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.25) saturate(.9); }
.map-caption { font-size: .92rem; color: var(--ink-2); margin-top: .8rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Quote page */
.quote-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-card h3 { font-size: 1.3rem; }
.aside-card.dark { background: var(--green); color: #e8e1d2; border-color: var(--green); }
.aside-card.dark h3 { color: var(--cream); }
.aside-card.dark p { color: #d5cdbd; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; color: var(--ink-2); }
.check-list svg { width: 20px; height: 20px; color: var(--rust); margin-top: .2rem; }
.quote-aside { position: sticky; top: 110px; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } .quote-aside { position: static; } }

/* ------------------------------------------------------------------
   Article / prose
------------------------------------------------------------------ */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-header { text-align: center; padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 36px); }
.article-header h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.article-header .post-meta { margin-bottom: 1rem; display: inline-block; }
.article-thumb { margin: 0 auto 2.4rem; max-width: 960px; border-radius: var(--radius-lg); overflow: hidden; }
.prose { font-size: 1.14rem; line-height: 1.75; color: #3a2a1f; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--rust); }
.prose blockquote {
  margin: 1.8em 0; padding: .4em 0 .4em 1.4em; border-left: 3px solid var(--rust);
  font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink);
}
.prose code { font-family: var(--mono); background: var(--paper-2); padding: .1em .35em; border-radius: 4px; font-size: .95em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1rem; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; font-size: .92rem; } }
.prose th, .prose td { border: 1px solid var(--line-2); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--paper-2); font-weight: 700; }
.prose td code, .prose th code { background: none; padding: 0; }
.prose img { border-radius: var(--radius); }
.prose a { font-weight: 600; }
.prose .wp-block-image, .prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-3); text-align: center; margin-top: .5rem; }
.article-cta {
  margin: 3rem 0 0; padding: 1.8rem; border-radius: var(--radius-lg); background: var(--ink); color: var(--cream);
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center;
}
.article-cta h2, .article-cta h3 { color: var(--cream); margin: 0 0 .3rem; }
.article-cta p { margin: 0; color: #d9cdb8; }
.article-cta .btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.4rem 0 0; }
.post-nav a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--card); }
.post-nav a:hover { border-color: var(--rust); }
.post-nav small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.post-nav .next { text-align: right; }
@media (max-width: 640px) { .article-cta { grid-template-columns: 1fr; } .post-nav { grid-template-columns: 1fr; } }

/* 404 */
.notfound { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.notfound svg { width: 160px; margin-bottom: 1.4rem; }
.notfound .actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer { background: var(--espresso); color: #cdbfa8; padding: clamp(56px, 7vw, 80px) 0 0; font-size: .98rem; }
.site-footer a { color: #ecdfc8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: clamp(24px, 4vw, 48px); }
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand-sub { color: #a8977f; }
.footer-brand p { margin-top: 1.2rem; max-width: 30em; }
.footer-motto { font-family: var(--serif); font-style: italic; color: #d9b56c; font-size: 1.1rem; }
.site-footer .footer-heading {
  font-weight: 700; margin-top: 0;
  color: var(--cream); font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-contact { display: grid; gap: .5rem; margin-top: 1rem; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(247, 240, 227, .12); padding: 1.4rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.4rem; font-size: .88rem; color: #9d8e78;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.nav-open .wa-float { display: none; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* WordPress core classes */
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .9rem; color: var(--ink-3); }
.sticky .post-meta::after { content: " · Featured"; }
.bypostauthor { display: block; }


/* ------------------------------------------------------------------
   2.1: SEO / B2B additions
------------------------------------------------------------------ */
.h-small { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); margin: 0 0 .6rem; }
.h-aside { font-size: 1.3rem; }
.h-card { font-size: 1.35rem; margin-bottom: .4rem; }
.h-link { color: inherit; text-decoration: none; }
.h-link:hover { color: var(--rust); }
.aside-card.dark .h-aside { color: var(--cream); }
.product-cols .h-small { margin-bottom: .6rem; }

/* FAQ */
.faq { display: grid; gap: .7rem; margin-top: 1.4rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--rust); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { font-size: 1.12rem; margin: 0; display: inline; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-2); }

/* Audience split */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.aud-card { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: .4rem; }
.aud-card h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.aud-card .check-list { margin-bottom: 1.4rem; }
.aud-card .btn { align-self: flex-start; margin-top: auto; }
.aud-b2b { background: var(--ink); color: #e8dcc6; }
.aud-b2b h3 { color: var(--cream); }
.aud-b2b .eyebrow { color: #d9b56c; }
.aud-b2b .check-list li { color: #e8dcc6; }
.aud-b2b .check-list svg { color: #d9b56c; }
.aud-b2c { background: var(--card); border: 1px solid var(--line-2); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } }

/* Brand cells as links */
a.brand-cell { text-decoration: none; transition: background .2s; }
a.brand-cell:hover { background: var(--brass-tint); }
a.brand-cell:hover b { color: var(--rust); }

/* Brands hub */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.brand-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.brand-card:hover { border-color: var(--rust); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.brand-card .bc-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line-2); padding-bottom: .7rem; }
.brand-card .bc-head b { font-family: var(--serif); font-size: 2rem; letter-spacing: .03em; }
.brand-card .bc-head small { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.brand-card .bc-body { color: var(--ink-2); font-size: .98rem; flex: 1; }
.brand-card .examples { font-family: var(--mono); font-size: .88rem; color: var(--ink-3); }
.brand-card .link-arrow { color: var(--rust); }
.brand-card-more { background: var(--paper-2); border-style: dashed; }

/* Business page */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.benefit p { color: var(--ink-2); margin: 0; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem 1.6rem; }
.industry { border-top: 2px solid var(--ink); padding-top: .9rem; }
.industry h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.industry p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .benefit-grid { grid-template-columns: 1fr 1fr; } .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefit-grid, .industry-grid { grid-template-columns: 1fr; } }

/* Landing pages */
.landing-intro { display: grid; grid-template-columns: 72px 1fr; gap: 1.4rem; align-items: start; }
.landing-intro .cat-icon { width: 72px; height: 72px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 50%; padding: 10px; }
.check-list.tips { margin-top: 1rem; }
.check-list.tips li { color: var(--ink); }
.tm-note { margin-top: 2rem; font-size: .85rem; color: var(--ink-3); font-style: italic; }
@media (max-width: 600px) { .landing-intro { grid-template-columns: 1fr; } }

/* Footer */
.footer-tm { margin: 2.4rem 0 0; font-size: .82rem; color: #9d8e78; max-width: 70em; }

.legal-name { font-size: .9em; color: var(--ink-3); }
.prose .article-cta h2 { font-size: 1.3rem; margin: 0 0 .3rem; color: var(--cream); }

/* Article breadcrumbs, byline and author box */
.article-header .breadcrumbs { text-align: center; }
.byline { color: var(--ink-3); font-size: .95rem; margin: -.2rem 0 1rem; }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; align-items: start; margin-top: 2rem; padding: 1.4rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); }
.author-box .brand-mark { width: 64px; height: 64px; }
.author-box p { margin: 0 0 .4rem; }
.prose .author-box .author-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.prose .author-box .author-bio { font-size: 1rem; color: var(--ink-2); }
.author-box .link-arrow { font-size: .95rem; }

/* Brand long-form */
.brand-body h2 { margin-top: 3rem; }
.table-wrap { margin: 1rem 0 1.4rem; }
.table-wrap table { margin: 0; }
.table-wrap td a { font-weight: 600; }
.decode { background: var(--card); border: 1px solid var(--line-2); border-left: 4px solid var(--rust); border-radius: var(--radius); padding: 1rem 1.3rem; margin: 1.2rem 0; }
.decode-number { font-size: 1.35rem; font-weight: 700; margin: 0 0 .5rem; color: var(--ink); }
.decode ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.decode li { margin-bottom: .3rem; }
.decode li::marker { color: var(--rust); }
.note { background: var(--brass-tint); border-radius: var(--radius); padding: .9rem 1.1rem; color: var(--ink); }
.table-wrap tr.is-current td { background: var(--brass-tint); }
.brand-body h3 { margin-top: 2rem; }
.brand-body .check-list.tips { margin-bottom: 1.2rem; }

/* Phase 4: part pages, size chart, figures */
.cat-card-more { background: var(--paper-2); border-style: dashed; }
.finder-chart { margin: 1rem 0 0; }
.bearing-figure { margin: 2rem 0; text-align: center; }
.bearing-figure img { max-width: 100%; height: auto; border-radius: var(--radius); background: #fff; }
.cat-figure img { max-height: 420px; width: auto; }
.part-figure { float: right; width: 42%; margin: 0 0 1rem 1.6rem; }
.bearing-figure figcaption { font-size: .78rem; color: var(--ink-3); margin-top: .5rem; line-height: 1.4; }
.bearing-figure figcaption a { color: inherit; }
.part-body h2, .size-series h2 { margin-top: 2.6rem; }
.part-body::after { content: ""; display: block; clear: both; }
.dims-table th { width: 50%; background: var(--paper-2); }
.small-note { font-size: .92rem; color: var(--ink-3); }
.variant-list { padding-left: 1.2rem; }
.variant-list li { margin-bottom: .5rem; color: var(--ink-2); }
.variant-list li::marker { color: var(--rust); }
.variant-list strong { color: var(--ink); font-family: var(--mono); }
.part-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin-top: 2.6rem; }
.part-nav a { display: block; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--ink); font-weight: 600; }
.part-nav a:hover { border-color: var(--rust); }
.part-nav small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.size-table table { max-width: 640px; }
.size-table tr.has-page td { background: var(--brass-tint); }
.size-table td a { font-weight: 700; }
.part-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.part-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.part-card:hover { border-color: var(--rust); transform: translateY(-3px); color: var(--ink); }
.part-no { font-size: 2rem; font-weight: 700; }
.part-type { color: var(--ink-2); }
.part-dims { color: var(--ink-3); }
.part-card .link-arrow { color: var(--rust); margin-top: .4rem; }
@media (max-width: 720px) { .part-figure { float: none; width: 100%; margin: 0 0 1.2rem; } }

/* Phase 5: stock register links */
.register-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1.4rem; }
.register-links > span { color: var(--ink-2); margin-right: .3rem; }
.ledger .part a { color: var(--ink); text-decoration-color: var(--brass); }
