/* Zia Auctions — cobalt, ink and saffron. No serif type, no external resources. */

:root {
  --bg: #f3f5f9;
  --white: #ffffff;
  --tile: #e8ecf3;
  --ink: #0c1530;
  --ink-2: #2f3a57;
  --muted: #66708a;
  --line: #d6dce8;
  --line-2: #e6eaf1;
  --blue: #1e3cb8;
  --blue-2: #162d8f;
  --blue-3: #2a4bd6;
  --sun: #f5b821;
  --sun-2: #e3a50c;
  --on-blue: #dfe5fb;
  --radius: 12px;
  --display: "Avenir Next Condensed", "Bahnschrift", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(12, 21, 48, .05), 0 8px 24px rgba(12, 21, 48, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--white); padding: 8px 12px; border-radius: 6px; }
.fine { font-size: 13px; color: var(--muted); }
.fine a { color: var(--blue); }

/* display type: condensed, uppercase */
.home-hero h1, .phead h1, .sec-head h2, .consign h2, .dept-n, .badge, .kicker, .pill,
.panel-top, .panel-est strong, .form-title, .timeline li::before, .brand-word {
  font-family: var(--display);
  font-stretch: condensed;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-2); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* ---------- header ---------- */
.top { background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--sun); color: var(--blue-2);
  display: grid; place-items: center;
  font: 800 26px/1 var(--display); font-stretch: condensed;
}
.brand-word { font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.brand-word span { font-weight: 500; margin-left: 6px; opacity: .8; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--on-blue); }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
.top-cta { min-height: 42px; padding: 0 20px; font-size: 14px; }

.strip { background: var(--white); border-bottom: 1px solid var(--line); font-size: 14px; }
.strip-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.strip p { margin: 0; padding: 8px 0; color: var(--ink-2); }
.strip strong { color: var(--ink); margin-right: 4px; }
.strip-sep { color: var(--line); margin: 0 6px; }
.strip a { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.strip a:hover { text-decoration: underline; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(245,184,33,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,184,33,.6); } 70% { box-shadow: 0 0 0 8px rgba(245,184,33,0); } 100% { box-shadow: 0 0 0 0 rgba(245,184,33,0); } }

