/* JR Anuva — website styles */

:root {
  --plum: #3b0442;
  --plum-deep: #26022b;
  --bg: #faf8f5;
  --surface: #ffffff;
  --stone: #f0ebe5;
  --line: #e4ded7;
  --ink: #1c1a1b;
  --text: #3d383b;
  --muted: #6b6367;
  --header-h: 84px;
  --gutter: 40px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Short pages still fill the window, so the footer always reaches the bottom */
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.005em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--plum); }
/* Avoid a single word left alone on the last line of a paragraph */
p { text-wrap: pretty; }
p { margin: 0; }
::selection { background: var(--plum); color: #fff; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .has-hero:not(.menu-open) .site-header:not(.solid) :focus-visible { outline-color: #fff; }

.wrap { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

.label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 22px;
}
.h1 { font-size: clamp(44px, 5.8vw, 82px); }
.h2 { font-size: clamp(34px, 3.8vw, 54px); }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 54px; padding: 0 32px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--plum); background: var(--plum); color: #fff;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { background: var(--plum-deep); border-color: var(--plum-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { height: 44px; padding: 0 22px; }
/* Full-width buttons may wrap onto two lines rather than push past a narrow screen */
.btn-block { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 54px; padding-top: 12px; padding-bottom: 12px; line-height: 1.35; text-wrap: balance; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--ink);
  transition: color 0.2s, border-color 0.2s, gap 0.25s var(--ease);
}
.link-arrow:hover { color: var(--plum); border-color: var(--plum); gap: 16px; }
/* Bigger tap areas for small text links, without changing how they look */
.link-arrow, .trusted-link, .site-footer a, .detail a, .crumbs a { position: relative; }
.link-arrow::before, .trusted-link::before, .site-footer a::before, .detail a::before, .crumbs a::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--plum); transition: color 0.35s; }
.brand img { height: 29px; width: auto; transition: filter 0.35s; }
.brand span { font-weight: 500; font-size: 14px; letter-spacing: 0.46em; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a:not(.btn) {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; padding: 0; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* Transparent header over the home page photo */
.has-hero .site-header:not(.solid) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.solid) .brand { color: #fff; }
.has-hero .site-header:not(.solid) .brand img { filter: brightness(0) invert(1); }
.has-hero .site-header:not(.solid) .nav-cta { background: transparent; border-color: rgba(255,255,255,0.7); }
.has-hero .site-header:not(.solid) .nav-cta:hover { background: #fff; color: var(--ink); }

main { display: block; flex: 1 0 auto; }
body:not(.has-hero) main { padding-top: var(--header-h); }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-tight { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-stone { background: var(--stone); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .lead { margin-top: 18px; }

/* Page header (inner pages) */
.page-head { padding: 88px 0 64px; border-bottom: 1px solid var(--line); }
.page-head .h1 { max-width: 900px; }
.page-head .lead { margin-top: 24px; }
/* Keep the short italic phrase of a page title on one line (e.g. "your project") */
.page-head .h1 em { white-space: nowrap; }
.crumbs { display: flex; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--plum); }

/* ---------- Home: hero ---------- */
/* At least a screen tall, but grows if the text needs more room (small or sideways phones) */
.hero { position: relative; min-height: max(620px, min(100svh, 980px)); color: #fff; overflow: hidden; background: var(--plum-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,6,20,0.45) 0%, rgba(18,6,20,0.05) 28%, rgba(18,6,20,0.35) 52%, rgba(18,6,20,0.82) 100%), linear-gradient(90deg, rgba(18,6,20,0.35) 0%, rgba(18,6,20,0) 65%);
}
.hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 32px); padding-bottom: 88px; }
.hero .label { color: rgba(255,255,255,0.85); }
.hero h1 { color: #fff; font-size: clamp(48px, 6.8vw, 96px); max-width: 920px; text-wrap: balance; }
.hero h1 em { color: #fff; }
.hero p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 560px; margin-top: 26px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 88px; z-index: 1; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 14px; }
.hero-scroll::after { content: ''; width: 1px; height: 56px; background: rgba(255,255,255,0.5); }

/* Home: statement */
/* A centred composition: small label, statement, then three points spread evenly */
.statement { display: block; max-width: 1080px; margin-inline: auto; text-align: center; }
.statement > .label { margin-bottom: 30px; }
.statement p.big { font-family: var(--serif); font-size: clamp(30px, 3.3vw, 46px); line-height: 1.28; font-weight: 500; color: var(--ink); max-width: 1000px; margin-inline: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.fact::before { content: ''; display: block; width: 28px; height: 1px; background: var(--plum); margin: 0 auto 22px; }
.fact strong { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 25px; margin-bottom: 8px; }
.fact span { display: block; color: var(--muted); font-size: 15px; max-width: 290px; margin-inline: auto; }

/* Home: rooms */
.rooms { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.room { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); color: #fff; }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.room::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,6,20,0) 45%, rgba(18,6,20,0.65) 100%); }
.room:hover img { transform: scale(1.04); }
.room-info { position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.room-info h3 { color: #fff; font-size: 34px; }
.room-info span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; white-space: nowrap; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.card { display: block; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .ph, .gallery-main .ph, .work-media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.card-media .ph img, .gallery-main .ph img, .work-media .ph img { width: 22%; height: auto; opacity: 0.15; }
.card-body { padding-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card-body h3 { font-size: 25px; font-weight: 500; }
.card-body .cat { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.card-body .go { font-size: 18px; color: var(--muted); transition: transform 0.25s var(--ease), color 0.25s; }
.card:hover .go { transform: translateX(4px); color: var(--plum); }
.card .price { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Split: image + text */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text .lead { margin-top: 22px; }
.split-text .link-arrow, .split-text .btn { margin-top: 40px; }

.steps-list { list-style: none; padding: 0; margin: 40px 0 0; }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list .n { font-size: 13px; color: var(--plum); font-weight: 500; letter-spacing: 0.08em; padding-top: 3px; }
.steps-list strong { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 22px; }
.steps-list span { color: var(--muted); font-size: 15px; }

/* Clients */
.clients { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.client { display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.client .n { font-size: 13px; color: var(--plum); font-weight: 500; letter-spacing: 0.08em; }
.client h3 { font-size: clamp(26px, 2.8vw, 38px); }
.client .loc { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* CTA band */
.cta-band { background: var(--plum-deep); color: rgba(255,255,255,0.8); padding: 120px 0; text-align: center; }
.cta-band .label { color: rgba(255,255,255,0.7); }
.cta-band h2 { color: #fff; font-size: clamp(36px, 4.6vw, 64px); max-width: 820px; margin: 0 auto; }
.cta-band p { max-width: 520px; margin: 22px auto 0; }
.cta-band .actions { margin-top: 44px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Collection ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); margin-bottom: 56px; flex-wrap: wrap; }
.filters { display: flex; gap: 36px; flex-wrap: wrap; }
.filter {
  background: none; border: 0; padding: 6px 0; position: relative;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s;
}
.filter:hover, .filter.active { color: var(--ink); }
.filter.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); }
.count { font-size: 13px; color: var(--muted); }

.empty { text-align: center; padding: 96px 24px; border: 1px solid var(--line); background: var(--surface); }
.empty h3 { font-size: 32px; margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 80px; align-items: start; padding: 56px 0 120px; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .arrow-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; background: rgba(255,255,255,0.92); color: var(--ink);
  display: grid; place-items: center; transition: background 0.2s;
}
.gallery-main .arrow-btn:hover { background: #fff; }
.gallery-main .prev { left: 16px; }
.gallery-main .next { right: 16px; }
.gallery-main .arrow-btn svg { width: 18px; height: 18px; }
.gallery-count { position: absolute; right: 16px; bottom: 16px; background: rgba(28,26,27,0.6); color: #fff; font-size: 12px; letter-spacing: 0.1em; padding: 5px 10px; }
.thumbs { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 1px solid transparent; background: var(--stone); opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.thumbs button:hover { opacity: 1; }
.thumbs button.active { opacity: 1; border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info { position: sticky; top: calc(var(--header-h) + 32px); }
.product-info h1 { font-size: clamp(40px, 4vw, 58px); }
.product-info .price { margin-top: 14px; font-size: 18px; color: var(--ink); }
.product-info .desc { margin-top: 24px; white-space: pre-line; }
.specs { margin: 36px 0 0; border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
/* Narrower details column (tablets, small laptops, phones): label above its value */
@media (max-width: 1200px) { .spec { grid-template-columns: 1fr; gap: 6px; } }
.spec dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; color: var(--ink); }
.spec .swatch { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; }
.spec .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); display: inline-block; }
.made-note { margin-top: 28px; padding: 20px 22px; background: var(--stone); font-size: 15px; color: var(--text); }
.product-info .actions { display: grid; gap: 12px; margin-top: 28px; }

/* ---------- Projects ---------- */
.project { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); }
.project:nth-child(even) .project-media-wrap { order: 2; }
.project-media { aspect-ratio: 4 / 3; background: var(--stone); position: relative; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 36px;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%); color: rgba(255,255,255,0.85);
}
.project-ph img { width: 64px; height: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.project-ph span { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.project-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.project-thumbs button { width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 1px solid transparent; background: var(--stone); opacity: 0.6; }
.project-thumbs button.active, .project-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.project-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.project-info .n { font-size: 13px; color: var(--plum); font-weight: 500; letter-spacing: 0.08em; margin-bottom: 20px; display: block; }
.project-info h2 { font-size: clamp(32px, 3.4vw, 46px); }
.project-info .loc { display: block; margin-top: 16px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.project-info p { margin-top: 22px; white-space: pre-line; }

/* ---------- About ---------- */
.about-body p { white-space: pre-line; }
.about-body p + p { margin-top: 18px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step { border-top: 1px solid var(--ink); padding-top: 26px; }
.process-step .n { font-size: 13px; color: var(--plum); font-weight: 500; letter-spacing: 0.08em; }
.process-step h3 { font-size: 30px; margin: 18px 0 10px; }
.process-step p { color: var(--muted); font-size: 15.5px; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.option { padding: 28px 0; border-top: 1px solid var(--line); }
.option h3 { font-size: 27px; margin-bottom: 8px; }
.option p { color: var(--muted); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 96px; padding: 72px 0 128px; }
form.enquiry { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label.field { display: grid; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
input, textarea, select {
  font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink);
  width: 100%; padding: 15px 16px; background: var(--surface);
  border: 1px solid #9a9296; border-radius: 0; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6367' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 170px; resize: vertical; }
.form-note { font-size: 15px; }
.form-note:empty { display: none; }
.form-note.ok { color: #2e6b47; }
.form-note.err { color: #a3261d; }
.contact-details { border-top: 1px solid var(--ink); }
.detail { padding: 24px 0; border-bottom: 1px solid var(--line); }
.detail small { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.detail a, .detail span { font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 500; }
.detail a:hover { color: var(--plum); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,0.65); padding: 96px 0 104px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #fff; }
.foot-brand img { height: 46px; width: auto; filter: brightness(0) invert(1); }
.foot-brand span { font-weight: 500; letter-spacing: 0.5em; font-size: 14px; }
.foot-brand p { color: rgba(255,255,255,0.65); max-width: 300px; margin-top: 12px; }
.site-footer h2 { line-height: 1.4; font-family: var(--font); letter-spacing: 0.2em;  color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 32px; font-size: 13.5px; flex-wrap: wrap; }

/* 404 */
.notfound { padding: clamp(56px, 16vh, 160px) 0; text-align: center; }
.notfound p { margin: 20px auto 40px; color: var(--muted); }
/* Laptops and iPads held sideways: full spacing, so the "Talk to us" button lands on empty space */
@media (min-width: 861px) and (min-height: 561px) { .notfound { padding: 160px 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .nav-links { gap: 28px; }
  .split, .product, .project, .contact { gap: 56px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; --gutter: 20px; }
  /* A blurred header would trap the fixed mobile menu inside it */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 248, 245, 0.98); }
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .section-tight { padding: 72px 0; }
  .page-head { padding: 56px 0 44px; }

  .menu-btn { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 0 0;
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); color: var(--ink);
    padding: 24px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
  /* When the menu is taller than the screen it scrolls; nothing in it gets squashed */
  .nav-links > * { flex-shrink: 0; }
  .nav-links a:not(.btn) { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .nav-cta { margin-top: 28px; height: 54px; }
  .has-hero .site-header:not(.solid) .nav-links .nav-cta { background: var(--plum); border-color: var(--plum); }
  .menu-open .site-header, .has-hero.menu-open .site-header:not(.solid) { background: var(--bg); color: var(--ink); border-color: var(--line); }
  .has-hero.menu-open .site-header .brand { color: var(--plum); }
  .has-hero.menu-open .site-header .brand img { filter: none; }
  .menu-open { overflow: hidden; }

  .hero-inner { padding-bottom: 56px; }
  .hero p { font-size: 16.5px; }
  .hero-scroll { display: none; }
  .statement, .split, .product, .project, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.reverse > :first-child, .project:nth-child(even) .project-media-wrap { order: 0; }
  .facts { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; padding-top: 40px; }
  .rooms { grid-template-columns: 1fr; }
  .room { aspect-ratio: 4 / 3; }
  .room-info { left: 22px; right: 22px; bottom: 20px; }
  .room-info h3 { font-size: 24px; }
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .client { grid-template-columns: 40px 1fr; row-gap: 6px; padding: 26px 0; }
  .client .loc { grid-column: 2; }
  .cta-band { padding: 88px 0; }
  .product { padding: 24px 0 88px; }
  .product-info { position: static; }
  .thumbs button { width: 72px; }
  .project { padding: 48px 0; }
  .process, .options { grid-template-columns: 1fr; }
  .contact { padding: 48px 0 88px; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .site-footer { padding: 72px 0 96px; }
  .filters { gap: 24px; }
}

/* Phones held sideways and short windows: a more compact menu (the full menu needs 546px; it also scrolls if needed) */
@media (max-width: 860px) and (max-height: 545px) {
  .nav-links { padding-top: 8px; padding-bottom: 24px; }
  .nav-links a:not(.btn) { font-size: 24px; line-height: 1.2; padding: 10px 0; }
  .nav-links .nav-cta { margin-top: 12px; height: 48px; }
}

/* Very narrow phones: slightly tighter buttons so labels fit */
@media (max-width: 360px) {
  .btn { padding-left: 22px; padding-right: 22px; letter-spacing: 0.12em; }
}

/* Touch screens: a little more space between footer links, so each is easier to tap */
@media (hover: none) {
  .site-footer ul { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Projects without photos: a clean text row */
.project.project-text { grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 56px 0; }
.project-text .n { font-size: 13px; color: var(--plum); font-weight: 500; letter-spacing: 0.08em; }
.project-text h2 { font-size: clamp(30px, 3.2vw, 44px); }
.project-text .loc { display: block; margin-top: 14px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.project-text p { color: var(--muted); white-space: pre-line; }
@media (max-width: 860px) {
  .project.project-text { grid-template-columns: 40px 1fr; gap: 12px 8px; padding: 40px 0; }
  .project-text p { grid-column: 2; }
}

/* =========================================================
   Interactive layer: animations, work gallery,
   photo viewer and floating contact button
   ========================================================= */

.cta-band h2 em { color: #e8d3eb; }
.hero h1 em { color: #fff; }

/* Scroll-in animations (only when JavaScript can run them) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }

/* Hero text entrance */
.hero-in { animation: heroIn 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 150ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Card hover label */
.card-hover {
  position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 10px);
  background: rgba(255,255,255,0.95); color: var(--ink);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 18px; opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none;
}
.card:hover .card-hover, .card:focus-visible .card-hover { opacity: 1; transform: translate(-50%, 0); }

/* Highlight numbers */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 32px; margin-top: 56px; }
.stats[hidden] { display: none; }
.stat { border-top: 1px solid var(--ink); padding-top: 22px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--plum); }
.stat span { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stats-wrap .stats { margin: 56px 0; }

/* Home: our work mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.mosaic[hidden] { display: none; }
.mosaic-tile { position: relative; overflow: hidden; background: var(--stone); color: #fff; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic .t1 { grid-column: span 2; grid-row: span 2; }
.mosaic[data-count="1"] .t1 { grid-column: span 4; }
.mosaic[data-count="2"] .t2 { grid-column: span 2; grid-row: span 2; }
.mosaic[data-count="3"] .t2, .mosaic[data-count="3"] .t3 { grid-column: span 2; }
.mosaic[data-count="4"] .t4 { grid-column: span 2; }
.trusted { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.trusted[hidden] { display: none; }
.trusted .label { margin: 6px 0 0; }
.trusted ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trusted li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.trusted strong { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); line-height: 1.2; }
.trusted li span { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Our work page: gallery of private work */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; align-items: start; }
.work { display: block; width: 100%; text-align: left; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.work-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work:hover .work-media img { transform: scale(1.04); }
.work-count { position: absolute; right: 14px; bottom: 14px; background: rgba(28,26,27,0.65); color: #fff; font-size: 11.5px; letter-spacing: 0.08em; padding: 5px 10px; }
.work-zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18,6,20,0.28); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; }
.work:hover .work-zoom, .work:focus-visible .work-zoom { opacity: 1; }
/* Title and place side by side; a long place moves under the title instead of running past the photo */
.work-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding-top: 16px; }
.work-info strong { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); }
.work-info span { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.work-desc { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Our work page: named clients */
.client-row { display: grid; grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 40px 0; border-top: 1px solid #d8d0c8; }
.client-row:last-child { border-bottom: 1px solid #d8d0c8; }
.client-row .n { font-size: 13px; color: var(--plum); font-weight: 600; letter-spacing: 0.08em; }
.client-row h3 { font-size: clamp(30px, 3.2vw, 44px); }
.client-row .loc { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.client-side p { color: var(--text); white-space: pre-line; }
.client-side .link-arrow { margin-top: 18px; background: none; border-top: 0; border-left: 0; border-right: 0; padding-left: 0; padding-right: 0; cursor: pointer; }

/* Photo viewer */
.lightbox { position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 6, 16, 0.94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; animation: fadeIn 0.25s ease; }
.lightbox::backdrop { background: rgba(14, 6, 16, 0.6); }
@keyframes fadeIn { from { opacity: 0; } }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 16px; padding: 64px 0 32px; height: 100vh; height: 100dvh; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.lb-figure img { max-width: 100%; max-height: 100%; object-fit: contain; min-height: 0; align-self: center; }
.lb-figure figcaption { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); text-align: center; }
.lb-close, .lb-arrow { background: none; border: 0; color: #fff; display: grid; place-items: center; width: 56px; height: 56px; margin: auto; opacity: 0.8; transition: opacity 0.2s; }
.lb-close:hover, .lb-arrow:hover { opacity: 1; }
.lb-close { position: absolute; top: 12px; right: 12px; z-index: 1; }
.lb-close svg, .lb-arrow svg { width: 28px; height: 28px; }
.lightbox.single .lb-arrow { visibility: hidden; }
.lightbox :focus-visible { outline-color: #fff; }

/* Contact page note when arriving from the design tool */
.design-note { background: var(--stone); padding: 14px 18px; font-size: 15px; border-left: 2px solid var(--plum); }

/* Floating "Talk to us" button */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.35s, transform 0.35s var(--ease); }
.fab.show, .fab.open { opacity: 1; transform: none; pointer-events: auto; }
.fab-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px 0 20px;
  background: var(--plum); color: #fff; border: 0; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  /* The thin light ring keeps the button visible over the dark banner and footer */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 14px 34px -10px rgba(38, 2, 43, 0.55); transition: background 0.2s, transform 0.2s;
}
.fab-btn:hover { background: var(--plum-deep); transform: translateY(-2px); }
.fab-btn svg { width: 22px; height: 22px; }
.fab-open { display: inline-flex; align-items: center; gap: 10px; }
.fab-close { display: none; }
.fab.open .fab-open { display: none; }
.fab.open .fab-close { display: inline-flex; }
.fab.open .fab-btn { padding: 0; width: 56px; justify-content: center; }
.fab-panel { width: 300px; background: var(--surface); color: var(--ink); padding: 22px; box-shadow: 0 24px 60px -18px rgba(38, 2, 43, 0.4); animation: fabIn 0.25s var(--ease); }
/* Short screens (phones held sideways): the panel stays below the header and scrolls if needed */
.fab-panel { max-height: calc(100vh - var(--header-h) - 100px); max-height: calc(100dvh - var(--header-h) - 100px); overflow-y: auto; overscroll-behavior: contain; }
@keyframes fabIn { from { opacity: 0; transform: translateY(10px); } }
.fab-title { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.fab-sub { font-size: 13.5px; color: var(--muted); margin: 4px 0 14px; }
.fab-link { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--line); transition: color 0.2s; }
.fab-link:hover { color: var(--plum); }
.fab-link svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--plum); }
.fab-link strong { display: block; font-size: 14.5px; font-weight: 600; }
.fab-link small { display: block; font-size: 13px; color: var(--muted); }
.fab-link.primary { background: var(--plum); color: #fff; padding: 14px; border: 0; margin-bottom: 6px; }
.fab-link.primary svg, .fab-link.primary small { color: rgba(255,255,255,0.8); }
.fab-link.primary:hover { background: var(--plum-deep); color: #fff; }
/* Phones held sideways: the panel opens beside the button and uses the full height, so all three links fit */
@media (orientation: landscape) and (max-height: 520px) {
  .fab.open { flex-direction: row; }
  .fab-panel { max-height: calc(100vh - var(--header-h) - 32px); max-height: calc(100dvh - var(--header-h) - 32px); padding: 16px 20px; max-width: calc(100vw - 100px); /* leaves room for the button on narrow windows */ }
  .fab-sub { display: none; }
  .fab-title { font-size: 24px; margin-bottom: 10px; }
}

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .stat { padding: 20px 0; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .mosaic .t1, .mosaic[data-count] .t1 { grid-column: span 2; grid-row: span 2; }
  .mosaic[data-count] .t2, .mosaic[data-count] .t3, .mosaic[data-count] .t4, .mosaic[data-count] .t5 { grid-column: span 1; grid-row: span 1; }
  .mosaic[data-count="2"] .t2, .mosaic[data-count="4"] .t4 { grid-column: span 2; }
  .trusted { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .work-media { aspect-ratio: 4 / 3; }
  .work-zoom { display: none; }
  .client-row { grid-template-columns: 40px 1fr; gap: 12px 8px; padding: 32px 0; }
  .client-side { grid-column: 2; }
  .lightbox[open] { grid-template-columns: 48px 1fr 48px; }
  .lb-arrow { width: 44px; height: 44px; }
  .fab { right: 16px; bottom: 16px; }
  .fab-text { display: none; }
  .fab-btn { width: 56px; padding: 0; justify-content: center; }
  .fab-panel { width: min(320px, calc(100vw - 32px)); }
}

/* Touch screens: show mosaic captions without hover; tiles without photos are not clickable */
.work.no-photo { cursor: default; }

/* Named client with photos: showcase */
.client-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid #d8d0c8; }
.client-feature:last-child { border-bottom: 1px solid #d8d0c8; }
.cf-media { display: grid; gap: 12px; }
.cf-main, .cf-thumbs button { position: relative; display: block; padding: 0; border: 0; background: var(--stone); overflow: hidden; cursor: zoom-in; }
.cf-main { aspect-ratio: 3 / 2; }
.cf-main img, .cf-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.cf-main:hover img, .cf-thumbs button:hover img { transform: scale(1.04); }
.cf-main:hover .work-zoom, .cf-main:focus-visible .work-zoom { opacity: 1; }
.cf-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cf-thumbs button { aspect-ratio: 3 / 2; }
.cf-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18,6,20,0.55); color: #fff; font-family: var(--serif); font-size: 28px; }
.cf-info .n { display: block; font-size: 13px; color: var(--plum); font-weight: 600; letter-spacing: 0.08em; margin-bottom: 18px; }
.cf-info h3 { font-size: clamp(34px, 3.6vw, 52px); }
.cf-info .loc { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.cf-info p { margin-top: 20px; white-space: pre-line; max-width: 32em; }
.cf-info .link-arrow { margin-top: 28px; background: none; border-top: 0; border-left: 0; border-right: 0; padding-left: 0; padding-right: 0; cursor: pointer; }
@media (max-width: 860px) {
  .client-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 0; }
  .cf-thumbs { gap: 8px; }
  .cf-main .work-zoom { display: none; }
}

/* Project names link to their photos on the Our Work page */
.client { position: relative; transition: background 0.25s; }
.client-link::after { content: ''; position: absolute; inset: 0; }
.client-link { transition: color 0.2s; }
.client:hover .client-link, .client-link:focus-visible { color: var(--plum); }
.client .loc { display: inline-flex; align-items: baseline; gap: 18px; }
.client-go { display: inline-block; min-width: 10.5em; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--plum); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s var(--ease); }
.client:hover .client-go, .client:focus-within .client-go { opacity: 1; transform: none; }
@media (hover: none) { .client-go { opacity: 1; transform: none; } }
.trusted-link { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); line-height: 1.2; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.trusted-link:hover { color: var(--plum); border-color: var(--plum); }
[id^="project-"] { scroll-margin-top: calc(var(--header-h) + 24px); }
.flash { animation: projectFlash 2s ease; }
@keyframes projectFlash { 0%, 30% { background: rgba(59, 4, 66, 0.07); box-shadow: 0 0 0 16px rgba(59, 4, 66, 0.07); } 100% { background: transparent; box-shadow: 0 0 0 16px transparent; } }

/* Headings: each word rises gently into place */
.reveal-on [data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.16em 0; margin: 0 -0.06em -0.16em 0; }
.reveal-on [data-words] .wi { display: inline-block; transform: translateY(108%); transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 55ms + 80ms); }
.reveal-on [data-words].in .wi { transform: none; }
/* Softer, slower fade for paragraphs and labels */
.reveal-on [data-reveal] { transition-duration: 1s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* Scrolling past: headings slide their words up and out (and back down when you scroll back) */
.reveal-on [data-words].out .wi { transform: translateY(-108%); transition-duration: 0.8s; transition-delay: calc(var(--i, 0) * 28ms); }
/* Scrolling past: other text fades and drifts up in step with the scroll */
.reveal-on .exiting { filter: opacity(calc(1 - var(--x, 0))); translate: 0 calc(var(--x, 0) * -28px); }
/* Keyboard users: anything with focus inside stays fully visible, focus outline included */
.reveal-on .exiting:focus-within { filter: none; translate: none; }

/* Text only screen readers see (used for the animated headings) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* =========================================================
   Tablets, phones held sideways and very small phones
   (placed last so these sizes override the phone layout above)
   ========================================================= */

/* Collection: space below the product grid */
.collection-list { padding-bottom: 128px; }
@media (max-width: 860px) { .collection-list { padding-bottom: 88px; } }

/* Tablets (600-860px wide): use the width instead of a stretched phone layout */
@media (min-width: 600px) and (max-width: 860px) {
  .rooms { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 12px; }
  .room { aspect-ratio: 4 / 5; }
  .room-info { left: 16px; right: 16px; bottom: 16px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .room-info h3 { font-size: 22px; }
  .process, .options { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 600px) and (max-width: 860px) and (orientation: landscape) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
}
@media (min-width: 600px) and (max-width: 860px) and (orientation: portrait) {
  .mosaic { grid-auto-rows: 210px; }
}
@media (min-width: 700px) and (max-width: 860px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .fact strong { font-size: 22px; }
  .stats { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 24px; }
  .stat { padding: 22px 0 0; }
}

/* Product grids and private client work: two across from 561px wide */
@media (min-width: 561px) and (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; }
  .card-body h3 { font-size: 22px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
}
/* "You may also like" (three pieces): three across on small laptops, two on tablets */
@media (min-width: 900px) and (max-width: 1080px) {
  #related, #featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  #related .card-body h3, #featured .card-body h3 { font-size: 21px; }
}
@media (min-width: 561px) and (max-width: 899px) {
  #related .card:nth-child(3), #featured .card:nth-child(3) { display: none; }
}

/* Product page on tablets: comfortable line length, buttons side by side */
@media (min-width: 700px) and (max-width: 860px) and (min-height: 521px) {
  .product-info .desc { max-width: 560px; }
  .product-info .actions { grid-template-columns: 1fr 1fr; }
}

/* Contact: form and details side by side down to 721px; name and phone side by side down to 481px */
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
@media (max-width: 720px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Collection filters: 44px tap targets on touch screens, and a tidier wrap on phones */
@media (hover: none) {
  .filter-bar { padding-block: 23px; }
  .filter { padding-block: 11px; }
  .filter.active::after { bottom: 5px; }
}
@media (max-width: 560px) {
  .filter-bar { padding: 12px 0 20px; row-gap: 2px; }
  .filters { gap: 0 22px; }
}

/* Room captions on small laptops and iPads held sideways: name on one line, count below */
@media (min-width: 861px) and (max-width: 1180px) {
  .room-info { left: 24px; right: 24px; bottom: 24px; flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Highlight numbers on Our Work: in a row on tablets, stacked on phones */
@media (max-width: 860px) {
  .stats-wrap .stats { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; margin: 40px 0 48px; }
  .stats-wrap .stat { padding: 18px 0 0; }
}
@media (max-width: 560px) {
  .stats-wrap .stats { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stats-wrap .stat { padding: 18px 0; }
}

/* Our Work: a project with exactly two photos shows them side by side (no empty slots) */
@media (min-width: 600px) {
  .cf-media:has(.cf-thumbs > button:only-child) { grid-template-columns: 1fr 1fr; }
  .cf-media:has(.cf-thumbs > button:only-child) .cf-thumbs { display: contents; }
}
@media (min-width: 600px) and (max-width: 860px) { .cf-media:has(.cf-thumbs > button:only-child) { gap: 8px; } }
@media (max-width: 599px) { .cf-thumbs:has(> button:only-child) { display: none; } }
/* ...three photos: the two small ones share the strip (no empty third slot) */
.cf-thumbs:has(> button:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* ...on phones held sideways, a two-photo project shows its main photo at full size, like the others */
@media (orientation: landscape) and (max-height: 520px) {
  .cf-media:has(.cf-thumbs > button:only-child) { grid-template-columns: minmax(0, 1fr); }
  .cf-media:has(.cf-thumbs > button:only-child) .cf-thumbs { display: none; }
}

/* Photo viewer on upright phones: photo centred and full width, arrows below it */
@media (max-width: 600px) and (orientation: portrait) {
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lb-figure { padding: 72px 0 84px; }
  .lb-figure figcaption { padding-inline: 16px; }
  .lb-arrow { position: absolute; bottom: 16px; margin: 0; width: 56px; height: 56px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
}
/* Photo viewer on phones held sideways: less padding, so the photo is bigger */
@media (orientation: landscape) and (max-height: 520px) {
  .lb-figure { padding: 12px 0 10px; gap: 8px; }
}

/* Home hero on phones held sideways (and very short windows): everything fits on one screen */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 100svh; }
  .hero-inner { padding-top: calc(var(--header-h) + 16px); padding-bottom: 24px; }
  .hero .label { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(40px, 5.6vw, 56px); }
  .hero p { margin-top: 12px; max-width: 720px; font-size: 15px; line-height: 1.55; }
  .hero .actions { margin-top: 18px; }
  .hero .actions .btn { height: 48px; }
  .hero-scroll { display: none; }
}

/* Product page on phones held sideways: photo beside the details, sized to fit the screen */
@media (min-width: 561px) and (max-height: 520px) {
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; padding-top: 20px; }
  .gallery-main { max-height: calc(100vh - var(--header-h) - 40px); max-height: calc(100svh - var(--header-h) - 40px); }
}
/* ...from 607px wide, slimmer buttons fit "Enquire about this piece" on one line (Safari from 610px); narrower, it splits evenly in two */
@media (min-width: 607px) and (max-height: 520px) {
  .product-info .btn-block { padding-inline: 16px; letter-spacing: 0.12em; gap: 10px; }
}

/* Our Work on phones held sideways: photo beside the project details */
@media (max-width: 860px) and (min-width: 560px) and (max-height: 520px) {
  .client-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
  .cf-info h3 { font-size: 30px; }
  .cf-info .n { margin-bottom: 12px; }
  .cf-info p { margin-top: 14px; }
  .cf-info .link-arrow { margin-top: 20px; }
}

/* Smallest phones (under 360px wide) */
@media (max-width: 359px) {
  .hero h1 { font-size: 42px; }
  .hero .label { letter-spacing: 0.12em; }
  .trusted li { flex-direction: column; align-items: flex-start; gap: 2px; }
}
