/* Conchita Carambano — an interiors portfolio.
   The works are shown the way a design studio presents a project: linen and travertine tones,
   generous margins, thin rules, numbered chapters, quiet serif type, and every painting seen
   both on its own and in a room. Motion is slow and discreet: fades, a gentle settle, a crossfade
   from the work to the work in situ. */

:root {
  --linen: #f4f1eb; --stone: #ebe5da; --stone-2: #ddd4c6; --sand: #c9bba5;
  --ink: #26221e; --ink-2: #5d554c; --ink-3: #8f857a;
  --bronze: #983828; --terra: #983828; --terra-2: #b5553f; --umber: #2a2520;
  --line: rgba(38, 34, 30, .13);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(20px, 5.5vw, 96px);
  --ease: cubic-bezier(.25, .7, .2, 1);
  --crisp: 'SOFT' 100, 'WONK' 1; /* the soft, slightly wonky Fraunces of the first version */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; overflow-x: clip; background: var(--linen); color: var(--ink); font: 400 15.5px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; font-variation-settings: var(--crisp); line-height: 1.04; letter-spacing: -.012em; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1.1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--linen); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.label, .kicker { font: 500 11px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 22px; }
.chapter { display: flex; align-items: baseline; gap: 18px; font: 500 11px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 28px; }
.chapter b { font: 300 13px/1 var(--serif); letter-spacing: .04em; color: var(--bronze); }
.chapter::after { content: ''; flex: 1; height: 1px; background: var(--line); translate: 0 -4px; }

