/* 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;
  --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; }
}
@media (min-width: 1100px) {
  :root { --section: 120px; --header-h: 104px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 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;
}
.brand { display: block; flex: none; text-decoration: none; }
.brand .logo { --logo-size: 26px; }

.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; }
  .header-phone { display: inline-flex; }
  .header-book { display: inline-flex; }
  .header-actions { gap: 24px; }
}
@media (min-width: 1100px) {
  .brand .logo { --logo-size: 34px; }
  .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-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;
  /* Never scrollable up or down: a vertical swipe or wheel over the photos always moves the page. */
  overflow-y: hidden;
  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; }
}

/* Cards fade in and settle from a touch smaller, staying inside the strip's bounds. */
.work-item a { transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1), scale 1.4s cubic-bezier(.16, 1, .3, 1); }
.work-item.is-pending a { opacity: 0; scale: .965; }

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

.ba-list { display: grid; gap: 56px; }
.cmp {
  --pos: 50%;
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--plum-deep);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.cmp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  transform: scale(1.035); /* trims stray edge strips in some source photos; same on both layers */
}
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.cmp-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(26, 14, 30, .35);
  pointer-events: none;
}
.cmp-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(26, 14, 30, .28);
}
.cmp-handle span::before,
.cmp-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid var(--ink);
  border-width: 0 0 1.75px 1.75px;
}
.cmp-handle span::before { left: 12px; transform: rotate(45deg); }
.cmp-handle span::after { right: 12px; transform: rotate(-135deg); }

.cmp-tag {
  position: absolute;
  top: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(26, 14, 30, .62);
  color: var(--white);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.4;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cmp-tag-before { left: 14px; }
.cmp-tag-after { right: 14px; }
.cmp[data-near="before"] .cmp-tag-after,
.cmp[data-near="after"] .cmp-tag-before { opacity: 0; }

.cmp-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.cmp:has(.cmp-range:focus-visible) { outline: 3px solid var(--plum); outline-offset: 3px; }

.ba-note {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--stone);
}
.ba-note a { color: inherit; text-underline-offset: 3px; }

.ba-body { padding-top: 14px; }
.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) {
  .cmp { 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; }
}

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

.section { padding: var(--section) 0; }
.section h2, .work 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: Rebecca ----------
   One section, seven presentations, picked with data-look (and a review switcher, ?looks).
   Every look is sized so the portrait fits on one screen. */

