/* ==========================================================================
   Sailing International Trade — site styles
   Clean, business-professional look inspired by saand.ca:
   full-bleed photography, uppercase headings, white / light-grey sections,
   black footer, one accent colour (Sailing purple).
   ========================================================================== */

:root {
  /* palette: Rebecca Purple 5A3A8A, Dark Amethyst 3F2A63, Lavender Mist EDE7F3,
     Bright Snow F8F7F4, Soft Fawn C9A56A, Shadow Grey 25232A */
  --brand: #5A3A8A;      /* Rebecca Purple (main) */
  --brand-dark: #3F2A63; /* Dark Amethyst: hover / pressed, dark purple areas */
  --brand-2: #8C74B0;    /* light purple, for accents that are not small text */
  --brand-tint: #EDE7F3; /* Lavender Mist */
  --brand-tint-2: #D9CDE8;
  --accent: #C9A56A;     /* Soft Fawn: gold accent for lines, dots and highlights (not for text on white) */
  --ink: #25232A;        /* Shadow Grey */
  --text: #25232A;
  --muted: #5E5A66;
  --soft: #6A6672;
  --gray: #F8F7F4;       /* Bright Snow: light section background */
  --gray-2: #FBFAF8;
  --line: #E3DED6;
  --dark: #25232A;
  --white: #FFFFFF;

  --font-head: "Poppins", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --header-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .35);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.15; font-weight: 600; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
