/* ═══════════════════════════════════════════════════════════
   LeBelle Heritage & Restoration — stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. TOKENS ────────────────────────────────────────────── */
:root {
  --green-900: #1d3324;
  --green-800: #2d5038;
  --green-700: #3a6447;
  --cream-100: #faf6ea;
  --cream-200: #f5f1e4;
  --cream-300: #ede6d2;
  --stone-400: #b8a986;
  --stone-600: #7a6f54;
  --ink-900: #1a1813;
  --ink-700: #3b372d;
  --ink-500: #6e6a5e;
  --rule: rgba(29, 51, 36, 0.18);
  --rule-soft: rgba(29, 51, 36, 0.08);
  --shadow-soft: 0 1px 2px rgba(29, 51, 36, .04), 0 8px 28px rgba(29, 51, 36, .08);
  --shadow-lift: 0 2px 6px rgba(29, 51, 36, .06), 0 18px 50px rgba(29, 51, 36, .14);

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --nav-h: 76px;

  --space-section: clamp(72px, 9vw, 128px);
  --space-head: clamp(32px, 4vw, 56px);
  --space-grid: clamp(20px, 2.5vw, 36px);

  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
}

/* ─── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink-900);
  background: var(--cream-100);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
::selection { background: var(--green-800); color: var(--cream-100); }

.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--green-900); color: var(--cream-100);
  padding: 12px 18px; z-index: 200;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--green-800); outline-offset: 3px; border-radius: 2px; }

/* ─── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 120;
  letter-spacing: -0.012em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink-900);
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--green-800); }

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-800);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--green-800);
  display: inline-block;
}

.section-title {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 400;
  max-width: 22ch;
  margin-top: 24px;
}

/* ─── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.section { padding: var(--space-section) 0; position: relative; }
.section-head { margin-bottom: var(--space-head); max-width: 920px; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: none;
}

/* ─── 5. BUTTONS & LINKS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform .35s var(--ease-smooth),
              background-color .25s var(--ease-smooth),
              color .25s var(--ease-smooth),
              box-shadow .25s var(--ease-smooth);
  white-space: nowrap;
}
.btn svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--ease-smooth);
}
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--green-900); color: var(--cream-100); }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-lift); }

.btn-ghost { background: transparent; color: var(--ink-900); border: 1px solid var(--rule); }
.btn-ghost:hover { background: var(--ink-900); color: var(--cream-100); border-color: var(--ink-900); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-800);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  transition: color .25s var(--ease-smooth), border-color .25s var(--ease-smooth);
}
.link-arrow svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease-smooth);
}
.link-arrow:hover { color: var(--green-900); border-color: var(--green-800); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ─── 6. NAV ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--container);
  height: 64px;
  z-index: 90;
  background: rgba(250, 246, 234, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(29, 51, 36, 0.12);
  border-radius: 999px;
  padding: 0 14px 0 22px;
  box-shadow: 0 6px 24px rgba(29, 51, 36, 0.06);
  transition: background-color .3s var(--ease-smooth),
              border-color .3s var(--ease-smooth),
              box-shadow .3s var(--ease-smooth);
}
.nav.scrolled {
  background: rgba(250, 246, 234, 0.95);
  border-color: var(--rule);
  box-shadow: 0 8px 28px rgba(29, 51, 36, 0.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease-smooth);
}
.brand:hover .brand-mark { transform: scale(1.06) rotate(-2deg); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand-name {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-900);
  line-height: 1.15;
}
.brand-name span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--stone-600);
  margin-top: 3px;
  font-weight: 400;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease-smooth);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--green-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-smooth);
}
.nav-links a:hover { color: var(--green-800); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--green-900);
  color: var(--cream-100) !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform .25s var(--ease-smooth), background-color .25s var(--ease-smooth);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-800); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 1.5px; background: var(--ink-900);
  transition: transform .3s var(--ease-smooth), opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { padding: 0 10px 0 16px; height: 60px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 84px; left: 16px; right: 16px;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream-100); border: 1px solid var(--rule);
    border-radius: 20px; padding: 18px;
    box-shadow: var(--shadow-lift);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .25s var(--ease-smooth), transform .25s var(--ease-smooth);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 12px 6px; width: 100%; }
  .nav-cta { width: 100%; text-align: center; margin-top: 6px; }
  .brand-name { font-size: 12px; }
  .brand-name span { font-size: 8px; }
}

/* ─── 7. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 48px) 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image {
  position: absolute;
  inset: -3%;
  background: url('../images/herolondonterrace.jpg') center 35% / cover no-repeat;
  transform: scale(1.05);
  animation: kenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, 1%); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(250, 246, 234, .82) 0%,
      rgba(250, 246, 234, .62) 35%,
      rgba(250, 246, 234, .50) 65%,
      rgba(250, 246, 234, .68) 100%),
    linear-gradient(90deg,
      rgba(250, 246, 234, .55) 0%,
      rgba(250, 246, 234, .15) 55%,
      transparent 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; }
.hero-title {
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 24px;
  color: var(--ink-900);
}
.hero-title em { display: block; font-style: italic; color: var(--green-900); margin-top: 0.06em; }
.hero-lede {
  margin-top: 32px;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-700);
  line-height: 1.65;
}
.hero-ctas { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 5vh, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(29, 51, 36, .25);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero-meta-num {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--green-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-meta-num small { font-size: .55em; color: var(--stone-600); margin-left: 2px; }
.hero-meta-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-500);
  z-index: 2;
}
.hero-scroll-line { width: 30px; height: 1px; background: var(--ink-500); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--green-900);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease-smooth) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@media (max-width: 720px) {
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-scroll { display: none; }
}

/* ─── 8. ABOUT ─────────────────────────────────────────────── */
.about { background: var(--cream-100); }
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-media figure { margin: 0; }
.about-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.about-media figcaption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stone-600);
  font-style: italic;
}
.about-copy h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  margin-top: 24px;
  max-width: 22ch;
}
.about-body { margin-top: 32px; max-width: 56ch; }
.about-body p { font-size: 16px; color: var(--ink-700); margin: 0 0 18px; line-height: 1.7; }
.about-body p:last-child { margin-bottom: 0; }

