/* ===== Interior Lab — redesign ===== */
:root {
  --ink: #14140f;
  --ink-soft: #3a3a32;
  --paper: #f4f2ec;
  --paper-2: #eae7dd;
  --white: #ffffff;
  /* warm, soft deep tone for dark sections — a middle ground
     between near-black and the cream palette */
  --dark: #3a3630;
  --dark-2: #46423a;
  --neon: #c8f046;
  --neon-deep: #aad62f;
  --line: rgba(20, 20, 15, 0.14);
  --wrap: 1240px;
  --r: 0px;        /* squared corners — images & cards */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
h1 em, h2 em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--neon); padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px;
}
.eyebrow-light { color: var(--neon-deep); }

/* ===== Buttons — rendered as underlined text links (no pill shape).
   Every .btn-* variant collapses to the same underline-only look;
   hover just fades opacity, matching .link-arrow. =====              */
.btn,
button.btn-mini {
  display: inline-block;
  padding: 0 0 3px;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--neon-deep);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: inherit;
  cursor: pointer;
  text-align: left;
  width: auto;
  transition: opacity .2s;
}
.btn:hover,
button.btn-mini:hover { background: none; color: inherit; opacity: 0.6; }
/* legacy variants kept so HTML stays untouched */
.btn-primary,
.btn-dark,
.btn-ghost,
.btn-ghost-dark {
  background: none !important;
  border: 0;
  border-bottom: 1.5px solid var(--neon-deep);
  color: inherit;
}
/* context overrides where the neon-deep underline would not read */
.contact .btn,
.service-card--feature .btn { border-bottom-color: var(--ink); }

.link-arrow {
  display: inline-block; font-weight: 600; font-size: 14.5px;
  letter-spacing: 0.02em; border-bottom: 1.5px solid var(--neon-deep);
  padding-bottom: 3px; transition: gap .2s, opacity .2s;
}
.link-arrow:hover { opacity: .6; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s, padding .3s;
  padding: 20px 0 8px;
}
.site-header.scrolled {
  background: rgba(244, 242, 236, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
/* header spans the full viewport so the logo hugs the left edge
   and the nav hugs the right edge instead of floating mid-screen */
.site-header .wrap {
  max-width: 100%;
  padding-left: clamp(22px, 4.5vw, 64px);
  padding-right: clamp(22px, 4.5vw, 64px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; display: block; }
.brand img { width: 132px; height: auto; transition: width .3s, opacity .25s; }
/* logo rendered pure white on the transparent (over-hero) header */
.brand .logo-light { filter: brightness(0) invert(1); }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.scrolled .brand .logo-light { opacity: 0; }
.site-header.scrolled .brand .logo-dark { opacity: 1; }
.site-header.scrolled .brand img { width: 116px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 14.5px; font-weight: 500;
  padding: 4px 0 3px;
  border: 0; border-radius: 0;
  background: none;
  color: var(--white);
  transition: opacity .2s, border-color .2s;
}
.nav a:hover { background: none; opacity: 0.7; }
/* CTA is marked by an underline, not a pill */
.nav .nav-cta {
  background: none;
  color: var(--white);
  border-bottom: 1.5px solid var(--neon);
}
.nav .nav-cta:hover { background: none; opacity: 1; border-bottom-color: var(--white); }

.site-header.scrolled .nav a { color: var(--ink); background: none; }
.site-header.scrolled .nav a:hover { background: none; opacity: 0.6; }
.site-header.scrolled .nav .nav-cta {
  background: none; color: var(--ink);
  border-bottom-color: var(--neon-deep);
}
.site-header.scrolled .nav .nav-cta:hover { background: none; opacity: 1; border-bottom-color: var(--ink); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, background .2s;
}
.site-header.scrolled .nav-toggle span,
body.nav-open .nav-toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  /* flatlay hero is bright — darken strongly, weighted to the left
     where the headline and body copy sit, so white text stays legible */
  background:
    linear-gradient(90deg, rgba(18,18,14,.68) 0%, rgba(18,18,14,.40) 45%, rgba(18,18,14,.12) 100%),
    linear-gradient(180deg, rgba(18,18,14,.22) 0%, rgba(18,18,14,.12) 45%, rgba(18,18,14,.40) 100%);
}
.hero-content {
  padding-top: 90px; padding-bottom: 90px; max-width: 880px;
  /* soft shadow keeps text legible without needing a dark overlay */
  text-shadow: 0 1px 24px rgba(12,12,9,.55);
}
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  margin: 6px 0 24px;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 540px; color: rgba(255,255,255,.86); margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 46px; height: 46px; border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  color: var(--white); animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,7px);} }

