@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500&display=swap');

/* Luxury Interiors — theme tokens (kept from the original build) */
:root {
  --bg: #faf8f5;
  --bg-2: #f1ece4;
  --bg-3: #e8e0d3;
  --ink: #1c1916;
  --ink-soft: #57504a;
  --dark: #2c2825;
  --dark-2: #36312d;
  --on-dark: #f6f2ec;
  --on-dark-soft: #cfc6ba;
  --gold: #b9965b;
  --gold-text: #7f6231;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-text: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --section: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--dark); color: var(--on-dark); padding: 10px 16px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.tone { background: var(--bg-2); }
.dark { background: var(--dark); color: var(--on-dark); }

/* Type scale: display / heading / lead / body / small */
.display { font-size: clamp(52px, 9vw, 136px); font-weight: 300; line-height: .95; letter-spacing: -0.025em; }
.h2 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 300; }
.h3 { font-size: clamp(28px, 2.6vw, 38px); }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; max-width: 40ch; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--ink-soft); }
.dark .muted { color: var(--on-dark-soft); }
.measure { max-width: 62ch; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--bg);
  transition: transform .5s var(--ease), background-color .4s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a:not(.btn) {
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-text); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 26px; background: var(--dark); color: var(--on-dark); border: 0; cursor: pointer;
  transition: background-color .3s, transform .3s var(--ease);
}
.btn:hover { background: var(--gold-text); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--dark); }
.btn--light:hover { background: var(--gold); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(5px); }
.link {
  position: relative; display: inline-flex; gap: 10px; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: 6px; transition: color .3s;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: left; transition: transform .45s var(--ease); }
.link:hover::after { transform: scaleX(.4); }
.link:hover { color: var(--gold-text); }
.dark .link:hover, .hero .link:hover { color: var(--gold); }

/* Hero (home) */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.hero__media { position: absolute; inset: -6% 0 0 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(28, 22, 18, .42); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(56px, 9vh, 110px); }
.hero .lead { color: #f3eee7; margin: 28px 0 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
@keyframes settle { to { transform: scale(1); } }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(56px, 7vw, 96px); }
.page-hero .lead { margin-top: 28px; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero .display { font-size: clamp(50px, 7.4vw, 112px); }
.page-hero__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.banner { height: clamp(320px, 62vh, 720px); overflow: hidden; }
.banner img { width: 100%; height: 115%; object-fit: cover; }

/* Studio intro + stats */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat__num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 76px); line-height: 1; font-weight: 300; }
.stat__label { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.studio-copy p { font-size: 18px; }

/* Disciplines (home) */
.disciplines { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: 72px; }
.discipline { position: relative; display: block; overflow: hidden; color: #fff; aspect-ratio: 4 / 5; background: var(--dark); }
.discipline:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.discipline img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.discipline:hover img { transform: scale(1.04); }
.discipline__body { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 3vw, 44px); background: rgba(28, 22, 18, .62); }
.discipline__body p { color: #eee7de; max-width: 44ch; font-size: 16px; }

/* Works grid (home) */
.works-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 64px; flex-wrap: wrap; }
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.work { position: relative; display: block; overflow: hidden; }
.works { align-items: start; }
.work__img { background: var(--bg-3); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover img { transform: scale(1.04); }
.work__cap { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 0; background: var(--bg); }
.work__cap h3 { font-size: clamp(24px, 2vw, 30px); }
.work__cap span { font-size: 14px; color: var(--ink-soft); }
.work-a { grid-column: 1 / span 7; } .work-a .work__img { aspect-ratio: 4 / 3; }
.work-b { grid-column: 8 / span 5; } .work-b .work__img { aspect-ratio: 20 / 21; }
.work-c { grid-column: 1 / span 4; } .work-c .work__img { aspect-ratio: 1; }
.work-d { grid-column: 5 / span 4; } .work-d .work__img { aspect-ratio: 1; }
.work-e { grid-column: 9 / span 4; } .work-e .work__img { aspect-ratio: 1; }
.work__img { overflow: hidden; }

/* Instagram strip */
.ig-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ig-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.ig-grid a:hover img { transform: scale(1.05); opacity: .9; }

/* Quote */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--font-display); font-style: italic; font-size: clamp(23px, 2.6vw, 36px); line-height: 1.3; }
.quote cite { display: block; margin-top: 36px; font-style: normal; font-size: 15px; font-weight: 500; }
.quote cite span { display: block; font-weight: 400; color: var(--ink-soft); }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 640px; }
.cta__text { padding: var(--section) var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 680px; margin-left: auto; }
.cta__text .lead { color: var(--on-dark-soft); margin: 24px 0 40px; }
.cta__media { overflow: hidden; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); padding: clamp(80px, 9vw, 130px) 0 40px; }
.site-footer .dark-tone { background: var(--dark-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-family: var(--font-text); font-size: 14px; font-weight: 500; color: var(--gold); margin-bottom: 18px; letter-spacing: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { color: var(--on-dark-soft); font-size: 16px; }
.footer-logo img { height: 48px; width: auto; margin-bottom: 20px; }
.footer-word { font-family: var(--font-display); font-weight: 300; font-size: clamp(56px, 11.5vw, 176px); line-height: .9; letter-spacing: -0.03em; margin: clamp(72px, 9vw, 120px) 0 32px; color: var(--on-dark); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-soft); }

/* Services page */
.svc-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg-2); transition: top .5s var(--ease); }
.site-header.is-hidden ~ main .svc-nav { top: 0; }
.svc-nav .wrap { display: flex; gap: clamp(20px, 3vw, 48px); overflow-x: auto; scrollbar-width: none; }
.svc-nav a { flex: none; padding: 20px 0; font-size: 14px; font-weight: 500; position: relative; color: var(--ink-soft); transition: color .3s; }
.svc-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); transform-origin: left; }
.svc-nav a:hover, .svc-nav a.is-active { color: var(--ink); }
.svc-nav a.is-active::after { transform: scaleX(1); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.svc + .svc { margin-top: var(--section); }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__sub { font-family: var(--font-display); font-size: 26px; font-style: italic; color: var(--gold-text); margin: 10px 0 18px; }
.svc p { font-size: 17px; }
.incl { margin: 32px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.incl li { position: relative; padding-left: 22px; font-size: 16px; }
.incl li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--gold); }
.incl-title { font-weight: 500; margin-top: 28px; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 72px; counter-reset: step; }
.process li { background: var(--dark-2); padding: 32px 26px 40px; min-height: 300px; }
.process h3 { font-size: 30px; margin-bottom: 14px; color: var(--on-dark); }
.process p { color: var(--on-dark-soft); font-size: 16px; }
.process__when { display: block; font-size: 15px; color: var(--gold); margin: -6px 0 18px; }

