/* Hallmark · shape: Bento Grid · genre: editorial · theme: Solstice (deal 3/3, seed barbearia-black-label-barbearia-d92b·c91703d3·2026-12-04·r0) · job: book · draw: 319ffb
 * hero: Index (the service list is the visual) · nav: retracting edge bar (the banner dropped, the hero holds three blocks at most) · footer: index columns · imagery: none, the label carries it (the library has no barbershop photographs) · signature: the service list set like a whisky label, gold rules and the pole's red on the one action · solstice: dusk, brand black ground
 * brand: Barbearia Black Label (spec 2026-12-04, observed from the logo and the storefront sign) · axes: dark/high-contrast-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, no photographs; the hero list set at display size and the 4,9 tile give the page its weight */
@import url("./tokens.css");
@import url("./base.css");

:root {
  color-scheme: dark;
  --color-paper: oklch(15% 0.008 60); --color-paper-2: oklch(19% 0.01 60); --color-paper-3: oklch(24% 0.014 60);
  --color-ink: oklch(93% 0.03 85); --color-ink-2: oklch(84% 0.03 80); --color-muted: oklch(72% 0.04 78);
  --color-rule: oklch(34% 0.03 70);
  --color-accent: oklch(56% 0.2 25); --color-accent-ink: oklch(97% 0.02 85); --color-focus: oklch(78% 0.14 80);
  --color-accent-hover: oklch(47% 0.18 25);
  --color-gold: oklch(76% 0.11 80); --color-gold-2: oklch(84% 0.09 85);
  --shadow-card: 10px 10px 0 var(--color-paper-3);
}

body { font-size: 1.0625rem; color: var(--color-ink-2); }
h1, h2, h3 { font-weight: 400; line-height: 1; color: var(--color-ink); }
.small { font: 600 0.8125rem/1.4 var(--font-outlier); color: var(--color-muted); }
a:hover { color: var(--color-gold-2); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* nav: banner over a retracting bar */
.banner { background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.banner p { padding-block: var(--space-xs); font-size: var(--text-sm); text-align: center; color: var(--color-ink-2); max-width: none; }
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-gold); transition: transform var(--dur-short) var(--ease-out); }
.bar.is-hidden { transform: translateY(-100%); }
.bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 68px; }
.wordmark { font: 400 var(--text-xl)/1 var(--font-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.bar nav { display: flex; align-items: center; gap: var(--space-xl); font-size: var(--text-sm); }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-xl); border: 0; border-radius: var(--radius-pill); font: 600 var(--text-md)/1 var(--font-outlier); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); color: var(--color-accent-ink); }
.btn--plain { background: transparent; color: var(--color-ink); border-radius: 0; padding-inline: 0; box-shadow: inset 0 -2px 0 var(--color-ink); }
.btn--plain:hover { box-shadow: inset 0 -2px 0 var(--color-gold); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* hero: index */
.hero { min-height: calc(100dvh - 69px); display: grid; align-items: center; padding-block: var(--space-2xl); }
.hero .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.hero .intro { grid-column: 1; }
.hero h1 { font-size: var(--text-display-s); max-width: 12ch; }
.hero .lead { margin-top: var(--space-lg); }
.hero .actions { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; gap: var(--space-xl); align-items: center; }
.plate { grid-column: 2; border: var(--rule-bar) solid var(--color-gold); padding: var(--space-xl); position: relative; }
.plate::after { content: ""; position: absolute; inset: 6px; border: var(--rule-hair) solid var(--color-gold); pointer-events: none; }
.plate .est { display: flex; justify-content: space-between; padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-gold); }
.services { list-style: none; margin: 0; padding: 0; }
.services li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) dotted var(--color-gold); }
.services li:last-child { border-bottom: 0; }
.svc { font-family: var(--font-display); line-height: 1; color: var(--color-ink);  font-size: clamp(2.25rem, 4vw, 3.75rem); max-width: none; }
.services a { position: relative; z-index: 1; font-size: var(--text-sm); }

/* bento */
.bento { padding-block: var(--section-gap); border-top: var(--rule-bar) solid var(--color-ink); }
.bento .head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); margin-bottom: var(--space-2xl); }
.bento .head h2 { grid-column: 1 / span 6; font-size: var(--text-section); }
.bento .head p { grid-column: 8 / span 5; align-self: end; }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: var(--gap-columns); }
.tile { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-gold); padding: var(--space-xl); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); }
.t-lead { grid-column: span 7; grid-row: span 2; }
.t-a { grid-column: span 5; }
.t-b { grid-column: span 5; }
.t-c { grid-column: span 4; }
.t-wide { grid-column: span 12; grid-row: auto; min-height: 0; flex-direction: row; align-items: center; }
.t-wide p { flex: 1; }
.t-d { grid-column: span 4; }
.t-e { grid-column: span 4; }
.big { font: 400 clamp(7rem, 14vw, 13rem)/0.85 var(--font-display); color: var(--color-ink); }
.tile blockquote { margin: 0; font: 400 var(--text-title)/1.3 var(--font-display); color: var(--color-ink); }
.t-lead blockquote { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.tile cite { font-style: normal; }
.tile h3 { font-size: var(--text-title); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); }

/* visit rows */
.visit { padding-block: var(--section-gap-s); border-top: var(--rule-bar) solid var(--color-ink); }
.visit .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.visit h2 { grid-column: 1 / span 4; font-size: var(--text-section); }
.visit dl { grid-column: 6 / span 7; margin: 0; }
.visit dl div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.visit dl div:first-child { border-top: var(--rule-hair) solid var(--color-gold); }
.visit dd { margin: 0; font-size: var(--text-lead); color: var(--color-ink); }
.since { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.since p { font: 400 var(--text-display)/1 var(--font-display); color: var(--color-ink); max-width: 28ch; }

/* footer: index columns */
.foot { border-top: var(--rule-bar) solid var(--color-gold); padding-block: var(--space-3xl) var(--space-xl); }
.foot .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.foot h2 { font-size: var(--text-title); margin-bottom: var(--space-md); }
.foot li { white-space: nowrap; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot .legal { margin-top: var(--space-2xl); }

@media (max-width: 60rem) {
  :root { --gutter: 20px; }
  .bar nav a:not(.btn) { display: none; }
  .hero .container, .bento .head { grid-template-columns: minmax(0, 1fr); }
  .visit .container { grid-template-columns: minmax(0, 1fr); }
  .visit h2, .visit dl { grid-column: 1 / -1; }
  .visit dl div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .hero .intro, .plate, .bento .head h2, .bento .head p { grid-column: 1 / -1; position: static; }
  .tiles { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tile { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .foot li { white-space: normal; }
}
