/* ==========================================================================
   All In Sports India — storefront. Direction C "Trade catalogue": charcoal, white, light grey, gold;
   Oswald uppercase headings, IBM Plex Sans body, IBM Plex Mono labels; square corners; thin grid lines.
   ========================================================================== */
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
    --ink: #1C1D20; --ink-2: #2A2B2F; --ink-3: #3A3B40;
    --paper: #FFFFFF; --stone: #F3F3F0; --stone-2: #E9E9E4;
    --gold: #C2A666; --gold-2: #A88E55; --gold-soft: #EADFC2; --gold-text: #7D6A33;
    --line: #D9D9D3; --line-dark: rgba(255,255,255,.14);
    --muted: #65665F; --muted-light: #B9BAB3;
    --wa: #1B7A3E; --ok: #1E7D4F; --bad: #B4231A; --bad-bg: #FBE9E7;
    --head: "Oswald", "Arial Narrow", Impact, sans-serif;
    --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
    --wrap: 1180px; --gut: 20px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--gold); color: var(--ink); padding: 10px 14px; font-family: var(--mono); }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.mt { margin-top: 36px; }

/* ---- scrollbars: slim floating thumb, never a system bar ---- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; margin: 8px; }
::-webkit-scrollbar-thumb { background: rgba(28,29,32,.35); border: 3px solid transparent; background-clip: padding-box; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(28,29,32,.55); border: 3px solid transparent; background-clip: padding-box; }
html::-webkit-scrollbar-track { background: var(--paper); margin: 0; }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: rgba(28,29,32,.4) transparent; } }

/* ---- type ---- */
.h1 { font-size: clamp(44px, 7.2vw, 88px); }
.h2 { font-size: clamp(30px, 4.2vw, 46px); }
.h3 { font-size: clamp(22px, 2.6vw, 28px); }
.h4 { font-size: 18px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow--gold { color: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; transition: gap .2s var(--ease); }
.link-arrow .ico { width: 16px; height: 16px; }
.link-arrow:hover { gap: 10px; }
.link-arrow--light { color: #fff; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid transparent; white-space: nowrap; transition: background .18s, color .18s, border-color .18s; }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn--wa:hover { background: #156131; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }

/* ---- top bar + header ---- */
.topbar { background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; min-height: 30px; align-items: center; }
.topbar__contact { display: flex; gap: 18px; }
.topbar a:hover { color: var(--gold); }
.hdr { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: stretch; height: 72px; }
.hdr__logo { display: flex; align-items: center; padding-right: 22px; }
.hdr__logo img { width: 112px; height: auto; }
.hdr__nav { display: none; flex: 1; }
.hdr__nav > ul { display: flex; height: 100%; }
.hdr__item { position: relative; display: flex; border-left: 1px solid var(--line); }
.hdr__item:last-child { border-right: 1px solid var(--line); }
.hdr__item > a { display: flex; align-items: center; padding: 0 18px; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; transition: color .15s; }
.hdr__item > a:hover, .hdr__item > a.is-current { color: var(--gold-2); }
.hdr__item > a.is-current { box-shadow: inset 0 -3px 0 var(--gold); }
.panel { position: absolute; top: 100%; left: -1px; min-width: 250px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 70; }
.hdr__item.is-open .panel, .hdr__item:focus-within .panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .hdr__item:hover .panel { opacity: 1; visibility: visible; transform: none; } }
.panel li + li { border-top: 1px solid var(--line); }
.panel a { display: block; padding: 11px 16px; font-size: 14px; font-weight: 500; }
.panel a:hover { background: var(--stone); color: var(--ink); padding-left: 20px; transition: padding .15s; }
.hdr__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr__tool { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.hdr__tool:hover { color: var(--gold-2); }
.hdr__tool .ico { width: 22px; height: 22px; }
.hdr__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--ink); font: 600 11px/18px var(--mono); font-style: normal; text-align: center; }
.hdr__cta { display: none; margin-left: 10px; min-height: 44px; }
.hdr__burger { display: inline-flex; }
@media (min-width: 1024px) { .hdr__nav { display: block; } .hdr__cta { display: inline-flex; } .hdr__burger { display: none; } }
.searchbar { border-top: 1px solid var(--line); background: var(--stone); }
.searchbar__in { position: relative; display: flex; gap: 8px; padding: 10px 0; align-items: center; }
.searchbar input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 16px; }
.searchbar input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); z-index: 80; max-height: 360px; overflow: auto; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.suggest a:hover, .suggest a.is-active { background: var(--stone); }
.suggest img { width: 40px; height: 40px; object-fit: contain; background: var(--stone); }
.suggest small { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: auto; }