.about-sign {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.about-sign-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--green-900);
}
.about-sign-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-600);
  margin-top: 4px;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── 9. SERVICES ──────────────────────────────────────────── */
.services { background: var(--cream-200); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service {
  background: var(--cream-100);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background-color .35s var(--ease-smooth);
}
.service::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-smooth);
}
.service:hover { background: var(--cream-200); }
.service:hover::after { transform: scaleX(1); }
.service-num {
  font-family: var(--f-display);
  font-size: 12px;
  color: var(--stone-600);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.service h3 { font-size: 22px; font-weight: 400; color: var(--ink-900); }
.service p { font-size: 14.5px; color: var(--ink-700); margin: 0; line-height: 1.6; }

@media (max-width: 1060px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  {
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 32px 24px; }
}

/* ─── 10. FEATURED / BEFORE-AFTER ──────────────────────────── */
.featured { background: var(--cream-100); }
.featured-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.featured-copy p {
  margin-top: 28px;
  font-size: 16px;
  color: var(--ink-700);
  max-width: 50ch;
  line-height: 1.7;
}
.featured-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 14px;
  max-width: 460px;
}
.featured-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.featured-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.featured-list span:first-child {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.featured-list span:last-child {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-900);
  text-align: right;
}

.ba-slider {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  user-select: none;
  background: var(--ink-900);
  touch-action: none;
}
.ba-wrap { position: relative; width: 100%; height: 100%; }

/* Source image is a side-by-side diptych. Render it at 200% width
   and anchor each side so the slider crops to one half cleanly. */