/* Portfolio page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.filter {
  font: 500 14px/1 var(--font-text); padding: 13px 20px; background: var(--bg-2); color: var(--ink); border: 0; cursor: pointer;
  transition: background-color .3s, color .3s, transform .2s;
}
.filter:hover { background: var(--bg-3); }
.filter:active { transform: scale(.97); }
.filter[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); }
.filter__count { opacity: .7; margin-left: 6px; }
.projects { display: grid; gap: clamp(72px, 9vw, 140px); }
.project { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.project:nth-child(even) { grid-template-columns: 5fr 7fr; }
.project:nth-child(even) .project__media { order: 2; }
.project[hidden] { display: none; }
.project__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-3); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__media img { transform: scale(1.03); }
.project__type { font-size: 15px; color: var(--gold-text); font-weight: 500; margin-bottom: 12px; }
.project h2 { font-size: clamp(38px, 4vw, 60px); font-weight: 300; margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 28px 0 0; font-size: 15px; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; }
.empty-note { display: none; }

/* About page */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 72px; }
.value { background: var(--bg); padding: clamp(28px, 3vw, 44px); }
.value h3 { font-size: 32px; margin-bottom: 16px; }
.value p { font-size: 16px; margin: 0; }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 56px; }
.clients li { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); padding: 18px 0; }
.photo-pair { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(14px, 1.6vw, 24px); align-items: end; }
.photo-pair figure { margin: 0; overflow: hidden; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }
.photo-pair figure:first-child { aspect-ratio: 4 / 5; }
.photo-pair figure:last-child { aspect-ratio: 4 / 3; }

