/* =========================================================================
   Aslett Antiques & Mid Century - mockup stylesheet
   Implements the Phase 3 design system (03-design/design-system.md) exactly.
   Charcoal + aged-brass on a warm bone ground, mahogany anchor.
   Fraunces (display) + Public Sans (body). Sharp corners everywhere.
   ========================================================================= */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* ---------- Fonts ---------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* ---------- Type size (responsive via clamp) ---------- */
  --fs-display: clamp(2.375rem, 1.4rem + 4.2vw, 4.5rem);
  --fs-h1:      clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  --fs-h2:      clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
  --fs-h4:      clamp(1.125rem, 1.04rem + 0.35vw, 1.25rem);
  --fs-h5:      clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-h6:      0.9375rem;
  --fs-lead:    clamp(1.125rem, 0.98rem + 0.65vw, 1.375rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-small:   clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-xs:      0.8125rem;
  --fs-overline: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);

  /* ---------- Line height ---------- */
  --lh-display: 1.02;
  --lh-tight:   1.1;
  --lh-heading: 1.18;
  --lh-snug:    1.3;
  --lh-body:    1.65;
  --lh-lead:    1.5;

  /* ---------- Letter spacing ---------- */
  --ls-display: -0.02em;
  --ls-h1:      -0.015em;
  --ls-h2:      -0.01em;
  --ls-tight:   -0.005em;
  --ls-normal:  0;
  --ls-wide:    0.01em;
  --ls-overline: 0.14em;

  /* ---------- Weight ---------- */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold: 600;
  --fw-bold:    700;

  /* ---------- Colour: surfaces & ink ---------- */
  --bg:            #F4F0E8;
  --bg-alt:        #ECE6DA;
  --surface:       #FBFAF6;
  --surface-dark:  #4A2418;
  --surface-darker:#36190F;

  --ink:        #1C1A17;
  --ink-soft:   #3A352E;
  --ink-muted:  #5B5249;
  --ink-invert: #F4F0E8;

  --accent:        #A6792E;
  --accent-strong: #7E5B1F;
  --accent-on-dark:#C79B4A;

  --line:      #D8CFBE;
  --line-soft: #E4DCCC;
  --line-dark: #5A4030;

  --slate-brown: #5B5249;

  --ok:    #4B6B43;
  --error: #9A3324;

  --scrim: linear-gradient(180deg, rgba(28,26,23,0) 0%, rgba(28,26,23,0.62) 100%);

  /* ---------- Spacing ---------- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --section-y: clamp(3rem, 1.5rem + 6vw, 6rem);

  /* ---------- Layout ---------- */
  --container:      1240px;
  --container-wide: 1440px;
  --container-text: 720px;
  --gutter:   clamp(1rem, 0.5rem + 2vw, 2rem);
  --grid-gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);

  /* ---------- Radius / borders / elevation ---------- */
  --radius: 0;
  --border-hair:   1px solid var(--line);
  --border-ink:    1px solid var(--ink);
  --border-accent: 1px solid var(--accent);
  --shadow-sm:   0 1px 0 var(--line);
  --shadow-card: 0 2px 0 var(--line);
  --shadow-card-hover: 0 6px 18px rgba(28,26,23,0.10);

  /* ---------- Motion ---------- */
  --ease:     cubic-bezier(0.2, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur:      200ms;
  --dur-slow: 320ms;
}

/* Hard constraint: sharp corners on every element */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

/* --------------------------------------------------------------- Base type */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--ls-h1); font-weight: var(--fw-semibold); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: var(--ls-h2); font-weight: var(--fw-semibold); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-heading); letter-spacing: var(--ls-tight); font-weight: var(--fw-semibold); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: var(--ls-normal); font-weight: var(--fw-semibold); }

h5 { font-family: var(--font-body); font-size: var(--fs-h5); line-height: var(--lh-snug); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); margin: 0 0 0.5em; }
h6 { font-family: var(--font-body); font-size: var(--fs-h6); line-height: var(--lh-snug); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); margin: 0 0 0.5em; }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--accent-strong); }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--ink-soft);
  max-width: 60ch;
}

