/* Rebecca Flynn Interior Design - homepage redesign (v1, modernized) */

:root {
  --plum: #6e2a7f;
  --plum-hover: #5a1f69;
  --plum-deep: #2b1533;
  --plum-soft: #b98fc4;
  --ink: #24182b;
  --stone: #685f6c;
  --mist: #f3eef1;
  --line: #e4dbe2;
  --white: #ffffff;

  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --wrap: 1200px;
  --gutter: 20px;
  --section: 64px;
  --radius-s: 6px;
  --radius-m: 10px;
  --header-h: 76px;
  --header-h-compact: 60px;
  --bar-h: 64px;

  --logo-gray-1: #aaabaa;
  --logo-gray-2: #8f908f;
  --logo-plum-1: #9456a1;
  --logo-plum-2: #732a83;
  --logo-rule: #404040;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --section: 96px; --header-h: 92px; --header-h-compact: 72px; }
}
@media (min-width: 1100px) {
  :root { --section: 120px; --header-h: 104px; --header-h-compact: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-compact) + 8px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum); }
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.sprite { position: absolute; }
.icon { width: 20px; height: 20px; flex: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-family: var(--sans);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--plum-hover); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn-ghost .icon { color: var(--plum); }
.btn-outline { color: var(--plum); border-color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: var(--white); }

.text-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: var(--plum-soft);
  display: inline-block;
  padding: 6px 0;
}
.text-link:hover { text-decoration-color: currentColor; }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-clear { color: var(--white); border-color: rgba(255, 255, 255, .6); background: rgba(20, 12, 24, .18); }
.btn-clear:hover { border-color: var(--white); background: rgba(20, 12, 24, .32); }

/* ---------- Logo (type lockup matching the brand mark) ---------- */

.logo {
  --logo-size: 22px;
  display: inline-grid;
  grid-template-columns: auto auto;
  font-family: "Montserrat", "Gotham", "Avenir Next", sans-serif;
  font-weight: 300;
  font-size: var(--logo-size);
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-name, .logo-trade { display: flex; flex-direction: column; padding-block: .06em; }
.logo-name {
  align-items: flex-end;
  padding-right: .2em;
  border-right: max(1px, .065em) solid var(--logo-rule);
  color: var(--logo-gray-1);
}
.logo-name span + span { color: var(--logo-gray-2); }
.logo-trade { padding-left: .2em; color: var(--logo-plum-1); }
.logo-trade span + span { color: var(--logo-plum-2); }
.logo-lg { --logo-size: 30px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: height .25s ease;
}
.brand { display: block; flex: none; text-decoration: none; }
.brand .logo { --logo-size: 26px; transition: font-size .25s ease; }
.site-header[data-scrolled="true"] .brand .logo { --logo-size: 21px; }
.site-header[data-scrolled="true"] .header-inner { height: var(--header-h-compact); }

.site-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--plum); }
.header-phone:hover { color: var(--plum); }
.header-book { display: none; }

.menu-btn {
  width: 48px; height: 48px;
  margin-right: -10px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .icon { width: 26px; height: 26px; }

@media (min-width: 768px) {
  .brand .logo { --logo-size: 30px; }
  .site-header[data-scrolled="true"] .brand .logo { --logo-size: 24px; }
  .header-phone { display: inline-flex; }
  .header-book { display: inline-flex; }
  .header-actions { gap: 24px; }
}
@media (min-width: 1100px) {
  .brand .logo { --logo-size: 34px; }
  .site-header[data-scrolled="true"] .brand .logo { --logo-size: 26px; }
  .menu-btn { display: none; }
  .site-nav { display: flex; gap: 28px; margin-left: 40px; }
  .site-nav a {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1.5px solid transparent;
  }
  .site-nav a:hover { border-bottom-color: var(--plum); color: var(--plum); }
}

/* ---------- Menu (phones and tablets) ---------- */

.menu {
  position: fixed;
  inset: var(--header-h-current, var(--header-h)) 0 0;
  z-index: 45;
  background: var(--white);
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
}
.menu-actions { margin-top: 32px; display: grid; gap: 12px; }
body[data-menu="open"] { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--plum-deep);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 14, 30, .78) 0%, rgba(26, 14, 30, .45) 34%, rgba(26, 14, 30, 0) 62%);
}
.hero-inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 28px;
}
.hero-copy h1 {
  font-size: clamp(2.25rem, 9.6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-shadow: 0 1px 24px rgba(20, 10, 24, .25);
}
.hero-actions { margin-top: 24px; display: grid; gap: 10px; }
.hero-actions .btn { white-space: nowrap; }
.hero-credit {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .78);
}

@media (min-width: 560px) {
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
}
@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 920px); }
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(26, 14, 30, .7) 0%, rgba(26, 14, 30, .3) 30%, rgba(26, 14, 30, 0) 55%),
      linear-gradient(to right, rgba(26, 14, 30, .35) 0%, rgba(26, 14, 30, 0) 50%);
  }
  .hero-inner {
    padding-bottom: 56px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-actions { margin-top: 32px; }
  .hero-credit { margin: 0 0 6px; flex: none; }
}

