/* ==========================================================================
   Lite — design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..500&family=Manrope:wght@400;500;600;700&display=swap');

:root{
  /* color */
  --paper: #F0EAE0;
  --paper-dim: #E7DFD1;
  --ink: #201D1A;
  --ink-soft: #6B655C;
  --ink-faint: #948C7E;
  --brass: #A9702F;
  --brass-dark: #7E5320;
  --deep: #17140F;
  --deep-soft: #2A251D;
  --line: #D9D0C0;
  --line-deep: #3A342A;

  /* type */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', sans-serif;

  /* layout */
  --gutter: clamp(1.5rem, 5vw, 4.5rem);
  --max: 1440px;
  --ease: cubic-bezier(.16,.8,.24,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; background:none; border:none; color:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }

/* film grain — a fine, fixed noise layer over the whole page */
body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-size: 140px 140px;
}
@media (prefers-reduced-motion: reduce){
  body::after{ opacity: 0.035; }
}

::selection{ background: var(--brass); color: var(--paper); }

:focus-visible{
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow{
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.serif{ font-family: var(--serif); }

/* ------------------------------ header ---------------------------------- */

.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
}
/* blur lives on a pseudo-element, not the header itself, so backdrop-filter
   doesn't create a fixed-position containing block for .main-nav */
.site-header::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background: rgba(240,234,224,0.7);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(217,208,192,0.7);
}

.brand-mark{
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
}

.main-nav{
  display:flex;
  align-items:center;
  gap: 2.4rem;
}

.main-nav a{
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  color: var(--ink);
}
.main-nav a:not(.nav-cta)::after{
  content:'';
  position:absolute;
  left:0; right:100%;
  bottom:-2px;
  height:1px;
  background: var(--ink);
  transition: right .35s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta)[aria-current="page"]::after{ right:0; }

.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--ink);
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-cta:hover{ background: var(--ink); color: var(--paper); }

.nav-toggle{
  display:none;
  width: 34px; height: 24px;
  position: relative;
}
.nav-toggle span{
  position:absolute; left:0; right:0; height:1px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1){ top:2px; }
.nav-toggle span:nth-child(2){ top:11px; }
.nav-toggle span:nth-child(3){ top:20px; }

