/* Bottega Living, Downtown Design prototype. Values from the Bottega Living Design System. */
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/BodoniModa-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/BodoniModa-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --surface: #fdfcfa; --surface-sand: #f4efe7; --ink: #262120; --ink-soft: #4a4441; --ink-muted: #6e6761;
  --gold: #a68650; --gold-deep: #8a7048; --rule: #e0dad0; --rule-strong: #262120; --focus: #8a7048;
  --dark: #201b1b; --on-dark: #fdfcfa; --on-dark-soft: #cfc6b8; --on-dark-muted: #a39a90; --gold-on-dark: #c6a977;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: Switzer, "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px; --measure: 640px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:where(a, button, input, textarea, select, label):focus-visible { outline: 1px solid var(--focus); outline-offset: 3px; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); max-width: 1344px; margin: 0 auto; }
.narrow { max-width: 560px; margin: 0 auto; }

/* Type */
.eyebrow { margin: 0; font-size: 11px; line-height: 1.4; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }
.dark .eyebrow, .on-image .eyebrow { color: var(--gold-on-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
.display { font-size: clamp(40px, 9vw, 64px); line-height: 1.05; letter-spacing: -0.01em; }
.h1 { font-size: clamp(34px, 7vw, 48px); line-height: 1.1; }
.statement { font-size: clamp(24px, 5vw, 34px); line-height: 1.35; }
.piece-name { font-size: 22px; line-height: 1.3; }
.accent { font-style: inherit; color: var(--gold); }
.dark .accent, .on-image .accent { color: var(--gold-on-dark); }
.quote { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink-soft); }
.caption { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.small { font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
p { margin: 0; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 32px; }

/* Invitation: the only action style */
.inv { display: inline-flex; align-items: center; gap: 10px; padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--rule); background: none; font: inherit; font-size: 12px; line-height: 1.4; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color 200ms ease; }
.inv:hover, .inv:focus-visible { border-bottom-color: var(--rule-strong); }
.inv--strong { border-bottom-color: var(--rule-strong); }
.on-image .inv, .dark .inv { color: var(--on-dark); border-bottom-color: var(--on-dark); }
.inv[aria-pressed="true"] { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.actions--stack { flex-direction: column; align-items: flex-start; gap: 22px; }

/* Header */
.site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.site-head--solid { position: sticky; top: 0; background: var(--surface); border-bottom: 1px solid var(--rule); }
.site-head { gap: 16px; }
.site-head .logo { height: 12px; width: auto; display: block; }
.site-head .head-link { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 759px) { .site-head .head-link { font-size: 11px; letter-spacing: 0.12em; } }
@media (min-width: 760px) { .site-head .logo { height: 20px; } }
.site-head .head-link { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.on-image.site-head { color: var(--on-dark); }

/* Hero */
.hero { position: relative; min-height: min(92vh, 760px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--dark); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32,27,27,0.86) 0%, rgba(32,27,27,0.55) 38%, rgba(32,27,27,0.15) 70%, rgba(32,27,27,0.35) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 48px; }
.hero .lede { color: var(--on-dark-soft); font-size: 16px; max-width: 520px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; letter-spacing: 0.04em; color: var(--on-dark-soft); }

/* Sections */
.section { padding-top: 72px; padding-bottom: 72px; }
.section + .section { border-top: 1px solid var(--rule); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .caption, .dark .small { color: var(--on-dark-muted); }
.sand { background: var(--surface-sand); }
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } .section { padding-top: 112px; padding-bottom: 112px; } }

/* Schedule table */
.schedule { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.schedule th, .schedule td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.schedule th { font-weight: 400; width: 44%; padding-right: 16px; }
.schedule td { color: var(--ink-soft); }
.schedule .note { display: block; font-size: 13px; color: var(--ink-muted); }

/* Rooms and pieces */
.rooms { display: grid; gap: 40px; }
@media (min-width: 720px) { .rooms--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; } }
.room-card { display: grid; gap: 14px; text-decoration: none; }
.room-card .frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-sand); }
.room-card .frame img { width: 100%; height: 100%; object-fit: cover; }
.room-card .names { font-size: 14px; color: var(--ink-muted); }

