/* Harmony · White Space website — implementation of GPT's design (handoff R2, audited R3).
   Design authority: r2-original boards + PAGE-SPECIFICATIONS. Tokens: R2 values, action blue = official logo navy. */
@import url("fonts/fonts.css");

:root {
  --bg: #ffffff;
  --surface: #f7f8f8;
  --text: #151719;
  --body: #5c626b;
  --border: #e5e7e8;
  --action: #0e486c;
  --action-hover: #0a3652;
  --error: #9b2c1f;
  --slot: #e7eef3;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-label: "Marcellus", Georgia, serif;
  --f-ui: "Jost", "Helvetica Neue", Arial, sans-serif;

  --t-hero: clamp(3rem, 1.6rem + 5.2vw, 5.75rem);        /* 48 → 92px */
  --t-page: clamp(2.75rem, 1.7rem + 3.9vw, 4.75rem);      /* inner-page titles, 44 → 76px */
  --t-section: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);      /* 32 → 52px */
  --t-strip: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);     /* 28 → 44px */
  --t-sub: clamp(1.25rem, 1.05rem + 0.75vw, 1.75rem);     /* 20 → 28px, Jost light */
  --t-name: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);    /* product / collection names */
  --t-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --t-ui: 1rem;
  --t-small: 0.9375rem;
  --t-eyebrow: 0.75rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px; --s32: 128px;
  --max: 1320px;
  --gutter: clamp(20px, 4.167vw, 60px);
  --gap: clamp(16px, 2.23vw, 32px);
  --section: clamp(56px, 6.67vw, 104px);
  --header: 88px;
  --control: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); scrollbar-color: #c9ccd0 transparent; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--f-ui); font-size: var(--t-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-kerning: normal;
  caret-color: var(--action);
}
::selection { background: var(--action); color: #fff; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; color: var(--text); letter-spacing: -0.01em; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 100; background: var(--action); color: #fff; padding: 12px 18px; }
.skip:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

/* Preview-only marker for content the owner still has to supply. Never ships. */
.slot { background: var(--slot); color: var(--action); padding: 0 0.35em; font-family: var(--f-ui); font-size: 0.85em; letter-spacing: 0; }

/* ---------- type roles ---------- */
.eyebrow { display: block; font-family: var(--f-ui); font-size: var(--t-eyebrow); font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: #3d434a; line-height: 1.4; }
.label { display: block; font-family: var(--f-label); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--body); line-height: 1.5; }
.h-hero { font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.02em; }
.h-page { font-size: var(--t-page); line-height: 1.02; letter-spacing: -0.02em; }
.h-section { font-size: var(--t-section); line-height: 1.08; }
.h-strip { font-size: var(--t-strip); line-height: 1.15; }
.h-card { font-size: var(--t-name); line-height: 1.2; }
.sub { font-family: var(--f-ui); font-weight: 300; font-size: var(--t-sub); line-height: 1.35; color: var(--body); }
.body { max-width: 62ch; }
.name { font-family: var(--f-display); font-size: var(--t-name); line-height: 1.2; color: var(--text); }
.price { font-family: var(--f-ui); font-size: var(--t-small); color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.muted { color: var(--body); }
.small { font-size: var(--t-small); }

/* ---------- actions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--control); padding: 0 28px; border: 1px solid var(--action);
  background: var(--action); color: #fff; font-family: var(--f-ui); font-size: var(--t-ui); font-weight: 400; letter-spacing: 0.01em;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); }
.btn .icon { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon--go { transform: translateX(3px); }
.btn--outline { background: transparent; color: var(--action); }
.btn--outline:hover { background: var(--action); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: var(--t-small); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--action); font-family: var(--f-ui); font-size: var(--t-ui);
}
.link span { border-bottom: 1px solid currentColor; padding-bottom: 2px; line-height: 1.3; }
.link .icon { font-size: 14px; transition: transform .35s var(--ease); }
.link:hover .icon { transform: translate(2px, -2px); }
.link--serif { font-family: var(--f-display); font-size: 1.125rem; }

/* ---------- campaign bar (store pages, editable, schedule-aware) ---------- */
.campaign { border-bottom: 1px solid var(--border); font-size: 0.875rem; color: var(--text); }
.campaign .wrap { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 40px; }
.campaign a { color: var(--action); border-bottom: 1px solid currentColor; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border); }
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header); gap: var(--s8); }
.brand { justify-self: start; display: block; padding-block: 8px; }
.brand img { width: 158px; }
.nav { display: flex; gap: clamp(24px, 3vw, 48px); }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; padding: 0; font-size: 0.9375rem; color: var(--text); }
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current] { color: var(--action); }
.nav__link .icon { font-size: 12px; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 22px); left: 50%; transform: translateX(-50%); min-width: 260px;
  background: #fff; border: 1px solid var(--border); padding: 18px 24px 20px;
  display: grid; gap: 2px;
}
.menu a { display: block; padding: 7px 0; font-size: 0.9375rem; color: var(--text); }
.menu a:hover { color: var(--action); }
.menu .label { margin-bottom: 6px; }
.menu--wide { grid-template-columns: 1fr 1fr; column-gap: 32px; min-width: 420px; }
.menu--wide .label { grid-column: 1 / -1; }
.site-header__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--text); }
.icon-btn .icon { font-size: 20px; }
.icon-btn:hover { color: var(--action); }
.count { position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--action); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.site-header .btn--sm { margin-right: 12px; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; background: none; border: 0; padding: 0; font-size: 0.9375rem; color: var(--text); }
.menu-btn .icon { font-size: 24px; }