/* ---------- Depth parallax canvas (depth.js) ----------
   Sits exactly over its <img>, which stays underneath as the fallback. */
.depth-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.depth-canvas.is-live { opacity: 1; }
.work-item .depth-canvas { border-radius: var(--radius-s); }
.depth-replay {
  position: fixed;
  right: 16px;
  top: calc(var(--header-h) + 16px);
  z-index: 70;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 14, 30, .72);
  color: #fff;
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .depth-replay { top: auto; right: auto; bottom: 24px; left: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .depth-canvas { display: none; }
}

/* ---------- Intro and credentials ---------- */

.intro { padding: 44px 0 52px; }
.intro-grid { display: grid; gap: 40px; }
.intro-text {
  font-size: 1.3125rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 30em;
}
.facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.facts li { display: flex; flex-direction: column; gap: 4px; padding-right: 8px; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.facts strong {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--plum);
}
.facts span { font-family: var(--sans); font-size: .875rem; color: var(--stone); line-height: 1.3; }

.trust-list { display: grid; gap: 22px; }
.trust-list li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-left: 18px;
  border-left: 2px solid var(--plum);
}
.trust-list strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.trust-list span { font-size: .9688rem; color: var(--stone); line-height: 1.5; }

@media (min-width: 900px) {
  .intro { padding: 88px 0 96px; }
  .intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 96px; align-items: start; }
  .intro-text { font-size: 1.75rem; line-height: 1.42; }
  .facts { margin-top: 48px; }
  .facts strong { font-size: 3rem; }
  .facts span { font-size: .9375rem; }
}

/* ---------- Recent work: full-bleed gallery ---------- */
.carousel-controls { display: none; gap: 10px; flex: none; }
@media (min-width: 768px) { .carousel-controls { display: flex; } }

.icon-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, opacity .15s ease;
}
.icon-btn:hover:not(:disabled) { border-color: var(--plum); color: var(--plum); }
.icon-btn:disabled { opacity: .35; cursor: default; }


.work { padding: 8px 0 calc(var(--section) * .5); }
.work-track {
  --gap: 10px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track:focus-visible { outline-offset: -3px; }
.work-item { scroll-snap-align: start; }
.work-item a { display: block; position: relative; color: var(--white); text-decoration: none; }
.work-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-s);
}
.work-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 18px 16px;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  background: linear-gradient(to top, rgba(26, 14, 30, .6), rgba(26, 14, 30, 0));
  font-family: var(--sans);
  font-size: .9375rem;
  color: rgba(255, 255, 255, .85);
}
.work-cap strong { display: block; font-weight: 500; font-size: 1.1875rem; color: var(--white); }
.work .btn-outline { margin-top: 28px; }
@media (max-width: 559px) {
  .work .btn-outline { width: 100%; }
}
@media (min-width: 768px) {
  .work-track {
    --gap: 16px;
    grid-auto-columns: 46%;
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
}
@media (min-width: 1100px) {
  .work-track { grid-auto-columns: min(34vw, 520px); }
  .work-item img { aspect-ratio: 4 / 5; }
}

/* ---------- Before and after ---------- */

.ba-list { display: grid; gap: 56px; }
.ba-media {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--plum-deep);
  cursor: pointer;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s ease;
}
.ba-img-after { opacity: 1; }
.ba[data-state="before"] .ba-img-after { opacity: 0; }