.room { padding-top: 40px; }
.room-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.room-head .count { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.piece-list { display: grid; gap: 28px; }
@media (min-width: 720px) { .piece-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.piece-card { display: grid; gap: 12px; }
.piece-card .frame { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-sand); }
.piece-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.piece-card .frame:hover img { transform: scale(1.02); }
.piece-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.piece-card .name { font-family: var(--serif); font-size: 22px; line-height: 1.3; text-decoration: none; }
.piece-card .material { font-size: 14px; color: var(--ink-muted); }

/* Piece page */
.piece-hero { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; width: 100%; overflow: hidden; background: var(--surface-sand); }
.piece-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .piece-hero { aspect-ratio: 16 / 9; } }
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(-1 * var(--gutter)); }
.gallery img { flex: 0 0 auto; width: 72%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; background: var(--surface-sand); }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec th { width: 36%; font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); padding-top: 18px; padding-right: 12px; }
.spec td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.action-panel { display: grid; gap: 22px; padding: 28px 0; border-top: 1px solid var(--rule-strong); }

/* Selection bar */
.sel-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--dark); color: var(--on-dark); padding: 14px max(var(--gutter), env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; justify-content: space-between; align-items: center; gap: 16px; transform: translateY(110%); visibility: hidden; transition: transform 400ms ease-out, visibility 0s 400ms; }
.sel-bar.show { transform: none; visibility: visible; transition: transform 400ms ease-out; }
.sel-bar .label { font-family: var(--serif); font-size: 20px; }
.sel-bar .inv { color: var(--on-dark); border-bottom-color: var(--on-dark); }
body.has-bar { padding-bottom: 84px; }

/* Forms */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label, .legend { font-size: 11px; line-height: 1.4; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 17px; font-weight: 300; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; padding: 8px 0; width: 100%; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 80px; resize: vertical; }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.choice label { display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--ink); cursor: pointer; }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 12px; border: 1px solid var(--rule); font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.chips input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.chips input:focus-visible + span { outline: 1px solid var(--focus); outline-offset: 3px; }
.consent { font-size: 13px; color: var(--ink-muted); }
.hidden { display: none !important; }
.form .inv { justify-self: start; }

