/* Roberto Vámos — site styles */
:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #6b6b6b;
  --line: #deddda;
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --night: #0b0b0b;
  --night-2: #161616;
  --night-line: #333331;
  --night-text: #ededeb;
  --night-muted: #a8a8a5;
  --header-h: 84px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --font: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -0.015em; line-height: 1.05; }
p { margin: 0; }
.muted { color: var(--muted); }
.caps, .kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400; }
.kicker { color: var(--muted); margin: 0 0 14px; }
.subtitle { display: block; font-size: 0.42em; letter-spacing: 0; color: var(--muted); margin-top: 0.5em; font-weight: 300; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lightbox :focus-visible, .site-footer :focus-visible, .carousel :focus-visible { outline-color: #fff; }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; }
.arrow-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; align-self: flex-start; }
.arrow-link:hover { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); background: rgba(255,255,255,0.97); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.logo img { height: 40px; width: auto; }
.header-right { display: flex; align-items: center; gap: 40px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a, .lang-nav a { white-space: nowrap; text-decoration: none; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.main-nav a:hover, .lang-nav a:hover { color: var(--muted); }
.lang-nav { display: flex; }
.lang-nav a { font-size: 11px; letter-spacing: 0.14em; padding: 0 6px; color: var(--muted); min-width: 32px; justify-content: center; }
.lang-nav a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.cart-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; background: none; border: 0; cursor: pointer; font-size: 12px; }
.menu-toggle { display: none; background: none; border: 0; min-height: 44px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }

/* Carousel */
.carousel { position: relative; height: calc(100svh - var(--header-h)); min-height: 420px; background: var(--night); overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity var(--blend, 1600ms) ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.55)); pointer-events: none; }
.slide figcaption { position: absolute; left: var(--gutter); bottom: 44px; z-index: 2; }
.slide figcaption a { display: flex; flex-direction: column; gap: 6px; color: #fff; text-decoration: none; }
.slide .kicker { color: #e4e4e2; margin: 0; }
.slide-title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; line-height: 1.15; }
.slide-year { font-size: 14px; color: #e4e4e2; }
.carousel-controls { position: absolute; right: var(--gutter); bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 2px; }
.dot-btn { width: 40px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; }
.dot-btn span { display: block; width: 32px; height: 2px; background: #fff; opacity: 0.4; transition: opacity .4s; }
.dot-btn.is-active span { opacity: 1; }
.pause-btn { width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-left: 8px; }
.pause-btn .i-play { display: none; }
.carousel.is-paused .pause-btn .i-play { display: block; }
.carousel.is-paused .pause-btn .i-pause { display: none; }

/* Statement */
.statement { padding: clamp(96px, 14vw, 180px) var(--gutter); max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.statement blockquote { margin: 0; display: flex; flex-direction: column; gap: 28px; }
.quote { font-size: clamp(32px, 4.6vw, 64px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
.quote-sub { font-size: clamp(19px, 2vw, 26px); font-weight: 300; line-height: 1.45; max-width: 820px; color: var(--ink-2); }
.statement-foot { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.signature { font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }

/* Sections */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.section-head h2, .page-head h1 { font-size: clamp(40px, 5.4vw, 72px); }
.featured { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) var(--gutter); display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.featured-excerpt { max-width: 520px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.work { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.work-open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.work-open img { width: 100%; }
.work figcaption { display: flex; justify-content: space-between; gap: 24px; font-size: 15px; flex-wrap: wrap; }
.work figcaption .caps { color: var(--muted); font-size: 10.5px; }
.work-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: end; }

/* Room mock-up */
.room { position: relative; background: #dcdbd7; overflow: hidden; }
.room-wall { position: relative; height: clamp(520px, 62vw, 860px); display: flex; justify-content: center; }
.room-text { position: absolute; left: var(--gutter); top: clamp(32px, 5vw, 64px); max-width: 340px; z-index: 2; color: #2e2e2c; }
.room-text .kicker { color: #3a3a38; }
.room-frame { position: absolute; top: 14%; width: min(38vw, 520px); aspect-ratio: var(--r); background: #fafaf8; border: clamp(6px, 0.8vw, 11px) solid #151515; padding: clamp(18px, 3vw, 44px); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.room-frame img { width: 100%; height: 100%; object-fit: cover; }
.room-sofa { position: absolute; bottom: 0; width: min(62vw, 820px); height: 22%; }
.room-sofa .back { position: absolute; left: 3%; right: 3%; bottom: 55%; height: 45%; background: #4a4947; border-radius: 18px 18px 0 0; }
.room-sofa .seat { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: #3a3937; border-radius: 14px 14px 4px 4px; }
.room-lamp { position: absolute; right: 12%; bottom: 0; width: 3px; height: 58%; background: #2a2a29; }
.room-lamp::before { content: ""; position: absolute; left: -38px; top: -6px; width: 80px; height: 52px; background: #f2f1ed; border-radius: 40px 40px 3px 3px; }
.room-floor { background: #b5b3ae; padding: 22px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: #1a1a19; flex-wrap: wrap; }

/* Portfolio tiles */
.portfolio-index { padding: clamp(80px, 10vw, 140px) var(--gutter); display: flex; flex-direction: column; gap: 56px; }
.portfolio-index.no-top { padding-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.tile { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.tile-wide { grid-column: 1 / -1; }
.tile-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #e8e8e6; }
.tile-wide .tile-img { aspect-ratio: 21 / 9; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.tile:hover .tile-img img { transform: scale(1.02); }
.tile-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.tile-title { font-size: clamp(20px, 2vw, 26px); font-weight: 300; }
.tile-cap > .muted { font-size: 14px; }

/* Page heads */
.page-head { padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 24px; }
.series-head { flex-direction: row; justify-content: space-between; gap: 64px; flex-wrap: wrap; align-items: flex-start; }
.series-head h1 { font-size: clamp(44px, 6vw, 88px); }
.series-head > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.series-side { max-width: 560px; display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.lead { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.narrow { max-width: 640px; }
.fulltext summary { cursor: pointer; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; list-style: none; border-bottom: 1px solid var(--ink); }
.fulltext summary::-webkit-details-marker { display: none; }
.fulltext[open] summary { display: none; }
.fulltext p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.1em; }
.view-toggle { display: flex; align-items: center; gap: 4px; }
.view-toggle .caps { margin-right: 12px; }
.view-toggle button { height: 36px; padding: 0 14px; border: 1px solid #c9c8c4; background: var(--paper); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Works: large and grid views */
.works { padding: 0 var(--gutter) clamp(80px, 10vw, 120px); }
.works.is-large { display: flex; flex-direction: column; align-items: center; gap: clamp(72px, 9vw, 120px); }
.works.is-large .work { width: min(100%, calc(84vh * var(--r))); }
.works.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; align-items: end; }
.works.is-grid .work figcaption .caps { display: none; }
.works.is-grid .work figcaption { font-size: 14px; }
.series-next { margin: 0 var(--gutter); padding: 40px 0 64px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.next-link { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; }
.next-link .kicker { margin: 0 0 4px; }
.next-title { font-size: clamp(24px, 3vw, 36px); font-weight: 300; }

/* Prints page */
.prints-group { padding: 0 0 24px; }
.group-head { padding: 0 var(--gutter) 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1px solid var(--line); margin: 0 var(--gutter); padding-left: 0; padding-right: 0; padding-top: 40px; }
.group-head h2 { font-size: clamp(28px, 3vw, 40px); }

/* About */
.about { padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.portrait { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-body { display: flex; flex-direction: column; gap: 20px; }
.about-body h1 { font-size: clamp(44px, 5.6vw, 76px); }
.bio { display: flex; flex-direction: column; gap: 1.1em; font-size: 18px; line-height: 1.75; color: var(--ink-2); margin-top: 20px; }
.votuana { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.votuana h2, .cv-block h2 { color: var(--muted); font-size: 11px; }
.votuana p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.cv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px; }
.cv-block ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cv-block li { display: flex; gap: 16px; font-size: 15px; line-height: 1.5; }
.cv-year { color: var(--muted); min-width: 40px; }

/* Journal */
.journal-empty { padding: 0 var(--gutter) 160px; }
.journal-empty p { border-top: 1px solid var(--line); padding-top: 40px; font-size: 20px; font-weight: 300; color: var(--muted); }

/* Contact */
.contact { padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-side h1 { font-size: clamp(40px, 5.4vw, 72px); }
.contact-email { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.contact-email p:last-child { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.email-link { font-size: 20px; font-weight: 300; overflow-wrap: anywhere; }
.contact-form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9c8c4; background: var(--paper); color: var(--ink); border-radius: 0; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.invalid input, .field.invalid textarea { border-color: #9b1c1c; }
.contact-form .btn-dark { align-self: flex-start; }
.form-msg { font-size: 15px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.footer-email { font-size: 14px; color: var(--night-muted); margin-top: 8px; user-select: all; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0e0e0e; color: var(--night-text); padding: 72px var(--gutter) 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.newsletter { display: flex; flex-direction: column; gap: 10px; }
.newsletter-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 300; margin-bottom: 12px; }
.newsletter label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--night-muted); }
.newsletter-row { display: flex; }
.newsletter input { width: min(360px, 60vw); height: 52px; padding: 0 16px; background: transparent; border: 1px solid #5a5a58; color: var(--night-text); font: inherit; border-radius: 0; }
.newsletter button { height: 52px; padding: 0 24px; background: var(--night-text); color: #0e0e0e; border: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.newsletter-msg { font-size: 14px; color: var(--night-muted); }
.footer-nav { display: flex; flex-direction: column; gap: 2px; }
.footer-nav a { text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; font-size: 14px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid #2a2a29; padding-top: 24px; font-size: 13px; color: var(--night-muted); }
.footer-langs { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-langs a { text-decoration: none; }
.footer-langs a[aria-current="true"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: var(--night); color: var(--night-text); display: grid; grid-template-rows: 64px minmax(0, 1fr) auto; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(8px, 3vw, 40px); gap: 16px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--night-muted); }
.lb-series { flex: 1; }
.lb-count { flex: 1; text-align: center; }
.lb-top-actions { flex: 1; display: flex; justify-content: flex-end; gap: 4px; }
.lb-icon { min-width: 44px; height: 44px; background: none; border: 0; color: var(--night-text); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 12px; letter-spacing: 0; }
.lb-icon.dark { color: var(--ink); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 clamp(8px, 7vw, 110px); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .35s ease; }
.lb-stage img.loading { opacity: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 24px; border: 1px solid var(--night-line); background: rgba(11,11,11,0.6); color: var(--night-text); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.lb-nav:hover { border-color: #777; }
.lb-prev { left: clamp(8px, 2.5vw, 36px); }
.lb-next { right: clamp(8px, 2.5vw, 36px); }
.lb-info { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px clamp(16px, 7vw, 110px) 24px; flex-wrap: wrap; position: relative; }
.lb-text h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 300; color: #f5f5f3; margin-bottom: 6px; }
.lb-text p { font-size: 14px; color: var(--night-muted); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb-text .dot { width: 4px; height: 4px; border-radius: 2px; background: #6a6a67; }
.lb-text .dot:first-child { display: none; }
.lb-buy { position: relative; }
.btn-light, .btn-dark { height: 52px; padding: 0 26px; border: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; }
.btn-light { background: #f5f5f3; color: var(--night); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light:disabled { background: #2a2a29; color: var(--night-muted); cursor: default; }
.btn-block { width: 100%; }
.btn-light[aria-expanded="true"] svg { transform: rotate(180deg); }
.buy-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(460px, calc(100vw - 32px)); background: var(--night-2); border: 1px solid var(--night-line); padding: 24px; display: flex; flex-direction: column; gap: 16px; z-index: 5; }
.buy-panel[hidden] { display: none; }
.panel-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--night-muted); }
.size-list { display: flex; flex-direction: column; gap: 8px; }
.size-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; width: 100%; min-height: 62px; padding: 10px 14px; background: transparent; border: 1px solid #3a3a38; color: var(--night-text); text-align: left; cursor: pointer; }
.size-opt:hover { border-color: #6a6a67; }
.size-opt[aria-checked="true"] { border-color: #f5f5f3; background: #222221; }
.size-opt:disabled { opacity: 0.45; cursor: default; }
.size-opt .radio { width: 16px; height: 16px; border-radius: 8px; border: 1px solid #7a7a77; display: flex; align-items: center; justify-content: center; }
.size-opt[aria-checked="true"] .radio { border-color: #f5f5f3; }
.size-opt[aria-checked="true"] .radio::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #f5f5f3; }
.size-opt .s-main { display: flex; flex-direction: column; gap: 2px; }
.size-opt .s-size { font-size: 16px; }
.size-opt .s-ed { font-size: 12px; color: var(--night-muted); }
.size-opt .s-price { font-size: 14px; text-align: right; }
.added { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.added[hidden] { display: none; }

.print-notes { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--night-muted); }
.print-notes li[hidden] { display: none; }
.print-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; max-width: 980px; margin-top: 16px; }
.size-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.size-table caption { text-align: left; color: var(--muted); padding-bottom: 12px; }
.size-table th { text-align: left; font-weight: 400; font-size: 12px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.size-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.size-table td:last-child, .size-table th:last-child { text-align: right; }
.table-note { grid-column: 1; font-size: 13px; color: var(--muted); margin-top: -16px; }
.print-about { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 720px) { .table-note, .print-about { grid-column: 1; grid-row: auto; } }
.print-about .caps { color: var(--muted); margin-bottom: 12px; }
.print-about ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.print-about li { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .print-facts { grid-template-columns: 1fr; } }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 60; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--paper); color: var(--ink); z-index: 70; display: flex; flex-direction: column; padding: 20px 28px 28px; gap: 16px; box-shadow: -20px 0 40px rgba(0,0,0,0.15); }
.cart-drawer[hidden] { display: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 24px; }
.cart-empty { color: var(--muted); }
.cart-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; flex: 1; }
.cart-items li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-items img { width: 80px; height: 80px; object-fit: cover; }
.cart-items .ci-title { font-size: 15px; }
.cart-items .ci-meta { font-size: 13px; color: var(--muted); }
.cart-items .link { min-height: 32px; font-size: 13px; color: var(--muted); }
.cart-foot { display: flex; flex-direction: column; gap: 14px; }
.cart-foot[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; }
.cart-note { font-size: 13px; color: var(--muted); }
body.no-scroll { overflow: hidden; }
.cart-delivery { font-size: 13.5px; line-height: 1.5; padding: 12px 14px; background: var(--paper-2); color: var(--ink-2); }
.print-notes .note-delivery { color: var(--night-text); margin-top: 6px; line-height: 1.45; }
.cart-note.secure { display: flex; align-items: center; gap: 6px; }
.btn-dark:disabled { opacity: 0.6; cursor: default; }
.message-page { min-height: 50vh; }
.message-actions { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

/* Responsive */
@media (max-width: 1100px) {
  .header-right { gap: 24px; }
  .main-nav { gap: 20px; }
}
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .header-right { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line); display: none; }
  .header-right.open { display: flex; }
  .main-nav { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 14px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .logo img { height: 28px; }
  .works.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 520px; }
}
@media (max-width: 640px) {
  .tiles, .work-pair { grid-template-columns: 1fr; }
  .tile-wide .tile-img { aspect-ratio: 3 / 2; }
  .cv { grid-template-columns: 1fr; }
  .works.is-large .work { width: 100%; }
  .carousel-controls { right: 8px; bottom: 8px; }
  .dot-btn { width: 28px; }
  .dot-btn span { width: 20px; }
  .slide figcaption { bottom: 64px; }
  .room-frame { width: 56vw; top: 22%; }
  .room-text { max-width: 60vw; }
  .room-lamp { display: none; }
  .room-sofa { width: 88vw; }
  .lb-nav { display: none; }
  .lb-info { padding-top: 12px; }
  .lb-buy, .lb-buy .btn-light { width: 100%; }
  .buy-panel { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; }
  .newsletter-row { flex-direction: column; gap: 8px; }
  .newsletter input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .tile-img img, .lb-stage img { transition: none; }
}