/* ===== Sections ===== */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2, .intro-text h2, .team-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Intro */
.intro { background: var(--paper); }
.intro-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 90px); align-items: center;
}
.intro-text h2 { margin: 8px 0 24px; }
.intro-text p { color: var(--ink-soft); margin-bottom: 18px; max-width: 46ch; }
.intro-text .link-arrow { margin-top: 10px; }
.intro-figure { border-radius: var(--r); overflow: hidden; }
.intro-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Services */
.services { background: var(--dark); color: var(--paper); }
.services .eyebrow { color: var(--neon-deep); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r); padding: 38px 32px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(200,240,70,.5); }
.service-card--feature { background: var(--neon); color: var(--ink); border-color: transparent; }
.service-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: .7; margin-bottom: 14px;
}
.service-card h3 { font-size: 1.85rem; margin-bottom: 8px; }
.service-sub { font-weight: 500; margin-bottom: 16px; }
.service-card > p { font-size: 15px; opacity: .82; }
.service-card--feature > p { opacity: 1; }
.service-list { list-style: none; margin: 18px 0 4px; }
.service-list li {
  font-size: 14.5px; padding: 8px 0 8px 22px; position: relative;
  border-top: 1px solid rgba(20,20,15,.16);
}
.service-list li::before {
  content: "✳︎"; position: absolute; left: 0; top: 8px;
}
.service-price {
  margin: 24px 0 22px; font-size: 14px; opacity: .7;
}
.service-price span {
  font-family: 'Newsreader', Georgia, serif; font-size: 1.7rem; opacity: 1;
  display: block; margin-bottom: 2px;
}
.service-card .btn { align-self: flex-start; margin-top: auto; }
/* ghost button sits on a dark card — needs a light outline */
.service-card .btn-ghost-dark { border-color: rgba(255,255,255,.4); color: var(--paper); }
.service-card .btn-ghost-dark:hover { background: var(--neon); color: var(--ink); border-color: var(--neon); }
.service-card--feature .btn { align-self: flex-start; }

/* References */
.references { background: var(--paper-2); }
.ref-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px;
}
.ref-card { display: block; }
.ref-card .ref-img {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.ref-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.ref-card:hover img { transform: scale(1.05); }
.ref-meta {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.ref-cat {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.ref-meta h3 { font-size: 1.35rem; }
.ref-card:hover .ref-meta h3 { color: var(--neon-deep); }

/* Team */
.team { background: var(--paper); }
.team-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 6vw, 90px); align-items: center;
}
.team-figure { border-radius: var(--r); overflow: hidden; }
.team-figure img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.team-text h2 { margin: 8px 0 22px; }
.team-text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 46ch; }
.team-text .link-arrow { margin-top: 8px; }

/* News */
.news { background: var(--paper-2); }
.news-list { list-style: none; }
.news-list li { border-top: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: 130px 1fr auto;
  gap: 28px; align-items: center; padding: 30px 8px;
  transition: padding-left .3s var(--ease), background .3s;
}
.news-list a:hover { padding-left: 24px; background: rgba(20,20,15,.03); }
.news-list time { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.news-list h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: -0.005em;
}
.news-list .link-arrow { border: 0; white-space: nowrap; }

/* Buddies */
.buddies { background: var(--dark); color: var(--paper); text-align: center; }
.buddies-inner { max-width: 760px; margin: 0 auto; }
.buddies h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 6px 0 22px; }
.buddies-lead { color: rgba(244,242,236,.72); margin-bottom: 34px; }
.buddies-tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 38px;
}
.buddies-tags li {
  font-size: 14px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); transition: border-color .25s, color .25s;
}
.buddies-tags li:hover { border-color: var(--neon); color: var(--neon); }