.film { padding-top: 0; }
.film__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.film__head .lead { margin: 0; }
.film__frame { aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.film__frame video { width: 100%; height: 100%; object-fit: contain; background: var(--dark); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; min-width: 0; }
.chip { position: relative; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--font-text); color: var(--ink); background: #fff;
  border: 1px solid #cdc3b5; border-radius: 0; padding: 15px 16px; width: 100%;
  transition: border-color .3s, box-shadow .3s; /* taste-skill-ignore: focus ring on form fields */
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(185, 150, 91, .25); } /* taste-skill-ignore */
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 12px 18px; background: var(--bg-2); font-size: 15px; cursor: pointer; transition: background-color .3s, color .3s; }
.chip input:checked + span { background: var(--dark); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.contact-card { background: var(--bg-2); padding: clamp(28px, 3vw, 44px); }
.contact-card h2 { font-size: 34px; margin-bottom: 18px; }
.contact-card dl { margin: 0; display: grid; gap: 20px; }
.contact-card dt { font-size: 14px; color: var(--ink-soft); }
.contact-card dd { margin: 4px 0 0; font-size: 18px; }
.contact-card a:hover { color: var(--gold-text); }
.map { margin-top: 24px; aspect-ratio: 4 / 3; background: var(--bg-3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15); }

/* 404 / thanks */
.plain { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; }

/* Motion: reveal */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="img"] { transform: scale(1.04); clip-path: inset(6% 0 0 0); transition: clip-path 1.2s var(--ease), transform 1.4s var(--ease), opacity .8s; transition-delay: var(--d, 0ms); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal="img"] { opacity: 1; transform: none; clip-path: none; }
  .hero__media img { transform: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 820px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .logo img { height: 36px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; cursor: pointer;
    font: 500 13px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  }
  .menu-btn__bars { width: 22px; height: 12px; position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-btn__bars::before { top: 1px; } .menu-btn__bars::after { top: 9px; }
  .menu-open .menu-btn__bars::before { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-btn__bars::after { top: 5px; transform: rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start;
    padding: 40px var(--gutter); gap: 8px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .35s, transform .45s var(--ease); }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 40px; letter-spacing: -0.01em; text-transform: none; font-weight: 400; }
  .nav .btn { margin-top: 24px; }
  .tool-styles { aspect-ratio: 3 / 2; }
  .split, .page-hero__grid, .svc, .project, .project:nth-child(even), .contact-grid, .cta__grid, .photo-pair { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media, .project:nth-child(even) .project__media { order: 0; }
  .disciplines { grid-template-columns: 1fr; }
  .discipline:nth-child(2) { margin-top: 0; }
  .discipline { aspect-ratio: 4 / 5; }
  .works { grid-template-columns: 1fr 1fr; }
  .work-a, .work-b { grid-column: 1 / -1; }
  .work-c, .work-d { grid-column: span 1; }
  .work-e { grid-column: 1 / -1; }
  .work-e .work__img { aspect-ratio: 4 / 3; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { gap: 12px; }
  .incl { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .svc-nav { position: static; }
  .svc-nav .wrap { flex-wrap: wrap; gap: 0 22px; }
  .svc-nav a { padding: 12px 0; }
  .clients { grid-template-columns: 1fr 1fr; }
  .cta__media { aspect-ratio: 4 / 3; order: -1; }
  .cta__text { margin-left: 0; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner img { height: 100%; }
}

/* Account and estimate pages */
.hint { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.form-msg { min-height: 1.4em; margin: 0; font-size: 15px; color: #9b2c1f; }
.form-msg.is-ok { color: var(--ink-soft); }
.form--single { grid-template-columns: 1fr; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.auth-card { background: var(--bg-2); padding: clamp(28px, 3vw, 44px); align-self: end; }
.tabs { display: flex; gap: 4px; margin-bottom: 28px; border-bottom: 1px solid #cdc3b5; }
.tabs button { background: none; border: 0; padding: 12px 4px; margin-right: 20px; font: 500 13px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.est-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.est-user { margin: 0; font-size: 15px; color: var(--ink-soft); }
.page-hero .wrap > .lead { margin-top: 28px; }
.est-grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.est-form { display: grid; gap: clamp(48px, 5vw, 72px); }
.est-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.est-step > legend { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; padding: 0; margin-bottom: 24px; }
.est-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 10px; border: 1px solid var(--gold); border-radius: 50%; font: 500 16px/1 var(--font-text); color: var(--gold-text); vertical-align: middle; }
.styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.style-card { position: relative; cursor: pointer; }
.style-card input { position: absolute; opacity: 0; pointer-events: none; }
.style-card__body { display: grid; gap: 8px; align-content: start; height: 100%; padding: 18px; background: #fff; border: 1px solid #ddd4c7; transition: border-color .3s, box-shadow .3s; }
.style-card__img { position: relative; display: block; aspect-ratio: 4 / 3; margin: -18px -18px 6px; overflow: hidden; background: var(--bg-3); }
.style-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.style-card:hover .style-card__img img { transform: scale(1.04); }
.swatch.swatch--thin { height: 10px; margin: 2px 0 4px; }
.style-card__body > span:last-child { font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.style-card strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.style-card:hover .style-card__body { border-color: var(--gold); }
.style-card input:checked + .style-card__body { border-color: var(--dark); box-shadow: inset 0 0 0 1px var(--dark); }
.style-card input:focus-visible + .style-card__body { outline: 2px solid var(--gold); outline-offset: 2px; }
.swatch { display: flex; height: 56px; margin-bottom: 6px; }
.swatch i { flex: 1; }
#studio-tool .lead { margin: 28px 0 36px; }
.tool-styles { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 4 / 3; }
.tool-styles img { width: 100%; height: 100%; object-fit: cover; }
.tool-styles img:first-child { grid-row: span 2; }

/* Design studio: selected style, finishes, visualiser, quote lines */
.step-hint { margin: -12px 0 22px; }
.style-detail { margin-top: 28px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid #ddd4c7; display: grid; gap: 22px; }
.style-detail__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.style-detail__head h3 { font-size: clamp(28px, 2.6vw, 36px); }
.style-detail__head p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(90px, 11vw, 150px); gap: 8px; }
.gallery button { padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; overflow: hidden; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.palette li { display: grid; gap: 4px; font-size: 13px; line-height: 1.3; }
.palette i { display: block; aspect-ratio: 1 / 1.15; border: 1px solid rgba(0, 0, 0, .08); }
.palette strong { font-weight: 500; font-size: 14px; }
.palette span { color: var(--ink-soft); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(28, 25, 22, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; }
.lightbox button { position: absolute; border: 0; background: none; color: var(--on-dark); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 12px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 8px; top: 50%; font-size: 32px !important; }
.lightbox__next { right: 8px; top: 50%; font-size: 32px !important; }
.finishes { display: grid; gap: 30px; }
.finish-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.finish-group > legend { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.finish-group[hidden] { display: none; }
.finish-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.finish { position: relative; cursor: pointer; }
.finish input { position: absolute; opacity: 0; pointer-events: none; }
.finish__body { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; height: 100%; padding: 14px; background: #fff; border: 1px solid #ddd4c7; transition: border-color .3s, box-shadow .3s; }
.finish__body i { grid-row: span 3; width: 40px; height: 40px; border: 1px solid rgba(0, 0, 0, .1); }
.finish__body strong { font-weight: 500; font-size: 15px; line-height: 1.3; }
.finish__body small { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.finish__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.finish:hover .finish__body { border-color: var(--gold); }
.finish input:checked + .finish__body { border-color: var(--dark); box-shadow: inset 0 0 0 1px var(--dark); }
.finish input:focus-visible + .finish__body { outline: 2px solid var(--gold); outline-offset: 2px; }
.thumbs .thumb-viz { position: absolute; left: 6px; bottom: 6px; right: auto; top: auto; width: auto; height: auto; border-radius: 0; padding: 6px 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--dark); }
.thumbs li.is-active { outline: 2px solid var(--gold); outline-offset: 2px; }
.viz { margin-top: 24px; display: grid; gap: 14px; }
.viz__stage { position: relative; overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; user-select: none; }
.viz__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viz__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--cut, 50%)); }
.viz__after img:not([src]) { display: none; }
.viz__stage::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none; }
.viz__stage:not(.has-after)::after, .viz__stage:not(.has-after) .viz__range, .viz__stage:not(.has-after) .viz__tag { display: none; }
.viz__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.viz__tag { position: absolute; top: 12px; padding: 6px 10px; background: rgba(28, 25, 22, .7); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.viz__tag--l { left: 12px; } .viz__tag--r { right: 12px; }
.viz__wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(28, 25, 22, .55); color: #fff; font-size: 15px; text-align: center; padding: 20px; }
.viz__wait[hidden] { display: none; }
.viz__spin { width: 34px; height: 34px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viz__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { background: var(--dark); color: var(--on-dark); }
.btn[disabled] { opacity: .5; cursor: progress; }
.viz__history { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.viz__history button { padding: 0; border: 0; aspect-ratio: 1; background: var(--bg-3); cursor: pointer; overflow: hidden; }
.viz__history img { width: 100%; height: 100%; object-fit: cover; }
.viz__history .is-active { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-lines { margin: 22px 0 0; display: grid; gap: 8px; font-size: 14px; }
.est-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--on-dark-soft); }
.est-lines li span:last-child { color: var(--on-dark); white-space: nowrap; }
.est-lines small { display: block; font-size: 12px; opacity: .8; }
.saved-card__lines { margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.saved-card__lines li { display: flex; justify-content: space-between; gap: 12px; }
.drop { display: grid; place-items: center; min-height: 140px; padding: 24px; border: 1px dashed #b8ab98; background: #fff; text-align: center; cursor: pointer; transition: border-color .3s, background-color .3s; }
.drop:hover, .drop.is-over { border-color: var(--gold-text); background: var(--bg-2); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.thumbs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.thumbs li { position: relative; aspect-ratio: 1; background: var(--bg-3); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(28, 25, 22, .75); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.est-summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--dark); color: var(--on-dark); padding: clamp(28px, 3vw, 40px); }
.est-label { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.est-price { margin: 12px 0 8px; font-family: var(--font-display); font-size: clamp(32px, 3vw, 44px); line-height: 1.1; color: var(--gold); }
.est-style { margin: 0; font-size: 16px; }
.est-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; line-height: 1.5; color: var(--on-dark-soft); }
.saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 40px; }
.saved-card { background: var(--bg); padding: 26px; display: grid; gap: 10px; align-content: start; }
.saved-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.saved-card__head h3 { margin: 0; font-size: 26px; }
.saved-card__head span { font-size: 14px; color: var(--ink-soft); }
.saved-card__price { margin: 0; font-family: var(--font-display); font-size: 28px; color: var(--gold-text); }
.saved-card__meta, .saved-card__notes { margin: 0; font-size: 15px; color: var(--ink-soft); }
.saved-card__pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.saved-card__pics img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.saved-card .link-btn { justify-self: start; }
@media (max-width: 820px) {
  .est-grid { grid-template-columns: 1fr; }
  .est-summary { position: static; order: -1; }
  .styles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .styles { grid-template-columns: 1fr; }
  .palette { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .viz__spin { animation-duration: 3s; } }

/* Specialist pages and guides */
.page-hero--article .display { font-size: clamp(42px, 5.2vw, 78px); line-height: 1; }
.page-hero--article .lead { max-width: 46ch; }
.page-hero--article .hero__actions { margin-top: 40px; }
.crumbs { margin-bottom: 28px; font-size: 14px; color: var(--ink-soft); }
.crumbs span[aria-hidden] { margin: 0 4px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cdc3b5; }
.crumbs a:hover { color: var(--gold-text); }
.eyebrow { margin-bottom: 20px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.article { padding-top: 0; }
.article__grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 360px); justify-content: space-between; gap: clamp(40px, 6vw, 96px); align-items: start; }
.article__grid > * { min-width: 0; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; margin: clamp(56px, 6vw, 88px) 0 22px; }
.prose > :first-child, .prose > section:first-child > h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(24px, 2vw, 30px); margin: 36px 0 12px; }
.prose p { margin: 0 0 1.1em; }
.prose a:not(.btn) { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .3s; }
.prose a:not(.btn):hover { color: var(--gold-text); }
.prose ul:not([class]) { display: grid; gap: 10px; margin: 0 0 1.4em; }
.prose ul:not([class]) li { position: relative; padding-left: 22px; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--gold); }
.prose .small { font-size: 15px; }
.steps { counter-reset: step; margin: 8px 0 1.6em; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--bg-3); }
.steps li:last-child { border-bottom: 1px solid var(--bg-3); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--font-display); font-size: 30px; line-height: 1.2; color: var(--gold-text); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; margin: 32px 0; }
.tile { background: var(--bg-2); padding: clamp(22px, 2.4vw, 32px); }
.prose .tile h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.15; }
.tile p { margin: 0; font-size: 16px; line-height: 1.6; }
.callout { margin: 28px 0; padding: 22px 26px; background: var(--bg-2); border-left: 3px solid var(--gold); font-size: 17px; }
.table-wrap { overflow-x: auto; margin: 20px 0 28px; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--bg-3); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink-soft); }
.prose-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.faq { border-bottom: 1px solid var(--bg-3); }
.faq details { border-top: 1px solid var(--bg-3); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 28px/1 var(--font-text); color: var(--gold-text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-text); }
.faq details p { max-width: 62ch; margin: 0; padding: 0 0 24px; }
.article__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 36px; }
.article__aside .contact-card p { font-size: 16px; color: var(--ink-soft); }
.article__aside .contact-card dl { margin-bottom: 28px; }
.aside-links h2 { margin-bottom: 14px; font: 500 13px/1.3 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.aside-links li { border-top: 1px solid var(--bg-3); }
.aside-links a { display: block; padding: 12px 0; font-family: var(--font-display); font-size: 22px; line-height: 1.25; transition: color .3s; }
.aside-links a:hover { color: var(--gold-text); }
.cta--article .h2 { font-size: clamp(36px, 4vw, 60px); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.svc__more { margin: -16px 0 36px; font-size: 16px; color: var(--ink-soft); }
.svc__more a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.svc__more a:hover { color: var(--gold-text); }
.footer-grid p + h2 { margin-top: 36px; }
.nav .btn { white-space: nowrap; }
.logo { flex: none; }
@media (min-width: 821px) and (max-width: 1100px) {
  .logo img { height: 38px; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { letter-spacing: .08em; }
  .nav .btn { padding: 14px 18px; }
}
@media (min-width: 821px) and (max-width: 980px) { .nav .btn { display: none; } } /* Contact sits right beside it */
@media (max-width: 1024px) {
  .article__grid { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}
@media (max-width: 820px) {
  .prose { font-size: 17px; }
  .steps li { padding-left: 52px; }
}

/* Page edit mode */
.cms-editing [data-reveal] { opacity: 1 !important; transform: none !important; }
.cms-editing body { padding-bottom: 72px; }
.cms-editing [data-cms] { cursor: pointer; outline: 1px dashed transparent; outline-offset: 3px; }
.cms-editing [data-cms]:hover { outline-color: var(--gold); }
.cms-editing .cms-selected { outline: 2px solid var(--gold); }
.cms-bar { position: fixed; z-index: 2147482000; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 20px; padding-right: 92px; background: var(--dark); color: var(--on-dark); font: 400 14px/1.3 var(--font-text); }
.cms-bar a, .cms-bar button { color: inherit; font: inherit; }
.cms-bar button { background: none; border: 1px solid #6b635b; padding: 8px 12px; cursor: pointer; }
.cms-bar__page select { margin-left: 6px; padding: 7px; font: inherit; }
.cms-bar [data-count] { margin-left: auto; color: var(--on-dark-soft); }
.cms-bar .cms-bar__go { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 500; padding: 8px 18px; }
.cms-bar .cms-bar__go:disabled { opacity: .45; cursor: default; }
.cms-panel { position: fixed; z-index: 2147482001; top: 16px; right: 16px; bottom: 76px; width: min(360px, calc(100vw - 32px)); overflow-y: auto; padding: 22px; background: var(--bg); color: var(--ink); box-shadow: 0 12px 40px rgba(28, 25, 22, .28); font: 400 15px/1.4 var(--font-text); }
.cms-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cms-panel__head h2 { margin: 0; font: 500 15px/1.3 var(--font-text); }
.cms-panel__head button { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.cms-panel__note { margin: 0 0 12px; font-size: 14px; color: var(--gold-text); }
.cms-panel__msg { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); }
.cms-field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.cms-field input, .cms-field textarea { width: 100%; padding: 10px; border: 1px solid #cdc3b5; background: #fff; color: var(--ink); font: 400 15px/1.45 var(--font-text); resize: vertical; }
.cms-preview { display: block; width: 100%; max-height: 220px; object-fit: contain; background: var(--bg-2); margin-bottom: 12px; }
.cms-upload { display: inline-block; position: relative; padding: 10px 16px; margin-bottom: 14px; border: 1px solid var(--ink); font-size: 14px; cursor: pointer; }
.cms-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cms-upload:focus-within { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.cms-link { background: none; border: 0; padding: 0; font: 400 14px/1.4 var(--font-text); color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

/* Admin dashboard */
.admin { background: var(--bg); color: var(--ink); }
.admin [hidden] { display: none !important; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid var(--bg-3); }
.admin-top .logo img { height: 40px; width: auto; }
.admin-top__right { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-soft); min-width: 0; }
.admin-top__right span { overflow: hidden; text-overflow: ellipsis; }
.admin-main { max-width: 1120px; margin: 0 auto; padding: 36px var(--gutter) 80px; }
.admin-gate { max-width: 420px; margin: 8vh auto 0; }
.admin-gate__row { display: flex; align-items: center; gap: 20px; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.admin-head h1, .admin-head p { margin: 0; }
.admin-head p { margin-top: 8px; color: var(--ink-soft); max-width: 62ch; }
.admin-list, .admin-enquiries, .admin-pages, .admin-gallery, .admin-palette { list-style: none; margin: 0; padding: 0; }
.admin-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--bg-3); }
.admin-row img { width: 96px; height: 68px; object-fit: cover; flex: none; background: var(--bg-2); }
.admin-row__main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.admin-row__main span { font-size: 14px; color: var(--ink-soft); }
.admin-row__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-row__actions button, .admin-finish__do button { background: var(--bg); border: 1px solid #cdc3b5; padding: 7px 11px; font: 400 14px/1 var(--font-text); color: var(--ink); cursor: pointer; }
.admin-row__actions button:disabled { opacity: .35; cursor: default; }
.is-off img { opacity: .5; }
.is-off .admin-row__main strong { color: var(--ink-soft); }
.admin-card, .admin-style { background: var(--bg-2); padding: clamp(18px, 3vw, 30px); margin-bottom: 28px; }
.admin-style { margin-bottom: 0; }
.admin-card h2 { margin: 0 0 18px; }
.admin-card__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
.admin-card__pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; background: var(--bg-3); }
.admin-card__actions { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.admin label { font-size: 14px; font-weight: 500; }
.admin .field label { display: grid; gap: 8px; }
.admin-rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.admin-rates label, .admin-finish label { display: grid; gap: 6px; align-content: start; }
.admin-rates input, .admin-finish input, .admin-finish select, .admin-palette input { width: 100%; padding: 9px; border: 1px solid #cdc3b5; background: #fff; color: var(--ink); font: 400 15px/1.3 var(--font-text); min-width: 0; }
.admin-sub { margin: 36px 0 12px; }
.admin-mini { margin: 24px 0 10px; font: 500 15px/1.3 var(--font-text); }
.admin-fold { border-top: 1px solid var(--bg-3); padding: 12px 0; }
.admin-fold summary { cursor: pointer; font-weight: 500; }
.admin-fold[open] summary { margin-bottom: 14px; }
.admin-finishes { display: grid; gap: 10px; margin-bottom: 12px; }
.admin-finish { display: grid; grid-template-columns: 64px minmax(0, 2fr) 120px 100px minmax(0, 3fr) auto; gap: 10px; align-items: end; background: var(--bg-2); padding: 12px; }
.admin-finish input[type="color"], .admin-palette input[type="color"] { padding: 2px; height: 38px; }
.admin-finish__do { display: flex; gap: 6px; }
.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
.admin-gallery li { position: relative; }
.admin-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.admin-gallery button, .admin-palette button { width: 28px; height: 28px; background: var(--dark); color: var(--on-dark); border: 0; cursor: pointer; }
.admin-gallery button { position: absolute; top: 4px; right: 4px; }
.admin-palette { display: grid; gap: 6px; margin-bottom: 10px; }
.admin-palette__row { display: grid; grid-template-columns: 56px 1fr 1fr 28px; gap: 6px; align-items: center; }
.admin-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.admin-pages .btn { width: 100%; justify-content: center; }
.admin-enq { padding: 16px 0; border-top: 1px solid var(--bg-3); display: grid; gap: 6px; }
.admin-enq p { margin: 0; }
.admin-enq__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.admin-enq__top time, .admin-enq__meta { font-size: 14px; color: var(--ink-soft); }
.admin-enq__text { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 70ch; }
.admin-enq.is-off { opacity: .6; }
@media (max-width: 760px) {
  .admin-card__grid { grid-template-columns: 1fr; }
  .admin-row { flex-wrap: wrap; }
  .admin-finish { grid-template-columns: 64px 1fr 1fr; }
  .admin-finish__desc, .admin-finish__do { grid-column: 1 / -1; }
  .cms-bar { padding-right: 20px; padding-bottom: 12px; }
  .cms-panel { top: auto; left: 16px; right: 16px; bottom: 124px; width: auto; max-height: 55vh; }
  .cms-editing body { padding-bottom: 124px; }
}
