/* Luzid Studio — Concept C, Refined. Shared by index.html and the draft legal pages. */
:root {
  --putty: #DBD5C9;
  --paper: #E9E4DA;
  --ink: #25211E;
  --ink-soft: #5A5248;
  --line: #B8B0A1;
  --date: #553624;
  --mustard: #D2A01E;
  --rice: #F3EDDF;
  --barberry: #A01C32;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --s1: 6px; --s2: 12px; --s3: 20px; --s4: 32px; --s5: 52px; --s6: 84px; --s7: 128px;
  --margin: clamp(20px, 3.6vw, 60px);
  --gutter: clamp(14px, 1.7vw, 26px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--putty); color: var(--ink); font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--rice); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--rice); padding: 10px 14px; z-index: 80; font-family: var(--sans); }
.skip:focus { left: 8px; }

.wrap { max-width: 1500px; margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* Unverified placeholder: hatched so it cannot be mistaken for real data */
.tbc { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; background: repeating-linear-gradient(-45deg, rgba(37,33,30,.05) 0 5px, rgba(37,33,30,.14) 5px 6px); padding: 2px 8px; }
.dark .tbc { background: repeating-linear-gradient(-45deg, rgba(243,237,223,.08) 0 5px, rgba(243,237,223,.22) 5px 6px); }

.proto { background: var(--ink); color: var(--rice); font-family: var(--sans); font-size: 0.8125rem; line-height: 1.4; padding-block: 8px; }
.proto b { font-weight: 600; }

/* Type */
h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1.06; letter-spacing: -0.032em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.3125rem; line-height: 1.18; letter-spacing: -0.02em; }
.label { font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; line-height: 1.35; color: var(--ink-soft); }
.dark .label { color: inherit; opacity: .78; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; line-height: 1.2; text-decoration: none; text-align: center; padding: 15px 26px; border: 1.5px solid var(--ink); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.btn.solid { background: var(--ink); color: var(--rice); }
.btn.solid:hover { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.btn:not(.solid):hover { background: var(--ink); color: var(--rice); }
.btn.small { padding: 11px 20px; font-size: 0.875rem; }
.dark .btn.solid { background: var(--rice); border-color: var(--rice); color: var(--ink); }
.dark .btn.solid:hover { background: var(--mustard); border-color: var(--mustard); }
.dark .btn:not(.solid) { border-color: var(--rice); }
.dark .btn:not(.solid):hover { background: var(--rice); color: var(--ink); }
.textlink { font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.textlink:hover { text-decoration-color: var(--mustard); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--putty); padding-block: 14px; }
.top .grid { align-items: center; }
.mark { grid-column: 1 / span 4; font-family: var(--sans); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; }
.nav { grid-column: 6 / span 4; }
.nav ul { display: flex; gap: clamp(14px, 2.2vw, 34px); font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; }
.nav a { text-decoration: none; padding: 8px 0; display: block; background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1.5px no-repeat; transition: background-size .25s; }
.nav a:hover, .nav a[aria-current="true"] { background-size: 100% 1.5px; }
.lang { grid-column: 10 / span 3; justify-self: end; white-space: nowrap; font-family: var(--sans); font-weight: 600; font-size: 0.8125rem; display: flex; align-items: center; gap: 4px; }
.lang span { padding: 6px 11px; border-radius: 999px; }
.lang .on { background: var(--ink); color: var(--rice); }
.lang .off { color: var(--ink-soft); font-weight: 500; }
.menu-btn { display: none; }

/* Hero */
.hero { padding-top: clamp(24px, 3.4vw, 56px); padding-bottom: var(--s6); align-items: end; }
.hero-copy { grid-column: 1 / span 6; padding-bottom: clamp(8px, 3vw, 44px); }
.hero h1 { font-family: var(--sans); font-weight: 500; font-size: clamp(2.5rem, 5.1vw, 5.25rem); line-height: 1.03; letter-spacing: -0.036em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span + span { padding-left: 0.58em; }
.hero-copy > p { margin-top: var(--s4); font-size: clamp(1.125rem, 1.35vw, 1.25rem); line-height: 1.5; max-width: 30em; }
.hero-actions { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Mosaic */
.mosaic-wrap { grid-column: 7 / span 6; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 10px; aspect-ratio: 1 / 1.04; }
.tile { position: relative; overflow: hidden; display: block; text-decoration: none; background: var(--line); transition: opacity .35s; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s var(--ease); }
.tile span { position: absolute; left: 0; bottom: 0; background: var(--paper); font-family: var(--sans); font-weight: 600; font-size: 0.8125rem; line-height: 1.2; padding: 7px 11px; transition: background .2s, color .2s, padding .3s var(--ease); }
.mosaic:hover .tile:not(:hover), .mosaic:focus-within .tile:not(:focus-visible) { opacity: .72; }
.tile:hover svg, .tile:focus-visible svg { transform: scale(1.07); }
.tile:hover span, .tile:focus-visible span { background: var(--ink); color: var(--rice); padding-right: 18px; }
.t-oil { grid-area: 1 / 1 / 4 / 4; }
.t-rice { grid-area: 1 / 4 / 3 / 7; }
.t-home { grid-area: 3 / 4 / 5 / 6; }
.t-raisins { grid-area: 3 / 6 / 7 / 7; }
.t-beverages { grid-area: 4 / 1 / 6 / 3; }
.t-barberries { grid-area: 4 / 3 / 7 / 4; }
.t-cans { grid-area: 5 / 4 / 7 / 6; }
.t-dates { grid-area: 6 / 1 / 7 / 3; }
.mosaic-note { margin-top: var(--s2); }

/* Sections */
.sec { padding-block: var(--s7); }
.sec.paper { background: var(--paper); }
.head { margin-bottom: var(--s5); align-items: end; row-gap: var(--s3); }
.head h2 { grid-column: 1 / span 6; }
.head p { grid-column: 8 / span 5; max-width: 32em; }

/* Products */
.plist { border-top: 1.5px solid var(--ink); }
.prod { border-bottom: 1px solid var(--line); }
.prod-head { width: 100%; display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 6fr) 28px; column-gap: var(--gutter); align-items: center; padding-block: 16px; }
.prod-head .thumb { width: 72px; height: 72px; display: block; }
.prod-name { font-family: var(--sans); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.prod-name small { display: block; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0; color: var(--ink-soft); margin-top: 5px; }
.prod-sum { font-family: var(--serif); font-weight: 400; letter-spacing: 0; font-size: 1.0625rem; line-height: 1.45; }
.plus { width: 28px; height: 28px; position: relative; justify-self: end; }
.plus::before, .plus::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 1.5px solid currentColor; transition: transform .3s var(--ease); }
.plus::after { transform: rotate(90deg); }
.prod-head[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.prod-head:hover .prod-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.prod-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.prod-body > div { overflow: hidden; visibility: hidden; transition: visibility 0s .4s; }
.prod.open .prod-body { grid-template-rows: 1fr; }
.prod.open .prod-body > div { visibility: visible; transition: visibility 0s; }
.prod-detail { display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 6fr) 28px; column-gap: var(--gutter); padding-bottom: var(--s4); padding-top: 4px; }
.prod-detail .agree { grid-column: 2; }
.prod-detail .agree ul { margin-top: var(--s1); font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; }
.prod-detail .agree li { padding: 7px 0; border-top: 1px solid var(--line); }
.prod-detail .act { grid-column: 3; display: grid; gap: var(--s3); align-content: start; }
.prod-detail .act p { max-width: 34em; font-size: 1rem; line-height: 1.5; }
.prod-detail .act div { display: flex; flex-wrap: wrap; gap: var(--s2); }
.sourcing { margin-top: var(--s4); align-items: start; }
.sourcing p { grid-column: 1 / span 7; font-size: 1rem; max-width: 40em; }
.earlier { margin-top: var(--s6); background: var(--paper); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.sec.paper .earlier { background: var(--putty); }
.earlier figure { position: relative; min-height: 220px; overflow: hidden; }
.earlier svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.earlier div { padding: var(--s4) var(--s5); display: grid; gap: var(--s2); align-content: center; }
.earlier p:not(.label) { max-width: 36em; font-size: 1rem; }

/* Trading */
.cards { align-items: start; }
.card { background: var(--paper); padding: var(--s4); display: grid; gap: var(--s3); }
.sec.paper .card { background: var(--putty); }
.card:nth-child(1) { grid-column: 1 / span 4; }
.card:nth-child(2) { grid-column: 5 / span 4; margin-top: var(--s5); }
.card:nth-child(3) { grid-column: 9 / span 4; margin-top: calc(var(--s5) * 2); }
.card p { font-size: 1rem; line-height: 1.5; }
.route { font-family: var(--sans); font-weight: 500; font-size: 0.875rem; border-top: 1.5px solid var(--ink); padding-top: var(--s2); }
.route li { position: relative; padding: 0 0 12px 22px; line-height: 1.3; }
.route li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); z-index: 1; }
.sec.paper .route li::before { background: var(--putty); }
.route li::after { content: ""; position: absolute; left: 4px; top: 8px; bottom: -6px; border-left: 1.5px solid var(--ink); }
.route li:last-child { padding-bottom: 0; }
.route li:last-child::after { display: none; }
.route li.us::before { background: var(--mustard); border-color: var(--ink); }

/* About */
.about-text { grid-column: 1 / span 7; display: grid; gap: var(--s3); align-content: start; }
.about-text h2 { margin-bottom: var(--s3); }
.about-text .lead { font-size: clamp(1.25rem, 1.85vw, 1.6875rem); line-height: 1.36; letter-spacing: -0.008em; max-width: 31em; }
.about-text p { max-width: 33em; }
.facts { grid-column: 9 / span 4; border-top: 1.5px solid var(--ink); align-self: end; }
.facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: var(--gutter); padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; color: var(--ink-soft); padding-top: 4px; }
.facts dd { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.35; letter-spacing: -0.01em; }

/* Contact: two doors */
.doors { display: flex; gap: 10px; align-items: stretch; }
.door { position: relative; flex: 1 1 0; min-width: 0; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); min-height: 520px; transition: flex-grow .55s var(--ease); }
.door.open { flex-grow: 2.7; }
.door.supplier { background: var(--date); color: var(--rice); }
.door.buyer { background: var(--rice); color: var(--ink); }
.door h3 { font-size: clamp(1.625rem, 2.6vw, 2.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.door h3 button::after { content: ""; position: absolute; inset: 0; }
.door.open h3 button { cursor: default; }
.door.open h3 button::after { display: none; }
.door .who { margin-top: var(--s2); max-width: 24em; font-size: 1rem; line-height: 1.45; }
.door .cue { margin-top: auto; font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 0.3em; }
.door.open .cue { display: none; }
.door:not(.open):hover { filter: brightness(1.04); }
.door form { display: none; }
.door.open form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--gutter); margin-top: auto; animation: formin .5s .15s var(--ease) both; }
@keyframes formin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.field { display: grid; gap: 4px; font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { background: transparent; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; padding: 7px 0 9px; font-family: var(--serif); font-size: 1.0625rem; font-weight: 400; width: 100%; min-height: 42px; }
.field textarea { resize: vertical; min-height: 68px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--mustard); box-shadow: 0 2px 0 var(--mustard); }
.field .err { font-weight: 700; }
.field .err:empty { display: none; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s1); }
.form-end .label { max-width: 26em; }
.review { margin-top: var(--s3); background: var(--paper); padding: var(--s4); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s3) var(--gutter); align-items: start; }
.review[hidden] { display: none; }
.review pre { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; grid-row: span 2; }
.review p { font-family: var(--sans); font-size: 0.9375rem; line-height: 1.45; }
.review p b { font-weight: 700; }
.review div { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.other { margin-top: var(--s4); font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); align-items: center; }