@media (min-width: 900px) { .container { width: min(100% - 80px, var(--container)); } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 300; padding: 10px 16px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- buttons (pill, as on saand.ca) ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 30px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  border: 1.5px solid transparent; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--brand); }
.btn-white:hover { background: var(--brand); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-brand[aria-pressed="true"] { background: var(--brand-tint); color: var(--brand-dark); border-color: var(--brand-tint-2); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
/* a white bar on every page, so the menu and the logo are always easy to see */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); color: var(--ink); background: var(--white); box-shadow: 0 1px 0 rgba(37, 35, 42, .08); transition: box-shadow .35s; }
.site-header.solid { box-shadow: 0 1px 0 rgba(37, 35, 42, .06), 0 6px 22px rgba(37, 35, 42, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.brand .logo { height: 44px; width: auto; }   /* the mark + SAILING in Sailing purple, made by _src/make_logo.py */
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-parent { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-family: var(--font-head); font-size: 15px; font-weight: 400; color: #4A4552; white-space: nowrap; transition: color .2s; }
.nav > a:hover, .nav-parent:hover, .nav-group:focus-within .nav-parent, .nav > a[aria-current], .nav-parent.current { color: var(--brand); }
.nav > a[aria-current]::after, .nav-parent.current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); }
.nav-parent svg { width: 16px; height: 16px; transition: transform .25s; }
.nav-group { position: relative; }
.nav-menu { position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px; background: var(--white); color: var(--ink); border-radius: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .2s, translate .2s, visibility 0s .2s; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .2s, translate .2s; }
.nav-group:hover .nav-parent svg, .nav-group.open .nav-parent svg { transform: rotate(180deg); }
.nav-menu a { display: block; padding: 10px 14px; border-radius: 4px; font-family: var(--font-head); font-size: 15px; }
.nav-menu a:hover, .nav-menu a[aria-current] { background: var(--gray); color: var(--brand); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(37, 35, 42, .16); }
.lang button { min-width: 38px; height: 30px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #5A5662; white-space: nowrap; }
.lang button:hover { color: var(--brand); }
@media (pointer: coarse) { .lang button { height: 36px; } }
.lang button[aria-pressed="true"] { background: var(--brand); color: var(--white); }
.quote-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(37, 35, 42, .16); color: var(--ink); }
.quote-btn:hover { color: var(--brand); border-color: var(--brand); }
.quote-btn svg { width: 20px; height: 20px; }
.quote-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--white); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.quote-btn .count[data-zero] { display: none; }
.quote-btn.bump .count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { scale: 1.35; } }
.menu-btn { display: none; width: 42px; height: 42px; place-items: center; align-content: center; gap: 6px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; align-content: start; gap: 2px; padding: 12px 20px 24px; background: var(--white); color: var(--ink); border-top: 1px solid var(--line); opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .25s, translate .25s, visibility 0s .25s; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav.open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .25s, translate .25s; }
.mobile-nav a:not(.btn) { padding: 12px 4px; font-family: var(--font-head); font-size: 17px; border-bottom: 1px solid rgba(37, 35, 42, .08); }
.mobile-nav a.sub { max-width: none; margin: 0; padding-left: 20px; font-size: 16px; color: #4A4552; }   /* not the centred .sub subtitle style */
.mobile-nav a[aria-current] { color: var(--brand); }
.mobile-label { padding: 14px 4px 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(37, 35, 42, .5); }
.mobile-nav .btn { margin-top: 16px; }
@media (max-width: 1220px) { .nav { display: none; } .menu-btn { display: grid; } }   /* five language buttons need the room */
.mobile-nav .lang-menu { flex-wrap: wrap; justify-self: start; gap: 4px; margin-top: 16px; border-radius: 22px; }
.mobile-nav .lang-menu button { height: 36px; padding: 0 14px; font-size: 14px; }
@media (min-width: 601px) { .mobile-nav .lang-menu { display: none; } }
@media (max-width: 600px) { .hide-sm { display: none !important; } .header-tools > .lang { display: none; } .brand .logo { height: 32px; } .header-tools { gap: 8px; } }
@media (min-width: 1221px) { .mobile-nav { display: none; } }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; isolation: isolate; display: grid; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.hero { min-height: max(640px, 100vh); text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .6) 100%); }
.hero-inner { padding: calc(var(--header-h) + 40px) 0 80px; display: grid; justify-items: center; gap: 22px; }
.hero-kicker { font-family: var(--font-head); font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: #D9BE8C; } /* light Soft Fawn, readable on the dark photos */
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 600; letter-spacing: .01em; text-transform: uppercase; line-height: 1.08; max-width: 16ch; text-wrap: balance; }
.hero p { max-width: 640px; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.page-hero { min-height: 52vh; padding: calc(var(--header-h) + 48px) 0 64px; text-align: center; }
.page-hero .container { display: grid; justify-items: center; gap: 16px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.page-hero p { max-width: 1120px; color: rgba(255, 255, 255, .88); font-size: 1.08rem; text-wrap: balance; }   /* one line on computers; balanced lines when it must wrap */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.crumbs a:hover { color: var(--white); }
@media (max-width: 760px) { .crumbs { align-items: center; } .crumbs a { display: inline-block; padding: 8px 0; margin: -8px 0; } }   /* phones: a bigger tap area without moving the breadcrumb */
:lang(zh) .hero h1, :lang(zh) .page-hero h1 { letter-spacing: .06em; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-gray { background: var(--gray); }
.h-up { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
:lang(zh) .h-up { letter-spacing: .08em; }
.sub { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: 1.05rem; }
.lead-strong { margin: 22px auto 0; max-width: 720px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.values-motto { margin-top: 18px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; font-style: italic; color: var(--brand); }
.values-motto:empty { display: none; }
html[lang^="zh"] .values-motto { font-style: normal; letter-spacing: .04em; }

/* page content fades in once it has loaded */
.js:not(.ready) main { opacity: 0; }
/* product pages without JavaScript: every product as plain text (written by _src/build.py, replaced by the product tabs) */
.ex-static { display: grid; gap: 28px; max-width: 860px; }
.ex-static > h2 { margin: 16px 0 0; }
.ex-static-item h2, .ex-static-item h3 { margin: 0 0 6px; }
.ex-static-item p { margin: 0 0 8px; }
/* the showroom opens straight on its photo (dark behind it, never white): its words appear once loaded */
body[data-page="showroom"] { background: var(--dark); }
.js:not(.ready) body[data-page="showroom"] main { opacity: 1; }
.js:not(.ready) body[data-page="showroom"] .sr-top, .js:not(.ready) body[data-page="showroom"] .sr-bar { opacity: 0; }
html.arrive.ready body[data-page="showroom"] main { animation: none; }
/* arriving from the home page warehouse tour (see site.js) */
html.arrive.ready main { animation: arrive-in .8s cubic-bezier(.2, .7, .2, 1) both; }
html.arrive .ex-stage > img:not(.ex-fill) { animation: arrive-zoom 1.3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes arrive-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes arrive-zoom { from { transform: scale(1.14); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html.arrive.ready main, html.arrive .ex-stage > img { animation: none; } }

.noscript { padding: 140px 20px 60px; text-align: center; }

/* reveal on scroll */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* pillars: three (or four) centred columns, as in saand's core values */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; text-align: center; }
.pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar h3 { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.pillar p { margin-top: 14px; color: #3F3B46; font-size: 15px; }
.pillar .num { display: block; margin-bottom: 14px; font-family: var(--font-head); font-size: 14px; letter-spacing: .2em; color: var(--brand); }
@media (max-width: 960px) { .pillars, .pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars, .pillars-4 { grid-template-columns: 1fr; gap: 32px; } }

/* product category cards */
.cat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.cat-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s, transform .35s var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.cat-card h3 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; }
.cat-card p { color: var(--muted); font-size: 15px; }
.cat-card .more { margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-weight: 500; color: var(--brand); }
@media (max-width: 900px) { .cat-cards { grid-template-columns: 1fr; } }

/* saand-style product word list */
/* every product as a pill link: names never break in the middle, easy to tap */
.word-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 56px auto 0; max-width: 1080px; font-family: var(--font-head); }
.word-list a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--ink); font-size: 15px; white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s; }
.word-list a:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-tint, #F4EFF9); }
@media (max-width: 600px) { .word-list { gap: 8px; margin-top: 40px; } .word-list a { padding: 8px 14px; font-size: 14px; } }

/* split rows (photo half / text half), as on bgglass.ca */
.split-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.split-row .split-media { position: relative; min-height: 320px; }
.split-row .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(40px, 7vw, 100px); }
.split-text p { color: #3F3B46; font-size: 16.5px; max-width: 52ch; }
.split-text .btn { align-self: flex-start; margin-top: 8px; }
.split-row.dark { background: var(--dark); color: var(--white); }
.split-row.dark .h-up { color: var(--white); }
.split-row.dark p { color: rgba(255, 255, 255, .78); }
.split-row.dark .btn-outline { border-color: var(--white); color: var(--white); }
.split-row.dark .btn-outline:hover { background: var(--white); color: var(--ink); }
.split-row.flip .split-media { order: 2; }
@media (max-width: 860px) { .split-row { grid-template-columns: 1fr; } .split-row.flip .split-media { order: 0; } }
.stat-row { display: flex; gap: 48px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.stat-row div { display: grid; }
.stat-row strong { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: var(--brand); line-height: 1.1; }
.stat-row span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* location */
.location { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; margin-top: 56px; align-items: stretch; }
.loc-info { display: grid; align-content: center; gap: 18px; text-align: left; }
.loc-info h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; }
.loc-info p, .loc-info a { color: #3F3B46; }
.loc-info a:hover { color: var(--brand); }
.map-frame { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; background: #DDE3EA; border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.cta-inner p { margin-top: 10px; color: rgba(255, 255, 255, .75); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- product explorer (tabs that switch photo, description, specs) ---------- */
.explorer-sec { background: var(--gray-2); }
.explorer { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; }
.ex-tabs { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); scrollbar-width: thin; }
.ex-group { padding: 14px 10px 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.ex-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 4px; text-align: left; font-size: 14.5px; font-weight: 500; color: #3F3B46; border-left: 3px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.ex-tab img { width: 44px; height: 44px; flex: none; border-radius: 3px; object-fit: cover; background: var(--gray); }
.ex-tab:hover { background: var(--gray-2); color: var(--ink); }
.ex-tab:focus-visible { outline-offset: -2px; }
.ex-tab[aria-selected="true"] { background: var(--brand-tint); color: var(--brand-dark); border-left-color: var(--brand); }
.ex-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); animation: fade .45s var(--ease) both; }
@keyframes fade { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.ex-media { display: grid; gap: 12px; align-content: start; }
@media (min-width: 821px) { .ex-media { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.ex-stage { position: relative; aspect-ratio: 1 / 1; background: var(--gray); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.ex-stage > img { width: 100%; height: 100%; object-fit: cover; }
/* photos: the whole picture is always visible (portrait, landscape or square), centred in the same frame;
   a blurred, slightly enlarged copy of the photo fills the space around it so every frame looks finished */
.ex-stage.photo { isolation: isolate; }
.ex-stage.photo > .ex-fill { position: absolute; inset: 0; z-index: -1; transform: scale(1.18); filter: blur(28px) saturate(1.05) brightness(1.04); opacity: .9; }
.ex-stage.photo > .ex-photo { position: absolute; inset: 0; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .14)); }
.ex-stage .illo { width: 92%; height: auto; }
.ex-stage.diagram { background: #F1F5FA; }
.ex-caption { font-size: 13px; color: var(--muted); min-height: 1.4em; }
.ex-caption a { text-decoration: underline; }
.ex-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-thumb { position: relative; width: 70px; height: 70px; border-radius: 3px; overflow: hidden; background: var(--gray); border: 2px solid transparent; }
.ex-thumb img, .ex-thumb .illo { width: 100%; height: 100%; object-fit: cover; }
.ex-thumb[aria-pressed="true"] { border-color: var(--brand); }
.ex-thumb .lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 0; font-size: 9.5px; font-weight: 700; text-transform: uppercase; text-align: center; color: var(--white); background: rgba(0, 0, 0, .6); }
.ex-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ex-cat { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.ex-info h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.ex-short { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.ex-desc { color: #3F3B46; }
.ex-guide { margin: 12px 0 0; }
.ex-guide a { color: var(--brand); font-weight: 600; }
.ex-guide a:hover { color: var(--brand-dark); text-decoration: underline; }
.ex-info h3 { margin-top: 6px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 11px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; padding-right: 16px; font-weight: 500; color: var(--muted); }
.spec-table td { white-space: pre-line; } /* a value can list items one per line (e.g. regular sizes) */
.spec-note { font-size: 12.5px; color: var(--soft); }
.check-list { list-style: none; display: grid; gap: 6px; }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--brand-2); border-bottom: 2px solid var(--brand); rotate: -45deg; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span, .chips a { padding: 5px 12px; border-radius: 999px; background: var(--gray-2); border: 1px solid var(--line); font-size: 13px; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.ex-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 1100px) {
  .explorer { grid-template-columns: 1fr; }
  .ex-tabs { position: static; max-height: none; display: flex; overflow-x: auto; padding: 8px; scroll-snap-type: x proximity; }
  .ex-group { flex: none; align-self: center; padding: 0 8px; writing-mode: horizontal-tb; }
  .ex-tab { flex: none; width: auto; border-left: 0; border-bottom: 3px solid transparent; scroll-snap-align: start; }
  .ex-tab[aria-selected="true"] { border-bottom-color: var(--brand); }
}
@media (max-width: 820px) { .ex-panel { grid-template-columns: 1fr; padding: 20px; gap: 24px; } .ex-stage { aspect-ratio: 4 / 3; } }

/* ---------- about ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service .num { font-family: var(--font-head); font-size: 14px; letter-spacing: .2em; color: var(--brand); }
.service h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.service p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* About: market presence with the 3D globe (assets/js/globe.js) */
.market { position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(70% 90% at 78% 45%, #5A3A8A 0%, #3F2A63 48%, #25232A 100%); }
.market::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.market-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "copy globe" "list globe";
  column-gap: clamp(28px, 4vw, 64px); align-content: center; }
.market-copy { grid-area: copy; align-self: end; }
.market-list { grid-area: list; align-self: start; }
.globe-wrap { grid-area: globe; align-self: center; }
.market-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #E2D8EF; }
.market-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.market .h-up { color: var(--white); }
.market-text { margin-top: 16px; max-width: 470px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .76); }
.market-stats { display: flex; gap: 44px; margin: 30px 0 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.market-stats div { display: grid; gap: 6px; align-content: start; }
.market-stats strong { font-family: var(--font-head); font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 600; line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 10%, #D9CDE8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.market-stats span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.market-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 480px; }
.market-list button { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  color: var(--white); font-family: var(--font-head); font-size: 14px; font-weight: 500; text-align: left; transition: background .2s, border-color .2s, transform .2s; }
.market-list button:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.market-list button[aria-pressed="true"] { background: rgba(201, 165, 106, .16); border-color: rgba(201, 165, 106, .75); }
.market-list button i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #EDE7F3; box-shadow: 0 0 0 4px rgba(237, 231, 243, .14); }
.market-list button.hub i { background: var(--accent); box-shadow: 0 0 0 4px rgba(201, 165, 106, .25); }
.market-list button span { display: grid; gap: 2px; }
.market-list small { font-family: var(--font-body, inherit); font-size: 11.5px; font-weight: 400; color: rgba(255, 255, 255, .6); }
.market-list .hub { grid-column: 1 / -1; }
.globe-wrap { position: relative; width: 100%; max-width: 660px; aspect-ratio: 1; justify-self: center; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.globe-wrap.dragging { cursor: grabbing; }
.globe-wrap canvas { display: block; width: 100%; height: 100%; }
.globe-labels { position: absolute; inset: 0; pointer-events: none; }
.globe-labels span { position: absolute; left: 0; top: 0; padding: 4px 10px; border-radius: 999px; white-space: nowrap; opacity: 0;
  font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--white);
  background: rgba(37, 35, 42, .62); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.globe-labels span.hub { border-color: rgba(201, 165, 106, .8); }
.globe-labels span.on { background: rgba(201, 165, 106, .95); border-color: var(--accent); color: var(--ink); }
.globe-hint { position: absolute; left: 0; right: 0; bottom: 2%; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .5); pointer-events: none; }
@media (max-width: 900px) {
  .market-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "globe" "list"; }
  .market-stats { margin-bottom: 4px; }
  .globe-wrap { max-width: 520px; margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .market-stats { gap: 32px; }
  .market-list button { font-size: 13px; padding: 9px 10px; }
  .globe-labels span { font-size: 11px; padding: 3px 8px; }
}
.photo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.photo-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 28px; color: var(--white); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.photo-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, .82)); }
.photo-card h3, .photo-card p { text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.photo-card:hover img { transform: scale(1.05); }
.photo-card h3 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; }
.photo-card p { margin-top: 6px; color: rgba(255, 255, 255, .85); }
.photo-card:only-child { grid-column: 1 / -1; min-height: 420px; }   /* a single card (About: "Who we serve" is Commercial only) spans the row as a wide banner */
@media (max-width: 900px) { .photo-cards { grid-template-columns: 1fr; } .photo-card, .photo-card:only-child { min-height: 280px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: stretch; }
.contact-side { display: flex; flex-direction: column; gap: 12px; }
.contact-side .map-frame { flex: 1 1 320px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background-color .2s; }
a.info-card:hover { border-color: var(--brand); background: var(--brand-tint); }
.info-card .ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gray); color: var(--brand); }
.info-card .ic svg { width: 20px; height: 20px; }
.info-card small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.info-card b { display: block; font-weight: 500; overflow-wrap: anywhere; }
.contact-side .map-frame { min-height: 300px; margin-top: 4px; }
.quote-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); background: var(--gray-2); border: 1px solid var(--line); border-radius: var(--radius); }
.quote-form .h-up { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-intro { color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field em { color: #C5221F; font-style: normal; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #C9CCD1; border-radius: var(--radius); background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(90, 58, 138, .16); }
.field.invalid input { border-color: #D93025; box-shadow: 0 0 0 3px rgba(217, 48, 37, .12); }
.picked { display: flex; flex-wrap: wrap; gap: 8px; min-height: 50px; align-items: center; padding: 8px; border: 1px dashed #C9CCD1; border-radius: var(--radius); background: var(--white); }
.picked .none { padding: 0 6px; font-size: 14px; color: var(--muted); }
.pick { display: inline-flex; align-items: center; gap: 8px; padding: 3px 4px 3px 3px; border-radius: 999px; background: var(--gray-2); border: 1px solid var(--line); font-size: 13.5px; }
.pick img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pick button { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.pick button:hover { background: var(--gray); color: var(--ink); }
.pick svg { width: 13px; height: 13px; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px; }
.form-status.ok { background: #E6F4EA; color: #137333; }
.form-status.err { background: #FCE8E6; color: #A50E0E; }
.form-status a { text-decoration: underline; }
@media (max-width: 960px) {
  /* one column: phone, email and address first, then the quote form, then the map */
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-side { display: contents; }
  .contact-grid > .quote-form { order: 1; margin: 20px 0; }
  .contact-side .map-frame { order: 2; margin-top: 0; }
}

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; counter-reset: s; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-head); font-size: 14px; letter-spacing: .2em; color: var(--brand); }
.steps h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.faq-wrap { max-width: 900px; }
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.08rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 300; color: var(--brand-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: #3F3B46; max-width: 70ch; }

/* ---------- footer ---------- */
.site-footer { padding: 72px 0 32px; background: var(--dark); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .logo { height: 46px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.site-footer .f-h { margin: 0 0 16px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.credits summary { cursor: pointer; }
@media (max-width: 760px) { .credits summary { padding: 10px 0; margin: -10px 0; } }   /* phones: easier to tap */
.credits p { margin: 10px 0 6px; max-width: 60ch; }
.credits ul { gap: 4px; font-size: 12.5px; }
.credits a { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .site-footer ul { gap: 0; } .site-footer ul a { display: inline-block; padding: 10px 0; } }   /* phones: footer links tall enough to tap (about 40 px) */

/* ---------- quote list drawer + toast ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.overlay.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; z-index: 95; display: flex; flex-direction: column; width: min(420px, 100%); height: 100%; background: var(--white); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4); translate: 100% 0; visibility: hidden; transition: translate .45s var(--ease), visibility 0s .45s; }
.drawer.open { translate: 0 0; visibility: visible; transition: translate .45s var(--ease); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.drawer-head p { font-size: 13.5px; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.icon-btn:hover { background: var(--gray); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.drawer-list { flex: 1; overflow-y: auto; list-style: none; padding: 10px 14px; }
.d-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-bottom: 1px solid var(--gray); }
.d-item img { width: 60px; height: 60px; flex: none; border-radius: 3px; object-fit: cover; background: var(--gray); }
.d-info { flex: 1; min-width: 0; display: grid; }
.d-info b { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.d-info small { color: var(--muted); font-size: 12.5px; }
.d-empty { display: grid; gap: 8px; padding: 48px 16px; text-align: center; color: var(--muted); }
.d-empty strong { color: var(--ink); font-family: var(--font-head); }
.drawer-foot { display: grid; gap: 10px; padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer-foot p { margin-bottom: 4px; text-align: center; font-size: 13.5px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 110; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); width: max-content; padding: 10px 10px 10px 20px; border-radius: 22px; background: var(--ink); color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.4; box-shadow: var(--shadow); translate: -50% 180%; visibility: hidden; transition: translate .4s var(--ease), visibility 0s .4s; }
.toast.show { translate: -50% 0; visibility: visible; transition: translate .4s var(--ease); }
.toast b { color: var(--white); }
.toast button { flex: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 13px; font-weight: 600; }
html.locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* ---------- audit Nov 2026: whole-screen 404, scroll hints ---------- */
/* the 404 page is short: the photo fills the screen down to the footer (no white strip under it) */
body[data-page="404"] { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body[data-page="404"] main { flex: 1; display: flex; flex-direction: column; }
body[data-page="404"] .not-found { flex: 1; }
.not-found .crumbs { color: var(--white); font-weight: 600; }
/* lists that scroll (product tabs, showroom stops): the edge fades where there is more to see (classes from site.js) */
.hint-x.more-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.hint-x.more-start { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.hint-x.more-start.more-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
.hint-y.more-end { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); }
.hint-y.more-start { -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px); mask-image: linear-gradient(180deg, transparent, #000 40px); }
.hint-y.more-start.more-end { -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