@media (max-width: 860px){
  .main-nav{
    position: fixed; inset:0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
  }
  .main-nav.is-open{ transform: translateY(0); }
  .main-nav a{ font-size: 1.6rem; font-family: var(--serif); }
  .nav-toggle{ display:block; z-index: 600; }
  body.nav-open{ overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1){ transform: translateY(9px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
  body.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }
}

/* ------------------------------ loader ----------------------------------- */

.loader{
  position: fixed; inset:0; z-index: 999;
  background: var(--deep);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.loader-word{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: var(--paper);
  opacity: 0;
  transform: translateY(30px);
}
.loader-panel{
  position:absolute; inset:0;
  background: var(--paper);
  transform: translateY(101%);
}
.loader.is-leaving .loader-word{
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  opacity:0; transform: translateY(-20px);
}
.loader.is-leaving .loader-panel{
  transition: transform .8s var(--ease);
  transition-delay: .15s;
  transform: translateY(0%);
}
.loader.is-done{ visibility:hidden; }

/* ------------------------------ buttons ---------------------------------- */

.btn{
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 1.7rem;
  border-radius: 100px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-dark{ background: var(--ink); color: var(--paper); }
.btn-dark:hover{ background: var(--brass-dark); }
.btn-outline{ border: 1px solid var(--ink); }
.btn-outline:hover{ background: var(--ink); color: var(--paper); }
.btn-light{ background: var(--paper); color: var(--ink); }
.btn-light:hover{ background: var(--brass); color: var(--paper); }

.btn-arrow{
  width: 1em; height: 1em;
  transition: transform .3s var(--ease);
}
.btn:hover .btn-arrow{ transform: translateX(3px); }

/* ------------------------------ footer ------------------------------------ */

.site-footer{
  background: var(--deep);
  color: var(--paper);
  padding-top: 5rem;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line-deep);
}
.footer-lead{
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  max-width: 16ch;
  line-height: 1.2;
}
.footer-col h4{
  display:flex; align-items:center; gap:0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col h4 .ring{
  width: 22px; height:22px; border-radius:50%;
  border: 1px solid var(--paper);
  display:inline-flex; align-items:center; justify-content:center;
  font-size: 0.7rem;
}
.footer-col ul li{ margin-bottom: 0.7rem; }
.footer-col a{
  color: var(--paper-dim);
  font-size: 0.92rem;
  transition: color .25s var(--ease);
}
.footer-col a:hover{ color: var(--brass); }

.footer-bar{
  display:flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  justify-content: space-between;
  align-items:center;
  background: #0E0C09;
  margin-top: 0;
  padding: 1.4rem var(--gutter);
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.footer-bar strong{ color: var(--paper); display:block; font-size: 0.8rem; margin-bottom:0.2rem; }

@media (max-width: 900px){
  .footer-top{ grid-template-columns: repeat(2,1fr); }
  .footer-lead{ grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ------------------------------ misc utility ------------------------------ */

.section{ padding: clamp(4rem, 10vw, 8rem) 0; }
.section-tight{ padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.dark{ background: var(--deep); color: var(--paper); }
.center{ text-align:center; }

.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity:1; transform: translateY(0); }

/* ============================== HOME ===================================== */

.hero{
  min-height: 100svh;
  display:flex;
  flex-direction:column;
  justify-content: flex-end;
  padding-top: 8rem;
  padding-bottom: 3.5rem;
}
.hero-eyebrow{
  display:flex; align-items:center; gap:0.6rem;
  margin-bottom: 1.6rem;
}
.hero-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background: var(--brass); }
.hero-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 17ch;
}
.hero-title em{ font-style: italic; color: var(--brass-dark); font-weight: 400; }
.hero-foot{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-sub{
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

@media (max-width: 640px){
  .hero{ padding-top: 6.5rem; }
  .hero-foot{
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }
  .hero-sub{ max-width: none; }
}

/* selected work marquee */

.work-slider-head{
  margin-bottom: 3.2rem;
}

.work-marquee-outer{
  overflow: hidden;
  padding-left: clamp(2cm, 4vw, 4cm);
  padding-right: clamp(2cm, 4vw, 4cm);
  /* fade the edges so items ease out of view instead of hard-clipping mid-corner */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.work-marquee-track{
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  width: max-content;
  animation: work-drift 34s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.work-marquee-outer:hover .work-marquee-track{ animation-play-state: paused; }
@keyframes work-drift{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(-50%,0,0); }
}

.work-marquee-item{
  flex-shrink: 0;
  display: block;
  width: min(70vw, 420px);
}

.work-card-media, .work-marquee-media{
  aspect-ratio: 4/3;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--paper-dim), var(--line));
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  margin-bottom: 1.2rem;
  position: relative;
  contain: paint;
  transform: translateZ(0);
}
.work-card-media img, .work-marquee-media img{
  width:100%; height:100%; object-fit: cover; display:block;
  transition: transform .6s var(--ease);
  backface-visibility: hidden;
}
.work-marquee-item:hover .work-marquee-media img{ transform: scale(1.045); }
.work-card-media span, .work-marquee-media span{
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  padding: 0.4rem 0.8rem;
}

.work-card-tag{
  display:block;
  font-size: 0.78rem;
  color: var(--brass-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.work-card-title{ font-family: var(--serif); font-size: 1.3rem; }

@media (max-width: 640px){
  .work-marquee-outer{ padding-left: 1.2rem; padding-right: 1.2rem; }
  .work-marquee-item{ width: min(80vw, 320px); }
}

/* capability strip (dark) */

.strip-head{ max-width: 46ch; margin-bottom: 3rem; }
.strip-head h2{ font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem,3.4vw,2.4rem); line-height:1.25; }

.capability-track-outer{
  overflow:hidden;
  border-top: 1px solid var(--line-deep);
  border-bottom: 1px solid var(--line-deep);
}
.capability-track{
  display:flex;
  width: max-content;
  animation: drift 32s linear infinite;
}
.capability-track:hover{ animation-play-state: paused; }
@keyframes drift{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.capability-chip{
  flex-shrink:0;
  padding: 2.2rem 2.6rem;
  border-right: 1px solid var(--line-deep);
  display:flex; flex-direction:column; gap: 0.3rem;
  min-width: 220px;
}
.capability-chip strong{ font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.capability-chip span{ font-size: 0.82rem; color: var(--ink-faint); }

/* pricing teaser */

.price-teaser-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.price-teaser-item{
  padding: 2.4rem 2.5rem 2.4rem 0;
  border-right: 1px solid var(--line);
}
.price-teaser-item:not(:first-child){ padding-left: 2.5rem; }
.price-teaser-item:last-child{ border-right:none; padding-right:0; }
.price-teaser-item .amount{ font-family: var(--serif); font-size: clamp(2rem,3.4vw,2.7rem); margin: 0.6rem 0; }
.price-teaser-item .amount sup{ font-size: 0.5em; top:-0.6em; }
.price-teaser-item p{ color: var(--ink-soft); font-size: 0.92rem; max-width: 26ch; }

@media (max-width: 760px){
  .price-teaser-grid{ grid-template-columns: 1fr; }
  .price-teaser-item,
  .price-teaser-item:not(:first-child){ border-right:none; border-bottom: 1px solid var(--line); padding: 2rem 0; }
}

/* contact cta band */

.contact-cta{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap: 2rem;
}
.contact-cta h2{
  font-family: var(--serif); font-weight:400; font-style:italic;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 14ch;
}
.contact-cta-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

/* ============================== WORK PAGE ================================ */

.work-hero{
  padding-top: 9rem;
  padding-bottom: 2rem;
}
.work-hero h1{
  font-family: var(--serif); font-weight:400;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  max-width: 18ch;
}

.filter-row{
  display:flex; flex-wrap:wrap; gap: 0.7rem;
  padding: 1.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.filter-pill{
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter-pill.is-active,
.filter-pill:hover{ border-color: var(--ink); color: var(--ink); background: var(--paper-dim); }

/* project rows — diagonal staircases of 3 (or 2) cards, each row drifting like a conveyor */

.project-row-outer{
  overflow: hidden;
  padding: 1.6rem clamp(2cm, 4vw, 4cm) 2.2rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.project-row-1{ margin-top: 0.5rem; }
.project-row-2{ margin-top: -1.5rem; }
.project-row-3{ margin-top: -1.5rem; }
.project-row-4{ margin-top: -1.5rem; }

.project-row-track{
  display:flex;
  align-items: flex-start;
  gap: 1.6rem;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}
.project-row-track[data-dir="left"]{ animation: project-drift-left 38s linear infinite; }
.project-row-track[data-dir="right"]{ animation: project-drift-right 38s linear infinite; }
.project-row-outer:hover .project-row-track{ animation-play-state: paused; }

@keyframes project-drift-left{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(-50%,0,0); }
}
@keyframes project-drift-right{
  from{ transform: translate3d(-50%,0,0); }
  to{ transform: translate3d(0,0,0); }
}

/* rows 1–3: exactly 3 real projects each, no duplicate/looping set, so no
   card is ever visible twice at once. Centered in the row, with each card
   given its own gentle, staggered bob so the row still feels alive. */
.project-row-track--static{
  width: 100%;
  justify-content: center;
  animation: none !important;
}
.project-row-track--static .project-card{
  animation: project-bob 6s ease-in-out infinite;
}
.project-row-track--static .project-card:nth-child(2){ animation-delay: -2s; }
.project-row-track--static .project-card:nth-child(3){ animation-delay: -4s; }
.project-row-outer:hover .project-row-track--static .project-card{ animation-play-state: paused; }

@keyframes project-bob{
  0%, 100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(0,-8px,0); }
}

/* the diagonal "staircase": each card in a row of 3 sits a bit higher than
   the last, the pattern repeats every 3 cards so the duplicated set for the
   loop lines up perfectly and the step never jumps at the seam */
.project-row-1 .project-card:nth-child(3n+1),
.project-row-2 .project-card:nth-child(3n+1),
.project-row-3 .project-card:nth-child(3n+1){ margin-top: 3.2rem; }
.project-row-1 .project-card:nth-child(3n+2),
.project-row-2 .project-card:nth-child(3n+2),
.project-row-3 .project-card:nth-child(3n+2){ margin-top: 1.6rem; }
.project-row-1 .project-card:nth-child(3n+3),
.project-row-2 .project-card:nth-child(3n+3),
.project-row-3 .project-card:nth-child(3n+3){ margin-top: 0; }

/* row 4 only has 2 unique cards, so it steps on a 2-card cycle instead */
.project-row-4 .project-card:nth-child(2n+1){ margin-top: 2.4rem; }
.project-row-4 .project-card:nth-child(2n){ margin-top: 0; }

.project-card{
  cursor: pointer;
  flex-shrink: 0;
  width: min(60vw, 260px);
  transition: opacity .3s var(--ease), filter .3s var(--ease), margin-top .3s var(--ease);
}
.project-card.is-dimmed{ opacity: 0.32; filter: grayscale(65%); }
.project-card-media{
  aspect-ratio: 1/1;
  border-radius: 4px;
  background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center;
  overflow: hidden;
  margin-bottom: 1rem;
  contain: paint;
  transform: translateZ(0);
  transition: transform .5s var(--ease);
}
.project-card-media:not(:has(img)){
  border: 1px solid var(--line);
}
.project-card:hover .project-card-media{ transform: translateY(-6px); }
.project-card-media img{
  width:100%; height:100%; object-fit:cover; display:block; border-radius:3px;
  backface-visibility: hidden;
}
.project-card-media span{
  font-size: 0.75rem; color: var(--ink-faint);
  padding: 0.35rem 0.7rem;
}
.project-card-cat{ font-size: 0.78rem; color: var(--brass-dark); font-weight:600; margin-bottom:0.3rem; }
.project-card-name{ font-family: var(--serif); font-size: 1.2rem; }

@media (max-width: 900px){
  .project-row-1, .project-row-2, .project-row-3, .project-row-4{ margin-top: 0.6rem; }
  .project-row-outer{ padding-left: 1.4rem; padding-right: 1.4rem; }
  .project-row-1 .project-card:nth-child(3n+1),
  .project-row-2 .project-card:nth-child(3n+1),
  .project-row-3 .project-card:nth-child(3n+1){ margin-top: 1.8rem; }
  .project-row-1 .project-card:nth-child(3n+2),
  .project-row-2 .project-card:nth-child(3n+2),
  .project-row-3 .project-card:nth-child(3n+2){ margin-top: 0.9rem; }
  .project-row-4 .project-card:nth-child(2n+1){ margin-top: 1.4rem; }
}
@media (max-width: 560px){
  .project-card{ width: min(72vw, 220px); }
}

/* Below ~900px the 3 centered cards in a static row no longer fit the
   viewport — instead of clipping the outer two off-screen (unreachable),
   let the row scroll horizontally so every card stays visible and tappable. */
@media (max-width: 900px){
  .project-row-outer:has(.project-row-track--static){
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .project-row-outer:has(.project-row-track--static)::-webkit-scrollbar{ display:none; }
  .project-row-track--static{
    justify-content: flex-start;
    width: max-content;
    padding-bottom: 0.5rem;
  }
  .project-row-track--static .project-card{ scroll-snap-align: start; }
}

/* project detail overlay */

.project-overlay{
  position: fixed; inset:0; z-index: 700;
  background: var(--paper);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .6s var(--ease);
}
.project-overlay.is-open{ transform: translateY(0); }
.overlay-inner{ padding: 6rem var(--gutter) 6rem; max-width: 1100px; margin: 0 auto; }
.overlay-close{
  position: fixed; top: 1.6rem; left: var(--gutter); z-index: 720;
  display:flex; align-items:center; gap:0.5rem;
  font-size:0.9rem; font-weight:600;
}
.overlay-close svg{ width:18px; height:18px; }
.overlay-tag{ font-size:0.85rem; font-weight:600; color: var(--brass-dark); margin-bottom:0.8rem; }
.overlay-title{ font-family: var(--serif); font-weight:400; font-size: clamp(2rem,5vw,3.4rem); margin-bottom: 2.2rem; max-width: 20ch; }
.overlay-media{
  aspect-ratio: 16/9;
  background: var(--paper-dim);
  border-radius: 6px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 2.6rem;
}
.overlay-media:not(:has(img)){
  border: 1px solid var(--line);
}
.overlay-media img{
  width:100%; height:100%; object-fit:contain; display:block; border-radius:6px;
}
.overlay-media.has-gallery{
  aspect-ratio:auto;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
}
.overlay-media.has-gallery img{
  width:auto;
  height: 340px;
  max-width: 100%;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
}
@media (max-width: 640px){
  .overlay-media.has-gallery img{ height: 220px; }
}
.overlay-media span{
  font-size: 0.8rem; color: var(--ink-faint);
  padding: 0.4rem 0.8rem;
}
.overlay-body{ display:grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.overlay-desc{ font-size: 1.05rem; color: var(--ink-soft); max-width: 58ch; }
.overlay-meta dt{ font-size:0.78rem; text-transform: none; color: var(--ink-faint); margin-top:1.2rem; }
.overlay-meta dt:first-child{ margin-top:0; }
.overlay-meta dd{ margin:0.2rem 0 0; font-family: var(--serif); font-size:1.05rem; }

@media (max-width: 760px){
  .overlay-body{ grid-template-columns: 1fr; }
}

/* ============================= PRICING PAGE =============================== */

.pricing-hero{ padding-top: 9rem; padding-bottom: 1rem; }
.pricing-hero h1{
  font-family: var(--serif); font-weight:400;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  max-width: 20ch;
}

.tier-list{ border-top: 1px solid var(--line); margin-top: 3rem; }
.tier-row{
  display:grid;
  grid-template-columns: 0.9fr 1.6fr 1fr;
  gap: 2.5rem;
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.tier-name{ font-family: var(--serif); font-size: clamp(1.6rem,2.6vw,2.1rem); }
.tier-name span{ display:block; font-family: var(--sans); font-size:0.8rem; font-weight:600; color: var(--brass-dark); margin-bottom:0.5rem; }
.tier-desc{ color: var(--ink-soft); max-width: 48ch; margin-bottom: 1.4rem; }
.tier-includes{ display:flex; flex-direction:column; gap:0.6rem; }
.tier-includes li{
  display:flex; gap:0.7rem; align-items:flex-start;
  font-size: 0.94rem; color: var(--ink);
}
.tier-includes li svg{ flex-shrink:0; margin-top:3px; width:15px; height:15px; color: var(--brass-dark); }
.tier-price-block{ text-align:right; }
.tier-price{ font-family: var(--serif); font-size: clamp(2.2rem,4vw,3rem); }
.tier-price-note{ color: var(--ink-faint); font-size:0.85rem; margin-top:0.4rem; }
.tier-row .btn{ margin-top: 1.4rem; }

@media (max-width: 820px){
  .tier-row{ grid-template-columns: 1fr; }
  .tier-price-block{ text-align:left; }
}

.pricing-note{
  margin-top: 3.5rem;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-dim);
  max-width: 60ch;
}
.pricing-note p{ color: var(--ink-soft); }

/* ============================= CONTACT PAGE ================================ */

.contact-hero{ padding-top: 9rem; padding-bottom: 1rem; }
.contact-hero h1{
  font-family: var(--serif); font-weight:400;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  max-width: 18ch;
}

.contact-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.contact-panel{
  padding: 3rem 2.4rem;
  border-right: 1px solid var(--line);
}
.contact-panel:last-child{ border-right:none; }
.contact-panel .eyebrow{ margin-bottom: 1rem; }
.contact-panel h2{ font-family: var(--serif); font-weight:400; font-size: clamp(1.5rem,2.6vw,2rem); margin-bottom:1rem; }
.contact-panel p.desc{ color: var(--ink-soft); margin-bottom: 1.8rem; max-width: 40ch; }
.whatsapp-number{
  display:flex; align-items:center; gap:0.8rem;
  font-family: var(--serif); font-size: 1.5rem;
  margin-bottom: 1.6rem;
}
.whatsapp-number svg{ width:26px; height:26px; color:#3fae55; flex-shrink:0; }

.calendly-frame{
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow:hidden;
  background: #fff;
}

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-panel{ border-right:none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px){
  .contact-panel{ padding: 2.4rem 1.4rem; }
  .whatsapp-number{ font-size: 1.25rem; flex-wrap: wrap; }
}
