/* Hallmark · shape: Pattern Book · genre: editorial · theme: Loom, retinted leather (by request) · redesign: full
 * hero: Split, the head on columns 1 to 6, the bench photographed close on 7 to 12 · nav: edge-aligned, a wordmark and one action · footer: a mast, the wordmark over the address · imagery: photographs (the workshop's own) · signature: the workshop tools drawn in cognac line behind the page, a saddle stitch sewing down the margin as you scroll · loom: cream, one dark leather band
 * axes: light/roman-serif/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 44c · .hero__pics · the photos are centred on the hero, the text block starts with the demo notice so its centre sits higher */
/* Hallmark · waive 23 · .band--indigo · Loom names one indigo band as its range, the band holds the people and the workshop */
/* Hallmark · waive 49b · the address link · street and postcode are set on two lines on purpose, as on a letter */
/* Hallmark · pre-emit critique: P4 H4 E4 S3 R4 V4 · weakest: S, the photos are 700px at most, so none runs full width */
@import url("./tokens.css");
@import url("./base.css");

:root { --color-open: oklch(46% 0.12 150); }
.site-nav { position: sticky; top: 0; z-index: 10; background: var(--color-paper); border-bottom: var(--rule-ink) solid var(--color-rule-ink); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.wordmark { white-space: nowrap; font: 400 2rem/1 var(--font-display); text-decoration: none; }
.site-nav ul { display: flex; gap: var(--space-xl); list-style: none; margin: 0; padding: 0; }
.site-nav ul a { font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.site-nav ul a:hover { border-color: var(--color-accent); }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-md) var(--space-lg); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; background: var(--color-accent); color: var(--color-accent-ink); border: 0; border-radius: 0; transition: background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.link { font-weight: 500; padding-block: var(--space-2xs); border-bottom: 2px solid currentColor; text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }
.link:hover { border-color: var(--color-accent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }

.hero { padding-block: var(--space-2xl); min-height: calc(100svh - 74px); display: grid; align-items: center; }
.hero .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl); align-items: center; }
.hero__text { grid-column: 1 / 7; display: grid; gap: var(--space-lg); }
.hero__note { font-size: var(--text-sm); color: var(--color-muted); }
.hero__note a { color: inherit; }
.hero h1 { line-height: 1; }
.hero .lead { color: var(--color-muted); }
.open-now { font-weight: 500; }
.open-now[data-state="open"] { color: var(--color-open); }
.hero__pics { grid-column: 7 / 13; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-xs); height: clamp(420px, calc(100svh - 74px - 2 * var(--space-2xl)), 720px); }
.photo { margin: 0; }
.photo img, .hero__pics img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }

.section { padding-block: var(--space-3xl); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl); align-items: end; margin-bottom: var(--space-xl); }
.section-head h2 { grid-column: 1 / 7; }
.section-head p { grid-column: 8 / 13; color: var(--color-muted); }

.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--space-2xl); }
.sheet__col + .sheet__col { border-left: var(--rule-ink) solid var(--color-rule-ink); padding-left: var(--space-2xl); }
.sheet h3 { font: 400 var(--text-section)/1.04 var(--font-display); margin-bottom: var(--space-lg); }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-ink) solid var(--color-rule-ink); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.rows strong { font-weight: 500; font-size: var(--text-lg); }
.rows span { color: var(--color-muted); }

.band--indigo { background: var(--color-accent); color: var(--color-accent-ink); padding-block: var(--space-3xl); }
.band--indigo .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl); align-items: center; }
.band--indigo .container > .photo { grid-column: 1 / 6; aspect-ratio: 2 / 3; max-height: 640px; }
.people { grid-column: 7 / 13; display: grid; gap: var(--space-lg); }
.people p { font-size: var(--text-lead); line-height: 1.45; max-width: 40ch; }
.band--indigo :focus-visible { outline-color: var(--color-accent-ink); }

