:root{
  --ink:#2b2b2b;
  --muted:#5a5a5a;
  --rule:#d9d9d9;
  --sage:#c7d2c3;
  --forest:#2f3a2e;
  --font-sans:"Raleway", sans-serif;

  --shell-max: 1320px;
  --shell-pad: 22px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:var(--font-sans);
  font-optical-sizing:auto;
  font-weight:400;
  font-style:normal;
}

/* shared page width */
.page-shell{
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
}

/* =========================
   HEADER
   ========================= */
#site-header{
  position: sticky;
  top: 0;
  z-index: 3000;
  background: #fff;
}

.topbar{
  position: relative;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}

.topbar-grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap: 16px;
}

/* desktop nav */
.top-links a{
  color:var(--muted);
  text-decoration:none;
  font-size:16px;
  margin-right:24px;
  white-space:nowrap;
}
.top-links a:hover{ text-decoration:underline; }

/* current page link */
.top-links a[aria-current="page"]{
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* brand */
.brandlock--single{
  display:flex;
  justify-content:center;
  align-items:center;
}
.brandlink{ display:inline-block; text-decoration:none; }

.brand-logo-full{
  height: 96px;
  width:auto;
  display:block;
}

/* right actions */
.top-right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:16px;
}

.contact-link{
  display:inline-flex;
  align-items:center;
  color:var(--muted);
  text-decoration:none;
  font-size:16px;
  padding: 0 0 6px 0;
  line-height:1;
  border-bottom:2px solid #3a4a36;
}
.contact-link:hover{ opacity:.85; }

/* Instagram button (header + other placements) */
.ig-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;

  /* match footer green */
  background: var(--sage);
  border: 1px solid var(--sage);
}

.ig-btn svg{
  width:28px;
  height:28px;
  fill: var(--forest);
}

/* Slightly larger in the contact section */
.page-section--contact .ig-btn{
  width:50px;
  height:50px;
}
.page-section--contact .ig-btn svg{
  width:22px;
  height:22px;
}

.top-links a,
.top-links .nav-dd__trigger{
  padding: 10px 0;   /* was ~6px */
}

/* Instagram button spacing in the contact area */
.page-section--contact .ig-btn{
  margin-top: 32px;
}

/* hamburger (hidden on desktop) */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  padding:10px;
  line-height:0;
}
.nav-toggle span{
  display:block;
  width:28px;
  height:2px;
  background:var(--forest);
  margin:6px 0;
}

/* spacer to balance hamburger so logo can be centered on mobile */
.nav-spacer{
  width:44px;
  height:44px;
  display:none;
}

/* =========================
   HERO
   ========================= */
.hero-wrap{ padding: 18px 0 8px; }

/* arrows under gallery */
.arrow-row{
  display:flex;
  justify-content:center;
  gap:18px;
  padding: 16px 0 22px;
}

.arrow-btn{
  border:0;
  background:transparent;
  font-size:26px;
  line-height:1;
  color:#3a3a3a;
}
.arrow-btn:hover{ opacity:.75; }

/* =========================
   FILMSTRIP (Squarespace-style)
   Edge-aligned with header/page-shell
   ========================= */
.filmstrip__viewport{
  overflow: hidden;
}

.filmstrip__track{
  --cardH: clamp(420px, 66vh, 720px);
  --gap: 8px;

  display:flex;
  align-items:center;
  gap: var(--gap);

  overflow-x:auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;

  /* ✅ Key change: remove the inset so the strip edge lines up with the nav */
  padding: 0;
  scroll-padding: 0;

  scrollbar-width:none;
}
.filmstrip__track::-webkit-scrollbar{ display:none; }

/* ✅ spacers are used by JS to keep first/last items centerable without edge padding */
.filmstrip__spacer{
  flex: 0 0 0px;   /* JS sets this */
  width: 0;        /* JS sets this */
  height: 1px;
}