.overline {
  font-family: var(--font-body);
  font-size: var(--fs-overline);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  color: var(--accent);
  display: inline-block;
  margin: 0 0 0.75rem;
}

small, .small { font-size: var(--fs-small); }
.text-xs { font-size: var(--fs-xs); }

.provenance {
  font-family: var(--font-display);
  font-style: italic;
  font-optical-sizing: auto;
  font-size: var(--fs-small);
  color: var(--ink-muted);
  letter-spacing: 0;
}

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  font-weight: var(--fw-semibold);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  margin: 0 0 0.4em;
}

.measure { max-width: 60ch; }
.center { text-align: center; }

/* -------------------------------------------------------- Layout utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--text { max-width: var(--container-text); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--surface-dark); color: var(--ink-invert); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink-invert); }
.section--dark .overline { color: var(--accent-on-dark); }
.section--dark p { color: rgba(244,240,232,0.88); }

.stack > * + * { margin-top: var(--space-md); }

/* Skip link & focus ---------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 8px; top: -48px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--ink-invert);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 8px; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ------------------------------------------------------- Signature motif */
.bracket { position: relative; }
.bracket::before,
.bracket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}
.bracket::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.bracket::after  { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.bracket--lg::before,
.bracket--lg::after { width: 40px; height: 40px; }
.bracket--on-dark::before,
.bracket--on-dark::after { border-color: var(--accent-on-dark); }
.bracket--pad { padding: var(--space-lg); }

.heading-mark {
  display: inline-block;
  width: 16px; height: 16px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  margin-right: 0.75rem;
  vertical-align: 0.15em;
}

/* ----------------------------------------------------------- Utility bar */
.utilitybar {
  background: var(--ink);
  color: var(--ink-invert);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
}
.utilitybar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 36px;
  flex-wrap: wrap;
}
.utilitybar a { color: var(--accent-on-dark); text-decoration: none; }
.utilitybar a:hover { text-decoration: underline; text-underline-offset: 2px; }
.utilitybar__group { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.utilitybar .open-status[data-open="true"]::before  { content: ""; display:inline-block; width:8px; height:8px; background: var(--ok); margin-right: 0.5rem; }
.utilitybar .open-status[data-open="false"]::before { content: ""; display:inline-block; width:8px; height:8px; background: var(--slate-brown); margin-right: 0.5rem; }
@media (max-width: 768px) { .utilitybar { display: none; } }

/* --------------------------------------------------------- Primary nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--border-hair);
  transition: box-shadow var(--dur) var(--ease);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-md);
  transition: min-height var(--dur) var(--ease);
}
/* condensed on scroll */
.nav.is-condensed { box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(28,26,23,0.06); }
.nav.is-condensed .container { min-height: 60px; }

.nav__brand {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.nav__brand span { display: block; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); font-family: var(--font-body); font-weight: var(--fw-semibold); }
.nav__brand-mark { width: 34px; height: 34px; flex: none; display: block; }

.nav__list { display: flex; align-items: center; gap: var(--space-md); list-style: none; margin: 0; padding: 0; }
.nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::before {
  content: "";
  width: 10px; height: 10px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  margin-right: 0.4rem;
}

.nav__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.1rem;
  background: var(--ink);
  color: var(--ink-invert);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__call:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--ink-invert); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
}
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after  { top: 6px; }

@media (max-width: 900px) {
  .nav__list, .nav > .container > .nav__call { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* Mobile panel */
.nav__panel {
  display: none;
  border-top: var(--border-hair);
  background: var(--bg);
}
.nav__panel[data-open="true"] { display: block; }
.nav__panel a:not(.nav__call) {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--gutter);
  border-bottom: var(--border-hair);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--ink);
  text-decoration: none;
}
.nav__panel a:not(.nav__call):hover { background: var(--bg-alt); }
.nav__panel a[aria-current="page"] { color: var(--accent-strong); }
.nav__panel .nav__call { display: flex; justify-content: center; margin: var(--space-sm) var(--gutter); }
.nav__panel-status { padding: var(--space-sm) var(--gutter); font-size: var(--fs-small); color: var(--ink-muted); border-bottom: var(--border-hair); }
.nav__panel-status .open-status[data-open="true"]::before  { content: ""; display:inline-block; width:8px; height:8px; background: var(--ok); margin-right: 0.5rem; }
.nav__panel-status .open-status[data-open="false"]::before { content: ""; display:inline-block; width:8px; height:8px; background: var(--slate-brown); margin-right: 0.5rem; }
@media (min-width: 901px) { .nav__panel { display: none !important; } }