.about {
  --px: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --fit: clamp(440px, calc(100svh - var(--header-h) - 64px), 760px);
  background: var(--white);
  overflow-x: clip;
}
.about-portrait { position: relative; }
.about-frame, .about-photo, .about-cut { display: none; }
.about-text { max-width: 620px; }
.about-kicker { font-family: var(--sans); font-size: .9375rem; color: var(--stone); }
.about h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-role { margin-top: 12px; font-family: var(--sans); font-size: 1rem; color: var(--plum); }
.pull {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--ink);
  max-width: 24em;
}
.about-bio { margin-top: 18px; color: var(--stone); max-width: 32em; }
.about-sign { margin-top: 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.signature { width: 120px; }
@media (min-width: 900px) {
  .pull { font-size: 1.5rem; }
}

/* Shared: a contained two-column layout */
.about:is([data-look="rounded"], [data-look="arch"], [data-look="beside"], [data-look="stepout"]) {
  display: grid;
  gap: 40px;
  padding: var(--section) var(--px);
  background: var(--mist);
}
@media (min-width: 900px) {
  .about:is([data-look="rounded"], [data-look="arch"], [data-look="beside"], [data-look="stepout"]) {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
  }
}

/* 1. Editorial split: portrait panel edge to edge on the left */
.about[data-look="split"] { display: grid; }
.about[data-look="split"] .about-portrait {
  aspect-ratio: 4 / 5;
  max-height: 70svh;
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 32%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #ede5ea 0%, #ddd0d8 100%);
}
.about[data-look="split"] .about-cut,
.about[data-look="banner"] .about-cut {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 94%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  transform: translateX(-50%);
}
.about[data-look="split"] .about-text { padding: 44px var(--gutter) var(--section); }
@media (min-width: 900px) {
  .about[data-look="split"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .about[data-look="split"] .about-portrait { aspect-ratio: auto; max-height: none; height: var(--fit); }
  .about[data-look="split"] .about-text { padding: 56px var(--gutter) 56px clamp(48px, 7vw, 120px); }
}

/* 2. Rounded portrait: the whole original photo with soft corners (the first version) */
.about[data-look="rounded"] .about-photo,
.about[data-look="arch"] .about-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* 3. Arch portrait: the same photo inside an arch */
.about[data-look="arch"] .about-photo { border-radius: 999px 999px 16px 16px; }
.about[data-look="arch"] .about-portrait,
.about[data-look="rounded"] .about-portrait { max-width: calc(var(--fit) * .685); width: 100%; justify-self: center; }

/* 4. Circle portrait, everything centered */
.about[data-look="circle"] { padding: var(--section) var(--px); background: var(--mist); text-align: center; }
.about[data-look="circle"] .about-portrait {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #cfcfd5;
  box-shadow: 0 0 0 8px var(--white), 0 18px 40px -22px rgba(43, 21, 51, .45);
}
.about[data-look="circle"] .about-photo {
  display: block;
  position: absolute;
  width: 150%;
  max-width: none;
  left: -25%;
  top: -4%;
}
.about[data-look="circle"] .about-text { margin: 0 auto; max-width: 660px; }
.about[data-look="circle"] .pull { margin-inline: auto; }
.about[data-look="circle"] .about-bio { margin-inline: auto; }
.about[data-look="circle"] .about-sign { justify-content: center; }

/* 5. Standing beside the arch (cutout at the arch's right edge) */
.about[data-look="beside"] .about-portrait {
  width: 100%;
  max-width: calc(var(--fit) / 1.15);
  aspect-ratio: 1 / 1.15;
  justify-self: center;
}
.about[data-look="beside"] .about-frame,
.about[data-look="stepout"] .about-frame {
  display: block;
  position: absolute;
  background: linear-gradient(180deg, #ece3e9 0%, #dccdd7 55%, #cbb8c6 100%);
  box-shadow: 0 24px 48px -28px rgba(43, 21, 51, .35);
}
.about[data-look="beside"] .about-frame { inset: 0 20% 0 0; border-radius: 999px 999px 14px 14px; }
.about[data-look="beside"] .about-cut {
  display: block;
  position: absolute;
  left: 38%;
  bottom: 0;
  width: 64%;
  max-width: none;
  filter: drop-shadow(10px 12px 16px rgba(43, 21, 51, .16));
}

/* 6. Full-width banner: text left on a soft lilac band, Rebecca on the right */
.about[data-look="banner"] {
  display: grid;
  background:
    radial-gradient(50% 60% at 75% 35%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #efe7ec 0%, #dccdd7 100%);
}
.about[data-look="banner"] .about-portrait { aspect-ratio: 4 / 5; max-height: 70svh; overflow: hidden; }
.about[data-look="banner"] .about-text { padding: 44px var(--gutter) var(--section); }
.about[data-look="banner"] .pull { border-top-color: rgba(110, 42, 127, .2); }
@media (min-width: 900px) {
  .about[data-look="banner"] { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; }
  .about[data-look="banner"] .about-portrait { order: 2; aspect-ratio: auto; max-height: none; height: var(--fit); }
  .about[data-look="banner"] .about-text { align-self: center; padding: 56px 0 56px var(--px); }
}

/* 7. Stepping out of the frame: head and hair rise above a rounded panel */
.about[data-look="stepout"] .about-portrait {
  width: 100%;
  max-width: calc(var(--fit) / 1.3);
  aspect-ratio: 1 / 1.3;
  justify-self: center;
}
.about[data-look="stepout"] .about-frame { inset: 20% 4% 0; border-radius: 22px; }
.about[data-look="stepout"] .about-cut {
  display: block;
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 88%;
  max-width: none;
  filter: drop-shadow(0 10px 14px rgba(43, 21, 51, .14));
}

/* Review switcher (only with ?looks in the URL) */
.look-switch {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 24px);
  padding: 6px;
  border-radius: 999px;
  background: rgba(36, 24, 43, .9);
  color: var(--white);
  font-family: var(--sans);
  font-size: .9375rem;
  box-shadow: 0 10px 30px rgba(36, 24, 43, .25);
  transform: translateX(-50%);
  transition: opacity .25s ease, translate .25s ease;
}
.look-switch[hidden] { display: flex; opacity: 0; translate: 0 12px; pointer-events: none; }
.look-switch button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
}
.look-switch button:hover { background: rgba(255, 255, 255, .12); }
.look-switch output { padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .look-switch { bottom: 24px; } }
.look-switch svg { width: 18px; height: 18px; }

/* ---------- 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; }
}

/* ---------- Project photos: full-screen viewer ---------- */

html.pv-open, html.pv-open body { overflow: hidden; }
.pv {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  z-index: 210;
  background: rgba(18, 13, 21, var(--pv-fade, 1));
  color: var(--white);
  opacity: 0;
  transition: opacity .22s ease;
}
.pv.is-in { opacity: 1; }
.pv.is-out { opacity: 0; }
.pv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(8px, env(safe-area-inset-top)) 8px 4px;
}
.pv-close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  cursor: pointer;
}
.pv-close .icon { width: 22px; height: 22px; }
.pv-spacer { width: 44px; }
.pv-count { font-family: var(--sans); font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.pv-stage { position: relative; min-height: 0; touch-action: pan-x; transition: transform .25s ease; }
.pv.is-dragging .pv-stage { transition: none; }
.pv-track {
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.pv-track::-webkit-scrollbar { display: none; }
.pv-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.pv-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.pv-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(18, 13, 21, .7);
  color: var(--white);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
}
.pv-nav, .ig-nav { display: none; }
.pv :focus-visible { outline-color: var(--plum-soft); }

@media (hover: hover) and (pointer: fine) {
  .pv-nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    width: 52px; height: 52px;
    margin-top: -26px;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    cursor: pointer;
  }
  .pv-prev { left: 20px; }
  .pv-next { right: 20px; }
  .pv-nav:hover:not(:disabled) { background: rgba(255, 255, 255, .22); }
  .pv-nav:disabled { opacity: .25; cursor: default; }
}
@media (min-width: 900px) {
  .pv-stage { padding: 0 0 8px; }
  .pv-slide { padding: 0 92px; }
}