.link { font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 12px; align-items: center; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.link::after { content: ''; width: 22px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.link:hover::after { width: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 34px; border: 0; cursor: pointer; text-decoration: none;
  font: 500 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s; }
.btn-solid { background: var(--ink); color: var(--linen); }
.btn-solid:hover { background: var(--terra); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--linen); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 22px var(--gut); background: color-mix(in srgb, var(--linen) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .4s, padding .4s; }
.site-header.is-solid { box-shadow: 0 1px 0 var(--line); padding-top: 16px; padding-bottom: 16px; }
.wordmark { grid-column: 2; display: block; line-height: 0; color: var(--ink); transition: color .4s; }
.wordmark svg { display: block; height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.is-solid .wordmark svg { height: 44px; }
.wordmark:hover { color: var(--terra); }
.nav { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.nav a:hover, .nav a[aria-current] { background-size: 100% 1px; }
.nav-right { grid-column: 3; justify-self: end; display: flex; gap: clamp(16px, 2.2vw, 34px); font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav-right a { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.nav-right a:hover, .nav-right a[aria-current] { background-size: 100% 1px; }
.menu-btn { display: none; grid-column: 3; justify-self: end; background: none; border: 0; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 10px 0; }
.mobile-nav { position: fixed; inset: 0; z-index: 39; background: var(--linen); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 100px var(--gut) 40px; }
.mobile-nav a { font: 300 clamp(34px, 9vw, 52px)/1.25 var(--serif); font-variation-settings: var(--crisp); text-decoration: none; }
.menu-open { overflow: hidden; }

/* ---------- reveals: a slow fade and settle ---------- */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .settle img { opacity: 0; scale: 1.035; transition: opacity 1.4s var(--ease), scale 2.2s var(--ease); }
.js .settle.in img { opacity: 1; scale: 1; }

/* ---------- hero: an interior, like the cover of a design magazine ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; min-height: calc(100svh - 70px); }
.hero-text { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(40px, 7vh, 90px) clamp(28px, 4vw, 72px) clamp(36px, 6vh, 70px) var(--gut); }
.hero-logo { margin: 24px 0 38px; line-height: 0; color: var(--ink); }
.hero-logo svg { display: block; width: min(100%, 520px); height: auto; }
.hero-sub { font: 300 clamp(19px, 1.6vw, 24px)/1.45 var(--serif); font-variation-settings: var(--crisp); color: var(--ink-2); max-width: 22em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 34px; }
.hero-foot { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 34px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.hero-foot b { display: block; font: 300 30px/1 var(--serif); color: var(--ink); margin-bottom: 6px; }
.hero-art { position: relative; margin: 0; overflow: hidden; background: var(--stone); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .hero-art img { scale: 1.08; transition: scale 3.4s var(--ease); }
.hero.ready .hero-art img { scale: 1; }
.hero-art figcaption { position: absolute; left: 24px; bottom: 20px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.js .hero-text > * { opacity: 0; translate: 0 18px; transition: opacity 1.3s var(--ease), translate 1.3s var(--ease); }
.hero.ready .hero-text > * { opacity: 1; translate: 0 0; }
.hero.ready .hero-text > :nth-child(2) { transition-delay: .12s; }
.hero.ready .hero-text > :nth-child(3) { transition-delay: .24s; }

/* ---------- sections ---------- */
.sec { padding: clamp(100px, 15vh, 190px) var(--gut) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 30px clamp(30px, 6vw, 110px); align-items: end; margin-bottom: clamp(40px, 6vh, 70px); }
.sec-head h2 { font-size: clamp(44px, 5.6vw, 92px); }
.sec-head p { color: var(--ink-2); max-width: 30em; margin: 0; }

.intro { padding: clamp(110px, 17vh, 200px) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(30px, 6vw, 110px); }
.intro-big { font: 300 clamp(28px, 3.3vw, 52px)/1.25 var(--serif); font-variation-settings: var(--crisp); letter-spacing: -.01em; margin: 0; max-width: 24em; }
.intro-big em { color: var(--bronze); }

/* selected works: an asymmetric editorial layout */
.selected { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 6vh, 80px) clamp(16px, 2.4vw, 40px); align-items: end; }
.selected > a { text-decoration: none; display: block; }
.selected > a:nth-child(5n + 1) { grid-column: 1 / span 7; }
.selected > a:nth-child(5n + 2) { grid-column: 9 / span 4; }
.selected > a:nth-child(5n + 3) { grid-column: 2 / span 4; }
.selected > a:nth-child(5n + 4) { grid-column: 7 / span 6; }
.selected > a:nth-child(5n + 5) { grid-column: 4 / span 6; }
.selected .mat { aspect-ratio: auto; padding: clamp(28px, 4.4vw, 80px); }
.selected .mat img { max-height: 62vh; }

/* the mat: a work on a pale stone wall, like a gallery photograph */
.mat { position: relative; display: grid; place-items: center; background: var(--stone); overflow: hidden; }
.mat > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 1px 2px rgba(38, 34, 30, .12), 0 18px 30px -18px rgba(38, 34, 30, .45); }
.mat .room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease), scale 2s var(--ease); scale: 1.04; box-shadow: none; max-width: none; max-height: none; }
.mat .in-situ { position: absolute; right: 12px; bottom: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .6s; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
a:hover .mat .room, a:focus-visible .mat .room { opacity: 1; scale: 1; }
a:hover .mat .in-situ { opacity: 1; }
.caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.caption h3 { font-size: clamp(20px, 1.5vw, 24px); font-weight: 300; }
.caption p { margin: 0; font-size: 12px; letter-spacing: .06em; color: var(--ink-2); text-align: right; white-space: nowrap; }
.caption p span { display: block; }

/* in the room: wide horizontal gallery */
.rooms-strip { list-style: none; margin: 0; padding: 0 var(--gut) 24px; display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--stone-2) transparent; cursor: grab; }
.rooms-strip.drag { cursor: grabbing; scroll-snap-type: none; }
.rooms-strip li { flex: none; scroll-snap-align: start; }
.rooms-strip a { display: block; text-decoration: none; }
.rooms-strip figure { margin: 0; height: clamp(320px, 62vh, 640px); overflow: hidden; background: var(--stone); }
.rooms-strip img { height: 100%; width: auto; max-width: none; pointer-events: none; transition: scale 1.6s var(--ease); }
.rooms-strip a:hover img { scale: 1.03; }
.rooms-strip p { margin: 14px 0 0; font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }
.rooms-strip p b { font: 300 19px/1.2 var(--serif); color: var(--ink); letter-spacing: 0; margin-right: 10px; }
.full-bleed { padding-left: 0; padding-right: 0; }
.full-bleed .sec-head { padding: 0 var(--gut); }

/* two surfaces */
.surfaces { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 56px); }
.surface { text-decoration: none; display: block; }
.surface .mat { aspect-ratio: 4 / 5; }
.surface .mat > img:first-child { width: 100%; height: 100%; object-fit: cover; box-shadow: none; transition: scale 1.8s var(--ease); }
.surface:hover .mat > img:first-child { scale: 1.03; }
.surface-text { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: end; padding-top: 22px; }
.surface-text h3 { font-size: clamp(36px, 3.6vw, 60px); }
.surface-text p { grid-column: 1; color: var(--ink-2); margin: 0; max-width: 28em; }
.surface-text .label { margin: 0; grid-column: 2; grid-row: 1; }
.surface-text .link { grid-column: 2; grid-row: 2; justify-self: end; }

/* palette: paint-chip cards, like a colour library in a design studio */
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); }
.chips a { display: block; text-decoration: none; background: #fbfaf7; padding: 10px 10px 16px; box-shadow: 0 1px 0 var(--line), 0 20px 30px -26px rgba(38, 34, 30, .45); transition: translate .6s var(--ease), box-shadow .6s var(--ease); }
.chips a:hover { translate: 0 -8px; box-shadow: 0 1px 0 var(--line), 0 30px 40px -26px rgba(38, 34, 30, .5); }
.chip-swatch { display: block; aspect-ratio: 3 / 4; background: var(--c); position: relative; overflow: hidden; }
.chip-swatch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.chips a:hover .chip-swatch img { opacity: 1; }
.chips b { display: block; margin-top: 14px; font: 300 19px/1.15 var(--serif); }
.chips small { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

/* for collectors and designers */
.services { margin-top: clamp(100px, 15vh, 190px); padding: clamp(80px, 12vh, 140px) var(--gut); background: var(--terra); color: var(--linen); }
.services .chapter { color: rgba(244, 241, 235, .6); }
.services .chapter b { color: #f1d9c8; }
.services .chapter::after { background: rgba(244, 241, 235, .16); }
.services h2 { font-size: clamp(44px, 5.4vw, 88px); max-width: 12em; margin-bottom: clamp(50px, 8vh, 90px); }
.services h2 em { color: #f1d9c8; }
.service-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 70px); }
.service-cols > div { border-top: 1px solid rgba(244, 241, 235, .2); padding-top: 26px; }
.service-cols h3 { font-size: clamp(24px, 2vw, 32px); margin-bottom: 14px; }
.service-cols p { color: rgba(244, 241, 235, .72); }
.services .link { color: var(--linen); }

/* about */
.about-teaser, .about-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 130px); align-items: center; }
.portrait { margin: 0; background: var(--stone); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%; }
.portrait figcaption { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 12px; background: var(--linen); }
.about-teaser h2, .about-head h1 { font-size: clamp(42px, 5vw, 84px); margin-bottom: 30px; }
.about-teaser h2 em, .about-head h1 em { color: var(--bronze); }
.about-teaser p, .lede-p { color: var(--ink-2); max-width: 36em; }
.about-head { padding: clamp(30px, 5vh, 70px) var(--gut) 0; }
.statement { padding: clamp(90px, 14vh, 170px) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(30px, 6vw, 110px); }
.vision { font: 300 clamp(32px, 4vw, 64px)/1.15 var(--serif); font-variation-settings: var(--crisp); font-style: italic; margin: 0 0 60px; max-width: 16em; }
.statement-text { columns: 2 320px; column-gap: 56px; color: var(--ink-2); }
.statement-text p:first-child::first-letter { font: 300 4.6em/.8 var(--serif); float: left; margin: .06em .12em 0 0; color: var(--bronze); }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 130px); padding: clamp(90px, 14vh, 170px) var(--gut) 0; }
.cv h2 { font-size: clamp(32px, 3.2vw, 50px); margin-bottom: 28px; }
.cv ul { list-style: none; margin: 0; padding: 0; }
.awards li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.awards b { font: 300 16px/1.6 var(--serif); color: var(--bronze); }
.coll { columns: 2 200px; column-gap: 36px; }
.coll li { padding: 9px 0; border-top: 1px solid var(--line); break-inside: avoid; }