/* slide-in for the panel (user-triggered, opt-out under reduced motion) */
.nav__panel[data-open="true"] > * {
  animation: panel-slide var(--dur-slow) var(--ease-out) both;
}
@keyframes panel-slide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: var(--ink-invert); border-color: var(--ink); }
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }

.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--ink-invert); }

.btn--accent { background: var(--accent-strong); color: var(--ink-invert); border-color: var(--accent-strong); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }

.btn--text {
  min-height: 44px;
  padding: 0.5rem 0;
  background: transparent;
  color: var(--accent-strong);
  border: none;
  font-weight: var(--fw-semibold);
  text-decoration: none;
}
.btn--text::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.btn--text:hover::after { transform: translateX(4px); }

.section--dark .btn--secondary { color: var(--ink-invert); border-color: var(--ink-invert); }
.section--dark .btn--secondary:hover { background: var(--ink-invert); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: clamp(440px, 60vh, 660px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__scrim { position: absolute; inset: 0; background: var(--scrim); }
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: var(--space-2xl) var(--space-lg) var(--space-2xl);
  margin-inline: auto;
  width: 100%;
  color: var(--ink-invert);
}
.hero .overline { color: var(--accent-on-dark); }
.hero h1, .hero .display { color: var(--ink-invert); }
.hero .lead { color: rgba(244,240,232,0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

/* compact page header (interior pages without a photo hero) */
.pagehead { background: var(--bg-alt); border-bottom: var(--border-hair); }
.pagehead .container { padding-block: var(--space-2xl) var(--space-xl); }
.pagehead .lead { margin-bottom: 0; }

.pagehead--photo { position: relative; background: var(--ink); border-bottom: none; }
.pagehead--photo .pagehead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.pagehead--photo .pagehead__scrim { position: absolute; inset: 0; background: var(--scrim); }
.pagehead--photo .container { position: relative; z-index: 1; color: var(--ink-invert); }
.pagehead--photo h1 { color: var(--ink-invert); }
.pagehead--photo .lead { color: rgba(244,240,232,0.92); }
.pagehead--photo .overline { color: var(--accent-on-dark); }

/* ----------------------------------------------------------- Promo band */
.promo {
  background: var(--surface-dark);
  color: var(--ink-invert);
  border-top: 3px solid var(--accent);
}
.promo .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md); flex-wrap: wrap;
  padding-block: var(--space-md);
}
.promo p { margin: 0; max-width: none; color: rgba(244,240,232,0.95); }
.promo strong { color: var(--accent-on-dark); font-weight: var(--fw-semibold); }

/* --------------------------------------------------------- Section heads */
.section-head { max-width: var(--container-text); margin-bottom: var(--space-xl); }
.section-head .overline { display: block; }
.section-head h2 { margin: 0 0 0.4em; }
.section-head p { margin: 0; }

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  position: relative;
  margin: var(--section-y) 0;
}
.divider::after {
  content: "";
  position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px;
  background: var(--bg);
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

/* --------------------------------------------------------- Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 768px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--border-hair);
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease-out); }
.cat-card:hover .cat-card__media img { transform: scale(1.03); }
.cat-card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-2xs); flex: 1; }
.cat-card__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-semibold); margin: 0; color: var(--ink); }
.cat-card__text { font-size: var(--fs-small); color: var(--ink-muted); margin: 0; flex: 1; line-height: 1.55; }
.cat-card__link { margin-top: var(--space-xs); color: var(--accent-strong); font-weight: var(--fw-semibold); font-size: var(--fs-small); }
.cat-card__link::after { content: " \2192"; }

/* --------------------------------------------------------- Stock cards */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 1080px) { .stock-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .stock-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .stock-grid { grid-template-columns: 1fr; } }