/* Contact */
.contact {
  background: var(--neon); color: var(--ink); text-align: center;
}
.contact .eyebrow-light { color: var(--ink); opacity: .55; }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact h2 {
  font-size: clamp(2.3rem, 5vw, 4rem); margin: 6px 0 18px;
}
.contact-lead { font-size: 1.1rem; margin-bottom: 34px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* contact buttons inherit ink colour from .contact; underline color
   is set on .contact .btn earlier in the file */

/* Footer */
.site-footer { background: var(--dark); color: var(--paper); padding: 72px 0 30px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand img { width: 150px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14.5px; color: rgba(244,242,236,.6); max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a { font-size: 14.5px; color: rgba(244,242,236,.78); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--neon); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-social { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(244,242,236,.5);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--neon); }

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.ref-card.reveal { transition-delay: .05s; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: auto; left: auto;
    width: min(82vw, 340px); height: 100vh; height: 100dvh;
    background: var(--paper); flex-direction: column; align-items: stretch;
    justify-content: center; gap: 6px; padding: 40px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a, .site-header.scrolled .nav a { font-size: 1.05rem; padding: 12px 0; color: var(--ink); background: none; }
  .nav a:hover { background: none; opacity: 0.65; }
  .nav .nav-cta, .site-header.scrolled .nav .nav-cta {
    margin: 10px 0 0; background: none; color: var(--ink);
    border-bottom: 1.5px solid var(--neon-deep);
    align-self: flex-start; padding-bottom: 4px;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .intro-grid, .team-grid { grid-template-columns: 1fr; }
  .team-figure { order: 2; }
  .ref-grid { gap: 12px; }
  .news-list a { grid-template-columns: 1fr; gap: 6px; padding: 22px 8px; }
  .news-list a:hover { padding-left: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero-content { padding-top: 116px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .scroll-hint { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   SUB-PAGES (portfolio detail, blog post, listings, legal, buddies)
   =================================================================== */
.site-header.solid {
  background: rgba(244, 242, 236, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.solid .brand img { width: 116px; }
.site-header.solid .brand .logo-light { opacity: 0; }
.site-header.solid .brand .logo-dark { opacity: 1; }
.site-header.solid .nav a { color: var(--ink); background: none; }
.site-header.solid .nav a:hover { background: none; opacity: 0.6; }
.site-header.solid .nav .nav-cta {
  background: none; color: var(--ink);
  border-bottom: 1.5px solid var(--neon-deep);
}
.site-header.solid .nav .nav-cta:hover { background: none; opacity: 1; border-bottom-color: var(--ink); }
.site-header.solid .nav-toggle span { background: var(--ink); }

.wrap.narrow { max-width: 760px; }

/* Page hero (compact header for sub-pages) */
.page-hero {
  padding: clamp(130px, 16vw, 190px) 0 clamp(40px, 6vw, 64px);
  background: var(--paper);
}
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 16ch; margin-top: 6px;
}
.page-hero .eyebrow a { border-bottom: 1.5px solid var(--neon-deep); padding-bottom: 2px; }
.page-lead {
  margin-top: 22px; max-width: 52ch; color: var(--ink-soft);
  font-size: 1.08rem;
}

/* Project detail */
.project-lead { padding-bottom: clamp(40px, 6vw, 80px); background: var(--paper); }
.project-cover { border-radius: var(--r); overflow: hidden; margin-bottom: 36px; }
.project-cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--line); padding-top: 30px;
}
.meta-item dt {
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.meta-item dd { font-size: 1.05rem; }
.project-body { padding-top: 0; }
.project-body p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.08rem; }

/* Gallery */
.project-gallery { padding-top: 0; }
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.gal-item { display: block; border-radius: var(--r); overflow: hidden; }
.gal-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gal-item:hover img { transform: scale(1.04); }
.gal-item:nth-child(3n+1) { grid-column: span 2; }
.gal-item:nth-child(3n+1) img { aspect-ratio: 16/9; }

/* Next project / post CTA strip */
.next-project, .post-cta { background: var(--paper-2); }
.next-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.next-inner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.next-inner h2 a:hover { color: var(--neon-deep); }

/* Blog post */
.post-cover { background: var(--paper); padding-bottom: clamp(30px,5vw,56px); }
.post-cover img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r);
}
.article { padding-top: 0; }
.article p {
  color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 20px;
}
.article h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 40px 0 14px;
}
.article h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 32px 0 10px;
}
.article ol, .article ul { margin: 0 0 20px 1.1em; color: var(--ink-soft); }
.article li { margin-bottom: 8px; font-size: 1.08rem; }
.article a { border-bottom: 1.5px solid var(--neon-deep); }
.article a:hover { opacity: .65; }

/* Post listing grid */
.post-grid { display: grid; gap: 26px; }
.post-card {
  display: grid; grid-template-columns: 320px 1fr; gap: 32px;
  align-items: center; border-top: 1px solid var(--line);
  padding: 26px 0; transition: padding-left .3s var(--ease);
}
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-card:hover { padding-left: 16px; }
.post-card-img { border-radius: var(--r); overflow: hidden; }
.post-card-img img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  transition: transform .6s var(--ease);
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body time {
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  letter-spacing: .04em;
}
.post-card-body h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin: 8px 0 10px;
}
.post-card-body p { color: var(--ink-soft); margin-bottom: 14px; max-width: 52ch; }

/* Buddies page */
.buddies-page { background: var(--paper); }
.buddy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.buddy-card {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; background: var(--white);
  transition: transform .3s var(--ease), border-color .3s;
}
.buddy-card:hover { transform: translateY(-5px); border-color: var(--neon-deep); }
.buddy-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.buddy-card p { color: var(--ink-soft); font-size: .98rem; }

/* Legal pages */
.legal { background: var(--paper); }
.legal h2 { font-size: 1.7rem; margin: 8px 0 14px; }
.legal h3 { font-size: 1.2rem; margin: 30px 0 8px; }
.legal p { color: var(--ink-soft); margin-bottom: 14px; }
.legal a { border-bottom: 1.5px solid var(--neon-deep); }
.legal strong { color: var(--ink); }

@media (max-width: 820px) {
  .project-meta { grid-template-columns: 1fr; gap: 18px; }
  .gallery { grid-template-columns: 1fr; }
  .gal-item, .gal-item:nth-child(3n+1) { grid-column: auto; }
  .gal-item img, .gal-item:nth-child(3n+1) img { aspect-ratio: 4/3; }
  .buddy-grid { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; gap: 14px; }
  .post-card:hover { padding-left: 0; }
}

.section-foot { margin-top: 44px; }
.news .section-foot { margin-top: 30px; }

/* ===================================================================
   Footer Calendly link · Cookie banner · Newsletter popup
   =================================================================== */
.footer-book { color: var(--neon-deep) !important; font-weight: 500; }
.footer-book:hover { color: var(--neon) !important; }

/* Cookie consent banner */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--dark); color: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 28px; flex-wrap: wrap;
  padding: 16px clamp(20px, 4vw, 48px);
  box-shadow: 0 -10px 34px rgba(0,0,0,.20);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { font-size: 14px; color: rgba(244,242,236,.82); max-width: 64ch; }