.ba-img {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after  { right: 0; left: auto; }
.ba-clip {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
  will-change: width;
}
.ba-before { left: 0; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}
.ba-handle-line {
  position: absolute;
  inset: 0;
  background: var(--cream-100);
  box-shadow: 0 0 12px rgba(0, 0, 0, .4);
}
.ba-handle-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 1px solid var(--green-800);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.ba-handle-knob svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--green-900); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ba-input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.ba-label {
  position: absolute;
  bottom: 20px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-100);
  background: rgba(26, 24, 19, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  z-index: 2;
  pointer-events: none;
}
.ba-label-before { left: 20px; }
.ba-label-after  { right: 20px; }

@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── 11. PORTFOLIO ────────────────────────────────────────── */
.portfolio { background: var(--cream-200); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-grid);
}
.work {
  position: relative;
  overflow: hidden;
  background: var(--cream-300);
  display: block;
  transition: transform .5s var(--ease-smooth);
}
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0), 0) scale(var(--scale, 1));
  transition: transform .8s var(--ease-smooth), filter .5s var(--ease-smooth);
  filter: saturate(.96);
}
.work:hover { --scale: 1.04; }
.work:hover img { filter: saturate(1.08) brightness(1.02); }
.work-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 24, 19, .85) 100%);
  color: var(--cream-100);
  transform: translateY(20%);
  opacity: 0;
  transition: transform .45s var(--ease-smooth), opacity .35s var(--ease-smooth);
}
.work:hover .work-overlay,
.work:focus-visible .work-overlay { transform: translateY(0); opacity: 1; }
.work-cat {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 6px;
}
.work-title {
  display: block;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 400;
}

/* Editorial bento */
.work:nth-child(1)  { grid-column: span 7; aspect-ratio: 16/11; }
.work:nth-child(2)  { grid-column: span 5; aspect-ratio: 4/5; }
.work:nth-child(3)  { grid-column: span 4; aspect-ratio: 4/5; }
.work:nth-child(4)  { grid-column: span 4; aspect-ratio: 4/5; }
.work:nth-child(5)  { grid-column: span 4; aspect-ratio: 4/5; }
.work:nth-child(6)  { grid-column: span 6; aspect-ratio: 3/2; }
.work:nth-child(7)  { grid-column: span 6; aspect-ratio: 3/2; }
.work:nth-child(8)  { grid-column: span 8; aspect-ratio: 16/9; }
.work:nth-child(9)  { grid-column: span 4; aspect-ratio: 4/5; }
.work:nth-child(10) { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 860px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work, .work:nth-child(n) { grid-column: span 1; aspect-ratio: 4/5; }
  .work:nth-child(1),
  .work:nth-child(10) { grid-column: span 2; aspect-ratio: 16/11; }
}

/* ─── 12. PROCESS ──────────────────────────────────────────── */
.process { background: var(--green-900); color: var(--cream-100); }
.process .eyebrow { color: var(--stone-400); }
.process .eyebrow::before { background: var(--stone-400); }
.process .section-title { color: var(--cream-100); }
.process .section-title em { color: var(--stone-400); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.step { border-top: 1px solid rgba(250, 246, 234, .2); padding-top: 24px; }
.step-num {
  display: block;
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--stone-400);
  line-height: 1;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144;
}
.step h3 { font-size: 19px; color: var(--cream-100); margin-bottom: 12px; font-weight: 400; }
.step p { font-size: 14px; color: rgba(250, 246, 234, .72); margin: 0; line-height: 1.65; }

@media (max-width: 1060px) { .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 520px)  { .process-grid { grid-template-columns: 1fr; } }