/* ---------- contact & footer ---------- */
.contact { margin-top: clamp(100px, 15vh, 190px); padding: clamp(80px, 13vh, 150px) var(--gut); background: var(--stone); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); }
.contact h2 { font-size: clamp(44px, 5.6vw, 92px); margin-bottom: 30px; }
.contact h2 em { color: var(--bronze); }
.contact-mail { display: inline-block; font: 300 clamp(22px, 2.8vw, 42px)/1.2 var(--serif); font-variation-settings: var(--crisp); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 6px; transition: color .4s; }
.contact-mail:hover { color: var(--bronze); }
.contact-note { max-width: 32em; color: var(--ink-2); margin-top: 26px; }
.contact-side h3 { font: 500 11px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.contact-side ul { list-style: none; margin: 0 0 40px; padding: 0; }
.contact-side li a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; transition: color .3s, padding .4s var(--ease); }
.contact-side li a:hover { color: var(--bronze); padding-left: 6px; }
.contact-side small { color: var(--ink-3); font-size: 12px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding: 26px var(--gut); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--stone); box-shadow: 0 -1px 0 var(--line); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- breadcrumbs & page heads ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 24px var(--gut) 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.works, .page-head { padding: clamp(36px, 6vh, 80px) var(--gut) 0; }
.works-head, .page-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(30px, 6vw, 110px); align-items: end; }
.works-head .label, .page-head .label { grid-column: 1 / -1; }
.works-head h1, .page-head h1 { font-size: clamp(56px, 8vw, 132px); letter-spacing: -.025em; }
.works-head h1 em, .page-head h1 em { color: var(--bronze); }
.works-intro { color: var(--ink-2); max-width: 32em; margin: 0; }