.stock-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--border-hair);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.stock-card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--line); transform: translateY(-2px); }

.stock-card__media {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.stock-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stock-card__body { padding: var(--space-sm) var(--space-md) var(--space-md); display: flex; flex-direction: column; gap: var(--space-3xs); flex: 1; }
.stock-card__name { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-semibold); line-height: 1.25; margin: 0; color: var(--ink); }
.stock-card__meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--ink-muted);
  margin: 0;
}
.stock-card__foot { margin-top: auto; padding-top: var(--space-sm); border-top: var(--border-hair); display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.stock-card__enquire {
  min-height: 44px;
  display: inline-flex; align-items: center;
  color: var(--accent-strong);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  text-decoration: none;
}
.stock-card__enquire:hover { text-decoration: underline; text-underline-offset: 3px; }

.stock-card__tag {
  align-self: flex-start;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--fw-bold);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); border: 1px solid var(--line); padding: 0.25rem 0.5rem;
}

/* ---------------------------------------------------- Heritage / feature */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: var(--border-hair); }
.feature__body p { color: var(--ink-soft); }

/* ----------------------------------------------------- Points / why list */
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  list-style: none;
  margin: 0; padding: 0;
}
@media (max-width: 768px) { .points { grid-template-columns: 1fr; } }
.points li { background: var(--surface); border: var(--border-hair); padding: var(--space-lg); }
.points h3 { font-family: var(--font-display); font-size: var(--fs-h4); margin: 0 0 var(--space-2xs); }
.points p { margin: 0; font-size: var(--fs-small); color: var(--ink-muted); max-width: none; }
.points .point-num { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--accent-strong); display: block; line-height: 1; margin-bottom: var(--space-sm); }

/* --------------------------------------------------------- Trust block */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 768px) { .trust__grid { grid-template-columns: 1fr; } }
.trust__item { padding: var(--space-lg); border: 1px solid var(--line-dark); }
.trust__item .bignum { font-family: var(--font-display); font-size: var(--fs-h1); color: var(--accent-on-dark); line-height: 1; display: block; margin-bottom: var(--space-2xs); }
.trust__item h3 { color: var(--ink-invert); font-size: var(--fs-h4); }
.trust__item p { color: rgba(244,240,232,0.86); font-size: var(--fs-small); margin: 0; max-width: none; }

.attest {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-md);
  max-width: var(--container-text);
}
.attest blockquote { font-family: var(--font-display); font-size: var(--fs-h3); font-style: italic; line-height: 1.3; margin: 0; color: var(--ink); }
.attest cite { display: block; margin-top: var(--space-sm); font-family: var(--font-body); font-style: normal; font-size: var(--fs-small); color: var(--ink-muted); letter-spacing: var(--ls-wide); }

/* --------------------------------------------------------- Visit strip */
.visit-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .visit-strip { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- Client note box */
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: var(--space-md);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  max-width: var(--container-text);
}
.note strong { color: var(--ink); }
.note p { margin: 0; max-width: none; }

/* ----------------------------------------------------------- Crumbs */
.crumbs { font-size: var(--fs-small); color: var(--ink-muted); padding-block: var(--space-md); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.crumbs a { color: var(--accent-strong); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 2px; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-dark); }
.crumbs [aria-current="page"] { color: var(--ink-muted); }

/* ----------------------------------------------------------- Forms */
.form { display: grid; gap: var(--space-md); max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--ink);
}
.field label .req { color: var(--accent-strong); }

.input, .textarea, .select {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.75rem 0.875rem;
  min-height: 48px;
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-muted); opacity: 0.7; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.textarea { min-height: 140px; resize: vertical; }

.field--error .input, .field--error .textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: var(--fs-small); }
.field__ok { color: var(--ok); font-size: var(--fs-small); }
.field__hint { color: var(--ink-muted); font-size: var(--fs-small); }

.field--honeypot { position: absolute; left: -9999px; }