/* ---------- home hero ---------- */
.home-hero { background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(90px, 10vw, 130px); overflow: hidden; }
.home-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-block; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.home-hero h1 { font-weight: 800; font-size: clamp(56px, 9vw, 128px); line-height: .9; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 24px; }
.home-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-blue); max-width: 34em; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic li:nth-child(2) { transform: translateY(28px); }
.mosaic li:nth-child(4) { transform: translateY(28px); }
.mosaic a { display: block; position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; text-decoration: none; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; background: var(--tile); transition: transform .35s ease; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic span { z-index: 1; position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }

/* facts card overlapping the blue */
.facts-card { margin-top: -56px; position: relative; z-index: 2; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts div { padding: 20px 24px; border-left: 1px solid var(--line-2); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- page head (inner pages) ---------- */
.phead { background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 72px); }
.phead + .facts-card { margin-top: -36px; }
.phead:has(+ .facts-card) { padding-bottom: clamp(72px, 8vw, 100px); }
.kicker { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.phead h1 { font-weight: 800; font-size: clamp(44px, 7vw, 92px); line-height: .92; text-transform: uppercase; }
.phead-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-blue); max-width: 40em; margin: 20px 0 0; }

/* ---------- sections ---------- */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec-top { padding-top: 40px; }
.sec-tint { background: #e9edf5; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 28px; }
.sec-head h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); text-transform: uppercase; line-height: .95; }
.more { font-weight: 700; color: var(--blue); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------- lot cards ---------- */
.lots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lots-3 { grid-template-columns: repeat(3, 1fr); }
.lc a { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.lc a:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line); }
.lc-img { display: block; position: relative; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.lc-img img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.lc-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 12px; flex: 1; }
.lc-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.lc-title { font-weight: 650; font-size: 17px; line-height: 1.3; }
.lc-sub { font-size: 14px; color: var(--muted); }
.lc-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 16px; border-top: 1px solid var(--line-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.lc-foot small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--blue); transition: background .2s, color .2s; }
.lc a:hover .lc-go { background: var(--blue); color: #fff; }

/* ---------- departments ---------- */
.depts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.depts a { display: grid; grid-template-columns: auto 1fr 96px; align-items: center; gap: 20px; background: var(--white); border-radius: var(--radius); padding: 16px 16px 16px 24px; text-decoration: none; border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.depts a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.dept-n { font-weight: 800; font-size: 56px; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.dept-l { font-weight: 700; font-size: 19px; line-height: 1.25; }
.dept-l small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 4px; }
.depts img { width: 96px; height: 96px; object-fit: contain; background: var(--tile); border-radius: 8px; padding: 8px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: var(--line); }
.timeline li { counter-increment: t; position: relative; }
.timeline li::before { content: counter(t); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 24px; margin-bottom: 18px; position: relative; box-shadow: 0 0 0 6px var(--bg); }
.sec-tint .timeline li::before { box-shadow: 0 0 0 6px #e9edf5; }
.timeline h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.timeline p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- consign band ---------- */
.consign { background: var(--sun); color: var(--ink); padding: clamp(44px, 6vw, 72px) 0; }
.consign-in { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.consign h2 { font-weight: 800; font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; line-height: .95; margin-bottom: 12px; }
.consign p { max-width: 38em; margin: 0; font-size: 17px; }

/* ---------- catalogue ---------- */
.cat { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.cat-side { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-2); padding: 20px; }
.side-h, .search > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.search input, .sort select, .field input, .field textarea, .field select, .calc input {
  width: 100%; font: 15px/1.4 var(--text); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
}
.search input:focus, .sort select:focus, .field input:focus, .field textarea:focus, .field select:focus, .calc input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,60,184,.15); background: var(--white); }
.filters { display: flex; flex-direction: column; gap: 4px; }
.fbtn { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; font: 600 15px/1.3 var(--text); color: var(--ink-2); background: transparent; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; }
.fbtn span { font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.fbtn:hover { background: var(--bg); }
.fbtn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.fbtn[aria-pressed="true"] span { background: rgba(255,255,255,.18); color: #fff; }
.count { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.count strong { color: var(--ink); }
.empty { padding: 40px; text-align: center; background: var(--white); border-radius: var(--radius); color: var(--ink-2); }
.linkbtn { font: inherit; color: var(--blue); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* ---------- lot page ---------- */
.crumbs { padding-top: 22px; padding-bottom: 6px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--blue); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 8px; }
.lot { display: grid; grid-template-columns: 1fr 420px; grid-template-rows: auto 1fr; grid-template-areas: "media panel" "text panel"; column-gap: 36px; align-items: start; padding-top: 14px; padding-bottom: 72px; }
.lot-media { grid-area: media; }
.lot-text { grid-area: text; }
.panel { grid-area: panel; }
.lot-img { position: relative; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); aspect-ratio: 1; padding: 5%; cursor: zoom-in; overflow: hidden; }
.lot-img img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; opacity: .85; }
.lot-sec { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px 28px; margin-top: 20px; }
.lot-sec h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lot-sec p { color: var(--ink-2); }
.lot-sec p:last-child { margin-bottom: 0; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.spec div:first-child { border-top: 0; padding-top: 0; }
.spec dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.spec dd { margin: 0; font-size: 15px; }
.spec a { color: var(--blue); }

.panel { position: sticky; top: 136px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-2); overflow: hidden; scroll-margin-top: 140px; }
.panel-top { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 10px 12px 10px 20px; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; }
.panel-top small { font-size: 15px; font-weight: 600; opacity: .6; margin-left: 4px; }
.panel-nav { display: flex; gap: 6px; }
.panel-nav a, .panel-nav span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font: 400 22px/1 var(--text); }
.panel-nav span { opacity: .3; }
.panel-nav a:hover { background: var(--sun); color: var(--ink); }
.panel-body { padding: 22px 22px 20px; }
.panel-body h1 { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.panel-sub { color: var(--muted); margin: 8px 0 0; }
.panel-est { margin: 18px 0 0; background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.panel-est small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel-est strong { display: block; font-size: 38px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.panel-est span { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.panel-date { font-size: 14px; color: var(--ink-2); margin: 12px 0 0; }
.panel-date span { font-weight: 700; color: var(--ink); margin-right: 8px; }
.panel-body > h2 { font-size: 15px; font-weight: 700; margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.panel-links { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.panel-links a { color: var(--blue); font-weight: 600; text-decoration: none; }
.panel-links a::before { content: "→ "; }
.panel-links a:hover { text-decoration: underline; }

/* ---------- forms ---------- */
.mailform { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.mailform-flat { border: 0; padding: 0; border-radius: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; min-width: 0; }
.field > span { font-weight: 600; color: var(--ink-2); }
.field em { color: #c03a1a; font-style: normal; }
.field small { color: var(--muted); font-size: 12.5px; }
.field textarea { resize: vertical; min-height: 120px; }
.full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 3px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.check a { color: var(--blue); }
.form-foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-foot .fine { margin: 0; flex: 1 1 220px; }
.mailform-flat .btn { width: 100%; }
.mailform-flat .form-foot .fine { flex-basis: 100%; }
.form-title { font-weight: 800; font-size: 34px; text-transform: uppercase; margin-bottom: 16px; line-height: 1; }
.form-page { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; padding-top: 48px; padding-bottom: 88px; }
.side-note { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-2); padding: 24px; }
.side-note h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.side-note ol { margin: 0 0 16px; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.side-note li { margin-bottom: 8px; }

/* ---------- prose / docs ---------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 26px; font-weight: 750; letter-spacing: -.01em; margin: 44px 0 12px; scroll-margin-top: 140px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--blue); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose .big { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; color: var(--ink); font-weight: 500; }
.ticks { list-style: none; padding: 0 !important; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 4px); width: 5px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.doc { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 80px); padding-top: 48px; padding-bottom: 88px; }
.toc { position: sticky; top: 140px; align-self: start; font-size: 14px; }
.toc p { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; }
.toc a:hover { background: var(--white); color: var(--blue); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ways > div { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; }
.ways p { font-size: 14.5px; margin: 0; }
.table { width: 100%; max-width: 460px; border-collapse: separate; border-spacing: 0; margin: 8px 0 16px; font-variant-numeric: tabular-nums; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.table tr:last-child td { border-bottom: 0; }
.table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ink); }
.calc { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; max-width: 680px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.calc > * { padding: 16px 18px; margin: 0; }
.calc > * + * { border-left: 1px solid var(--line-2); }
.calc span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.calc strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.calc p:last-child { background: var(--sun); }
.calc p:last-child span { color: var(--ink); }
.faq details { background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 650; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.card-box { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.card-box h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.card-box address { font-size: 17px; line-height: 1.55; margin-bottom: 10px; }
.contact-cards { display: grid; gap: 16px; }
.big-link { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--blue); text-decoration: none; word-break: break-word; }
.big-link:hover { text-decoration: underline; }
.tips { margin-top: 36px; }
.legal { padding-top: 48px; padding-bottom: 88px; }
.terms { list-style: none; counter-reset: c; padding: 0; margin: 0 0 24px; }
.terms li { counter-increment: c; position: relative; padding-left: 56px; margin-bottom: 26px; }
.terms li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 18px/1 var(--display); font-stretch: condensed; }
.terms h2 { font-size: 19px; margin: 6px 0 8px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #c4cadb; padding: 64px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot-brand p { max-width: 26em; }
.foot h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot a { color: #e6e9f2; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-contact p a { color: #fff; font-weight: 700; }
.foot-contact address { line-height: 1.6; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #1f2a4a; color: #8a93ad; font-size: 13px; }
.foot-legal p { margin: 0; }
.foot-legal a { color: #b4bbcf; margin-left: 18px; }
.foot-legal a:first-child { margin-left: 0; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 14, 34, .92); }
.lightbox img { max-width: 92vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; background: var(--white); }
.lightbox-close { position: fixed; top: 14px; right: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .lots { grid-template-columns: repeat(3, 1fr); }
  .lots-3 { grid-template-columns: repeat(2, 1fr); }
  .lot { grid-template-columns: 1fr 380px; }
  .nav a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .top { position: static; }
  .top-in { flex-wrap: wrap; gap: 10px 16px; min-height: 0; padding-top: 14px; padding-bottom: 6px; }
  .top-cta { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { white-space: nowrap; padding-bottom: 6px; }
  .nav a { padding: 8px 12px; }
  .nav li:first-child a { margin-left: -12px; }
  .home-hero-in, .split, .doc, .cat, .form-page { grid-template-columns: 1fr; }
  .lot { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "media" "panel" "text"; row-gap: 20px; }
  .lot-text .lot-sec:first-child { margin-top: 0; }
  .mosaic { max-width: 560px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .depts { grid-template-columns: 1fr; }
  .cat-side, .panel, .toc { position: static; }
  .toc { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-word { font-size: 22px; }
  .brand-mark { width: 34px; height: 34px; font-size: 22px; }
  .top-cta { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .strip-in { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 6px; padding-bottom: 8px; }
  .strip p { padding: 2px 0; }
  .lots, .lots-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lc-body { padding: 12px 12px 8px; }
  .lc-title { font-size: 15px; }
  .lc-sub, .lc-cat { display: none; }
  .lc-foot { padding: 10px 12px 12px; font-size: 14px; }
  .lc-go { display: none; }
  .badge { font-size: 13px; top: 8px; left: 8px; }
  .mosaic li:nth-child(2), .mosaic li:nth-child(4) { transform: none; }
  .fields { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .calc { grid-template-columns: 1fr; }
  .calc > * + * { border-left: 0; border-top: 1px solid var(--line-2); }
  .depts a { grid-template-columns: auto 1fr 72px; padding-left: 18px; gap: 14px; }
  .depts img { width: 72px; height: 72px; }
  .dept-n { font-size: 44px; }
  .lot-sec { padding: 20px; }
  .panel-est strong { font-size: 32px; }
  .facts div { padding: 16px; }
  .facts dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- v2 photography (2026-11-13): studio shots on a dark ground fill their frames ---- */
:root { --photo: #1f1f21; }
.lc-img, .mosaic img, .depts img, .lot-img { background: var(--photo); }
.lc-img img { inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lc a:hover .lc-img img { transform: scale(1.03); }
.mosaic img { padding: 0; object-fit: cover; }
.depts img { padding: 0; object-fit: cover; }
.lot-img { padding: 0; border-color: var(--photo); }
.lot-img img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lightbox img { background: var(--photo); }
.lot-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.lot-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--photo); cursor: pointer; aspect-ratio: 1; }
.lot-thumbs button[aria-current="true"] { border-color: var(--blue); }
.lot-thumbs button:hover { border-color: var(--line); }
.lot-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