/* ---------- Portfolio: a feed of swipeable project posts ---------- */

.pf-head { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 32px var(--gutter) 8px; }
.pf-head h1 { font-size: clamp(2.25rem, 8vw, 3.25rem); }
.pf-head .section-sub { margin-top: 10px; }
.pf-filters { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 5px; }
@media (max-width: 379px) { .pf-filters button { padding: 0 9px; font-size: .8125rem; } }
.pf-filters button {
  min-height: 36px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .875rem;
  white-space: nowrap;
  cursor: pointer;
}
.pf-filters button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.pf-feed {
  display: grid;
  gap: 40px;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 24px 0 var(--section);
}
.post[hidden] { display: none; }
.ig { position: relative; }
.ig-track {
  display: flex;
  aspect-ratio: 4 / 3;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  background: var(--mist);
}
.ig-track::-webkit-scrollbar { display: none; }
.ig-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.ig-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ig-open img { width: 100%; height: 100%; object-fit: cover; }
.ig-open img.is-tall { object-fit: contain; }
.ig-count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(18, 13, 21, .62);
  color: var(--white);
  font-family: var(--sans);
  font-size: .8125rem;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .ig-nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    width: 40px; height: 40px;
    margin-top: -20px;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    box-shadow: 0 4px 14px rgba(36, 24, 43, .2);
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .ig-prev { left: 12px; }
  .ig-next { right: 12px; }
  .ig:hover .ig-nav:not(:disabled), .ig-nav:focus-visible { opacity: 1; }
  .ig-nav:disabled { pointer-events: none; }
}
@media (min-width: 900px) {
  .pf-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; padding-inline: var(--gutter); }
  .ig-track { border-radius: var(--radius-m); }
}

.pv-caption {
  min-height: 44px;
  padding: 10px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  font-family: var(--sans);
  font-size: .875rem;
  text-align: center;
  color: rgba(255, 255, 255, .72);
}

/* ---------- Project story: before, vision, work, reveal ---------- */