/* search panel */
.searchbar { border-top: 1px solid var(--border); background: #fff; }
.searchbar form { display: flex; align-items: center; gap: 16px; padding-block: 18px; }
.searchbar label { font-family: var(--f-label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.searchbar input { flex: 1; min-width: 0; min-height: var(--control); border: 0; border-bottom: 1px solid var(--border); font-family: var(--f-display); font-size: 1.5rem; color: var(--text); background: none; }
.searchbar input:focus-visible { outline: none; border-bottom-color: var(--action); }

/* mobile drawer (dialog) */
.drawer { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: 64px; padding-inline: var(--gutter); border-bottom: 1px solid var(--border); flex: none; }
.drawer__body { padding: 8px var(--gutter) 40px; }
.drawer form { display: flex; gap: 8px; margin: 16px 0 8px; }
.drawer form input { flex: 1; min-width: 0; min-height: var(--control); border: 1px solid var(--border); padding: 0 14px; }
.drawer details { border-bottom: 1px solid var(--border); }
.drawer summary, .drawer__link { display: flex; justify-content: space-between; align-items: center; min-height: 60px; font-family: var(--f-display); font-size: 1.75rem; color: var(--text); list-style: none; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .icon { font-size: 16px; color: var(--action); transition: transform .25s var(--ease); }
.drawer details[open] summary .icon { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 16px; }
.drawer details a { display: block; padding: 10px 0; color: var(--text); }
.drawer__link { border-bottom: 1px solid var(--border); }
.drawer__foot { display: grid; gap: 14px; margin-top: 28px; }
.drawer__utils { display: flex; gap: 24px; margin-top: 8px; }
.drawer__utils a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--text); }

/* ---------- page structure ---------- */
.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--border); }
.crumbs { padding-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.8125rem; color: var(--body); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #b3b7bc; }
.crumbs a:hover { color: var(--action); }
.crumbs [aria-current] { color: var(--text); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.stack > * + * { margin-top: var(--s4); }
.page-head { padding-top: clamp(28px, 3.3vw, 48px); }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head .sub { margin-top: 10px; }

/* hero split (home, furniture, visit, story) */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text media" "actions media";
  grid-template-rows: 1fr 1fr; column-gap: var(--gap); min-height: min(600px, calc(100svh - var(--header) - 120px)); padding-block: clamp(36px, 4vw, 60px) clamp(56px, 5vw, 76px);
}
.hero__text { grid-area: text; align-self: end; }
.hero__text .eyebrow { margin-bottom: clamp(18px, 2vw, 28px); }
.hero__text .sub { margin-top: clamp(10px, 1vw, 16px); }
.hero__actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: clamp(28px, 3vw, 44px); }
.hero__media { grid-area: media; align-self: center; position: relative; justify-self: end; width: min(100%, 520px); }
.piece { position: relative; }
@media (min-width: 1024px) { .hero--story { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.piece img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; background: var(--surface); }
.piece figcaption { position: absolute; right: 0; bottom: -46px; text-align: left; }
.piece--cut { width: min(100%, 620px); }
.piece--cut img { aspect-ratio: auto; object-fit: contain; background: none; }
.piece--cut figcaption { bottom: -18px; right: 2%; }
.piece figcaption .name { font-size: 1.125rem; }
.cat-links { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 28px; }

/* statement strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 104px; padding-block: 22px; }
.strip + .strip { border-top: 0; }

/* collection tiles */
.tiles { display: grid; grid-template-columns: 1.62fr 1fr 0.96fr; gap: 12px; margin-top: 28px; }
.tile img { width: 100%; height: clamp(220px, 21vw, 300px); object-fit: cover; background: var(--surface); transition: opacity .3s var(--ease); }
.tile:hover img { opacity: .92; }
.tile .name { margin-top: 12px; }
.tile .label { margin-top: 2px; }

/* full-bleed feature (architecture on home) */
.feature { display: grid; grid-template-columns: 65% 1fr; align-items: center; border-top: 1px solid var(--border); }
.feature__img img { width: 100%; height: clamp(320px, 36vw, 520px); object-fit: cover; }
.feature__text { padding: 40px clamp(24px, 3.5vw, 48px); }
.feature__text .eyebrow { margin-bottom: 18px; }
.feature__text .sub { margin-top: 12px; font-size: 1.125rem; }
.feature__text .link { margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 0; }
.footer-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 96px; }
.footer-line img { width: 150px; }
.footer-line nav { display: flex; gap: 40px; font-size: 0.9375rem; color: var(--text); }
.footer-line nav a, .footer-line > a { display: inline-flex; align-items: center; min-height: 44px; }
.head-row .eyebrow + h2 { margin-top: 12px; }
.footer-line nav a:hover { color: var(--action); }
.footer-line p { justify-self: end; font-size: 0.875rem; color: var(--body); }
.footer-more { border-top: 1px solid var(--border); padding-block: 40px 28px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; font-size: 0.9375rem; }
.footer-more h2 { font-family: var(--f-label); font-size: 0.6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-more li + li { margin-top: 6px; }
.footer-more a:hover { color: var(--action); }
.pay { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 24px; border-top: 1px solid var(--border); }
.pay .label { margin-right: 8px; }
.pay__mark { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 30px; border: 1px solid var(--border); font-size: 0.75rem; color: var(--text); }
.pay__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pay__list .pay__mark { margin: 0; }
.pay__mark img { width: auto; height: auto; max-width: 66px; max-height: 24px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px 28px; font-size: 0.8125rem; color: var(--body); }

/* ---------- category / listing ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; border-bottom: 1px solid var(--border); }
.tabs { display: flex; gap: 36px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 48px; padding: 0 0 2px; background: none; border: 0; border-bottom: 2px solid transparent; font-size: 0.9375rem; color: var(--body); }
.tab[aria-selected="true"], .tab[aria-current] { color: var(--action); border-bottom-color: var(--action); }
.tab:hover { color: var(--text); }
.toolbar > a.tab { display: inline-flex; align-items: center; gap: 4px; }
.toolbar__end { display: flex; align-items: center; gap: 4px; }
.toolbar__end .tool { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; background: none; border: 0; font-size: 0.9375rem; color: var(--text); }
.toolbar__end .tool + .tool { border-left: 1px solid var(--border); }
.toolbar__end .icon { font-size: 12px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-x { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); background: #fff; font-size: 0.875rem; }
.result-count { margin-top: 16px; font-size: 0.875rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); margin-top: 28px; }
.card { position: relative; }
.card__img { display: block; background: var(--surface); }
.card__img img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.card__body { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 14px; }
.card__body .price { margin-top: 4px; display: block; }
.card .link { min-height: 44px; font-size: 0.875rem; white-space: nowrap; }
.campaign a { display: inline-flex; align-items: center; min-height: 40px; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; }
.toolbar__end select { min-height: 44px; }
/* Products on their own (GPT's transparent images) on buying surfaces: whole product, light tile, never cropped */
.nobg, img.nobg { background: var(--surface); }
.card__img.nobg img, .gallery-main.nobg img, img.nobg { object-fit: contain; padding: 6% 8%; }
.thumbs img.nobg { padding: 8%; }
.save { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.92); border: 0; color: var(--text); }
.save .icon { font-size: 18px; }
.save[aria-pressed="true"] { color: var(--action); }
.save[aria-pressed="true"] .icon { fill: currentColor; }
.empty { padding: 56px 0; text-align: left; }
.empty .h-strip { margin-bottom: 10px; }
.pager { display: flex; justify-content: center; margin-top: 56px; }

