:root {
  --ink: #2a1d14; --muted: #6b5a4c; --paper: #f8f3ea; --card: #fffdf8;
  --timber: #c8894a; --red: #c8402a; --red-deep: #9e2f1d; --line: #e6dccb;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-deep); }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px; z-index: 10; }

.mast { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.mast-in { display: flex; align-items: center; gap: 24px; padding: 10px 0; }
.brand img { width: 190px; mix-blend-mode: multiply; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.demo-label { font-size: .7rem; border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; color: var(--muted); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }

.hero { padding: 44px 0 52px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: start; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--red); margin: 0 0 10px; }
.intro { font-size: 1.08rem; color: var(--muted); max-width: 60ch; margin: 0 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.4; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4'/%3E%3C/svg%3E") center/14px no-repeat; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.primary { background: var(--red); color: #fff; border: 0; border-radius: 6px; padding: 13px 22px; font: 600 1rem var(--body); cursor: pointer; text-decoration: none; }
.primary:hover { background: var(--red-deep); }
.secondary { border: 2px solid var(--ink); color: var(--ink); border-radius: 6px; padding: 11px 18px; font-weight: 600; text-decoration: none; }
.text-link { background: none; border: 0; padding: 0; font: 600 .95rem var(--body); color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 0; }
.facts div { border-top: 2px solid var(--timber); padding-top: 8px; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 500; line-height: 1.35; }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 4px; width: 100%; max-height: 640px; object-fit: cover; }
.hero-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }

.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; }

/* Product index, after Olivier Larose's project lists (DESIGN-1) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row { border-bottom: 1px solid var(--line); }
.row-head { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; }
.row-head h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); transition: transform .25s ease, color .25s ease; }
.num { font: 500 .85rem var(--body); color: var(--muted); }
.meta { color: var(--muted); font-size: .92rem; text-align: right; }
.row-body { display: grid; grid-template-columns: 56px 200px 1fr; gap: 0 16px; padding: 0 0 22px; }
.row-body img { grid-column: 2; grid-row: span 2; width: 200px; height: 220px; object-fit: cover; border-radius: 4px; background: #fff; }
.row-body p { grid-column: 3; margin: 0 0 8px; max-width: 70ch; }
.row-body .text-link { grid-column: 3; justify-self: start; }
.row:hover .row-head h3 { transform: translateX(8px); color: var(--red); }

.range { background: var(--card); }
.range-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.range-card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: var(--paper); }
.small { font-size: .9rem; color: var(--muted); }
.thumbs { display: flex; gap: 8px; margin: 12px 0; }
.thumbs figure { margin: 0; flex: 1; background: #fff; border-radius: 4px; overflow: hidden; }
.thumbs img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.thumbs figcaption { font-size: .75rem; text-align: center; padding: 4px; color: var(--muted); }
.list { padding-left: 18px; margin: 0; font-size: .92rem; }
.list li { margin-bottom: 6px; }
.prices { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prices td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.prices td:last-child { text-align: right; font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: 4px; }

.story { background: var(--ink); color: #f3e9da; }
.story h2 { color: #fff; }
.story-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 12px 0 12px 96px; position: relative; border-bottom: 1px solid rgb(255 255 255 / .14); }
.timeline b { position: absolute; left: 0; top: 12px; font: 600 1.1rem var(--display); color: var(--timber); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.phone { font: 600 1.5rem var(--display); text-decoration: none; color: var(--ink); }
.maps a { margin-right: 14px; font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .88rem; }
.foot p { margin: 4px 0; }

dialog { border: 0; border-radius: 10px; padding: 26px; width: min(100% - 32px, 480px); background: var(--card); }
dialog::backdrop { background: rgb(0 0 0 / .45); }
.enquiry-form label { display: block; margin: 10px 0; font-weight: 500; }
.enquiry-form input, .enquiry-form textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 6px; margin-top: 4px; }
.note { font-size: .85rem; color: var(--muted); }
.topic { color: var(--red); font-weight: 600; margin: 0; }

@media (max-width: 1000px) {
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo img { max-height: 460px; }
  .range-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .mast { position: static; }
  .mast-in { flex-wrap: wrap; gap: 8px 14px; }
  .brand img { width: 150px; }
  .demo-label { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 18px; }
  .nav a { white-space: nowrap; font-size: .9rem; }
  .hero { padding: 24px 0 36px; }
  .hero-photo img { max-height: 340px; }
  .ticks, .facts { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .row-head { grid-template-columns: 36px 1fr; }
  .meta { grid-column: 2; text-align: left; font-size: .85rem; }
  .row-body { grid-template-columns: 1fr; }
  .row-body img, .row-body p, .row-body .text-link { grid-column: 1; }
  .row-body img { width: 100%; height: 220px; grid-row: auto; margin-bottom: 12px; }
  .timeline li { padding-left: 72px; }
}