/* ─── 13. JOURNAL ──────────────────────────────────────────── */
.journal { background: var(--cream-100); }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px);
}
.post { display: flex; flex-direction: column; transition: transform .5s var(--ease-smooth); }
.post:hover { transform: translateY(-6px); }
.post-media {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-300);
  margin-bottom: 22px;
}
.post-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-smooth);
}
.post:hover .post-media img { transform: scale(1.05); }
.post-meta {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-600);
  margin-bottom: 12px;
}
.post h3 { font-size: clamp(22px, 1.8vw, 26px); margin-bottom: 12px; font-weight: 400; }
.post h3 a { transition: color .25s var(--ease-smooth); }
.post:hover h3 a { color: var(--green-800); }
.post p { font-size: 15px; color: var(--ink-700); margin: 0 0 18px; line-height: 1.65; }
.post-date {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: var(--stone-600);
  margin-top: auto;
}

@media (max-width: 860px) { .journal-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ─── 14. CONTACT ──────────────────────────────────────────── */
.contact { background: var(--cream-200); }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-copy p { margin-top: 28px; font-size: 16px; color: var(--ink-700); max-width: 44ch; line-height: 1.7; }
.contact-details {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 18px;
}
.contact-details > div { display: grid; gap: 4px; }
.contact-details dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.contact-details dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--ink-900);
}
.contact-details dd a { transition: color .25s var(--ease-smooth); }
.contact-details dd a:hover { color: var(--green-800); }

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--cream-100);
  border: 1px solid var(--rule);
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.field-opt { letter-spacing: 0.08em; text-transform: none; color: var(--ink-500); font-style: italic; }
.field input,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-900);
  font-size: 16px;
  outline: none;
  transition: border-color .25s var(--ease-smooth);
  font-family: var(--f-body);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-500); font-style: italic; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--green-800); }

.contact-submit { margin-top: 8px; justify-self: start; min-width: 200px; justify-content: center; }
.contact-submit .btn-label { display: inline-block; transition: opacity .2s var(--ease-smooth); }
.contact-submit.is-loading { cursor: progress; opacity: .85; }
.contact-submit.is-loading .btn-label { opacity: .8; }
.contact-submit.is-loading svg { animation: spin .9s linear infinite; }
.contact-submit.is-sent { background: var(--green-800); }
.contact-submit:disabled { cursor: not-allowed; }

@keyframes spin { to { transform: rotate(360deg); } }

.contact-note { margin: 4px 0 0; font-size: 12px; color: var(--ink-500); font-style: italic; }
.contact-note span { display: block; margin-top: 8px; color: var(--green-800); font-style: normal; transition: color .25s var(--ease-smooth); }
.contact-note .is-success { color: var(--green-800); font-weight: 500; }
.contact-note .is-error   { color: #a8442a; }
.contact-note .is-pending { color: var(--stone-600); }

/* Honeypot — visually hidden but still in the DOM for bots to find */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ─── 15. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--ink-900);
  color: rgba(250, 246, 234, .72);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 246, 234, .12);
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-row img { width: 40px; height: 40px; }
.footer-brand-name {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-100);
}
.footer-brand p { margin: 0; font-size: 14px; max-width: 36ch; line-height: 1.65; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  color: var(--cream-100);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--f-body);
  font-weight: 500;
}
.footer-col a { font-size: 14px; color: rgba(250, 246, 234, .72); transition: color .25s var(--ease-smooth); }
.footer-col a:hover { color: var(--cream-100); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 234, .5);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { justify-content: flex-start; flex-direction: column; gap: 6px; }
}

/* ─── 16. REVEAL ───────────────────────────────────────────── */
/* Reveals only engage when JS is confirmed working. Without JS,
   or before JS executes, content is fully visible by default. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-smooth), transform .9s var(--ease-smooth);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: translateY(0); }
.js .reveal.delay-1 { transition-delay: .08s; }
.js .reveal.delay-2 { transition-delay: .16s; }
.js .reveal.delay-3 { transition-delay: .24s; }
.js .reveal.delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg-image { animation: none; }
  .hero-scroll-line::after { animation: none; }
}