/* ---- mobile drawer ---- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(28,29,32,.55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s var(--ease); overflow: hidden; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer__head img { width: 120px; }
.drawer__nav { flex: 1; overflow: auto; padding: 6px 0; }
.drawer__link, .drawer__group summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 20px; font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary .ico { transition: transform .2s; }
.drawer__group[open] summary .ico { transform: rotate(180deg); }
.drawer__group ul { background: var(--stone); border-bottom: 1px solid var(--line); }
.drawer__group ul a { display: block; padding: 12px 20px 12px 28px; font-size: 15px; font-weight: 500; min-height: 46px; }
.drawer__foot { padding: 14px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot .mono { color: var(--muted); text-align: center; }

/* ---- flashes ---- */
.flash { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); background: var(--stone); font-size: 14px; }
.flash--ok { border-color: var(--ok); color: var(--ok); background: #EAF5EE; }
.flash--err { border-color: var(--bad); color: var(--bad); background: var(--bad-bg); }

/* ---- sections ---- */
.sec { padding: 56px 0; }
.sec--stone { background: var(--stone); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); }
.sec__label { color: var(--muted); }
@media (min-width: 768px) { .sec { padding: 76px 0; } }

/* ---- hero ---- */
.hero { background: var(--ink); color: #fff; padding: 48px 0 52px; }
.hero__grid { display: grid; gap: 34px; }
.hero__h1 { font-size: clamp(46px, 8.5vw, 92px); margin: 14px 0 18px; }
.hero__lede { font-size: 16px; line-height: 1.6; color: #D8D8D2; max-width: 520px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__side { display: grid; gap: 0; border: 1px solid var(--line-dark); }
.hero__photo { aspect-ratio: 16 / 10; background: var(--ink-2); display: grid; place-items: center; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-empty { color: var(--muted-light); font-size: 11px; padding: 20px; text-align: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.facts__cell { padding: 14px 16px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.facts__cell:nth-child(2n) { border-right: 0; }
.facts__cell:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { color: var(--muted-light); font-size: 10px; }
.facts dd { font-family: var(--head); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: .02em; margin-top: 2px; }
.facts dd small { display: block; font: 400 12px/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--muted-light); margin-top: 2px; }
@media (min-width: 900px) { .hero { padding: 72px 0 76px; } .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; } .hero__h1 { font-size: clamp(56px, 6.4vw, 88px); } .hero__lede { font-size: 17px; } }

/* ---- routes (01/02/03 cards) ---- */
.routes { display: grid; gap: 0; border: 1px solid var(--line); }
.route { position: relative; padding: 26px 22px 24px; border-bottom: 1px solid var(--line); background: var(--paper); display: grid; grid-template-columns: 1fr; gap: 8px; align-content: start; }
.route:last-child { border-bottom: 0; }
.route__photo { aspect-ratio: 3 / 2; background: var(--stone); margin: -26px -22px 10px; border-bottom: 1px solid var(--line); overflow: hidden; }
.route__photo img { width: 100%; height: 100%; object-fit: cover; }
.route__num { font-family: var(--head); font-weight: 700; font-size: 56px; line-height: 1; color: var(--stone-2); letter-spacing: -.02em; }
.route .h3 { margin-top: -4px; }
.route__aud { color: var(--muted); font-size: 11px; }
.route__text { font-size: 15px; color: var(--ink-3); }
.route .link-arrow { margin-top: 8px; justify-self: start; }
@media (min-width: 768px) { .routes { grid-template-columns: repeat(3, 1fr); } .route { border-bottom: 0; border-right: 1px solid var(--line); } .route:last-child { border-right: 0; } }

/* ---- category tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); background: var(--paper); }
.tile { display: grid; gap: 10px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .15s; }
.tile:nth-child(2n) { border-right: 0; }
.tile:hover { background: var(--stone); }
.tile__img { display: block; aspect-ratio: 1; background: var(--stone); overflow: hidden; display: grid; place-items: center; }
.tile__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile__empty { color: var(--muted-light); font-size: 10px; }
.tile__name { font-family: var(--head); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tile:nth-child(2n) { border-right: 1px solid var(--line); } .tile:nth-child(4n) { border-right: 0; } .tile:nth-last-child(-n+4) { border-bottom: 0; } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(var(--n, 8), 1fr); } .tile, .tile:nth-child(2n), .tile:nth-child(4n) { border-right: 1px solid var(--line); border-bottom: 0; } .tile:last-child { border-right: 0; } }

/* ---- product cards ---- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { .pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .15s; }
.pcard:hover { border-color: var(--ink); }
.pcard__img { display: grid; place-items: center; aspect-ratio: 1; background: var(--stone); overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__noimg { color: var(--muted-light); font-size: 10px; }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 14px; flex: 1; }
.pcard__name { font: 600 14px/1.3 var(--body); text-transform: none; letter-spacing: 0; }
.speclines { display: grid; gap: 4px; }
.speclines div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; font-size: 12px; }
.speclines dt { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.speclines dd { color: var(--ink-3); }
.pcard__price { font-family: var(--head); font-weight: 700; font-size: 22px; margin-top: auto; }
.pcard__price small { font-weight: 400; color: var(--muted); font-size: 10px; margin-left: 4px; }
.pcard__price--quote { font-size: 15px; letter-spacing: .06em; color: var(--gold-2); }
.pcard__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcard__btns .btn { padding-inline: 6px; font-size: 12px; min-height: 40px; }
@media (min-width: 768px) { .pcard__body { padding: 14px 16px 16px; } .pcard__btns .btn { font-size: 13px; } }

/* ---- steps ---- */
.steps { display: grid; counter-reset: s; border: 1px solid var(--line); }
.step { padding: 22px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.step:last-child { border-bottom: 0; }
.step__n { font-family: var(--head); font-weight: 700; font-size: 34px; color: var(--gold); line-height: 1; }
.step p { font-size: 14px; color: var(--ink-3); }
@media (min-width: 768px) { .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }   /* as many equal columns as there are steps */ .step { border-bottom: 0; border-right: 1px solid var(--line); } .step:last-child { border-right: 0; } }

/* ---- gold warranty band ---- */
.band { background: var(--gold); color: var(--ink); padding: 56px 0; }
.band__grid { display: grid; gap: 24px; }
.band__h { font-size: clamp(38px, 6vw, 64px); max-width: 9ch; }
.band__text { display: grid; gap: 14px; align-content: center; font-size: 16px; }
.band__text .mono { color: var(--ink-3); }
.band__text .btn { justify-self: start; }
@media (min-width: 900px) { .band { padding: 72px 0; } .band__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; } }

/* ---- work & reviews, proprietor ---- */
.projects { display: grid; gap: 16px; }
.project img { aspect-ratio: 3/2; object-fit: cover; width: 100%; border: 1px solid var(--line); margin-bottom: 10px; }
.project .mono { color: var(--muted); margin-top: 4px; }
.reviews { display: grid; gap: 16px; margin-top: 32px; }
.review { border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 18px 20px; font-size: 15px; display: grid; gap: 10px; }
.review footer { font-size: 13px; color: var(--muted); }
@media (min-width: 768px) { .projects, .reviews { grid-template-columns: repeat(3, 1fr); } }
.prop { display: grid; gap: 24px; border: 1px solid var(--line); background: var(--paper); padding: 24px; }
.prop__photo { aspect-ratio: 4/3; background: var(--stone); overflow: hidden; }
.prop__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.prop__text { display: grid; gap: 14px; align-content: center; }
@media (min-width: 900px) { .prop { grid-template-columns: 1fr 1fr; gap: 48px; padding: 36px; } }

/* ---- catalogue strip ---- */
.catstrip { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.catstrip__grid { display: grid; gap: 20px; }
.catstrip p { color: var(--ink-3); font-size: 15px; margin-top: 6px; }
.catform { display: grid; gap: 10px; }
.catform__row { display: grid; gap: 10px; }
.catform__row .btn { min-height: 48px; }
@media (min-width: 768px) { .catstrip__grid { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 40px; } .catform__row { grid-template-columns: 1fr 1fr auto; align-items: end; } }

/* ---- quote / contact block ---- */
.quote { background: var(--ink); color: #fff; padding: 56px 0 64px; }
.quote__grid { display: grid; gap: 32px; }
.quote__lede { color: #D8D8D2; margin: 10px 0 24px; }
.contact-dl { display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-bottom: 22px; }
.contact-dl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.contact-dl dt { color: var(--muted-light); font-size: 10px; }
.contact-dl dd { font-size: 15px; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.contact-dl a:hover { color: var(--gold); }
.quote__form { background: var(--paper); color: var(--ink); padding: 20px; }
@media (min-width: 900px) { .quote { padding: 80px 0 88px; } .quote__grid { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; } .quote__form { padding: 28px; } }

/* ---- forms ---- */
.f { display: grid; gap: 6px; }
.f label { font-size: 11px; color: var(--ink-3); }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none; }
.f textarea { min-height: 96px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
.f.has-error input, .f.has-error select, .f.has-error textarea { border-color: var(--bad); }
.f__err { color: var(--bad); font-size: 13px; }
.f__hint { color: var(--muted); font-size: 12px; }
.f--wide { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq { display: grid; gap: 16px; }
.enq__routes { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.enq__routes legend { padding: 0; margin-bottom: 8px; }
.segs { display: grid; gap: 8px; }
.seg { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s; }
.seg span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--ink); border-radius: 50%; flex: none; transition: box-shadow .15s; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:checked + span::before { border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--gold); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.enq__grid { display: grid; gap: 14px; }
.enq__product { color: var(--gold-2); }
.enq__note { color: var(--muted); font-size: 10px; text-transform: none; letter-spacing: .02em; }
@media (min-width: 560px) { .enq__grid { grid-template-columns: 1fr 1fr; } .segs { grid-template-columns: repeat(3, 1fr); } .seg span { justify-content: center; padding: 0 8px; } .seg span::before { display: none; } .segs:has(.seg:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }

/* ---- footer ---- */
.ftr { background: var(--ink); color: #D8D8D2; padding: 48px 0 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.ftr__grid { display: grid; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.ftr__brand { display: grid; gap: 10px; align-content: start; }
.ftr__brand img { width: 190px; }
.ftr__brand .mono { font-size: 11px; text-transform: none; letter-spacing: .02em; }
.ftr__col h2 { font: 600 13px/1.2 var(--body); text-transform: none; color: #fff; margin-bottom: 12px; }
.ftr__col li + li { margin-top: 8px; }
.ftr a:hover { color: var(--gold); }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 18px; color: var(--muted-light); font-size: 11px; }
.ftr__legal { display: flex; gap: 16px; }
@media (min-width: 768px) { .ftr__grid { grid-template-columns: 1.5fr repeat(var(--fcols, 3), 1fr); } }

/* ---- WhatsApp fab ---- */
.wa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 12px; background: var(--wa); color: #fff; font: 600 14px var(--body); box-shadow: 0 6px 20px -6px rgba(0,0,0,.5); transition: background .15s, transform .2s var(--ease); }
.wa-fab .ico { width: 22px; height: 22px; }
.wa-fab:hover { background: #156131; transform: translateY(-1px); }
@media (max-width: 639px) { .wa-fab span { display: none; } .wa-fab { padding: 0; width: 52px; height: 52px; justify-content: center; border-radius: 50%; right: 14px; bottom: 14px; } }

/* ---- generic page header ---- */
.pagehead { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.pagehead .h1 { font-size: clamp(36px, 6vw, 64px); margin-top: 8px; }
.pagehead p.lede { max-width: 640px; margin-top: 14px; font-size: 17px; color: var(--ink-3); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 0; }
.crumbs a:hover { color: var(--ink); }
.prose { font-size: 16px; line-height: 1.7; max-width: 72ch; }
.prose p + p, .prose ul, .prose ol, .prose h2, .prose h3 { margin-top: 16px; }
.prose h2 { font-size: 26px; } .prose h3 { font-size: 20px; }
.prose ul { list-style: disc; padding-left: 22px; } .prose ol { list-style: decimal; padding-left: 22px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; } .prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.notice { border: 1px solid var(--gold); background: var(--gold-soft); padding: 12px 14px; font-size: 14px; }

/* ---- toast ---- */
.toasts { position: fixed; left: 16px; right: 16px; bottom: 80px; z-index: 95; display: grid; gap: 8px; pointer-events: none; }
.toast { justify-self: center; background: var(--ink); color: #fff; padding: 12px 16px; font-size: 14px; max-width: 480px; border-left: 3px solid var(--gold); box-shadow: 0 8px 24px -8px rgba(0,0,0,.5); animation: toast-in .25s var(--ease) both; pointer-events: auto; }
.toast--err { border-left-color: #FF8A80; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }






/* product cards never widen the grid: a narrow column wraps its button text instead of pushing the page sideways */
.pcard { min-width: 0; }
.pcard__btns .btn { white-space: normal; text-align: center; line-height: 1.2; padding: 8px 12px; }
@media (max-width: 479px) { .pcard__btns { grid-template-columns: 1fr; } .pcard__btns .btn { width: 100%; min-height: 42px; font-size: 12px; } }

/* gold as TEXT on light paper uses the deeper shade (4.5:1 contrast, WCAG AA); gold as a surface or accent stays bright */
.eyebrow--gold, .pcard__price--quote, .hdr__item > a.is-current { color: var(--gold-text); }
:is(.hero, .quote, .ftr, .topbar, .bulkbox) .eyebrow--gold { color: var(--gold); }   /* on charcoal the bright gold is the readable one (7:1) */
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; } }   /* a long label wraps on a narrow phone instead of widening the page */


/* ---- quote band: what happens after the enquiry (fills the left column beside the form) ---- */
.qnext { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; gap: 20px; }
.qnext__label { font-size: 10px; letter-spacing: .14em; color: var(--gold); }
.qnext__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.qnext__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.qnext__n { font-family: var(--head); font-size: 26px; line-height: 1; color: var(--gold); }
.qnext__steps strong { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .02em; font-size: 17px; color: #fff; font-weight: 600; }
.qnext__steps p { margin: 4px 0 0; color: #C9C9C3; font-size: 14px; line-height: 1.55; }
.qnext__facts { list-style: none; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.qnext__facts li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #E4E4DE; }
.qnext__facts .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold); }
@media (max-width: 479px) { .qnext__facts { grid-template-columns: 1fr; } }
/* a half-width field left alone in its row (the route decides which fields show) takes the full row */
.f--fill { grid-column: 1 / -1; }
/* header on small laptops (1024–1199): every menu label on one line, a little less air between them */
.hdr__item > a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) { .hdr__item > a { padding: 0 11px; font-size: 13px; letter-spacing: .04em; } .hdr__cta { padding-left: 14px; padding-right: 14px; } }
/* the floating WhatsApp button rests below the footer's last line, never over the credit */
.ftr__bottom { padding-bottom: 76px; }
@media (max-width: 639px) { .ftr__bottom { padding-bottom: 80px; } }

/* ==========================================================================
   1.0.2 homepage: premium hero, product rails, product spotlight
   ========================================================================== */
/* hero: warm gold glow and a faint drafting grid behind the words; gold corner on the photo; a bestseller card on it */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(48% 70% at 88% 8%, rgba(194, 166, 102, .20), transparent 62%), radial-gradient(40% 50% at 0% 100%, rgba(194, 166, 102, .08), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 72px 72px; -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%); mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%); }
.hero__photo { position: relative; }
.hero__photo::before { content: ""; position: absolute; top: 12px; left: 12px; width: 46px; height: 46px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); z-index: 2; pointer-events: none; }
.hero__groups { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.hero__groups .mono { flex-basis: 100%; font-size: 10px; letter-spacing: .12em; color: var(--muted-light); margin-bottom: 2px; }
.hero__groups a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-dark); font-size: 13px; font-weight: 500; color: #fff; transition: border-color .15s, color .15s; }
.hero__groups a:hover { border-color: var(--gold); color: var(--gold); }
.hero__pick { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; background: var(--ink-2); border-top: 1px solid var(--line-dark); border-left: 3px solid var(--gold); color: #fff; transition: border-color .15s; }
.hero__pick:hover { border-left-color: #fff; }
.hero__pick-img { width: 64px; height: 64px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.hero__pick-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.hero__pick-body { display: grid; gap: 1px; min-width: 0; }
.hero__pick-tag { font-size: 10px; letter-spacing: .1em; color: var(--gold); }
.hero__pick-name { font-size: 14px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__pick-price { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.hero__pick-go { width: 18px; height: 18px; color: var(--gold); transition: transform .2s var(--ease); }
.hero__pick:hover .hero__pick-go { transform: translateX(3px); }
/* phone: the bestseller card sits under the photo; wider screens: it floats on the photo's lower-left corner */
.hero__photo.has-pick { display: block; aspect-ratio: auto; }
.hero__photo.has-pick > img, .hero__photo.has-pick > .hero__photo-empty { display: block; aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; }
.hero__photo.has-pick > .hero__photo-empty { display: grid; place-items: center; }
@media (min-width: 560px) {
    .hero__pick { position: absolute; left: 14px; bottom: 14px; max-width: min(360px, calc(100% - 28px)); background: rgba(28, 29, 32, .93); border: 1px solid var(--line-dark); border-left: 3px solid var(--gold); z-index: 2; }
    .hero__groups .mono { flex-basis: auto; margin: 0 6px 0 0; }
}

/* product rails: tabs, then a row of whole cards (2 x 2 on a phone, 3 on a tablet, 4 on a laptop) */
.rails__count { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; margin-left: 4px; background: var(--ink); color: #fff; font-size: 11px; font-style: normal; }
.rails__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -4px 0 22px; padding-bottom: 2px; }
.rails__tabs::-webkit-scrollbar { display: none; }
.rails__tab { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-3); font: 600 14px/1 var(--head); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.rails__tab:hover { border-color: var(--ink); color: var(--ink); }
.rails__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
.rails__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rail + .rail { margin-top: 44px; }
.rail__title { margin-bottom: 14px; }
.rails.is-live .rail + .rail { margin-top: 0; }
.rails.is-live .rail__title { display: none; }
.rail__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__viewport::-webkit-scrollbar { display: none; }
.rail__viewport:focus { outline: none; }
.rail__track { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
.rail__track > * { min-width: 0; }
.rail__track > :nth-child(4n+1) { scroll-snap-align: start; }
.rail__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 18px; }
.rail__more { order: 3; }
.rail__dots { display: none; gap: 6px; align-items: center; margin-right: auto; }
.rail__dot { display: block; width: 16px; height: 3px; background: var(--line); transition: width .2s var(--ease), background .2s; }
.rail__dot.is-on { width: 30px; background: var(--ink); }
.rail__arrows { display: none; gap: 6px; margin-left: auto; }
.rail__arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.rail__arrow:hover:not(:disabled) { background: var(--ink); color: #fff; }
.rail__arrow:disabled { opacity: .3; cursor: default; }
.rail__arrow svg { width: 18px; height: 18px; }
.rails.is-live .rail__dots, .rails.is-live .rail__arrows { display: flex; }
.rails.is-live .rail.is-single .rail__dots, .rails.is-live .rail.is-single .rail__arrows { display: none; }
@media (max-width: 639px) { .rail__more { flex-basis: 100%; } }
@media (min-width: 640px) {
    .rail__track { grid-template-rows: none; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; }
    .rail__track > * { scroll-snap-align: start; }
    .rail__more { order: 0; margin-right: auto; }
    .rail__dots { margin-right: 0; }
    .rail__arrows { margin-left: 0; }
}
@media (min-width: 1024px) { .rail__track { grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; } }

/* product spotlight: one product large on charcoal, three more beside it */
.spot { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding: 56px 0; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 64% at 18% 34%, rgba(194, 166, 102, .17), transparent 70%); }
.spot__grid { display: grid; gap: 28px; }
.spot__photo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line-dark); overflow: hidden; }
.spot__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .45s var(--ease); }
.spot__photo:hover img { transform: scale(1.04); }
.spot__photo::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); pointer-events: none; }
.spot__tag { position: absolute; top: 14px; left: 14px; padding: 6px 10px; background: var(--ink); color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.spot__text { display: grid; gap: 16px; align-content: center; }
.spot .eyebrow--gold { color: var(--gold); }
.spot__name { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; }
.spot__name a:hover { color: var(--gold); }
.spot__lede { color: #D8D8D2; font-size: 16px; line-height: 1.6; max-width: 54ch; margin: 0; }
.spot__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); margin: 0; }
.spot__facts > div { padding: 12px 14px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); min-width: 0; }
.spot__facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.spot__facts dt { color: var(--muted-light); font-size: 10px; letter-spacing: .08em; }
.spot__facts dd { margin: 2px 0 0; font-family: var(--head); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.spot__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.spot__price { margin: 0; font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1; }
.spot__price small { font-weight: 400; font-size: 11px; color: var(--muted-light); margin-left: 6px; letter-spacing: .04em; }
.spot__price--quote { font-size: 20px; letter-spacing: .06em; color: var(--gold); }
.spot__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.spot__more { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.spot__more-label { color: var(--muted-light); font-size: 11px; letter-spacing: .1em; margin: 0 0 12px; }
.spot__minis { display: grid; gap: 10px; }
.spotmini { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); color: #fff; transition: border-color .15s; }
.spotmini:hover { border-color: var(--gold); }
.spotmini__img { width: 64px; height: 64px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.spotmini__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.spotmini__body { display: grid; gap: 4px; min-width: 0; }
.spotmini__name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spotmini__price { font-size: 12px; color: var(--gold); }
.spotmini__go { width: 18px; height: 18px; color: var(--gold); transition: transform .2s var(--ease); }
.spotmini:hover .spotmini__go { transform: translateX(3px); }
@media (max-width: 479px) { .spot__btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; } .spot__price:not(.spot__price--quote) { font-size: 34px; } }
@media (min-width: 768px) { .spot__minis { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); } }
@media (min-width: 900px) {
    .spot { padding: 80px 0; }
    .spot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px 56px; align-items: center; }
    .spot__photo { aspect-ratio: 1 / 1; }
    .spot__more { grid-column: 1 / -1; }
}

/* ---- 1.0.3: the proprietor (About + homepage "Meet the founder") ---- */
.founder { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0; background: var(--stone); }
.founder__grid { display: grid; gap: 44px; align-items: center; }
.founder__photo { position: relative; width: calc(100% - 16px); max-width: 440px; margin: 0 16px 16px 0; justify-self: center; }
.founder__photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; border: 1.5px solid var(--gold); pointer-events: none; }
.founder__photo::after { content: ""; position: absolute; top: -10px; left: -10px; width: 58px; height: 58px; border-top: 3px solid var(--ink); border-left: 3px solid var(--ink); pointer-events: none; }
.founder__frame { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone-2); }
.founder__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .9s var(--ease); }
.founder__photo:hover .founder__frame img { transform: scale(1.03); }
.founder__mono { display: grid; place-items: center; height: 100%; font-family: var(--head); font-weight: 700; font-size: 120px; color: var(--gold); }
.founder__tag { position: absolute; left: 0; bottom: 20px; max-width: calc(100% - 24px); padding: 9px 14px; background: var(--ink); color: var(--gold); font-size: 10.5px; letter-spacing: .12em; line-height: 1.4; }
.founder__text { display: grid; gap: 18px; align-content: center; min-width: 0; }
.founder__eyebrow { color: var(--gold-text); }
.founder__name { font-size: clamp(46px, 8vw, 88px); line-height: .94; overflow-wrap: anywhere; }
.founder__role { margin: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.founder__bio { display: grid; gap: 14px; max-width: 62ch; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.founder__bio p:first-child::first-letter { float: left; margin: 6px 7px 0 0; font-family: var(--head); font-weight: 700; font-size: 66px; line-height: .78; color: var(--gold-text); }
.founder__quote { position: relative; margin: 10px 0 0; padding: 68px 0 0; border-top: 2px solid var(--ink); }
.founder__quote::before { content: "\201C"; position: absolute; top: 14px; left: -4px; height: 46px; overflow: hidden; font-family: Georgia, "Times New Roman", serif; font-size: 92px; line-height: .92; color: var(--gold); }
.founder__quote p { max-width: 24ch; font-family: var(--head); font-weight: 600; font-size: clamp(25px, 3.3vw, 38px); line-height: 1.12; text-transform: uppercase; letter-spacing: .01em; }
.founder__quote footer { margin-top: 14px; color: var(--muted); }
.founder__quote footer::before { content: "\2014\00a0"; }
.founder__points { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.founder__points li { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); font-size: 14px; line-height: 1.45; font-weight: 500; }
.founder__points li::before { content: ""; display: block; width: 20px; height: 2px; margin-bottom: 10px; background: var(--gold); }
@media (min-width: 640px) { .founder__points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
    .founder { padding: 104px 0; }
    .founder__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
    .founder__photo { justify-self: start; }
}
/* homepage: dark band, the quote leads */
.founder--home { background: var(--ink); color: #fff; }
.founder--home::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(42% 60% at 22% 40%, rgba(194, 166, 102, .2), transparent 72%), radial-gradient(30% 40% at 92% 90%, rgba(194, 166, 102, .08), transparent 70%); }
.founder--home .founder__photo { max-width: 380px; }
.founder--home .founder__photo::after { border-color: var(--gold); }
.founder--home .founder__frame { background: var(--ink-2); }
.founder--home .founder__tag { background: var(--gold); color: var(--ink); }
.founder--home .founder__eyebrow { color: var(--gold); }
.founder__quote--lead { margin: 0; padding: 56px 0 0; border-top: 0; }
.founder__quote--lead::before { top: 0; height: 52px; font-size: 104px; }
.founder__quote--lead p { max-width: 17ch; font-size: clamp(30px, 4.8vw, 60px); line-height: 1.04; color: #fff; }
.founder__quote--lead p::after { content: "\201D"; color: var(--gold); }
.founder__sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.founder__name--sm { font-size: 28px; line-height: 1.1; color: var(--gold); }
.founder--home .founder__role { padding: 0; border: 0; color: var(--muted-light); }
.founder__lede { max-width: 60ch; font-size: 16px; line-height: 1.7; color: #D8D8D2; }
.founder__btn { justify-self: start; }
.founder__btn .ico { width: 18px; height: 18px; }

/* ---- 1.0.3: partner construction firm + project photos ---- */
.partner__head { display: grid; gap: 20px; padding-bottom: 28px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); }
.partner__name { font-size: clamp(36px, 5.4vw, 64px); margin-top: 10px; }
.partner__role { margin-top: 12px; color: var(--muted); }
.partner__body { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 900px) { .partner__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; } }
.works__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.works__count { color: var(--muted); }
.works__all { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--ink); font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; transition: background .18s, color .18s; }
.works__all .mono { font-size: 11px; }
.works__all:hover, .works__all.is-on { background: var(--ink); color: #fff; }
.works__kinds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 78%); gap: 12px; margin-bottom: 22px; padding-bottom: 8px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.work { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 16px; text-align: left; background: var(--paper); border: 1.5px solid var(--line); scroll-snap-align: start; transition: border-color .2s, background .2s, color .2s; }
.work:hover { border-color: var(--gold); }
.work[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.work__n { color: var(--gold-text); }
.work[aria-pressed="true"] .work__n { color: var(--gold); }
.work__title { font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.1; text-transform: uppercase; }
.work__text { font-size: 13px; line-height: 1.55; color: var(--muted); }
.work[aria-pressed="true"] .work__text, .work[aria-pressed="true"] .work__meta { color: #D8D8D2; }
.work__meta { color: var(--muted); font-size: 11px; }
.work:focus-visible, .works__all:focus-visible, .gallery__link:focus-visible, .bento__tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (min-width: 900px) { .works__kinds { grid-auto-columns: minmax(0, 1fr); overflow: visible; padding-bottom: 0; } }
/* justified rows: every row is filled edge to edge whatever the photo shapes (--r = width / height of the photo) */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; --row: 150px; }
.gallery__item { flex: calc(var(--r, 1.33) * 100) 1 calc(var(--r, 1.33) * var(--row)); height: var(--row); min-width: 0; }
.gallery__link { position: relative; display: block; height: 100%; overflow: hidden; background: var(--stone); border: 1px solid var(--line); transition: border-color .2s; }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__link:hover { border-color: var(--gold); }
.gallery__link:hover img, .gallery__link:focus-visible img { transform: scale(1.045); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 30px 12px 10px; background: linear-gradient(rgba(28, 29, 32, 0), rgba(28, 29, 32, .88)); color: #fff; font-size: 12.5px; line-height: 1.35; }
.gallery__cap .mono { color: var(--gold); font-size: 10px; }
@media (max-width: 767px) {
    /* small tiles: one line of caption; the full caption shows in the photo viewer */
    .gallery__cap { padding: 22px 10px 8px; font-size: 12px; }
    .gallery__cap .mono { display: none; }
    .gallery__cap, .gallery__cap * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 768px) { .gallery { gap: 14px; --row: 230px; } .gallery__cap { font-size: 13.5px; } }
@media (min-width: 1200px) { .gallery { --row: 260px; } }
@media (hover: hover) and (min-width: 768px) {
    .gallery__cap { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
    .gallery__link:hover .gallery__cap, .gallery__link:focus-visible .gallery__cap { opacity: 1; transform: none; }
}
/* homepage "Work on the ground" */
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.work__head .h2 { margin-top: 10px; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bento__tile { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--stone); border: 1px solid var(--line); transition: border-color .2s; }
.bento__tile--big { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.bento__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__tile:hover { border-color: var(--gold); }
.bento__tile:hover img, .bento__tile:focus-visible img { transform: scale(1.05); }
.bento__label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 10px; padding: 40px 12px 12px; background: linear-gradient(rgba(28, 29, 32, 0), rgba(28, 29, 32, .88)); color: #fff; }
.bento__n { color: var(--gold); font-size: 11px; }
.bento__kind { font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.1; text-transform: uppercase; }
.bento:not(.bento--n5) { grid-template-columns: minmax(0, 1fr); }
.bento:not(.bento--n5) .bento__tile { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
    .bento { gap: 14px; }
    .bento--n5 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, 260px); }
    .bento--n5 .bento__tile { aspect-ratio: auto; }
    .bento--n5 .bento__tile--big { grid-column: auto; grid-row: span 2; }
    .bento--n5 .bento__tile--big .bento__kind { font-size: 26px; }
    .bento--n5 .bento__tile--big .bento__label { padding: 60px 22px 20px; }
    .bento:not(.bento--n5) { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
/* photo viewer */
.lb { position: fixed; inset: 0; z-index: 900; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: auto minmax(0, 1fr); align-items: center; background: rgba(14, 15, 17, .96); color: #fff; animation: lb-in .25s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb__top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.lb__count { color: var(--muted-light); }
.lb__close, .lb__nav { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; background: rgba(28, 29, 32, .6); transition: border-color .2s, color .2s; }
.lb__close:hover, .lb__nav:hover { border-color: var(--gold); color: var(--gold); }
.lb__close:focus-visible, .lb__nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lb__nav { justify-self: center; }
.lb__fig { display: grid; align-content: center; justify-items: center; gap: 14px; min-height: 0; height: 100%; margin: 0; padding: 0 0 20px; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; }
.lb__cap { display: grid; gap: 5px; max-width: 64ch; padding: 0 8px; text-align: center; font-size: 14.5px; line-height: 1.45; color: #E9E9E4; }
.lb__cap .mono { color: var(--gold); font-size: 10.5px; }
@media (max-width: 699px) {
    .lb { grid-template-columns: minmax(0, 1fr); }
    .lb__fig { padding: 0 12px 86px; }
    .lb__nav { position: absolute; bottom: 20px; }
    .lb__nav--prev { left: 16px; }
    .lb__nav--next { right: 16px; }
}