/* ---------- filters ---------- */
.filters { position: sticky; top: 62px; z-index: 20; margin: clamp(40px, 6vh, 70px) calc(-1 * var(--gut)) clamp(30px, 5vh, 56px); padding: 16px var(--gut); background: color-mix(in srgb, var(--linen) 95%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line); }
.filter-top { display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; }
.count { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.count b { font: 300 24px/1 var(--serif); letter-spacing: 0; color: var(--ink); margin-right: 6px; }
.sort { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort select { font: 500 12px var(--sans); padding: 8px 28px 8px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; border-radius: 0;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 5px 5px; background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-repeat: no-repeat; }
.filter-toggle { display: none; }
.filter-groups { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 16px; }
.filter-group { display: flex; align-items: baseline; gap: 14px; }
.filter-group > span { font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.filter-group > div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: none; cursor: pointer; font: 400 13px/1.2 var(--sans); color: var(--ink-2);
  background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease), color .3s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); background-size: 100% 1px; font-weight: 600; }
.chip .dot { width: 10px; height: 10px; background: var(--c); }
.chip.reset { color: var(--bronze); }

/* ---------- grid of works ---------- */
.pool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(46px, 6vh, 76px) clamp(18px, 2.2vw, 36px); }
.work-card { display: block; text-decoration: none; }
.work-card .mat { aspect-ratio: 4 / 5; padding: 14%; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; font: 500 10px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.badge.sold { color: var(--ink); }
.badge.sold::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #a4452f; vertical-align: .1em; }
.empty { text-align: center; padding: 60px 0; color: var(--ink-2); }
.more-link { text-align: center; margin-top: 60px; }

/* ---------- work page ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(30px, 6vw, 110px); padding: clamp(24px, 4vh, 50px) var(--gut) 0; align-items: start; }
.detail-media { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.stage { margin: 0; min-height: min(80svh, 860px); padding: clamp(30px, 7vw, 120px); }
.stage img { max-height: min(66svh, 720px); transition: opacity .4s; }
.views { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.views figure { margin: 0; background: var(--stone); }
.views img { width: 100%; height: auto; }
.views figcaption { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); padding: 10px 0 0; background: var(--linen); }
.detail-info { position: sticky; top: 100px; }
.detail-info h1 { font-size: clamp(44px, 4.6vw, 78px); margin-bottom: 24px; overflow-wrap: anywhere; }
.lede { color: var(--ink-2); }
.tones { display: flex; gap: 0; margin: 26px 0 34px; height: 10px; max-width: 220px; }
.tones i { flex: 1; background: var(--c); }
.buy { padding: 30px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 4px; }
.price .label { margin: 0; }
.price strong { font: 300 clamp(30px, 2.6vw, 40px)/1 var(--serif); }
.price-note { font-size: 12.5px; color: var(--ink-2); margin-bottom: 22px; }
.payid { margin-bottom: 18px; }
.payid summary { list-style: none; width: 100%; }
.payid summary::-webkit-details-marker { display: none; }
.payid summary span::after { content: ' +'; }
.payid[open] summary span::after { content: ' –'; }
.pay-steps { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: s; display: grid; gap: 22px; }
.pay-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 0 14px; }
.pay-steps li::before { content: '0' counter(s); grid-row: span 3; font: 300 15px/1.5 var(--serif); color: var(--bronze); }
.pay-steps h4 { font-size: 21px; margin-bottom: 4px; }
.pay-steps p { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.pay-steps .btn { padding: 14px 20px; justify-self: start; }
.pay-rows { margin: 0 0 12px; display: grid; }
.pay-rows div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.pay-rows dt { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.pay-rows dd { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; overflow-wrap: anywhere; }
.copy { border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line); padding: 5px 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.copy.done { background: var(--ink); color: var(--linen); }
.buy.is-sold .price strong { color: #a4452f; }
.specs { margin: 26px 0; display: grid; }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--ink-3); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; padding-top: 3px; }
.specs dd { margin: 0; }
.scale { margin: 30px 0 0; padding: 26px; background: var(--stone); color: var(--ink); }
.scale svg { display: block; width: 100%; max-height: 240px; }
.scale figcaption { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.related { padding: clamp(100px, 15vh, 180px) var(--gut) 0; }
.related h2 { font-size: clamp(40px, 4.6vw, 74px); margin-bottom: 50px; }
.related h2 em { color: var(--bronze); }

/* ---------- buying & FAQ ---------- */
.how { padding: clamp(60px, 9vh, 100px) var(--gut) 0; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 70px); }
.how-steps li { border-top: 1px solid var(--ink); padding-top: 28px; }
.how-steps span { display: block; font: 300 15px/1 var(--serif); color: var(--bronze); margin-bottom: 26px; }
.how-steps h2 { font-size: clamp(30px, 2.6vw, 42px); margin-bottom: 14px; }
.how-steps p { color: var(--ink-2); margin: 0; }
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(30px, 6vw, 110px); padding: clamp(90px, 14vh, 160px) var(--gut) 0; }
.faq h2 { font-size: clamp(40px, 4.4vw, 70px); }
.faq h2 em { color: var(--bronze); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font: 300 clamp(20px, 1.7vw, 25px)/1.3 var(--serif); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font: 300 26px/1 var(--sans); transition: rotate .4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-2); max-width: 44em; padding-bottom: 16px; }
.section-pad { padding: clamp(70px, 11vh, 120px) var(--gut) 0; }
.prose { max-width: 860px; }
.prose h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 18px; }
.prose p { color: var(--ink-2); }
.not-found { min-height: 70svh; display: grid; place-content: center; text-align: center; padding: 80px var(--gut); }
.not-found h1 { font-size: clamp(50px, 8vw, 120px); margin-bottom: 20px; }
.not-found h1 em { color: var(--bronze); }