/* Company information */
.co h2 { grid-column: 1 / span 3; font-size: 1.5rem; padding-top: var(--s3); }
.co h2 + p { display: none; }
.record { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); border-top: 1.5px solid var(--ink); }
.record div { padding: var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; gap: 5px; align-content: start; }
.record dt { font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; color: var(--ink-soft); }
.record dd { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.record dd .tbc { font-weight: 500; }
.co-links { grid-column: 4 / span 9; margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; }

/* Footer */
.foot { background: var(--ink); color: var(--rice); padding-block: var(--s6) var(--s4); font-family: var(--sans); font-size: 0.9375rem; }
.foot .grid { row-gap: var(--s5); }
.foot .name { grid-column: 1 / span 6; font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -0.04em; }
.foot .name span { display: block; font-size: 0.9375rem; font-weight: 400; letter-spacing: 0; line-height: 1.45; opacity: .72; margin-top: var(--s2); }
.foot .col { grid-column: span 2; display: grid; gap: 6px; align-content: start; }
.foot h3 { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; opacity: .65; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.foot .fine { grid-column: 1 / -1; font-size: 0.8125rem; opacity: .65; }

/* Legal draft pages */
.legal { padding-block: var(--s6) var(--s7); }
.legal article { grid-column: 3 / span 7; display: grid; gap: var(--s3); }
.legal h1 { font-family: var(--sans); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; letter-spacing: -0.04em; }
.legal h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin-top: var(--s3); }
.legal .draft { background: var(--paper); padding: var(--s3) var(--s4); font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; border-left: 4px solid var(--mustard); }
.legal dl div { display: grid; grid-template-columns: 13em 1fr; gap: var(--gutter); padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-family: var(--sans); font-weight: 500; font-size: 0.875rem; color: var(--ink-soft); }
.legal dd { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

/* Motion: the mosaic is laid once; sections arrive gently */
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: lay .9s var(--ease) both; }
  .t-rice { animation-delay: .06s; } .t-home { animation-delay: .12s; } .t-raisins { animation-delay: .18s; } .t-beverages { animation-delay: .24s; } .t-barberries { animation-delay: .3s; } .t-cans { animation-delay: .36s; } .t-dates { animation-delay: .42s; }
  @keyframes lay { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav { grid-column: 5 / span 6; justify-self: end; }
  .lang { grid-column: 11 / span 2; }
  .lang .off { display: none; }
  .hero { padding-bottom: var(--s6); }
  .hero-copy, .mosaic-wrap { grid-column: 1 / span 12; }
  .hero-copy { padding-bottom: var(--s5); }
  .hero h1 { font-size: clamp(2.5rem, 8vw, 4.75rem); }
  .mosaic { aspect-ratio: 1.45 / 1; }
  .head h2, .head p { grid-column: 1 / span 12; }
  .card:nth-child(n) { grid-column: 1 / span 12; margin-top: 0; }
  .card + .card { margin-top: 10px !important; }
  .card { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
  .card h3 { grid-column: 1; } .card p { grid-column: 1; } .card .route { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .about-text, .facts { grid-column: 1 / span 12; }
  .facts { margin-top: var(--s5); }
  .co h2, .record, .co-links { grid-column: 1 / span 12; }
  .record { margin-top: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door.open { flex-grow: 3.2; }
  .sourcing p { grid-column: 1 / span 12; }
  .legal article { grid-column: 1 / span 12; }
  .foot .name { grid-column: 1 / span 12; }
  .foot .col { grid-column: span 4; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --s7: 76px; --s6: 56px; --s5: 40px; }
  html { scroll-padding-top: 72px; }
  body { font-size: 1rem; }
  .top { padding-block: 10px; }
  .mark { grid-column: 1 / span 8; }
  .menu-btn { display: block; grid-column: 9 / span 4; justify-self: end; font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; padding: 10px 18px; min-height: 44px; border: 1.5px solid var(--ink); border-radius: 999px; position: relative; z-index: 52; }
  .nav, .lang { position: fixed; z-index: 51; visibility: hidden; }
  .nav { inset: 0; background: var(--ink); color: var(--rice); padding: 104px var(--margin) var(--s4); clip-path: circle(0 at calc(100% - 60px) 32px); transition: clip-path .55s cubic-bezier(.3,.7,.2,1), visibility 0s .55s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-size: 2.25rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; padding: 12px 0; background: none; }
  .lang { left: var(--margin); bottom: var(--s4); opacity: 0; transition: opacity .2s; color: var(--rice); }
  .lang .on { background: var(--rice); color: var(--ink); }
  .lang .off { display: inline; color: var(--rice); opacity: .7; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { visibility: visible; clip-path: circle(150% at calc(100% - 60px) 32px); transition: clip-path .55s cubic-bezier(.3,.7,.2,1), visibility 0s; }
  body.menu-open .lang { visibility: visible; opacity: 1; transition: opacity .3s .3s; }
  body.menu-open .menu-btn { background: var(--rice); border-color: var(--rice); }

  .hero { padding-top: 20px; }
  .hero h1 { font-size: clamp(2.125rem, 10.4vw, 3.25rem); }
  .hero h1 span + span { padding-left: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(6, 1fr); aspect-ratio: 1 / 1.34; gap: 6px; }
  .t-oil { grid-area: 1 / 1 / 3 / 3; } .t-rice { grid-area: 1 / 3 / 2 / 5; } .t-home { grid-area: 2 / 3 / 4 / 5; } .t-beverages { grid-area: 3 / 1 / 5 / 3; }
  .t-barberries { grid-area: 4 / 3 / 6 / 5; } .t-dates { grid-area: 5 / 1 / 6 / 3; } .t-cans { grid-area: 6 / 1 / 7 / 3; } .t-raisins { grid-area: 6 / 3 / 7 / 5; }
  .tile span { font-size: 0.75rem; padding: 5px 8px; }

  .prod-head { grid-template-columns: 56px minmax(0, 1fr) 28px; row-gap: 6px; padding-block: 14px; }
  .prod-head .thumb { width: 56px; height: 56px; grid-row: 1 / span 2; align-self: start; }
  .prod-sum { grid-column: 2; grid-row: 2; font-size: 0.9375rem; }
  .plus { grid-column: 3; grid-row: 1; }
  .prod-detail { grid-template-columns: 1fr; row-gap: var(--s3); }
  .prod-detail .agree, .prod-detail .act { grid-column: 1; }
  .prod-detail .act .btn { flex: 1 1 100%; }
  .earlier { grid-template-columns: 1fr; }
  .earlier figure { min-height: 150px; }
  .earlier div { padding: var(--s3); }

  .card { grid-template-columns: 1fr; padding: var(--s3); }
  .card .route { grid-column: 1; grid-row: auto; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }

  .doors { flex-direction: column; }
  .door, .door.open { flex: none; min-height: 0; padding: var(--s3); gap: var(--s3); }
  .door.open form { grid-template-columns: 1fr; margin-top: 0; }
  .door .cue { margin-top: 0; }
  .form-end .btn { flex: 1 1 100%; }
  .review { grid-template-columns: 1fr; padding: var(--s3); }
  .review pre { grid-row: auto; }
  .record { grid-template-columns: 1fr; }
  .legal dl div { grid-template-columns: 1fr; gap: 2px; }
  .foot .col { grid-column: 1 / span 12; }
}

.review:focus { outline: none; }

/* ===== Two business areas (second refinement) ===== */
.areas { padding-bottom: var(--s7); }
.areas-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px; }
.area { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s3); padding: var(--s4); min-height: 440px; text-decoration: none; }
.area.food { background: var(--mustard); color: var(--ink); }
.area.home { background: var(--date); color: var(--rice); }
.area .k { font-family: var(--sans); font-weight: 600; font-size: 0.8125rem; }
.area h3 { font-weight: 500; font-size: clamp(2rem, 3.9vw, 3.75rem); line-height: 1; letter-spacing: -0.045em; }
.area { min-width: 0; }
.area .strip { display: flex; gap: 8px; align-self: center; min-width: 0; }
.area .strip svg { flex: 1 1 0; min-width: 0; max-width: 88px; height: auto; aspect-ratio: 1; display: block; transition: transform .5s var(--ease); }
.area:hover .strip svg:nth-child(odd), .area:focus-visible .strip svg:nth-child(odd) { transform: translateY(-6px); }
.area:hover .strip svg:nth-child(even), .area:focus-visible .strip svg:nth-child(even) { transform: translateY(6px); }
.area ul { font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; display: flex; flex-wrap: wrap; gap: 6px 8px; align-self: end; }
.area li { border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 13px; }
.area .go { font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }

/* Home & Living: its own dark band */
.homeband { background: var(--ink); color: var(--rice); }
.homeband .grid { align-items: start; }
.home-fig { grid-column: 1 / span 5; position: relative; aspect-ratio: 1 / 0.92; overflow: hidden; }
.home-fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-text { grid-column: 7 / span 6; display: grid; gap: var(--s3); }
.home-text h2 { font-weight: 500; font-size: clamp(2.25rem, 4.4vw, 4.25rem); letter-spacing: -0.045em; line-height: 1; }
.home-text .intro { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.5; max-width: 30em; margin-bottom: var(--s3); }
.dark .plist { border-top-color: var(--rice); }
.dark .prod { border-bottom-color: rgba(243, 237, 223, .28); }
.dark .prod-name small { color: inherit; opacity: .7; }

/* Compact product list (used in the Home & Living band) */
.plist.compact .prod-head { grid-template-columns: 64px minmax(0, 1fr) 28px; row-gap: 4px; }
.plist.compact .prod-head .thumb { width: 64px; height: 64px; grid-row: 1 / span 2; }
.plist.compact .prod-name { grid-column: 2; grid-row: 1; align-self: end; }
.plist.compact .prod-sum { grid-column: 2; grid-row: 2; align-self: start; font-size: 1rem; opacity: .85; }
.plist.compact .plus { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.plist.compact .prod-detail { grid-template-columns: 64px minmax(0, 1fr); }
.plist.compact .prod-detail .act { grid-column: 2; }

.about .about-text h2 { margin-bottom: var(--s4); }
.foot .fine { max-width: 60em; }

@media (max-width: 1080px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .area { min-height: 400px; }
  .home-fig, .home-text { grid-column: 1 / span 12; }
  .home-fig { position: relative; top: 0; aspect-ratio: 16 / 7; margin-bottom: var(--s5); }
  .about-text, .facts { grid-column: 1 / span 12; }
}
@media (max-width: 760px) {
  .areas-grid { grid-template-columns: minmax(0, 1fr); }
  .area { min-height: 0; padding: var(--s3); gap: var(--s3); }
  .home-fig { aspect-ratio: 4 / 3; margin-bottom: var(--s4); }
  .plist.compact .prod-head { grid-template-columns: 56px minmax(0, 1fr) 28px; }
  .plist.compact .prod-head .thumb { width: 56px; height: 56px; }
  .plist.compact .prod-detail { grid-template-columns: 1fr; }
  .plist.compact .prod-detail .act { grid-column: 1; }
}

/* ===== Photographic version ===== */
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile { background: #6F5A38; }
.t-oil { grid-area: 1 / 1 / 4 / 4; }
.t-rice { grid-area: 1 / 4 / 3 / 7; }
.t-home { grid-area: 3 / 4 / 7 / 6; }
.t-raisins { grid-area: 3 / 6 / 7 / 7; }
.t-dates { grid-area: 4 / 1 / 7 / 3; }
.t-barberries { grid-area: 4 / 3 / 7 / 4; }
.prod-head .thumb { object-fit: cover; }
.thumb.ph { display: block; background: repeating-linear-gradient(-45deg, rgba(37,33,30,.05) 0 6px, rgba(37,33,30,.16) 6px 7px); outline: 1px solid var(--line); outline-offset: -1px; }

.area { display: grid; grid-template-rows: none; gap: 0; padding: 0; min-height: 0; overflow: hidden; }
.area-text { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s3); padding: var(--s4); min-width: 0; }
.area-text ul { align-self: end; }
.area.food { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: 0; }
.collage { position: relative; min-width: 0; }
.collage img { position: absolute; display: block; object-fit: cover; height: auto; aspect-ratio: 1; transition: transform .7s var(--ease); }
.collage .c1 { right: 0; top: 0; width: 86%; aspect-ratio: 4 / 5; object-position: 50% 42%; }
.collage .c2 { left: -6%; bottom: var(--s4); width: 54%; outline: 8px solid var(--mustard); }
.area.food:hover .c1, .area.food:focus-visible .c1 { transform: translateY(8px); }
.area.food:hover .c2, .area.food:focus-visible .c2 { transform: translateY(-8px); }
.area.home { grid-template-rows: 300px auto; min-height: 0; }
.area-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 60% 62%; display: block; transition: transform .9s var(--ease); }
.area.home:hover .area-photo, .area.home:focus-visible .area-photo { transform: scale(1.04); }
.area.home .area-text { grid-template-rows: auto auto auto auto; position: relative; background: var(--date); }

.home-fig { grid-column: 1 / span 4; aspect-ratio: 1; }
.home-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-text { grid-column: 6 / span 7; }

@media (max-width: 1080px) {
  .area.food { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 240px; }
  .collage .c1 { width: 62%; height: 100%; aspect-ratio: auto; }
  .collage .c2 { left: var(--s4); bottom: var(--s3); width: 34%; }
  .home-fig, .home-text { grid-column: 1 / span 12; }
  .home-fig { aspect-ratio: 16 / 9; max-width: 560px; }
}
@media (max-width: 760px) {
  .t-oil { grid-area: 1 / 1 / 3 / 3; } .t-rice { grid-area: 1 / 3 / 2 / 5; } .t-home { grid-area: 2 / 3 / 5 / 5; } .t-dates { grid-area: 3 / 1 / 5 / 3; }
  .t-barberries { grid-area: 5 / 1 / 7 / 3; } .t-raisins { grid-area: 5 / 3 / 7 / 5; }
  .area-text { padding: var(--s3); }
  .area.food, .area.home { min-height: 0; }
  .area.food { grid-template-rows: auto 200px; }
  .collage .c2 { left: var(--s3); }
  .area.home { grid-template-rows: 220px auto; }
  .home-fig { aspect-ratio: 4 / 3; }
}

/* ===== Photographic version, second update: eight tiles ===== */
.t-oil { grid-area: 1 / 1 / 4 / 4; }
.t-rice { grid-area: 1 / 4 / 3 / 7; }
.t-home { grid-area: 3 / 4 / 5 / 6; }
.t-raisins { grid-area: 3 / 6 / 7 / 7; }
.t-beverages { grid-area: 4 / 1 / 6 / 3; }
.t-barberries { grid-area: 4 / 3 / 7 / 4; }
.t-cans { grid-area: 5 / 4 / 7 / 6; }
.t-dates { grid-area: 6 / 1 / 7 / 3; }
.area-photo { object-position: 50% 50%; }
.record dd a { text-underline-offset: 0.25em; }
@media (prefers-reduced-motion: no-preference) {
  .t-beverages { animation-delay: .24s; } .t-cans { animation-delay: .36s; }
}
@media (max-width: 760px) {
  .mosaic { grid-template-rows: repeat(7, 1fr); aspect-ratio: 1 / 1.6; }
  .t-oil { grid-area: 1 / 1 / 3 / 3; } .t-rice { grid-area: 1 / 3 / 2 / 5; } .t-home { grid-area: 2 / 3 / 4 / 5; } .t-beverages { grid-area: 3 / 1 / 5 / 3; }
  .t-barberries { grid-area: 4 / 3 / 6 / 5; } .t-cans { grid-area: 5 / 1 / 7 / 3; } .t-dates { grid-area: 7 / 1 / 8 / 3; } .t-raisins { grid-area: 6 / 3 / 8 / 5; }
}

.legal article > p { max-width: 38em; }
.legal dd a, .legal p a { text-underline-offset: 0.25em; }

/* ===== Language switcher ===== */
.lang button { font-family: var(--sans); font-weight: 600; font-size: 0.8125rem; line-height: 1; padding: 9px 11px; border-radius: 999px; color: var(--ink-soft); transition: color .15s, background .15s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--rice); }

/* ===== A Closer Look ===== */
.look-note { margin-top: var(--s4); }

@media (max-width: 760px) {
}
@media (max-width: 760px) {
  .lang button { color: var(--rice); border: 1.5px solid rgba(243, 237, 223, .4); padding: 11px 16px; }
  .lang button:hover { color: var(--rice); }
  .lang button[aria-pressed="true"] { background: var(--rice); border-color: var(--rice); color: var(--ink); }
}

/* ===== Legal pages: header that works without the mobile menu ===== */
.legal-head .mark { grid-column: 1 / span 2; }
.legal-head .lang { grid-column: 10 / span 3; }
.legal-head .nav { grid-column: 3 / span 6; }
.legal-head .nav a { font-weight: 500; }

@media (max-width: 760px) {
  .legal-head .grid { row-gap: 2px; }
  .legal-head .mark { grid-column: 1 / span 7; }
  .legal-head .lang { grid-column: 8 / span 5; justify-self: end; }
  .nav.legal-nav { position: static; visibility: visible; inset: auto; clip-path: none; background: none; color: inherit; padding: 0; grid-column: 1 / span 12; }
  .nav.legal-nav a { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; padding: 6px 0 10px; }
  .lang.inline { position: static; visibility: visible; opacity: 1; }
  .lang.inline button { color: var(--ink-soft); border-color: var(--line); padding: 9px 13px; }
  .lang.inline button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--rice); }
}