.visit .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl); }
.visit h2 { grid-column: 1 / -1; }
.visit__col { grid-column: span 4; display: grid; align-content: start; gap: var(--space-md); border-top: var(--rule-ink) solid var(--color-rule-ink); padding-top: var(--space-md); }
.visit__label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.visit__big { font: 400 var(--text-2xl)/1.15 var(--font-display); }
.visit__big a { text-decoration: none; }
.hours { margin: 0; }
.hours div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); padding-block: var(--space-xs); border-bottom: 1px solid var(--color-rule); }
.hours dt { font-weight: 500; } .hours dd { margin: 0; font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.photo--wide { aspect-ratio: 16 / 9; margin-top: var(--space-md); max-width: 560px; }

.footer { padding-block: var(--space-2xl) var(--space-xl); background: var(--color-paper-2); }
.footer .wordmark { font-size: var(--text-section); display: block; margin-bottom: var(--space-lg); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); border-top: 1px solid var(--color-rule); padding-top: var(--space-md); }

@media (max-width: 1023px) {
  .hero .container, .section-head, .band--indigo .container, .visit .container { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .hero__text, .hero__pics, .section-head h2, .section-head p, .band--indigo .container > .photo, .people, .visit__col { grid-column: 1 / -1; }
  .hero__pics { height: auto; aspect-ratio: 5 / 4; }
  .band--indigo .container > .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 639px) {
  :root { --gutter: 20px; }
  .site-nav ul, .site-nav .btn { display: none; }
  .wordmark { font-size: 1.625rem; }
  .hero { padding-top: var(--space-xl); }
  .section, .band--indigo { padding-block: var(--space-2xl); }
  .sheet { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .sheet__col + .sheet__col { border-left: 0; padding-left: 0; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Cuir : un fond crème chaud, les outils de l'atelier au trait derrière la page (outils.js), une bande cuir foncé, des pièces cousues. */
:root {
  --color-paper: oklch(94% 0.022 75); --color-paper-2: oklch(90.5% 0.03 72); --color-rule: oklch(80% 0.035 70);
  --color-ink: oklch(23% 0.03 50); --color-ink-2: oklch(32% 0.03 50); --color-muted: oklch(44% 0.03 55); --color-rule-ink: oklch(23% 0.03 50);
  --color-accent: oklch(29% 0.045 48); --color-accent-2: oklch(36% 0.06 50); --color-accent-ink: oklch(94% 0.022 75); --color-focus: oklch(50% 0.13 55);
  --cognac: oklch(52% 0.12 55); --cognac-light: oklch(72% 0.1 65); --patch: oklch(91% 0.03 72 / 0.92);
}
.outils { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body { background: var(--color-paper); }
.site-nav { background: var(--color-paper); }
.hero h1 { font-size: clamp(2.75rem, 4.6vw + 0.5rem, 5.5rem); line-height: 0.98; }
.hero__pics img { outline: 2px dashed var(--cognac-light); outline-offset: -10px; }
.btn { background: var(--cognac); color: var(--color-accent-ink); }
.btn:hover { background: var(--color-accent-2); }
.link:hover { border-color: var(--cognac); }
/* Les deux colonnes de réparations comme deux pièces de cuir cousues. */
.sheet { gap: var(--space-xl); }
.sheet__col, .sheet__col + .sheet__col { background: var(--patch); border: 0; padding: var(--space-xl); outline: 2px dashed var(--cognac); outline-offset: -12px; }
.rows { border-top-color: var(--cognac); }
/* La bande cuir foncé, une couture en haut et en bas. */
.band--indigo { position: relative; }
.band--indigo::before, .band--indigo::after { content: ""; position: absolute; inset-inline: 0; height: 0; border-top: 2px dashed var(--cognac-light); }
.band--indigo::before { top: 14px; } .band--indigo::after { bottom: 14px; }
.band--indigo .photo img { outline: 2px dashed var(--cognac-light); outline-offset: -10px; }
.visit__col { background: var(--patch); padding: var(--space-lg); border-top: 3px solid var(--cognac); }
:root { --color-open: oklch(42% 0.12 150); }
.footer { background: var(--color-accent); color: var(--color-accent-ink); }
.footer__row { color: color-mix(in oklab, var(--color-accent-ink) 78%, transparent); border-top: 2px dashed var(--cognac-light); }
.footer a { color: inherit; }
.footer :focus-visible { outline-color: var(--color-accent-ink); }
@media (max-width: 639px) { .sheet__col, .sheet__col + .sheet__col { padding: var(--space-lg); } }