.sel-items { display: grid; gap: 14px; }
.sel-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.sel-item img { width: 72px; height: 88px; object-fit: cover; background: var(--surface-sand); }
.sel-item .n { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.sel-item button { font: inherit; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; background: none; border: 0; color: var(--ink-muted); cursor: pointer; padding: 6px 0; }
.empty { color: var(--ink-muted); }

/* Footer */
.foot { padding-top: 56px; padding-bottom: 40px; display: grid; gap: 28px; }
.foot .logo { height: 20px; width: auto; max-width: 100%; }
.foot .contact { display: grid; gap: 4px; font-size: 14px; color: var(--on-dark-soft); }
.foot .legal { font-size: 12px; color: var(--on-dark-muted); border-top: 1px solid #3d352c; padding-top: 16px; }

/* After-the-fair toggle */
.after-only { display: none; }
body.is-after .after-only { display: revert; }
body.is-after .pre-only { display: none !important; }

/* Prototype ribbon */
.proto-ribbon { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 40; margin: max(6px, env(safe-area-inset-top, 0px)) 0 0 0; font: 400 10px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; background: var(--gold-deep); color: #fff; padding: 6px 8px; text-decoration: none; opacity: 0.92; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* v1.4: stand C14 */
.piece-card .frame, .piece-hero { position: relative; }
.pill { position: absolute; top: 12px; right: 12px; z-index: 1; background: #fdfcfaeb; color: var(--ink); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px; line-height: 1; }
.pill--showroom { background: #201b1be0; color: #fdfcfa; }
.ph-name { position: absolute; left: 0; right: 0; top: 42%; text-align: center; font-family: var(--serif); font-size: 34px; color: var(--ink); pointer-events: none; }
.piece-hero--ph { background: var(--surface-sand); }
.piece-hero--ph img { object-fit: cover; }
@media (min-width: 960px) { .piece-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jump { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.jump a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.room { scroll-margin-top: 80px; }

/* 29 Oct: wider frames so the whole piece shows (Rami's notes) */
.piece-card .frame { aspect-ratio: 4 / 3; }
.piece-hero { aspect-ratio: auto; max-height: none; display: flex; justify-content: center; }
.piece-hero img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
@media (min-width: 900px) { .piece-hero { aspect-ratio: auto; } }
.gallery img { width: auto; max-width: none; height: 300px; aspect-ratio: auto; object-fit: contain; }
@media (min-width: 900px) { .gallery img { height: 420px; } }

/* 31 Oct: home page banner slideshow (Rami's five "Banner Images"), crossfade, 6s each */
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 30s infinite; }
.hero-slides img:nth-child(1) { animation-delay: -1.5s; }
.hero-slides img:nth-child(2) { animation-delay: 4.5s; }
.hero-slides img:nth-child(3) { animation-delay: 10.5s; }
.hero-slides img:nth-child(4) { animation-delay: 16.5s; }
.hero-slides img:nth-child(5) { animation-delay: 22.5s; }
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-slides img { animation: none; } .hero-slides img:first-child { opacity: 1; } }

/* 31 Oct (Rami): all banner text in the same colour as the heading */
.hero .eyebrow, .hero .accent, .hero .lede, .hero .meta, .hero .meta span { color: var(--on-dark) !important; }
/* 31 Oct (Rami): on phones, shift Krono Blue Note (3rd) and Fiorano (5th) so the pieces stay in frame */
@media (max-width: 899px) {
  .hero-slides img:nth-child(3) { object-position: 72% 50%; }
  .hero-slides img:nth-child(5) { object-position: 76% 50%; }
}

/* v1.17: buttons as pills (brand colours, high contrast), and the interest banner under the piece photograph */
.inv { justify-content: center; min-height: 48px; padding: 13px 26px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-align: center; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.inv:hover, .inv:focus-visible { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.inv--strong { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--on-dark); }
.inv--strong:hover, .inv--strong:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.inv[aria-pressed="true"] { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--on-dark); }
.on-image .inv, .dark .inv, .sel-bar .inv { color: var(--on-dark); border-color: var(--on-dark); background: transparent; }
.on-image .inv:hover, .dark .inv:hover, .sel-bar .inv:hover { background: var(--on-dark); color: var(--ink); }
.sel-bar .inv, .dark .inv--strong, .on-image .inv--strong { background: var(--gold-on-dark); border-color: var(--gold-on-dark); color: var(--dark); }
.action-panel { gap: 12px; padding: 24px 0; }
.action-panel .inv { width: 100%; }
@media (min-width: 700px) { .action-panel { grid-template-columns: repeat(3, 1fr); } .action-panel .inv--strong { grid-column: 1 / -1; } }
.piece-card .inv { min-height: 42px; padding: 10px 20px; font-size: 11px; }
.form .inv, .form button.inv { min-width: 220px; }
.interest-banner { margin: 0; padding: 18px 24px; border: 1.5px solid var(--ink); border-top: 0; background: var(--surface); text-align: center; }
.interest-banner p { margin: 0 auto; max-width: 40ch; font-family: var(--serif, 'Bodoni Moda', Georgia, serif); font-size: 19px; line-height: 1.4; color: var(--ink); }
.interest-banner + main { padding-top: 24px !important; }

/* v1.17b: Rami's 5 Nov notes. Top two actions attractive, lower two subtle; banner in taupe, compact */
:root { --taupe: #7a685c; }
.action-panel .inv { border-color: #cfc6bb; color: var(--ink-soft); background: transparent; font-weight: 400; min-height: 44px; }
.action-panel .inv:hover, .action-panel .inv:focus-visible { border-color: var(--ink); color: var(--ink); background: transparent; }
.action-panel .inv--strong { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--on-dark); font-weight: 500; min-height: 52px; }
.action-panel .inv--strong:hover, .action-panel .inv--strong:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.action-panel .inv[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
@media (min-width: 700px) { .action-panel { grid-template-columns: 1fr 1fr; } .action-panel .inv--strong { grid-column: auto; } }
.interest-banner { padding: 9px 16px; border: 0; background: var(--taupe); }
.interest-banner p { max-width: none; font-family: var(--sans, inherit); font-size: 13px; line-height: 1.45; letter-spacing: 0.02em; color: var(--on-dark); }

/* v1.17c: Rami's voice notes, 5 Nov. Slimmer, left-aligned buttons at natural width; bold one-line banner */
.action-panel { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 10px; padding: 22px 0; }
@media (min-width: 700px) { .action-panel { display: flex; } }
.action-panel .inv, .action-panel .inv--strong { width: auto; min-height: 0; padding: 9px 18px; font-size: 11px; letter-spacing: 0.12em; line-height: 1.3; }
.action-panel .inv--strong { font-weight: 600; }
.action-panel .inv:not(.inv--strong) { border-width: 1px; }
.interest-banner { padding: 8px 12px; }
.interest-banner p { font-weight: 600; font-size: 13px; letter-spacing: 0; white-space: nowrap; }
@media (max-width: 340px) { .interest-banner p { white-space: normal; font-size: 12px; } }

/* v1.17d: banner matches the button gold */
.interest-banner { background: var(--gold-deep); }

/* v1.17e: Rami, 5 Nov 11:28. Even slimmer buttons, no bold, no gradient */
.inv, .inv--strong, .action-panel .inv, .action-panel .inv--strong { font-weight: 400; }
.action-panel .inv, .action-panel .inv--strong { padding: 6px 16px; font-size: 10.5px; letter-spacing: 0.14em; line-height: 1.3; }
.piece-card .inv { min-height: 0; padding: 6px 16px; font-size: 10.5px; }

/* v1.17f: keep the slim look but give each button a 44px tap area (Apple/Google guidance) */
.action-panel { gap: 16px 12px; }
.action-panel .inv, .piece-card .inv { position: relative; }
.action-panel .inv::after, .piece-card .inv::after { content: ""; position: absolute; left: -4px; right: -4px; top: -8px; bottom: -8px; }

/* v1.17g: on phones, keep all four buttons on screen when a visitor lands from a QR code */
@media (max-width: 699px) {
  main.wrap { --fold-gap: 0px; }
  .interest-banner + main { padding-top: 14px !important; }
  .interest-banner + main > .stack { gap: 4px; }
  .interest-banner + main .h1 { font-size: clamp(28px, 8.2vw, 34px); line-height: 1.1; margin: 2px 0 0; }
  .interest-banner + main .caption { margin: 2px 0 0; }
  .interest-banner + main .action-panel { margin-top: 12px !important; padding: 14px 0 6px; }
  .piece-hero img { max-height: max(150px, calc(100vh - 396px)); max-height: max(150px, calc(100svh - 396px)); }
}

/* v1.17h: Rami's voice note, 5 Nov 08:08. The photograph comes first: full width on phones and tablets, never cropped or letterboxed. Buttons slimmer again, tap area kept at 44px */
@media (max-width: 899px) {
  .piece-hero { background: transparent; }
  .piece-hero img, .piece-hero--ph img { width: 100%; height: auto; max-height: none !important; object-fit: contain; }
}
.action-panel .inv, .action-panel .inv--strong, .piece-card .inv { padding: 4px 14px; font-size: 10px; letter-spacing: 0.14em; line-height: 1.3; }
.action-panel .inv::after, .piece-card .inv::after { top: -11px; bottom: -11px; }

/* v1.18: Rami's button design, 6 Nov. Gold gradient pills with an icon roundel; secondary buttons share the geometry and font in their quiet outline style */
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
.action-panel { gap: 12px 10px; padding: 18px 0 8px; }
.action-panel .inv, .action-panel .inv--strong { position: relative; display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; height: 34px; min-height: 34px; padding: 0 3px 0 13px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.01em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.action-panel .inv::before { content: ""; order: 2; flex: 0 0 28px; width: 28px; height: 28px; background: center / 28px 28px no-repeat; }
.action-panel .inv::after { top: -5px; bottom: -5px; }
.action-panel .inv--strong { background: linear-gradient(180deg, #c4a876 0%, #8e7858 100%); color: #fdfcfa; border: 1.5px solid #fdfcfa; box-shadow: 0 0 0 1px #84796e, 0 1px 2px rgba(38,33,32,.18); }
.action-panel .inv--strong:hover, .action-panel .inv--strong:focus-visible { background: linear-gradient(180deg, #b39463 0%, #7a6649 100%); color: #fdfcfa; border-color: #fdfcfa; }
.action-panel .inv--strong[aria-pressed="true"] { background: linear-gradient(180deg, #8e7858 0%, #6f5d45 100%); border-color: #fdfcfa; color: #fdfcfa; }
.action-panel .inv:not(.inv--strong) { background: transparent; color: var(--ink-soft); border: 1px solid #cfc6bb; box-shadow: none; }
.action-panel .inv:not(.inv--strong):hover, .action-panel .inv:not(.inv--strong):focus-visible { border-color: var(--ink); color: var(--ink); background: transparent; }
.action-panel a.inv--strong[href^="/send/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13.2' fill='%2384796e' stroke='%23fdfcfa' stroke-width='1.3'/%3E%3Cg fill='none' stroke='%23fdfcfa' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6.3v6.2M11.6 10.2 14 12.6l2.4-2.4'/%3E%3Cpath d='M11 12.8H9.2a1 1 0 0 0-1 1v5.7a1 1 0 0 0 1 1h9.6a1 1 0 0 0 1-1v-5.7a1 1 0 0 0-1-1H17'/%3E%3Cpath d='m8.4 14.2 5.6 3.6 5.6-3.6'/%3E%3C/g%3E%3C/svg%3E"); }
.action-panel .inv--strong[data-add]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13.2' fill='%2384796e' stroke='%23fdfcfa' stroke-width='1.3'/%3E%3Cg fill='none' stroke='%23fdfcfa' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9.3' y='6.8' width='9.8' height='14.4' rx='1.2'/%3E%3Cpath d='M8.2 9.6h2M8.2 12.6h2M8.2 15.6h2M8.2 18.6h2' stroke-width='1.1'/%3E%3Cpath d='M12.3 10.6l.9.9 1.5-1.6M12.3 14l.9.9 1.5-1.6M12.3 17.4l.9.9 1.5-1.6'/%3E%3Cpath d='M15.9 10.6h1.5M15.9 14h1.5M15.9 17.4h1.5'/%3E%3C/g%3E%3C/svg%3E"); }
.action-panel a.inv[href^="/visit/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13.2' fill='transparent' stroke='%23cfc6bb' stroke-width='1.3'/%3E%3Cg fill='none' stroke='%234a4441' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7.8' y='8.6' width='12.4' height='11.4' rx='1.4'/%3E%3Cpath d='M7.8 12h12.4M11 7v3M17 7v3'/%3E%3Cpath d='M11 15.2h.01M14 15.2h.01M17 15.2h.01M11 17.6h.01M14 17.6h.01' stroke-width='1.8'/%3E%3C/g%3E%3C/svg%3E"); }
.action-panel a.inv[href*="/specification/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13.2' fill='transparent' stroke='%23cfc6bb' stroke-width='1.3'/%3E%3Cg fill='none' stroke='%234a4441' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6.8h5.6l3.4 3.4v10a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1V7.8a1 1 0 0 1 1-1z'/%3E%3Cpath d='M15.4 7v3.4H19M11.6 14h4.8M11.6 16.8h4.8M11.6 11.4h2'/%3E%3C/g%3E%3C/svg%3E"); }
.action-panel .inv:not([href^="/send/"]):not([data-add]):not([href^="/visit/"]):not([href*="/specification/"])::before { display: none; }
.action-panel .inv:not([href^="/send/"]):not([data-add]):not([href^="/visit/"]):not([href*="/specification/"]) { padding-right: 13px; }
.interest-banner { background: #8e7858; }
.action-panel { gap: 12px 8px; }
.action-panel .inv, .action-panel .inv--strong { gap: 6px; padding-left: 11px; font-size: 10.5px; letter-spacing: 0; }
@media (max-width: 380px) { .action-panel .inv, .action-panel .inv--strong { font-size: 10px; padding-left: 10px; gap: 5px; } }
@media (max-width: 370px) { .action-panel { gap: 12px 6px; } .action-panel .inv, .action-panel .inv--strong { font-size: 9.6px; padding-left: 9px; gap: 4px; } }

/* v1.18b: Glen's notes on Rami's file. Bevelled pill (highlight above, shade below), inset roundel (shade above, highlight below), finer icons drawn to his artwork */
.action-panel .inv--strong { border: 1px solid #84796e; box-shadow: inset 0 1.5px 0 rgba(255,255,255,.75), inset 0 -2px 0 rgba(108,94,74,.55), 0 1px 1.5px rgba(38,33,32,.16); }
.action-panel .inv--strong:hover, .action-panel .inv--strong:focus-visible, .action-panel .inv--strong[aria-pressed="true"] { border-color: #84796e; }
.action-panel a.inv--strong[href^="/send/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='14' cy='13.7' r='12.7'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='14' cy='14.35' r='12.7' fill='%23fdfcfa'/%3E%3Ccircle cx='14' cy='13.7' r='12.7' fill='%2373685f'/%3E%3Ccircle cx='14' cy='14.9' r='12.7' fill='%2384796e' clip-path='url%28%23c%29'/%3E%3Cg fill='none' stroke='%23fdfcfa' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='1.15'%3E%3Cpath d='M11.3 9.6H7.5a1.4 1.4 0 0 0-1.4 1.4v7.8a1.4 1.4 0 0 0 1.4 1.4h13a1.4 1.4 0 0 0 1.4-1.4V11a1.4 1.4 0 0 0-1.4-1.4h-3.8'/%3E%3Cpath d='M6.3 12.1l7.2 4.3a1 1 0 0 0 1 0l7.2-4.3'/%3E%3Cpath d='M14 4.6v7'/%3E%3Cpath d='M11.3 8.9 14 11.6l2.7-2.7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.action-panel .inv--strong[data-add]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='14' cy='13.7' r='12.7'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='14' cy='14.35' r='12.7' fill='%23fdfcfa'/%3E%3Ccircle cx='14' cy='13.7' r='12.7' fill='%2373685f'/%3E%3Ccircle cx='14' cy='14.9' r='12.7' fill='%2384796e' clip-path='url%28%23c%29'/%3E%3Cg fill='none' stroke='%23fdfcfa' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.6' y='5.8' width='12.2' height='16.4' rx='0.5' stroke-width='1.05'/%3E%3Cpath d='M7.4 9.3h2.7M7.4 14.6h2.7M7.4 19.6h2.7' stroke-width='1.25'/%3E%3Cpath d='M11.8 9.1l1 1 1.7-1.9M11.8 14.4l1 1 1.7-1.9M11.8 19.4l1 1 1.7-1.9' stroke-width='1.25'/%3E%3Cpath d='M16.3 9.3h1.6M16.3 14.6h1.6M16.3 19.6h1.6' stroke-width='1.35'/%3E%3C/g%3E%3C/svg%3E"); }
.action-panel a.inv[href^="/visit/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='12.6' fill='none' stroke='%23cfc6bb' stroke-width='1'/%3E%3Cg fill='none' stroke='%234a4441' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='1.05'%3E%3Crect x='7.3' y='8.3' width='13.4' height='12.4' rx='1.2'/%3E%3Cpath d='M7.3 12h13.4M10.8 6.6v3.2M17.2 6.6v3.2'/%3E%3C/g%3E%3Cpath d='M10.8 15.2h.01M14 15.2h.01M17.2 15.2h.01M10.8 18h.01M14 18h.01' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E"); }
.action-panel a.inv[href*="/specification/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='12.6' fill='none' stroke='%23cfc6bb' stroke-width='1'/%3E%3Cg fill='none' stroke='%234a4441' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='1.05'%3E%3Cpath d='M9.6 5.8h6.2l3.6 3.6v11.8a1 1 0 0 1-1 1H9.6a1 1 0 0 1-1-1V6.8a1 1 0 0 1 1-1z'/%3E%3Cpath d='M15.6 6v3.6h3.6M11.4 13.4h5.2M11.4 16.2h5.2M11.4 19h3.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.action-panel .inv, .action-panel .inv--strong { padding-right: 5px; }
.action-panel .inv::before { flex-basis: 24px; width: 24px; height: 24px; background-size: 24px 24px; }
.action-panel .inv--strong { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.75), inset 0 -1.5px 0 rgba(108,94,74,.4), 0 1px 1px rgba(38,33,32,.12); }
/* v1.18c: secondary buttons without icons (none in Rami's artwork) */
.action-panel .inv:not(.inv--strong)::before { display: none; }
.action-panel .inv:not(.inv--strong) { padding-right: 13px; }

/* v1.18d: bevel thinned to Rami's artwork: hairline grey edge, fine top highlight, no extra shading below */
.action-panel .inv--strong { border: 0.5px solid #84796e; border-bottom-width: 0.75px; box-shadow: inset 0 0.75px 0 #fdfcfa; }
.action-panel a.inv--strong[href^="/send/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='14' cy='13.6' r='12.7'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='14' cy='14.4' r='12.7' fill='%23e8e5e0'/%3E%3Ccircle cx='14' cy='13.6' r='12.7' fill='%23776c63'/%3E%3Ccircle cx='14' cy='15.1' r='12.7' fill='%2384796e' clip-path='url%28%23c%29'/%3E%3Cg fill='none' stroke='%23fdfcfa' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='1.15'%3E%3Cpath d='M11.3 9.6H7.5a1.4 1.4 0 0 0-1.4 1.4v7.8a1.4 1.4 0 0 0 1.4 1.4h13a1.4 1.4 0 0 0 1.4-1.4V11a1.4 1.4 0 0 0-1.4-1.4h-3.8'/%3E%3Cpath d='M6.3 12.1l7.2 4.3a1 1 0 0 0 1 0l7.2-4.3'/%3E%3Cpath d='M14 4.6v7'/%3E%3Cpath d='M11.3 8.9 14 11.6l2.7-2.7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.action-panel .inv--strong[data-add]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='14' cy='13.6' r='12.7'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='14' cy='14.4' r='12.7' fill='%23e8e5e0'/%3E%3Ccircle cx='14' cy='13.6' r='12.7' fill='%23776c63'/%3E%3Ccircle cx='14' cy='15.1' r='12.7' fill='%2384796e' clip-path='url%28%23c%29'/%3E%3Cg fill='none' stroke='%23fdfcfa' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.6' y='5.8' width='12.2' height='16.4' rx='0.5' stroke-width='1.05'/%3E%3Cpath d='M7.4 9.3h2.7M7.4 14.6h2.7M7.4 19.6h2.7' stroke-width='1.25'/%3E%3Cpath d='M11.8 9.1l1 1 1.7-1.9M11.8 14.4l1 1 1.7-1.9M11.8 19.4l1 1 1.7-1.9' stroke-width='1.25'/%3E%3Cpath d='M16.3 9.3h1.6M16.3 14.6h1.6M16.3 19.6h1.6' stroke-width='1.35'/%3E%3C/g%3E%3C/svg%3E"); }
/* v1.18e: built from the vectors in Rami's artwork: exact roundels and icons, his gradient, edge weights and proportions */
.action-panel { gap: 12px 11px; }
.action-panel .inv--strong { width: 165px; justify-content: space-between; padding: 0 3px 0 12px; gap: 4px; background: linear-gradient(180deg, #c2a566 0%, #b39963 25%, #a38b59 50%, #94794f 75%, #897349 100%); border: 0.6px solid #7e7266; box-shadow: inset 0 0.6px 0 #fefdfc; }
.action-panel .inv--strong:hover, .action-panel .inv--strong:focus-visible { background: linear-gradient(180deg, #b0925a 0%, #7c6843 100%); border-color: #7e7266; }
.action-panel .inv--strong[aria-pressed="true"] { background: linear-gradient(180deg, #94794f 0%, #6f5d3e 100%); border-color: #7e7266; }
.action-panel .inv--strong::before { flex: 0 0 24.2px; width: 24.2px; height: 24.2px; background-size: 24.2px 24.2px; }
.action-panel a.inv--strong[href^="/send/"]::before { background-image: url("/img/ui/btn-mail.svg"); }
.action-panel .inv--strong[data-add]::before { background-image: url("/img/ui/btn-list.svg"); }
@media (max-width: 380px) { .action-panel { gap: 12px 8px; } .action-panel .inv--strong { width: 157px; padding-left: 10px; } }
@media (max-width: 370px) { .action-panel { gap: 12px 6px; } .action-panel .inv--strong { width: 150px; padding-left: 9px; } }
.action-panel .inv--strong { font-size: 10.9px; padding-right: 4.6px; padding-left: 12px; } @media (max-width: 380px) { .action-panel .inv--strong { font-size: 10.4px; padding-right: 4px; padding-left: 10px; } } @media (max-width: 370px) { .action-panel .inv--strong { font-size: 9.9px; padding-left: 9px; } }
.action-panel .inv:not(.inv--strong) { font-size: 10.9px; padding: 0 12px; } @media (max-width: 380px) { .action-panel .inv:not(.inv--strong) { font-size: 10.4px; padding: 0 10px; } } @media (max-width: 370px) { .action-panel .inv:not(.inv--strong) { font-size: 9.9px; } }
/* v1.18f: gradient and edge colours as Rami's artwork displays them (colour-managed render of his EPS) */
.action-panel .inv--strong { background: linear-gradient(180deg, #c5a977 0%, #b79c6f 25%, #a88f66 50%, #9b835f 75%, #8e7857 100%); border-color: #84796e; }
.action-panel .inv--strong:hover, .action-panel .inv--strong:focus-visible { background: linear-gradient(180deg, #b39a6c 0%, #7d6a4e 100%); border-color: #84796e; }
.action-panel .inv--strong[aria-pressed="true"] { background: linear-gradient(180deg, #9b835f 0%, #75644a 100%); border-color: #84796e; }
/* v1.18g: pressed look. Gradient and highlight flipped (dark at top, light at bottom): hover on desktop, touch-down on phones */
.action-panel .inv--strong:hover, .action-panel .inv--strong:focus-visible { background: linear-gradient(180deg, #c5a977 0%, #b79c6f 25%, #a88f66 50%, #9b835f 75%, #8e7857 100%); box-shadow: inset 0 0.6px 0 #fefdfc; }
@media (hover: hover) {
  .action-panel .inv--strong:hover { background: linear-gradient(0deg, #c5a977 0%, #b79c6f 25%, #a88f66 50%, #9b835f 75%, #8e7857 100%); box-shadow: inset 0 -0.6px 0 #fefdfc; }
}
.action-panel .inv--strong:active, .action-panel .inv--strong:focus-visible { background: linear-gradient(0deg, #c5a977 0%, #b79c6f 25%, #a88f66 50%, #9b835f 75%, #8e7857 100%); box-shadow: inset 0 -0.6px 0 #fefdfc; }

/* v1.18h: roundel bevel flips with the button when pressed */
.action-panel a.inv--strong[href^="/send/"]:active::before, .action-panel a.inv--strong[href^="/send/"]:focus-visible::before { background-image: url("/img/ui/btn-mail-press.svg"); }
.action-panel .inv--strong[data-add]:active::before, .action-panel .inv--strong[data-add]:focus-visible::before { background-image: url("/img/ui/btn-list-press.svg"); }
@media (hover: hover) {
  .action-panel a.inv--strong[href^="/send/"]:hover::before { background-image: url("/img/ui/btn-mail-press.svg"); }
  .action-panel .inv--strong[data-add]:hover::before { background-image: url("/img/ui/btn-list-press.svg"); }
}