/* The tablet rule right-aligns the nav in the header grid; the mobile overlay must span the viewport. */
@media (max-width: 760px) {
  .nav { justify-self: stretch; }
}

/* ===== A Closer Look: the quiet link in About, and the page itself ===== */
.about-more { margin-top: var(--s4); }
.textlink.arrow::after { content: "\2197"; display: inline-block; margin-left: 0.3em; }

.gallery-sec .head h1 { grid-column: 1 / span 6; font-family: var(--sans); font-weight: 600; font-size: clamp(1.875rem, 3.2vw, 3rem); line-height: 1.04; letter-spacing: -0.035em; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); align-items: start; }
.gallery figure { display: grid; gap: var(--s2); }
.gallery figure:nth-child(odd) { grid-column: 1 / span 5; }
.gallery figure:nth-child(even) { grid-column: 8 / span 4; margin-top: var(--s7); }
.gallery figcaption { font-family: var(--sans); font-weight: 500; font-size: 0.875rem; line-height: 1.35; color: var(--ink-soft); }
.shot { display: block; width: 100%; background: var(--line); cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; transition: opacity .25s; }
.shot:hover img { opacity: .9; }
.look-back { margin-top: var(--s5); }

/* Full-image viewer */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(23, 20, 18, .94); display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; gap: var(--s3); justify-items: center; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; display: block; object-fit: contain; }
.lightbox figcaption { font-family: var(--sans); font-weight: 500; font-size: 0.875rem; color: var(--rice); opacity: .85; text-align: center; }
.lb-close { position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px); font-family: var(--sans); font-weight: 600; font-size: 0.875rem; color: var(--ink); background: var(--rice); border-radius: 999px; padding: 11px 18px; min-height: 42px; }
.lb-close:hover { background: var(--mustard); }
.lightbox :focus-visible { outline-color: var(--mustard); }
body.lb-open { overflow: hidden; }

@media (max-width: 1080px) {
  .gallery { row-gap: var(--s6); }
  .gallery-sec .head h1 { grid-column: 1 / span 12; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: minmax(0, 1fr); row-gap: var(--s5); }
  .gallery figure:nth-child(odd), .gallery figure:nth-child(even) { grid-column: 1; margin-top: 0; }
  .lightbox img { max-height: calc(100vh - 130px); }
}

/* Buttons hidden by script must stay hidden despite .btn display rule */
.review button[hidden] { display: none; }

/* Home & Living photo: explicit height matching its grid row. Safari resolved height:100% against the whole card,
   which zoomed the image in on iPhones so only the lamp cap showed. */
.area.home .area-photo { height: 300px; max-height: 300px; align-self: start; }
@media (max-width: 760px) { .area.home .area-photo { height: 220px; max-height: 220px; } }
/* Review panel: three rows now (notice, privacy note, buttons) */
.review pre { grid-row: span 3; }
@media (max-width: 760px) { .review pre { grid-row: auto; } }