/* filter drawer */
.sheet { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 70; background: #fff; border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.sheet__head, .sheet__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.sheet__foot { border-top: 1px solid var(--border); border-bottom: 0; margin-top: auto; }
.sheet__body { padding: 8px 24px; overflow-y: auto; }
.sheet fieldset { border: 0; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--border); }
.sheet legend { font-family: var(--f-label); font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: .9375rem; color: var(--text); }
.check input { width: 18px; height: 18px; accent-color: var(--action); }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(21,23,25,.28); }

/* ---------- collection ---------- */
.collection { display: grid; grid-template-columns: minmax(260px, 0.42fr) 1fr; gap: var(--gap); align-items: start; margin-top: 24px; }
.collection__text .eyebrow { margin-bottom: 18px; }
.collection__text .sub { margin-top: 8px; }
.collection__text p.body { margin-top: 20px; }
.collection__text .btn { margin-top: 28px; }
.collection__img img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.pieces { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 12px; margin-top: 16px; }
.pieces img { width: 100%; height: clamp(180px, 16vw, 240px); object-fit: cover; }
.pieces .name { font-size: 1.125rem; margin-top: 10px; }

/* ---------- product ---------- */
.product { display: grid; grid-template-columns: 96px minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: var(--gap); margin-top: 20px; align-items: start; }
.thumbs { display: grid; gap: 12px; }
.thumbs button { padding: 0; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 1; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--action); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { background: var(--surface); }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.buy { border-left: 1px solid var(--border); padding-left: var(--gap); }
.buy .label { margin-top: 18px; }
.buy h1 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem); line-height: 1.05; margin-top: 8px; }
.buy .sub { font-size: 1.25rem; margin-top: 6px; }
.buy .price { display: block; font-size: 1.25rem; margin-top: 22px; }
.buy .note { font-size: 0.875rem; margin-top: 6px; }
.qty-row { display: flex; gap: 12px; margin-top: 22px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); height: var(--control); }
.qty button { width: 44px; height: 100%; background: none; border: 0; font-size: 1.125rem; color: var(--text); }
.qty input { width: 40px; height: 100%; border: 0; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-row .btn { flex: 1; }
.buy .btn--outline { margin-top: 12px; }
.buy .link { margin-top: 6px; }
.acc { margin-top: 28px; border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__btn { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; background: none; border: 0; padding: 0; font-size: 1rem; color: var(--text); text-align: left; }
.acc__btn .icon { font-size: 16px; transition: transform .25s var(--ease); }
.acc__btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.acc__panel { padding: 0 0 18px; font-size: 0.9375rem; }
.acc__panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.acc__panel dt { color: var(--body); }
.acc__panel dd { color: var(--text); font-variant-numeric: tabular-nums; }
.buybar { display: none; }

/* ---------- architecture ---------- */
.arch-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--gap); align-items: center; padding-block: clamp(32px, 4vw, 56px); }
.arch-hero img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.process > div { padding-right: var(--gap); }
.process > div + div { border-left: 1px solid var(--border); padding-left: var(--gap); }
.process h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); }
.process p { margin-top: 8px; max-width: 30ch; }
.does { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 28px; }
.does h3 { font-size: 1.5rem; }
.does p { margin-top: 6px; font-size: 0.9375rem; }