.pj {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--white);
  opacity: 0;
  transition: opacity .24s ease;
}
.pj.is-in { opacity: 1; }
.pj.is-out { opacity: 0; }
.pj-bar { position: absolute; inset: 0 0 auto; z-index: 3; pointer-events: none; }
.pj-progress { display: block; height: 2px; background: rgba(255, 255, 255, .25); }
.pj-progress i { display: block; height: 100%; background: var(--plum); transform: scaleX(0); transform-origin: 0 50%; }
.pj-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 12px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(36, 24, 43, .12);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
}
.pj-close .icon { width: 20px; height: 20px; }
.pj-scroll { height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }

.pj-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100svh;
  min-height: 440px;
  color: var(--white);
  overflow: hidden;
}
.pj-cover-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 12, 26, .78) 0%, rgba(22, 12, 26, .35) 38%, rgba(22, 12, 26, 0) 65%);
}
.pj-cover-text { position: relative; z-index: 1; width: 100%; max-width: 900px; margin: 0 auto; padding: 24px var(--gutter) 40px; }
.pj-cover h2 { font-size: clamp(2rem, 8.5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 14ch; }
.pj-meta { margin-top: 10px; font-family: var(--sans); font-size: .9375rem; color: rgba(255, 255, 255, .82); }

.pj-ch { max-width: 900px; margin: 0 auto; padding: 72px 0 0; }
.pj-num { padding: 0 var(--gutter); font-family: var(--sans); font-size: .875rem; font-weight: 500; color: var(--plum); }
.pj-lead { margin-top: 10px; padding: 0 var(--gutter); font-size: 1.5rem; line-height: 1.38; color: var(--ink); max-width: 30em; }
.pj-text { margin-top: 18px; padding: 0 var(--gutter); font-size: 1.0625rem; line-height: 1.65; max-width: 36em; }
.pj-fig { position: relative; margin: 8px 0 0; }
.pj-lead + .pj-fig, .pj-lead + .pj-pair, .pj-cmp-note + .pj-fig, .pj-cmp-note + .pj-pair { margin-top: 28px; }
.pj-photo { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pj-photo img { display: block; width: 100%; height: auto; }
.pj-fig.is-wide.is-tall .pj-photo img { width: auto; max-width: 100%; max-height: 82svh; margin: 0 auto; }
.pj-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pj-pair .pj-fig { margin: 0; }
.pj-cmp { margin: 28px 0 0; }
.pj-cmp-note { margin-top: 8px; padding: 0 var(--gutter); font-family: var(--sans); font-size: .75rem; color: var(--stone); }
.pj-anim { opacity: 0; translate: 0 22px; transition: opacity .9s ease, translate 1.1s cubic-bezier(.16, 1, .3, 1); }
.pj-anim.is-in { opacity: 1; translate: 0 0; }

.pj-end { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; padding: 64px var(--gutter) calc(56px + env(safe-area-inset-bottom)); }
.pj-book { justify-self: start; }
.pj-next {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}
.pj-next img { grid-row: 1 / span 2; width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.pj-next-label { align-self: end; font-family: var(--sans); font-size: .8125rem; color: var(--stone); }
.pj-next-title { align-self: start; font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.pj-next:hover .pj-next-title { color: var(--plum); }
.pj :focus-visible { outline-color: var(--plum); }

@media (min-width: 900px) {
  .pj-close { top: 20px; right: 20px; }
  .pj-lead { font-size: 2rem; }
  .pj-fig.is-wide, .pj-cmp, .pj-pair { margin-inline: var(--gutter); }
  .pj-fig { margin-top: 16px; }
  .pj-pair { gap: 16px; margin-top: 16px; }
  .pj-photo img, .pj-cmp { border-radius: var(--radius-m); }
  .pj-cmp-note { padding-inline: var(--gutter); }
}

/* Portfolio post: photos, then one tappable line */
.post-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  padding: 12px var(--gutter) 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.post-title { font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.post-sub { grid-row: 2; margin-top: 2px; font-family: var(--sans); font-size: .875rem; color: var(--stone); }
.post-meta .icon { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--stone); }
.post-meta:hover .post-title { color: var(--plum); }
@media (min-width: 900px) { .post-meta { padding-inline: 0; } }