.cookie-bar a { color: var(--neon); border-bottom: 1px solid currentColor; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
/* .btn-mini — also rendered as underlined text on the dark cookie bar.
   Underline uses neon for clear contrast against the dark surface. */
.btn-mini { font-size: 13px; border-bottom-color: var(--neon); }
.btn-mini.ghost { border-bottom-color: rgba(255,255,255,.6); }
.btn-mini:hover, .btn-mini.ghost:hover { opacity: .65; }

/* Newsletter popup */
.nl-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(18,18,14,.58);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s;
}
.nl-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.nl-modal {
  background: var(--paper); color: var(--ink);
  max-width: 470px; width: 100%;
  padding: clamp(32px, 5vw, 52px);
  position: relative;
  transform: translateY(14px); transition: transform .35s var(--ease);
  box-shadow: 0 30px 70px -20px rgba(20,20,15,.4);
}
.nl-overlay.show .nl-modal { transform: translateY(0); }
.nl-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: 0; font-size: 26px; line-height: 1;
  cursor: pointer; color: var(--ink-soft);
}
.nl-close:hover { color: var(--ink); }
.nl-modal h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 12px; }
.nl-modal .nl-intro { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.nl-form { display: flex; flex-direction: column; gap: 12px; }
.nl-form input {
  font: inherit; font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  width: 100%;
}
.nl-form input:focus { outline: 2px solid var(--neon-deep); outline-offset: -1px; }
.nl-form .btn { align-self: flex-start; margin-top: 4px; }
.nl-thanks { color: var(--ink-soft); font-size: 15px; }
.nl-thanks strong { color: var(--ink); }
