/* imondi — international site
   Layout concept: a quiet gallery wall for timber. Wide photographs, a narrow
   reading column, specifications set like a mill tally sheet (mono figures). */
:root {
  --ground: #f6f5f1;      /* limed oak, very pale */
  --paper: #ffffff;
  --ink: #1e1d1a;         /* charred timber */
  --ink-soft: #57544c;
  --rule: #dcd8ce;
  --tally: #ece9e1;       /* spec table band */
  --brass: #b88a2e;       /* imondi diamond gold, toned for text use */
  --brass-ink: #7a5a17;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --step--1: 0.875rem; --step-0: 1rem; --step-1: 1.25rem; --step-2: 1.6rem;
  --step-3: 2.2rem; --step-4: clamp(2.4rem, 5vw, 3.6rem);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wide: 1240px; --read: 68ch;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--step-0)/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass-ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
.wrap { max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.read { max-width: var(--read); }
.stack { display: grid; gap: 1.1rem; }
.eyebrow { font: 600 0.75rem/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); }
.lede { font-size: var(--step-1); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.8rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; font: 600 1.35rem/1 var(--body); letter-spacing: 0.02em; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-left: auto; font-size: 0.95rem; }
.nav a { text-decoration: none; padding-block: 0.25rem; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--brass); }
.lang { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 720px) { .nav { margin-left: 0; width: 100%; gap: 0.9rem; font-size: 0.9rem; } }

/* hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) 2rem; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
.hero .stack { gap: 1.25rem; }
.hero figure { margin: 0; }
.hero img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero img { aspect-ratio: 3 / 2; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-block: 2rem; }
.facts div { padding: 1rem 1rem 1rem 0; display: grid; gap: 0.2rem; }
.facts b { font: 500 var(--step-2)/1.1 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.facts span { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

/* collection grid */
.grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tile { display: grid; gap: 0.6rem; text-decoration: none; min-width: 0; }
.tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--tally); transition: filter 0.3s; }
.tile:hover img { filter: brightness(1.05) contrast(1.05); }
.tile h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 600; }
.tile p { font-size: var(--step--1); color: var(--ink-soft); }
.tile .species { font: 500 0.75rem/1.3 var(--mono); color: var(--brass-ink); }

/* page head */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; display: grid; gap: 1rem; }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); display: flex; gap: 0.4rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* prose */
.prose { display: grid; gap: 1rem; max-width: var(--read); }
.prose h2 { font-size: var(--step-2); margin-top: 1rem; }
.prose h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 600; margin-top: 0.5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.prose img { margin-block: 0.5rem; }

/* spec tally */
.tally-wrap { overflow-x: auto; }
table.tally { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--paper); font-size: 0.95rem; }
.tally th, .tally td { text-align: left; vertical-align: top; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--rule); }
.tally th { width: 30%; font-weight: 600; background: var(--tally); }
.tally td { font-variant-numeric: tabular-nums; }
.dim { font-family: var(--mono); font-size: 0.9em; }
.faq { display: grid; gap: 0.5rem; }
.faq details { background: var(--paper); border: 1px solid var(--rule); padding: 0.8rem 1rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 0.6rem; }

/* product */
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; padding-block: 2rem; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery img:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tally); }
@media (max-width: 860px) { .product { grid-template-columns: minmax(0, 1fr); } }

/* enquiry band */
.enquire { background: var(--ink); color: var(--ground); }
.enquire .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1rem; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.enquire h2 { color: var(--ground); }
.enquire a { color: var(--ground); }
.mail { font: 500 var(--step-2)/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--brass); justify-self: start; }
@media (max-width: 720px) { .enquire .wrap { grid-template-columns: minmax(0, 1fr); } }

.btn { display: inline-block; padding: 0.7rem 1.1rem; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.btn:hover { background: var(--brass-ink); color: var(--ground); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* footer */
.site-foot { border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--ink-soft); }
.site-foot .wrap { padding-block: 2.5rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-foot h4 { margin: 0 0 0.5rem; font: 600 0.75rem/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.site-foot a { text-decoration: none; }

.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filters button { font: inherit; font-size: 0.85rem; padding: 0.35rem 0.8rem; border: 1px solid var(--rule); background: var(--paper); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* project photo grid */
.pgrid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.pgrid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; background: var(--tally); }
.prose:has(.pgrid) { max-width: none; }
.hero img { object-position: 25% 50%; }
@media (max-width: 720px) { .site-head { position: static; } }
.recog { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.recog .dim { color: var(--brass-ink); }