/* ---------- "View on your wall" (js/ar.js) ---------- */
.ar-cta { display: flex; align-items: center; gap: 18px; width: 100%; margin: 0 0 8px; padding: 18px 20px; border: 0; background: var(--stone); color: var(--ink); text-align: left; cursor: pointer; font: inherit;
  transition: background-color .4s var(--ease), color .4s var(--ease); }
.ar-cta:hover, .ar-cta:focus-visible { background: var(--ink); color: var(--linen); }
.ar-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid currentColor; border-radius: 50%; }
.ar-txt { display: grid; gap: 4px; }
.ar-txt strong { font: 500 11px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.ar-txt small { font-size: 13px; opacity: .75; }

.ar-viewer { width: min(1180px, 94vw); height: min(780px, 92svh); max-width: none; max-height: none; padding: 0; border: 0; overflow: hidden;
  background: var(--linen); color: var(--ink); display: none; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto minmax(0, 1fr); }
.ar-viewer[open] { display: grid; }
.ar-viewer::backdrop { background: rgba(38, 34, 30, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ar-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 26px 16px; box-shadow: 0 1px 0 var(--line); }
.ar-head .kicker { margin: 0 0 8px; }
.ar-head h2 { font-size: clamp(26px, 2.6vw, 38px); }
.ar-close { white-space: nowrap; background: none; border: 0; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 10px 0; }
.ar-stage { position: relative; min-height: 0; background: radial-gradient(ellipse at 50% 40%, #f7f4ee 0%, #e4ddd0 75%); }
.ar-stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.ar-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--ink-2); }
.ar-side { display: flex; flex-direction: column; gap: 20px; padding: 24px 26px; box-shadow: -1px 0 0 var(--line); overflow: auto; }
.ar-go { width: 100%; justify-content: center; background: var(--ink); color: var(--linen); }
.ar-steps { margin: 16px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; }
.ar-tip { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; padding: 12px 14px; background: var(--stone); }
.ar-desk p, .ar-privacy { margin: 0; font-size: 14px; color: var(--ink-2); }
.ar-desk strong { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.ar-qr { width: 184px; height: 184px; padding: 12px; background: #fff; margin-bottom: 14px; }
.ar-qr svg { width: 100%; height: 100%; display: block; }
.ar-privacy { font-size: 12px; margin-top: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a:nth-child(n + 3) { display: none; }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .wordmark { grid-column: 1; }
  .wordmark svg, .site-header.is-solid .wordmark svg { height: 40px; }
  .nav, .nav-right { display: none; }
  .menu-btn { display: block; grid-column: 2; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-art { aspect-ratio: 1; order: -1; }
  .hero-text { padding: 40px var(--gut) 0; }
  .hero h1 { margin-top: 0; }
  .intro, .sec-head, .surfaces, .about-teaser, .about-head, .cv, .detail, .faq, .statement, .contact, .service-cols, .works-head, .page-head { grid-template-columns: minmax(0, 1fr); }
  .selected { grid-template-columns: minmax(0, 1fr); }
  .selected > a:nth-child(n) { grid-column: 1; }
  .selected .mat { padding: 34px; }
  .detail-info { position: static; }
  .stage { min-height: 0; padding: 34px; }
  .stage img { max-height: 62svh; }
  .how-steps { grid-template-columns: 1fr; }
  .filters { top: 54px; }
  .filter-toggle { display: inline-flex; align-items: center; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
  .filter-groups { display: none; max-height: 56svh; overflow: auto; flex-direction: column; gap: 16px; padding-bottom: 6px; }
  .filters.open .filter-groups { display: flex; }
  .filter-group { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sort { margin-left: 0; }
  .sort > span { display: none; }
}
@media (max-width: 800px) {
  .ar-viewer { width: 100vw; height: 100svh; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .ar-head { padding: 16px; }
  .ar-side { box-shadow: 0 -1px 0 var(--line); padding: 16px; gap: 12px; }
  .ar-steps, .ar-tip { display: none; }
  .ar-privacy { margin-top: 0; }
}
@media (max-width: 560px) {
  .pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 14px; }
  .work-card .mat { padding: 12%; }
  .caption { flex-direction: column; gap: 4px; }
  .caption p { text-align: left; white-space: normal; }
  .caption h3 { font-size: 18px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-foot { grid-template-columns: repeat(3, auto); gap: 20px; }
  .rooms-strip figure { height: 380px; }
  .specs div { grid-template-columns: 90px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .js .reveal, .js .settle img, .js .hero-text > * { opacity: 1; translate: none; scale: 1; }
}

/* ---------- brand ---------- */
/* on the home page the big logo opens the page, so the small one appears only once you scroll */
.has-hero .site-header .wordmark { transition: opacity .5s var(--ease), color .4s; }
.has-hero .site-header:not(.is-solid) .wordmark { opacity: 0; pointer-events: none; }
.foot-logo { line-height: 0; margin-bottom: 50px; color: var(--ink); }
.foot-logo svg { width: 230px; height: auto; }