.filmstrip__item{
  flex: 0 0 auto;
  height: var(--cardH);
  margin:0;
  scroll-snap-align: center;

  display:flex;
  align-items:center;
  justify-content:center;

  background: transparent;
}

.filmstrip__item img{
  height:100%;
  width:auto;
  max-width:none;
  display:block;
  object-fit:contain;
  object-position:center;
}

@media (max-width: 992px){
  .filmstrip__track{
    --cardH: clamp(380px, 60vh, 660px);
    --gap: 8px;
  }
}

@media (max-width: 768px){
  .filmstrip__track{
    --cardH: clamp(420px, 70vh, 760px);
    --gap: 6px;
  }
}

/* =========================
   MOBILE NAV OVERLAY
   ========================= */
.mobile-nav{
  position:fixed;
  inset:0;
  background:#fff;
  z-index:2000;

  opacity:0;
  pointer-events:none;
  transform:translateY(-8px);
  transition:opacity .2s ease, transform .2s ease;

  display:flex;
  flex-direction:column;
  padding: 22px var(--shell-pad);
}

.mobile-nav.is-open{
  opacity:1;
  pointer-events:auto;
  transform:none;
}

/* Top row: X | centered logo | spacer */
.mobile-nav__header{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
}

.mobile-nav__header .nav-close{
  grid-column:1;
  justify-self:start;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  font-size:44px;
  line-height:44px;
  color:var(--forest);
}

.mobile-nav__header .brandlock{
  grid-column:2;
  justify-self:center;
}

.mobile-nav__header .nav-spacer{
  grid-column:3;
  display:block;
}

.mobile-nav .brand-logo-full{ height:70px; }

.mobile-nav__links{
  padding: 30px 0 10px;
  text-align:center;
}

.mobile-nav__links a{
  display:block;
  color: var(--forest);
  text-decoration:none;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 300;
  padding: 18px 0;
}

.mobile-nav__bottom{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  padding-bottom: 18px;
}

.mobile-contact-rule{
  width: 64%;
  height: 2px;
  background: var(--forest);
  opacity: .9;
}

/* =========================
   RESPONSIVE
   ========================= */

/* show hamburger + hide desktop links on tablet/mobile */
@media (max-width: 991.98px){
  .nav-toggle{ display:inline-block; }
  .top-links{ display:none; }
}

/* mobile header layout: hamburger | logo | spacer, hide right actions */
@media (max-width: 900px){
  .topbar-grid{
    grid-template-columns: 44px 1fr 44px;
    gap: 0;
  }

  .top-right{ display:none; }
  .nav-toggle{ display:inline-block; }
  .nav-spacer{ display:block; }
}

/* Tablet tuning */
@media (max-width: 992px){
  .filmstrip__track{
    --cardH: clamp(380px, 60vh, 660px);
    --peek: 6vw;
    --gap: 12px;
  }
}

/* Mobile tuning */
@media (max-width: 768px){
  .brand-logo-full{ height:72px; }

  .filmstrip__track{
    --cardH: clamp(420px, 70vh, 760px);
    --peek: 4vw;
    --gap: 10px;
  }

  .mobile-nav__links a{
    font-size: 44px;
    padding: 14px 0;
  }
}

/* =========================
   CONTENT PAGES (About / Design Process)
   ========================= */
.page-hero{
  width: 100%;
  border-bottom: 1px solid var(--rule);
}

.page-hero img{
  width: 100%;
  height: clamp(240px, 36vh, 460px);
  object-fit: cover;
  display:block;
}

.content-page{ padding: 56px 0 80px; }

.page-section{
  padding: 36px 0;
}

.page-section + .page-section{
  padding-top: 120px;
}

.two-col{
  display:grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: clamp(28px, 6vw, 120px);
  align-items:start;
}

.section-title{
  margin: 0 0 26px 0;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1.04;
  font-weight: 300;
  color: var(--forest);
  letter-spacing: 0.2px;
}

