/* Graphite refinement, 24 November 2026. Shared surfaces and action hierarchy. */
:root {
  --audit-paper: #f4efe9;
  --audit-ink: #1c1714;
  --audit-copper: #e2703a;
  --audit-titanium: #82c6c4;
  --audit-leather: #d6a575;
  --audit-steel: #cad4d2;
}
[data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy {
  padding-top: clamp(40px, 5vw, 72px);
}
[data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy h1 {
  max-width: 14ch;
  margin: 0 auto 24px;
  color: var(--audit-paper);
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-transform: none;
  text-wrap: balance;
}
[data-brandbook-variant='graphite'] .brand-view-home .brand-hero-title-line:last-child {
  color: var(--audit-paper);
}
[data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy > .audit-hero-lead {
  max-width: 44ch;
  margin: 0 auto 28px;
  color: #d1c7be;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.brand-view-home .brand-materials button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--audit-steel);
}
.brand-view-home .brand-materials button:nth-of-type(2) { color: var(--audit-titanium); }
.brand-view-home .brand-materials button:nth-of-type(3) { color: var(--audit-leather); }
.brand-view-home .brand-materials button:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 6px; }
.brand-view-home .brand-hero-actions .button { min-height: 48px; font-size: 15px; }
/* An order has one primary action; the editor stays a quiet second step. */
.redesign-product .product-detail { min-width: 0; }
.redesign-product .product-detail > h1 { letter-spacing: -.035em; text-wrap: balance; }
.redesign-product .product-detail > .price.large { margin: 18px 0 8px; font-size: clamp(28px, 3vw, 38px); }
.redesign-product .product-detail > .product-price-help { max-width: 58ch; margin: 0 0 22px; font-size: 15px; line-height: 1.6; }
.redesign-product .product-detail > .product-order-status { margin: 12px 0; color: #6f665e; font-size: 14px; }
.redesign-product .product-order-status .status-dot { display: none; }
.redesign-product .product-order-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px;
}
.redesign-product .product-order-actions > .button.audit-order-primary {
  min-height: 50px;
  width: fit-content;
  padding: 14px 22px;
  border: 1px solid #e2703a;
  background: #e2703a;
  color: #1c1714;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}
.redesign-product .product-order-actions > .button.audit-order-primary:hover { background: #ee905e; border-color: #ee905e; color: #1c1714; }
.redesign-product .product-configurator-actions > .button {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #a04720;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.redesign-product .product-configurator-actions > .button:hover { background: transparent; color: #783515; }
.redesign-product .product-detail > .product-description { margin-top: 28px; max-width: 65ch; font-size: 16px; line-height: 1.65; }
.redesign-product .product-detail .product-facts { font-size: 15px; line-height: 1.55; }
.redesign-product .product-detail .product-facts > div { padding-block: 12px; }
.redesign-product .product-detail .product-facts dd { max-width: 45ch; }
.inside-footer .audit-footer-group { min-width: 0; }
.inside-footer .audit-footer-group > summary {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 8px;
  color: var(--audit-paper);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 650;
  list-style: none;
}
.inside-footer .audit-footer-group > summary::-webkit-details-marker { display: none; }
.inside-footer .audit-footer-group > summary svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 160ms ease; }
.inside-footer .audit-footer-group[open] > summary svg { transform: rotate(180deg); }
.inside-footer .inside-footer-grid .audit-footer-group nav a { font-size: 14px; min-height: 44px; }
.inside-footer .audit-footer-extra { padding: 8px max(5%, calc((100% - 80rem) / 2)) 24px; }
.inside-footer .audit-footer-extra .seo-footer-links { padding: 8px 0; }
.inside-footer .seo-footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.inside-footer .inside-footer-address { font-size: 13px; }
:is(.redesign, .brand-view-home, .inside-footer) :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #a84a1a;
  outline-offset: 4px;
}
:is(.brand-hero, .inside-footer, .catalog-intro, .keyring-hero) :is(a, button, summary, input, select, textarea):focus-visible { outline-color: #f3ad79; }
@media (min-width: 1000px) {
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    min-height: 650px;
    padding: 24px clamp(40px, 6.25vw, 120px) 48px;
    gap: clamp(24px, 4vw, 64px);
  }
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy { padding: 36px 0; text-align: left; }
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy h1 { margin-inline: 0; max-width: 12ch; }
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy > .audit-hero-lead { margin-inline: 0; max-width: 40ch; }
  .brand-view-home .brand-hero-actions, .brand-view-home .brand-materials { justify-content: flex-start; }
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-image { width: 100%; min-height: 430px; height: 100%; max-height: 560px; margin: 0; }
}
@media (max-width: 600px) {
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy { padding-top: 36px; }
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy h1 { margin-bottom: 20px; font-size: clamp(40px, 11vw, 56px); }
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy > .audit-hero-lead { max-width: 34ch; margin-bottom: 22px; font-size: 16px; }
  .brand-view-home .brand-hero-actions { gap: 10px; }
  .brand-view-home .brand-hero-actions .button { padding-inline: 16px; }
  .redesign-product .product-order-actions > .button.audit-order-primary { width: 100%; }
  .inside-footer .inside-footer-grid { grid-template-columns: 1fr; gap: 0; }
  .inside-footer .inside-footer-brand { padding-bottom: 24px; }
  .inside-footer .audit-footer-group { border-top: 1px solid #706258; }
  .inside-footer .audit-footer-group > summary { min-height: 56px; }
  .inside-footer .audit-footer-group nav { padding-block: 4px 14px; }
  .inside-footer .audit-footer-extra { padding-block: 0 20px; }
  .inside-footer .audit-footer-extra ul { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .inside-footer .audit-footer-group > summary svg { transition: none; } }
@media (min-width: 1000px) {
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-copy { align-items: flex-start; }
  [data-brandbook-variant='graphite'] .brand-view-home .brand-hero-actions,
  [data-brandbook-variant='graphite'] .brand-view-home .brand-materials { align-self: flex-start; }
}
/* Native fieldset intrinsic sizing must not widen the embedded editor on phones. */
.redesign-product .pep-layout,
.redesign-product .pep-layout > *,
.redesign-product .pep-settings,
.redesign-product .pep-settings fieldset,
.redesign-product fieldset:has(.pep-settings) { min-width: 0; max-width: 100%; }
.redesign-product .pep-settings :is(label, select, textarea, input, button) { min-width: 0; max-width: 100%; }
.redesign-product .pep-price { flex-wrap: wrap; gap: 8px; }
.redesign-product .pep-price output { overflow-wrap: anywhere; }
@media (max-width: 360px) { .redesign-product .pep-pair { grid-template-columns: minmax(0, 1fr); } }