.ba-switch {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(26, 14, 30, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ba-switch button {
  min-width: 92px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.ba-switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.ba-switch button:focus-visible { outline-color: var(--white); outline-offset: 2px; }

.ba-body { padding-top: 20px; }
.ba-meta { font-family: var(--sans); font-size: .9375rem; color: var(--stone); }
.ba-body h3 { margin-top: 6px; font-size: 1.5rem; line-height: 1.2; }
.ba-body p:not(.ba-meta) { margin-top: 10px; font-size: 1.0625rem; line-height: 1.55; max-width: 34em; }
.ba-body .text-link { margin-top: 8px; }

@media (min-width: 768px) {
  .ba-media { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-m); }
}
@media (min-width: 1100px) {
  .ba-list { grid-template-columns: 1fr 1fr; gap: 72px 32px; }
  .ba-switch { left: 20px; bottom: 20px; transform: none; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section h2 { font-size: clamp(1.875rem, 6.4vw, 2.75rem); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-sub {
  margin-top: 10px;
  color: var(--stone);
  max-width: 36em;
}
@media (min-width: 900px) {
  .section-head { margin-bottom: 40px; }
  .section-sub { font-size: 1.1875rem; }
}

/* ---------- Testimonials ---------- */

.quotes { background: var(--mist); }
.quote-grid { margin-top: 32px; display: grid; gap: 20px; }
.quote {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.5;
}
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption {
  margin-top: auto;
  font-family: var(--sans);
  font-size: .9375rem;
  color: var(--stone);
}
.quote-feature blockquote p { font-size: 1.3125rem; line-height: 1.45; }

@media (min-width: 900px) {
  .quote-grid {
    margin-top: 44px;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
  }
  .quote { padding: 32px; }
  .quote-feature { grid-row: span 2; padding: 44px; justify-content: space-between; }
  .quote-feature blockquote p { font-size: 1.75rem; line-height: 1.4; }
}

/* ---------- Process ---------- */

.process-grid { display: grid; gap: 40px; }
.steps { margin: 32px 0 20px; counter-reset: step; display: grid; gap: 24px; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--plum);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.0625rem;
}
.steps h3 { font-size: 1.25rem; line-height: 1.3; padding-top: 7px; }
.steps p { margin-top: 6px; color: var(--stone); font-size: 1rem; }

.process-pair { display: grid; gap: 10px; }
.process-pair img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.process-media figcaption {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--stone);
}

@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
    align-items: center;
  }
  .steps { gap: 28px; margin-top: 40px; }
  .process-pair { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- About ---------- */

.about { background: var(--mist); }
.about-grid { display: grid; gap: 32px; }
.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--radius-m);
}
.about-copy > p:not(.pull) { margin-top: 16px; max-width: 34em; }
.pull {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--plum);
  max-width: 26em;
}
.signature { margin-top: 24px; width: 130px; }
.about-copy .text-link { margin-top: 12px; }

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 80px;
    align-items: center;
  }
  .about-photo img { aspect-ratio: 4 / 5; }
  .pull { font-size: 1.625rem; margin-top: 24px; }
}

/* ---------- Book ---------- */

.book {
  background: var(--plum-deep);
  color: var(--white);
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.book-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}
.book-inner { display: grid; }
.book h2 { font-size: clamp(1.875rem, 6.4vw, 3rem); max-width: 18ch; }
.book-sub { margin-top: 14px; color: #ddd0e2; max-width: 34em; font-size: 1.125rem; }

.project-pick { border: 0; margin: 32px 0 0; padding: 0; min-width: 0; }
.project-pick legend {
  padding: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.0625rem;
  margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--white);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover span { border-color: var(--white); }
.chip input:checked + span { background: var(--white); border-color: var(--white); color: var(--plum-deep); font-weight: 500; }
.chip input:focus-visible + span { outline: 3px solid var(--plum-soft); outline-offset: 2px; }

.book-actions { margin-top: 28px; display: grid; gap: 12px; }
.book-action {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px 20px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: var(--white);
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.book-action:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.book-action .icon { width: 24px; height: 24px; }
.book-action span { display: flex; flex-direction: column; min-width: 0; }
.book-action strong { font-family: var(--sans); font-weight: 500; font-size: 1.125rem; line-height: 1.3; }
.book-action small { font-family: var(--sans); font-size: .9375rem; color: #ddd0e2; overflow-wrap: anywhere; }
.book-call { background: var(--white); border-color: var(--white); color: var(--plum-deep); }
.book-call small { color: var(--stone); }
.book-call .icon { color: var(--plum); }
.book-call:hover { background: #f3eef1; border-color: #f3eef1; }
.book :focus-visible { outline-color: var(--plum-soft); }

.book-note { margin-top: 20px; font-size: .9688rem; color: #ddd0e2; }
.book-note a { color: var(--white); text-underline-offset: 3px; }

@media (min-width: 768px) and (max-width: 1099px) {
  .book-actions { grid-template-columns: 1fr 1fr 1.5fr; }
}
@media (min-width: 1100px) {
  .book-inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    column-gap: 96px;
    align-items: start;
  }
  .project-pick { margin-top: 0; }
}

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 32px; background: var(--white); }
.footer-grid { display: grid; gap: 36px; }
.footer-brand .logo { --logo-size: 30px; }
.footer-brand p { margin-top: 14px; color: var(--stone); font-size: 1rem; max-width: 24em; }
.site-footer h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.footer-contact, .footer-nav, .footer-photo { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact a, .footer-nav a, .footer-photo a {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}
.footer-contact a:hover, .footer-nav a:hover, .footer-photo a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.footer-photo p { color: var(--stone); font-size: 1rem; margin-bottom: 4px; max-width: 26em; }
.footer-photo a { color: var(--plum); }
.footer-legal { margin-top: 40px; }
.footer-legal p {
  padding-top: 20px;
  border-top: 1px solid var(--line); font-family: var(--sans); font-size: .875rem; color: var(--stone); }

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
}

/* ---------- Mobile action bar ---------- */

.action-bar { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(36, 24, 43, .08);
    transition: transform .25s ease;
  }
  .action-bar[data-hidden="true"] { transform: translateY(110%); }
  .ab-item, .ab-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    border-radius: var(--radius-s);
    font-family: var(--sans);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
  }
  .ab-item { padding: 0 14px; color: var(--plum); background: var(--mist); }
  .ab-item .icon { width: 18px; height: 18px; }
  .ab-book { background: var(--plum); color: var(--white); padding: 0 12px; }
}