.section-body{
  padding-top: 6px;
}

.section-body p{
  margin: 0 0 22px 0;
  max-width: 68ch;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.section-body a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-portrait{
  width: min(420px, 78vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  margin: 0;
  background: #f2f2f2;
}

.about-portrait img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* =========================
   DESIGN PROCESS STEPS
   ========================= */
.process-steps{
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-step{
  margin: 0 0 34px 0;
}

.process-step__head{
  display:flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 10px 0;
}

.process-step__num{
  font-weight: 700;
  color: var(--ink);
}

.process-step__title{
  font-weight: 700;
  color: var(--ink);
  font-size: 20px;
}

.process-step p{
  margin: 0;
  max-width: 72ch;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.process-cta{
  margin-top: 18px;
}

.process-list{
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.process-list > li{ counter-increment: step; }

.process-list > li > h3{
  display:flex;
  align-items:baseline;
  gap: .5ch;
}

.process-list > li > h3::before{
  content: counter(step) ".";
  font: inherit;
  color: inherit;
}

/* =========================
   CONTACT FORM SECTION
   ========================= */
.page-section--contact{
  padding-top: 120px;
}

.contact-grid{
  align-items: start;
}

.contact-aside{
  padding-top: 10px;
}

.contact-lede{
  margin: 0 0 28px 0;
  max-width: 42ch;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-meta{
  margin: 0 0 28px 0;
}

.contact-meta__label{
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.contact-email{
  display:inline-block;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 4px;
}
.contact-email:hover{ opacity: .85; }

.contact-form{
  max-width: 760px;
}

.cf-group__title{
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 12px 0;
}

.cf-two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cf-field{
  margin: 0 0 22px 0;
}

.cf-field label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px 0;
}

.cf-field .req{
  opacity: .85;
}

.cf-field input,
.cf-field textarea{
  width: 100%;
  border: 0;
  border-bottom: 2px solid #9aa09a;
  background: transparent;
  padding: 10px 0 12px 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.cf-field textarea{
  resize: vertical;
  min-height: 110px;
}

.cf-field input:focus,
.cf-field textarea:focus{
  border-bottom-color: var(--forest);
}

.btn-submit{
  display:block;
  margin: 26px auto 0;
  padding: 14px 46px;
  border: 0;
  border-radius: 10px;
    background: var(--sage);
  color: var(--forest);
  border-color: var(--sage);
  color: #000;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-submit:hover{ opacity: .92; }

@media (max-width: 992px){
  .section-body p{ font-size: 18px; }
  .process-step p{ font-size: 18px; }
}

@media (max-width: 820px){
  .two-col{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-section + .page-section{ padding-top: 72px; }

  .cf-two{ grid-template-columns: 1fr; }
  .page-section--contact{ padding-top: 72px; }
}
/* Contact form status + honeypot */
.form-status{
  display:none;
  margin: 0 0 18px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.8;
}
.form-status.is-success{
  display:block;
  background: #eef4ee;
  border: 1px solid #c7d4c7;
}
.form-status.is-error{
  display:block;
  background: #f7eeee;
  border: 1px solid #e0bcbc;
}
.hp-field{
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* =========================
   RHS CHELSEA FLOWER SHOW 2024 PAGE
   ========================= */

.rhs-hero{
  width: 100%;
  border-bottom: 1px solid var(--rule);
}
.rhs-hero img{
  width: 100%;
  height: clamp(320px, 58vh, 720px);
  object-fit: cover;
  display:block;
}

.rhs-title{
  padding: 40px 0 18px;
}
.rhs-title h1{
  margin: 0;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.05;
  font-weight: 300;
  color: var(--forest);
}

.rhs-intro{
  display:grid;
  grid-template-columns: 1fr 1fr minmax(300px, .95fr);
  gap: clamp(22px, 3.5vw, 64px);
  align-items:start;
  padding: 10px 0 54px;
}

.rhs-photo{
  margin: 0;
}
.rhs-photo img{
  width:100%;
  height:auto;
  display:block;
}
.rhs-credit{
  margin-top: 12px;
  font-size: 18px;
  color: var(--muted);
}
.rhs-credit a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.rhs-intro__right{
  display:flex;
  flex-direction:column;
  gap: 28px;
}

.rhs-blurb-top{
  display:flex;
  gap: 22px;
  align-items:flex-start;
}
.rhs-blurb-top p{
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
  color: var(--muted);
}
.rhs-badge{
  width: 120px;
  height:auto;
  flex: 0 0 auto;
  display:block;
}

.rhs-plan img{
  width:100%;
  height:auto;
  display:block;
}

.rhs-planting{
  display:grid;
  grid-template-columns: minmax(320px, 1.2fr) 1fr;
  gap: clamp(22px, 3.5vw, 64px);
  align-items:start;
  padding: 12px 0 64px;
}
.rhs-planting__img img{
  width:100%;
  height:auto;
  display:block;
}
.rhs-planting__text h2{
  margin: 0 0 16px 0;
  font-size: 30px;
  font-weight: 500;
  color: var(--forest);
}
.rhs-planting__list{
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

.rhs-sponsors{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 80px);
  align-items:center;
  padding: 26px 0 90px;
}
.rhs-sponsors__text h2{
  margin: 0 0 16px 0;
  font-size: 38px;
  font-weight: 300;
  color: var(--forest);
}
.rhs-sponsors__text p{
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 70ch;
}
.rhs-sponsors__text a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.rhs-sponsors__logos img{
  width:100%;
  max-width: 640px;
  height:auto;
  display:block;
  margin-left:auto;
}

/* Responsive */
@media (max-width: 980px){
  .rhs-intro{ grid-template-columns: 1fr; }
  .rhs-blurb-top{ flex-direction: row; }
  .rhs-planting{ grid-template-columns: 1fr; }
  .rhs-sponsors{ grid-template-columns: 1fr; align-items:start; }
  .rhs-sponsors__logos img{ margin-left: 0; }
}

@media (max-width: 640px){
  .rhs-blurb-top{ flex-direction: column; }
  .rhs-badge{ width: 110px; }
  .rhs-credit{ font-size: 16px; }
}

/* =========================
   RHS HAMPTON COURT PAGE
   (Whiskers and Wildflowers)
   ========================= */

/* HERO (single-image slider like Squarespace) */
.hampton-hero{ padding: 18px 0 10px; }
.hampton-hero .filmstrip__track{
  --cardH: clamp(420px, 62vh, 640px);
  --gap: 0px;
  scroll-snap-type: x mandatory;
}
.hampton-hero .filmstrip__item{
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.hampton-hero .filmstrip__item img{
  width: 100%;
  height: var(--cardH);
  object-fit: cover;
  display:block;
  border-radius: 0;
}

.hampton-hero .hero-arrows{
  position: relative;
  margin-top: calc(-1 * clamp(420px, 62vh, 640px));
  height: clamp(420px, 62vh, 640px);
  pointer-events: none;
}
.hampton-hero .hero-arrows .arrow-btn{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #fff;
  font-size: 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 0;
}
.hampton-hero .hero-arrows .arrow-btn:hover{ background: rgba(0,0,0,.26); }
.hampton-hero .hero-arrows #homePrev{ left: 14px; }
.hampton-hero .hero-arrows #homeNext{ right: 14px; }

/* CONTENT */
.hampton-wrap{ padding: 28px 0 90px; }

.hampton-title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.02;
  font-weight: 300;
  color: var(--forest);
}

.hampton-intro{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 70px);
  align-items:start;
  padding: 12px 0 22px;
}

.hampton-kicker a,
.hampton-sponsors a,
.hampton-sponsor-card a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hampton-kicker{
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--forest);
  font-weight: 300;
}

.hampton-sponsors{
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.hampton-sponsors .label{ display:block; margin-top: 8px; }

.hampton-desc{
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 60ch;
}

/* PLANT LIST */
.hampton-h2{
  margin: 56px 0 18px;
  font-size: 30px;
  font-weight: 500;
  color: var(--forest);
}

.plant-grid{
  display:grid;
  grid-template-columns: 1.1fr .85fr 1fr;
  gap: clamp(24px, 3.5vw, 64px);
  align-items:start;
}

.plant-plan img{
  width: 100%;
  height: auto;
  display:block;
}

.plant-names{
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

.cats-card h3{
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--ink);
  font-weight: 650;
}

.cats-card h4{
  margin: 18px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.cats-card p{
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}

/* SPONSOR LOGOS */
.hampton-sponsor-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 4vw, 70px);
  align-items:end;
  padding-top: 64px;
}

.hampton-sponsor-card{
  text-align:center;
}

.hampton-sponsor-card img{
  width: 100%;
  max-width: 320px;
  height: auto;
  display:block;
  margin: 0 auto 20px;
}

.hampton-sponsor-card p{
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 980px){
  .hampton-intro{ grid-template-columns: 1fr; }
  .plant-grid{ grid-template-columns: 1fr; }
  .hampton-sponsor-row{ grid-template-columns: 1fr; }

  .hampton-hero .hero-arrows{
    margin-top: calc(-1 * clamp(340px, 58vh, 520px));
    height: clamp(340px, 58vh, 520px);
  }
  .hampton-hero .filmstrip__track{ --cardH: clamp(340px, 58vh, 520px); }
}

/* =========================
   PLANTING PAGE
   ========================= */

.planting-wrap{
  padding: 50px 0 90px;
}

.planting-top{
  display:grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 6vw, 140px);
  align-items:center;
  padding: 10px 0 54px;
}

.planting-top__media{
  margin: 0;
}

.planting-top__media img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display:block;
}

.planting-top__copy{
  max-width: 58ch;
  margin: 0 auto;
}

.planting-title{
  margin: 0 0 16px 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  font-weight: 300;
  color: var(--forest);
  text-align:center;
}

.planting-lede{
  margin: 0;
  font-size: 20px;
  line-height: 1.75;
  color: var(--muted);
}

.planting-gallery{
  column-count: 3;
  column-gap: clamp(14px, 2vw, 22px);
}

.planting-item{
  break-inside: avoid;
  margin: 0 0 clamp(14px, 2vw, 22px);
}

.planting-item img{
  width: 100%;
  height: auto;
  display:block;
}

@media (max-width: 980px){
  .planting-top{
    grid-template-columns: 1fr;
    padding: 0 0 38px;
  }
  .planting-top__copy{
    max-width: 72ch;
  }
}

@media (max-width: 992px){
  .planting-gallery{ column-count: 2; }
}

@media (max-width: 640px){
  .planting-gallery{ column-count: 1; }
  .planting-lede{ font-size: 18px; }
}
/* =========================
   PLANTING TOP OVERRIDES (landscape 660×430 + 60/40 columns)
   Scoped to Planting page only
   ========================= */
.page-planting .planting-top{
  grid-template-columns: 3fr 2fr; /* 60% image / 40% text */
  align-items: start;             /* top-align text with image */
  gap: clamp(24px, 5vw, 110px);
}

.page-planting .planting-top__media img{
  width: 100%;
  height: auto;
  aspect-ratio: 660 / 430; /* matches your new image */
  object-fit: cover;
  display: block;
}

.page-planting .planting-top__copy{
  margin: 0;
  max-width: 52ch;
}

.page-planting .planting-title{
  text-align: left;
}


/* =========================
   PROJECT TEMPLATE (Image + text top + square grid)
   Use for Camden + similar project pages
   ========================= */
.project-wrap{
  padding: 54px 0 90px;
}

/* Top: 60% media / 40% copy */
.project-top{
  display:grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(28px, 5vw, 120px);
  align-items:start;
  padding: 10px 0 54px;
}

.project-top__media{
  margin:0;
}
.project-top__media img{
  width:100%;
  height:auto;
  /* default landscape (can be overridden per page) */
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display:block;
}

.project-top__copy{
  margin:0;
  max-width: 56ch;
}

.project-title{
  margin: 0 0 18px 0;
 
  font-size: clamp(22px, 3.6vw, 36px);
  line-height: 1.02;
  font-weight: 300;
  color: var(--forest);
}

.project-lede{
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
  color: var(--muted);
}
.project-lede + .project-lede{ margin-top: 14px; }

/* Gallery: 2-up squares */
.project-gallery{
  padding: 10px 0 90px;
}

.project-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items:start;
}

.project-item{ margin:0; }

.project-item img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display:block;
}

/* Responsive */
@media (max-width: 980px){
  .project-top{
    grid-template-columns: 1fr;
    padding: 0 0 38px;
  }
  .project-top__copy{ max-width: 72ch; }
}

@media (max-width: 720px){
  .project-grid{ grid-template-columns: 1fr; }
}
.page-camden .project-top__media img{
  max-height: clamp(560px, 68vh, 820px);
  height: auto;
}
/* =========================
   NAV DROPDOWN (Projects)
   ========================= */
.top-links{
  position: relative;
  z-index: 2000;
}

/* remove the old right-margin spacing when using flex gap */
.top-links > a{ margin-right: 0; }

.top-links .nav-dd{ position:relative; display:inline-block; }

.top-links .nav-dd__trigger{
  color: var(--muted);
  text-decoration:none;
  font-size:16px;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap: 8px;
}

/* optional caret */
.top-links .nav-dd__trigger::after{
  content:"";
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: .65;
}

.top-links .nav-dd__menu{
  position:absolute;
  top: 100%;
  margin-top: 8px;
  left: 0;
  min-width: 260px;
  background:#fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 10px 0;
  display:none;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* Hover bridge so moving the mouse down doesn't close the menu */
.top-links .nav-dd__menu::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-16px;
  height:16px;
}

.top-links .nav-dd__menu a{
  display:block;
  padding: 10px 14px;
  text-decoration:none;
  color: var(--ink);
  white-space: nowrap;
}
.top-links .nav-dd__menu a:hover{ background: rgba(0,0,0,.04); }

/* open states */
.top-links .nav-dd:hover .nav-dd__menu,
.top-links .nav-dd:focus-within .nav-dd__menu,
.top-links .nav-dd.is-open .nav-dd__menu{
  display:block;
}

/* Mobile overlay: render dropdown as a simple list */
.mobile-nav__links .nav-dd{ display:block; }
.mobile-nav__links .nav-dd__trigger{
  display:block;
  padding: 18px 0;
}
.mobile-nav__links .nav-dd__trigger::after{ display:none; }

.mobile-nav__links .nav-dd__menu{
  position: static;
  display:block;
  border: 0;
  box-shadow:none;
  padding: 0 0 0 0;
  margin: 0 0 10px 0;
  min-width: 0;
}
.mobile-nav__links .nav-dd__menu a{
  font-size: 34px;
  line-height: 1.15;
  font-weight: 300;
  padding: 10px 0;
  color: var(--forest);
}


/* =========================
   HEADER INCLUDE + BALANCED NAV UPGRADES
   ========================= */

/* desktop nav arranged into two balanced rows */
.top-links{
  position: relative;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 32px;
  max-width: 520px;
}
.top-links > a,
.top-links .nav-dd__trigger{
  margin-right: 0;
  padding: 6px 0;
}
.top-links > a{ flex: 0 0 auto; }
.top-links .nav-dd{
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.top-links .nav-dd__trigger[aria-current="page"]{
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* smooth dropdown animation */
.top-links .nav-dd__menu{
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.top-links .nav-dd:hover .nav-dd__menu,
.top-links .nav-dd:focus-within .nav-dd__menu,
.top-links .nav-dd.is-open .nav-dd__menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* better current-page styling in menu */
.top-links .nav-dd__menu a[aria-current="page"]{
  background: rgba(0,0,0,.04);
}

/* mobile overlay dropdown becomes expandable */
.mobile-nav__links .nav-dd{
  display: block;
}
.mobile-nav__links .nav-dd__trigger{
  display: block;
  position: relative;
}
.mobile-nav__links .nav-dd__trigger::after{
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .2s ease;
}
.mobile-nav__links .nav-dd.is-open .nav-dd__trigger::after{
  transform: translateY(-50%) rotate(180deg);
}
.mobile-nav__links .nav-dd__menu{
  position: static;
  display: block;
  border: 0;
  box-shadow: none;
  min-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  padding: 0;
  margin: 0;
  transition: max-height .28s ease, opacity .2s ease, visibility .2s ease;
}
.mobile-nav__links .nav-dd.is-open .nav-dd__menu{
  max-height: 520px;
  opacity: 1;
  visibility: visible;
  margin: 0 0 10px 0;
}
.mobile-nav__links .nav-dd__menu a{
  font-size: 30px;
  line-height: 1.15;
  font-weight: 300;
  padding: 8px 0 8px 18px;
  color: var(--forest);
}

/* keep header include layout unchanged on mobile */
@media (max-width: 991.98px){
  .top-links{ display:none; }
}
/* =========================
   STICKY + MOBILE NAV SAFETY OVERRIDES
   ========================= */
.topbar{
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 3000;
  background: #fff;
}

.mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #fff;
  transition: opacity .25s ease, visibility .25s ease;
}

.mobile-nav.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.top-links > a{ flex: 0 0 auto; }

.top-links .nav-dd{
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.top-links .nav-dd__trigger[aria-current="page"]{
  text-decoration: underline;
  text-underline-offset: 6px;
}

.top-links .nav-dd__menu{
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.top-links .nav-dd:hover .nav-dd__menu,
.top-links .nav-dd:focus-within .nav-dd__menu,
.top-links .nav-dd.is-open .nav-dd__menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.top-links .nav-dd__menu a[aria-current="page"]{
  background: rgba(0,0,0,.04);
}

.mobile-nav__links .nav-dd{
  display: block;
}

.mobile-nav__links .nav-dd__trigger{
  display: block;
  position: relative;
}

.mobile-nav__links .nav-dd__trigger::after{
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .2s ease;
}

.mobile-nav__links .nav-dd.is-open .nav-dd__trigger::after{
  transform: translateY(-50%) rotate(180deg);
}

.mobile-nav__links .nav-dd__menu{
  position: static;
  display: block;
  border: 0;
  box-shadow: none;
  min-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  padding: 0;
  margin: 0;
  transition: max-height .28s ease, opacity .2s ease, visibility .2s ease;
}

.mobile-nav__links .nav-dd.is-open .nav-dd__menu{
  max-height: 520px;
  opacity: 1;
  visibility: visible;
  margin: 0 0 10px 0;
}

.mobile-nav__links .nav-dd__menu a{
  font-size: 30px;
  line-height: 1.15;
  font-weight: 300;
  padding: 8px 0 8px 18px;
  color: var(--forest);
}

@media (max-width: 991.98px){
  .top-links{
    display:none;
  }

  .mobile-nav__links .nav-dd__menu{
    display: none;
    margin-top: 4px;
    padding-bottom: 12px;
  }

  .mobile-nav__links .nav-dd.is-open .nav-dd__menu{
    display: block;
  }
}

/* =========================
   MOBILE NAV SCROLL FIX
   ========================= */
@media (max-width: 991.98px){
  .mobile-nav{
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav__links{
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
  }

  .mobile-nav__bottom{
    flex-shrink: 0;
    margin-top: 24px;
  }
}