/* projects */
.proj-grid { display: grid; grid-template-columns: 1.17fr 1fr; gap: 20px var(--gap); margin-top: 32px; }
.proj-grid .proj--lead { grid-row: span 2; }
.proj img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.proj--lead img { aspect-ratio: auto; height: calc(100% - 64px); min-height: 320px; }
.proj .name { margin-top: 12px; }
.proj p { font-size: 0.875rem; }
.proj-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px var(--gap); margin-top: 48px; }
.tag { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid var(--border); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; color: var(--body); }

/* project detail */
.proj-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; margin-top: 24px; }
.proj-body { display: grid; grid-template-columns: minmax(200px, 0.38fr) 1fr; gap: var(--gap); margin-top: 40px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-content: start; font-size: 0.9375rem; padding-right: var(--gap); border-right: 1px solid var(--border); }
.facts dt { color: var(--text); }
.proj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.proj-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* story */
.duo { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8px; }
.duo > div { padding: 28px var(--gap) 8px 0; }
.duo > div + div { border-left: 1px solid var(--border); padding-left: var(--gap); }
.duo p { margin-top: 6px; max-width: 40ch; }

/* ---------- visit / contact / help / search ---------- */
.visit-rows { display: grid; grid-template-columns: 150px 1fr; gap: 14px 24px; margin-top: 32px; font-size: 1rem; }
.visit-rows dt { color: var(--text); }
.map-note { display: grid; grid-template-columns: minmax(200px, .4fr) 1fr; gap: var(--gap); align-items: center; }
.map-box { min-height: 180px; display: grid; place-items: center; text-align: center; background: var(--surface); padding: 24px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); margin-top: 8px; }
.contact > div:first-child { padding-right: var(--gap); border-right: 1px solid var(--border); }
.interest { display: grid; gap: 12px; margin-top: 14px; }
.interest button { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 0 20px; border: 1px solid var(--border); background: #fff; font-size: 1rem; color: var(--text); text-align: left; }
.interest button .icon { font-size: 26px; }
.interest button .icon--go { font-size: 14px; margin-left: auto; }
.interest button[aria-pressed="true"] { border-color: var(--action); color: var(--action); }
.via { display: flex; gap: 40px; margin-top: 6px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-size: 0.9375rem; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; min-height: var(--control); padding: 0 14px; border: 1px solid #d6d9dc; background: #fff; font-size: 1rem; color: var(--text); border-radius: 0; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23151719' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--action); outline-offset: 0; border-color: var(--action); }
.field input::placeholder, .field textarea::placeholder { color: #8a9097; }
.field .err { display: none; font-size: 0.875rem; color: var(--error); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.form-msg { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--border); font-size: 0.9375rem; }
.form-msg--error { border-color: var(--error); color: var(--error); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.qa { margin-top: 28px; border: 1px solid var(--border); }
.qa .acc__item:last-child { border-bottom: 0; }
.qa .acc__btn { padding: 0 20px; min-height: 60px; font-size: 1.0625rem; }
.qa .acc__panel { padding: 0 20px 18px; }
.help-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.help-hero img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; }
.search-field { display: flex; align-items: center; gap: 14px; border: 1px solid #d6d9dc; padding: 0 16px; margin-top: 28px; }
.search-field input { flex: 1; min-height: 56px; border: 0; font-size: 1.125rem; background: none; color: var(--text); }
.search-field input:focus-visible { outline: none; }
.search-field:focus-within { border-color: var(--action); }
.search-field .icon { font-size: 20px; }
.search-field button { width: 44px; height: 44px; background: none; border: 0; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- cart / checkout / account / policy ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: var(--gap); align-items: start; }
.line { display: grid; grid-template-columns: 130px 1fr auto auto; align-items: center; gap: 24px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 28px; }
.line img { width: 130px; height: 112px; object-fit: cover; background: var(--surface); }
.line .link { min-height: 44px; font-size: 0.875rem; }
.summary { border: 1px solid var(--border); padding: 28px; }
.summary h2 { font-size: 1.75rem; margin-bottom: 16px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 0.9375rem; }
.summary dt { color: var(--body); }
.summary dd { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.summary .total { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; font-family: var(--f-display); font-size: 1.375rem; color: var(--text); }
.summary .btn { margin-top: 24px; }
.summary .link { display: flex; justify-content: center; margin-top: 8px; }
.summary .small { margin-top: 12px; }
.mini { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.mini img { width: 72px; height: 64px; object-fit: cover; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: var(--gap); align-items: start; }
.checkout h2 { font-family: var(--f-ui); font-size: 1rem; font-weight: 500; color: var(--text); margin-top: 28px; letter-spacing: 0; }
.account { display: grid; grid-template-columns: 210px 1fr; gap: var(--gap); margin-top: 36px; }
.side-nav { border-right: 1px solid var(--border); padding-right: 24px; display: grid; align-content: start; gap: 2px; }
.side-nav a { display: block; padding: 10px 14px; font-size: 0.9375rem; color: var(--text); border-left: 2px solid transparent; }
.side-nav a[aria-current] { border-left-color: var(--action); background: var(--surface); color: var(--action); }
.side-nav a:hover { color: var(--action); }
.acc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.acc-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; border: 1px solid var(--border); padding: 24px; color: var(--text); }
.acc-card .icon { font-size: 28px; color: var(--action); }
.acc-card h3 { font-size: 1.5rem; }
.acc-card p { font-size: 0.9375rem; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 36px; }
.auth > section { border: 1px solid var(--border); padding: 32px; }
.auth h2 { font-size: 1.875rem; }
.inline-check { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: .9375rem; }
.inline-check label { display: flex; align-items: center; gap: 10px; }
.inline-check input { width: 18px; height: 18px; accent-color: var(--action); }
.policy { display: grid; grid-template-columns: 220px 1fr; gap: var(--gap); margin-top: 36px; }
.toc { border-right: 1px solid var(--border); padding-right: 24px; position: sticky; top: calc(var(--header) + 24px); align-self: start; }
.policy article section { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.policy article h2 { font-size: 2rem; margin-bottom: 8px; }

/* ---------- services / experience / tours / portfolio / business / wishlist ---------- */
.svc-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--gap); align-items: center; }
.svc-hero img { width: 100%; aspect-ratio: 16 / 9.6; object-fit: cover; }
.svc-list { margin-top: 28px; border-top: 1px solid var(--border); }
.svc-list li { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 16px; min-height: 84px; border-bottom: 1px solid var(--border); }
.svc-list .num { font-family: var(--f-ui); font-size: 1rem; color: var(--body); font-variant-numeric: tabular-nums; }
.svc-list h2, .svc-list h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.svc-list p { font-size: 0.9375rem; }
.svc-list .icon { font-size: 18px; color: var(--text); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 110px; }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; margin-top: 32px; }
.sectors li:nth-child(n+5) { grid-column: span 1; }
.sectors img, .sectors .noimg { width: 100%; aspect-ratio: 4 / 2.5; object-fit: cover; background: var(--surface); }
.sectors .noimg { display: grid; place-items: center; text-align: center; padding: 16px; }
.sectors .name { margin-top: 12px; font-size: 1.375rem; }
.sectors p { font-size: 0.875rem; }
.tour-view { position: relative; margin-top: 28px; background: var(--surface); aspect-ratio: 16 / 7; overflow: hidden; }
.tour-view img, .tour-view iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.tour-view .play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); background: rgba(21,23,25,.25); color: #fff; display: grid; place-items: center; }
.tour-view .play .icon { font-size: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.tour-view .cap { position: absolute; left: 24px; bottom: 20px; color: #fff; font-family: var(--f-display); font-size: 1.5rem; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.tour-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
.tour-list button { padding: 0 0 10px; background: none; border: 0; border-bottom: 2px solid transparent; text-align: left; font-family: var(--f-display); font-size: 1.125rem; color: var(--text); }
.tour-list button[aria-pressed="true"] { border-bottom-color: var(--action); color: var(--action); }
.tour-list img, .tour-list .noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); margin-bottom: 8px; }
.portfolio { display: grid; grid-template-columns: 1fr 0.6fr 1fr; gap: var(--gap); align-items: center; padding-block: var(--section); }
.portfolio img { width: 100%; box-shadow: 0 18px 40px -18px rgba(21,23,25,.35); }
.portfolio .btn { margin-top: 24px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--border); }
.benefits li { padding: 24px var(--gap) 24px 0; border-bottom: 1px solid var(--border); }
.benefits li:not(:nth-child(3n+1)) { padding-left: var(--gap); border-left: 1px solid var(--border); }
.benefits h3 { font-size: 1.5rem; }
.benefits p { font-size: 0.9375rem; margin-top: 4px; }
.wish { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); margin-top: 32px; }
.wish .actions { display: flex; gap: 10px; margin-top: 14px; }
.wish .actions .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; background: var(--text); color: #fff; padding: 12px 18px; font-size: .9375rem; display: flex; gap: 16px; align-items: center; }
.toast button { background: none; border: 0; color: #fff; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .site-header .btn--sm, .site-header__end .icon-btn--desk { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header__bar { grid-template-columns: 1fr auto; }
  .footer-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --header: 64px; }
  .brand img { width: 132px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "text" "media" "actions"; grid-template-rows: auto; min-height: 0; }
  .hero__media { justify-self: stretch; width: 100%; margin-top: 28px; }
  .piece figcaption { position: static; margin-top: 10px; }
  .feature { grid-template-columns: 1fr; }
  .feature__text { padding: 28px var(--gutter) 8px; }
  .collection, .arch-hero, .svc-hero, .help-hero, .map-note, .contact, .cart, .checkout, .auth, .portfolio { grid-template-columns: 1fr; }
  .contact > div:first-child { padding-right: 0; border-right: 0; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
  .product { grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 72px; order: 2; }
  .buy { border-left: 0; padding-left: 0; order: 3; }
  .gallery-main { order: 1; }
  .grid, .wish { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-grid .proj--lead { grid-row: auto; }
  .proj--lead img { height: auto; aspect-ratio: 3 / 2; min-height: 0; }
  .proj-more { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .tour-list { grid-template-columns: repeat(3, 1fr); }
  .does { grid-template-columns: 1fr 1fr; }
  .account, .policy { grid-template-columns: 1fr; }
  .side-nav, .toc { border-right: 0; padding-right: 0; position: static; grid-auto-flow: column; overflow-x: auto; border-bottom: 1px solid var(--border); }
  .side-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .side-nav a[aria-current] { border-bottom-color: var(--action); background: none; }
  .has-buybar { padding-bottom: 80px; }
  .buybar { display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--border); }
  .buybar .btn { flex: 1; padding: 0 12px; }
}
@media (max-width: 760px) {
  .strip .wrap, .head-row, .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .strip .wrap { min-height: 0; padding-block: 28px; }
  .tiles { grid-template-columns: 1fr; gap: 28px; }
  .tile img { height: auto; aspect-ratio: 4 / 3; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .card__img img { aspect-ratio: 4 / 3; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 0; }
  .toolbar__end { border-top: 1px solid var(--border); justify-content: space-between; }
  .pieces { grid-template-columns: 1fr; gap: 24px; }
  .pieces img { height: auto; aspect-ratio: 4 / 3; }
  .process, .duo, .does, .benefits { grid-template-columns: 1fr; }
  .process > div + div, .duo > div + div, .benefits li:not(:nth-child(3n+1)) { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .process > div { padding: 18px 0; }
  .benefits li { padding: 20px 0; }
  .proj-body { grid-template-columns: 1fr; }
  .facts { border-right: 0; padding-right: 0; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
  .proj-gallery, .proj-more { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .tour-view { aspect-ratio: 4 / 3; }
  .tour-list { grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; }
  .wish { grid-template-columns: 1fr; }
  .line { grid-template-columns: 96px 1fr; gap: 12px 16px; }
  .line img { width: 96px; height: 84px; grid-row: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .acc-cards { grid-template-columns: 1fr; }
  .footer-line { grid-template-columns: 1fr; justify-items: start; padding-block: 28px; gap: 14px; }
  .footer-line nav { flex-wrap: wrap; gap: 8px 24px; }
  .footer-line p { justify-self: start; }
  .footer-more { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; }
  .visit-rows { grid-template-columns: 1fr; gap: 2px; }
  .visit-rows dd { margin-bottom: 12px; }
  .svc-list li { grid-template-columns: 44px 1fr auto; }
  .help-hero img { max-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