.newsletter { display: flex; gap: 0; max-width: 420px; }
.newsletter .input { border-right: 0; }
.newsletter .btn { white-space: nowrap; }
@media (max-width: 480px) { .newsletter { flex-direction: column; gap: var(--space-2xs); } .newsletter .input { border-right: 1px solid var(--line); } }

.newsletter-block { background: var(--bg-alt); border-top: var(--border-hair); }
.newsletter-block .container { display: grid; grid-template-columns: 1fr auto; gap: var(--space-lg); align-items: center; }
@media (max-width: 768px) { .newsletter-block .container { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- Hours table */
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-small); max-width: 420px; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--line-soft); }
.hours th { font-weight: var(--fw-medium); color: var(--ink-soft); }
.hours tr[data-today="true"] { font-weight: var(--fw-bold); color: var(--ink); }
.hours tr[data-today="true"] th { color: var(--ink); }
.hours .is-closed { color: var(--ink-muted); }
.openline { font-weight: var(--fw-semibold); display: inline-flex; align-items: center; }
.openline[data-open="true"]::before  { content: ""; display:inline-block; width:9px; height:9px; background: var(--ok); margin-right: 0.55rem; }
.openline[data-open="false"]::before { content: ""; display:inline-block; width:9px; height:9px; background: var(--slate-brown); margin-right: 0.55rem; }
.openline[data-open="true"]  { color: var(--ok); }
.openline[data-open="false"] { color: var(--ink-muted); }

/* contact list */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-list a { color: var(--accent-strong); font-weight: var(--fw-medium); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list .label { font-size: var(--fs-overline); letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--ink-muted); font-weight: var(--fw-semibold); }

/* map placeholder (no embed in mockup; CSS-only block + working link) */
.map-block { border: var(--border-hair); background: var(--bg-alt); padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.map-block__mark { width: 40px; height: 40px; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- Footer */
.footer { background: var(--surface-darker); color: var(--ink-invert); }
.footer__top { padding-block: var(--space-2xl); border-top: 3px solid var(--accent); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1.4fr;
  gap: var(--space-xl);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h2 { font-family: var(--font-display); font-size: 1.375rem; color: var(--ink-invert); margin-bottom: var(--space-sm); }
.footer h3 { font-family: var(--font-body); font-size: var(--fs-h6); text-transform: uppercase; letter-spacing: var(--ls-overline); color: var(--accent-on-dark); margin-bottom: var(--space-sm); }
.footer p { color: rgba(244,240,232,0.82); font-size: var(--fs-small); }
.footer a { color: var(--ink-invert); text-decoration: none; }
.footer a:hover { color: var(--accent-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer li a { display: inline-flex; min-height: 44px; align-items: center; }
.footer__social { display: flex; gap: 0.5rem; margin-top: var(--space-sm); }
.footer__social a { width: 44px; height: 44px; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; }
.footer__social a:hover { border-color: var(--accent-on-dark); text-decoration: none; }
.footer__social svg { width: 18px; height: 18px; display: block; }

.footer__hours { font-size: var(--fs-small); }
.footer__hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; }
.footer__hours dt { color: var(--accent-on-dark); }
.footer__hours dd { margin: 0; color: rgba(244,240,232,0.82); }
.footer__hours .closed { color: rgba(244,240,232,0.6); }

.footer .newsletter .input { background: var(--surface-dark); color: var(--ink-invert); border-color: var(--line-dark); }
.footer .newsletter .input::placeholder { color: rgba(244,240,232,0.6); }

.footer__base {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--space-md);
  font-size: var(--fs-xs);
  color: rgba(244,240,232,0.75);
  display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap;
}
.footer__base a { color: rgba(244,240,232,0.85); }
.footer__base ul { flex-direction: row; gap: var(--space-md); }
.footer__base li a { min-height: 0; }

/* --------------------------------------------------------- Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- Print */
@media print {
  .nav, .utilitybar, .nav__panel, .promo, .footer__social,
  .newsletter, .skip-link, .hero__scrim { display: none !important; }
  *, *::before, *::after { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  .hero { min-height: auto; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .stock-grid { grid-template-columns: repeat(2, 1fr); }
}
