/* =========================================================
   Homebound — PPC Landing Page
   ========================================================= */

/*
  Aspekta is self-hosted here under its OFL 1.1 license — see
  assets/fonts/Aspekta-OFL.txt (https://github.com/ivodolenc/aspekta).
  It's a variable font, so one file covers every weight (100-1000)
  used across the page.
*/
@font-face {
  font-family: 'Aspekta';
  src: url('../assets/fonts/AspektaVF.woff2') format('woff2-variations'),
       url('../assets/fonts/AspektaVF.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown:        #391b06;
  --brown-soft:   #4a2510;
  --cream:        #f7f2e9;
  --lilac:        #d9e1fd;
  --olive:        #67613e;
  --tan:          #dad0be;
  --sand:         #eee6d7;
  --grey-green:   #e1e1de;

  /* IvyOra Display loads from the Adobe Fonts (Typekit) kit linked in index.html
     <head>; Fraunces is kept as a same-vibe fallback while the kit loads. */
  --font-display: 'ivyora-display', 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Aspekta', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1600px;
  --pad: clamp(20px, 4vw, 96px);
  --pad-y: clamp(56px, 8vw, 128px);
  /* keeps section content capped at --container width (matching the Figma
     canvas) and centred, instead of stretching edge-to-edge on wide screens */
  --gutter: max(var(--pad), calc((100% - var(--container)) / 2));

  --radius: 4px;
  --nav-height: 84px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body, h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
/* picture defaults to display:inline, which breaks percentage-based
   sizing and flex-item behaviour on the img it wraps -- this makes it
   transparent to layout everywhere a <picture> is used */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

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

body {
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.5;
  font-size: clamp(16px, 0.95vw + 0.5rem, 18px);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  background: var(--cream);
  color: var(--brown);
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; }

em { font-style: italic; color: var(--lilac); font-family: inherit; }

.eyebrow {
  font-size: 1rem;
  color: var(--olive);
  margin-bottom: 6px;
}
.eyebrow--light { color: var(--cream); opacity: .85; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease;
  will-change: transform;
}
.btn--light { background: var(--cream); color: var(--brown); }
.btn--dark  { background: var(--brown); color: var(--cream); }
.btn--full  { width: 100%; }

.btn:hover, .btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(57, 27, 6, 0.25);
}
.btn--light:hover { background: #fff; }
.btn--dark:hover  { background: var(--brown-soft); }

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

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor-active,
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active input,
  body.custom-cursor-active textarea,
  body.custom-cursor-active select {
    cursor: none;
  }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--cream);
  transition: opacity .25s ease, width .25s var(--ease), height .25s var(--ease);
}
.cursor-dot.is-hover { width: 0; height: 0; }

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream);
  transition: opacity .3s ease, width .3s var(--ease), height .3s var(--ease), background-color .3s ease;
}
.cursor-ring.is-hover {
  width: 68px;
  height: 68px;
  background: rgba(247, 242, 233, .12);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--brown);
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 3vw, 48px);
  gap: 24px;
  transition: padding .3s var(--ease);
}

.site-header.is-scrolled .navbar {
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.navbar__logo img { height: 22px; width: auto; }
.navbar__logo { flex-shrink: 0; transition: transform .3s var(--ease); }
.navbar__logo:hover { transform: scale(1.03); }

.navbar__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 48px);
  flex: 1;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}

.nav-link {
  position: relative;
  font-size: 1rem;
  color: var(--cream);
  opacity: .6;
  padding: 4px 0;
  transition: opacity .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { opacity: 1; }
.nav-link:hover::after, .nav-link:focus-visible::after { right: 0; }
.nav-link.is-active { opacity: 1; }

.navbar__contact {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}

.navbar__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 1rem;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.navbar__contact-item:hover { opacity: .8; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 20;
}
.navbar__toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--brown);
  overflow: hidden;
  min-height: clamp(560px, 92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vh, 96px) 20px;
}

.hero__glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(217,225,253,.16), rgba(57,27,6,0) 70%);
  pointer-events: none;
}

.hero__images {
  position: absolute;
  inset: 0;
  max-width: var(--container);
  margin: 0 auto;
}

/*
  Each photo is two nested elements so the two motions never fight over the
  `transform` property: the outer wrap runs a pure-CSS idle float, while the
  inner img's transform is driven every frame by JS (cursor parallax + a
  lerped hover "pop"), matching the custom-cursor/magnetic-button language
  used site-wide.
*/
.hero__img-wrap {
  position: absolute;
  width: clamp(96px, 12vw, 190px);
  aspect-ratio: 3 / 4;
  /* per-image orbit amplitude/speed, referenced by the shared hero-float
     keyframe -- gives each photo its own left/right + up/down drift path
     instead of every image bobbing the same way */
  --float-ax: 14px;
  --float-ay: 18px;
  animation: hero-float 8s ease-in-out infinite;
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  opacity: 0;
  transform: scale(1.2);
  animation: hero-img-in .7s var(--ease) forwards;
  transition: box-shadow .35s var(--ease), z-index .01s;
  cursor: none;
}
.hero__img:hover {
  box-shadow: 0 34px 60px rgba(0,0,0,.5);
  z-index: 5;
}

.hero__img-wrap:nth-child(1) .hero__img { animation-delay: .55s; }
.hero__img-wrap:nth-child(2) .hero__img { animation-delay: .1s; }
.hero__img-wrap:nth-child(3) .hero__img { animation-delay: .4s; }
.hero__img-wrap:nth-child(4) .hero__img { animation-delay: .7s; }
.hero__img-wrap:nth-child(5) .hero__img { animation-delay: .25s; }
.hero__img-wrap:nth-child(6) .hero__img { animation-delay: .85s; }
.hero__img-wrap:nth-child(7) .hero__img { animation-delay: .15s; }
.hero__img-wrap:nth-child(8) .hero__img { animation-delay: .6s; }

@keyframes hero-img-in {
  from { opacity: 0; transform: scale(1.2); }
  to   { opacity: 1; transform: scale(1); }
}

/* a rounded, diamond-ish orbit combining X and Y so the motion reads as
   drifting in every direction rather than a simple up/down bob */
@keyframes hero-float {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(var(--float-ax), calc(var(--float-ay) * -1)); }
  50%  { transform: translate(0, calc(var(--float-ay) * -1.4)); }
  75%  { transform: translate(calc(var(--float-ax) * -1), calc(var(--float-ay) * -1)); }
  100% { transform: translate(0, 0); }
}

/* positions kept clear of the centred headline column (roughly 20-80%
   horizontal / 20-80% vertical), matching the Figma composition */
.hero__img-wrap--1 { left: 85%; top: 8%;  animation-delay: .2s;  animation-duration: 8.5s; --float-ax: 16px; --float-ay: 20px; }
.hero__img-wrap--2 { left: 26%; top: 4%;  animation-delay: 1.1s; animation-duration: 6.5s; --float-ax: 11px; --float-ay: 15px; }
.hero__img-wrap--3 { left: 4%;  top: 42%; animation-delay: .6s;  animation-duration: 9s;   --float-ax: 18px; --float-ay: 22px; }
.hero__img-wrap--4 { left: 63%; top: 6%;  animation-delay: 1.6s; animation-duration: 7s;   --float-ax: 10px; --float-ay: 14px; }
.hero__img-wrap--5 { left: 91%; top: 46%; animation-delay: .9s;  animation-duration: 7.5s; --float-ax: 20px; --float-ay: 17px; }
.hero__img-wrap--6 { left: 8%;  top: 9%;  animation-delay: 1.9s; animation-duration: 8.8s; --float-ax: 13px; --float-ay: 24px; }
.hero__img-wrap--7 { left: 2%;  top: 72%; animation-delay: .4s;  animation-duration: 6s;   --float-ax: 9px;  --float-ay: 13px; }
.hero__img-wrap--8 { left: 70%; top: 82%; animation-delay: 1.4s; animation-duration: 9.5s; --float-ax: 17px; --float-ay: 19px; }

@media (max-width: 900px) {
  .hero__img-wrap--3, .hero__img-wrap--5 { display: none; }
}
@media (max-width: 640px) {
  .hero__img-wrap { width: 78px; }
  .hero__img-wrap--1 { left: 78%; top: 5%; }
  .hero__img-wrap--2 { left: 24%; top: 3%; }
  .hero__img-wrap--4 { left: 56%; top: 7%; }
  .hero__img-wrap--6 { left: 5%;  top: 7%; }
  .hero__img-wrap--7 { left: 4%;  top: 82%; }
  .hero__img-wrap--8 { left: 70%; top: 86%; }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--lilac);
  font-size: clamp(2.4rem, 3.6vw + 1.4rem, 5.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: rise 1s var(--ease) .15s forwards;
}

.hero__subtitle {
  color: var(--cream);
  font-size: clamp(1rem, .4vw + .9rem, 1.15rem);
  max-width: 38em;
  margin: 0 auto;
  opacity: 0;
  animation: rise 1s var(--ease) .4s forwards;
}

/* wraps the hero CTA so its entrance slide-up (which animates transform)
   never fights with the magnetic-button JS, which also drives transform
   on the .btn itself -- a CSS animation's transform wins over inline
   styles for as long as it's active, including the whole forwards-fill
   period, so the two must live on separate elements. */
.hero__cta-reveal { opacity: 0; animation: rise 1s var(--ease) .65s forwards; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats {
  background: var(--olive);
  color: var(--cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(24px, 3vw, 32px) var(--gutter);
  text-align: center;
}
.stats__item {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 1rem, 2rem);
}
.stats__item span { font-weight: 400; }
.stats__item em { color: var(--lilac); }
.stats__divider {
  width: 1px;
  height: 30px;
  background: rgba(247,242,233,.35);
}
@media (max-width: 700px) {
  .stats__divider { display: none; }
}

/* =========================================================
   TRUST / TESTIMONIALS
   ========================================================= */
.trust {
  background: var(--tan);
  padding: var(--pad-y) var(--gutter);
}
.trust__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.trust__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.6vw + 1.2rem, 3rem);
  line-height: 1.25;
  max-width: 22ch;
}
.trust__head em { color: var(--brown); font-style: italic; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  position: relative;
  background: var(--cream);
  border-radius: 16px;
  padding: 40px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(57,27,6,.14);
}
.testimonial__stars { width: 129px; height: 16px; }
.testimonial blockquote p { font-size: .98rem; line-height: 1.6; }
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding-top: 12px;
  border-top: 1px solid rgba(57,27,6,.15);
}
.testimonial__role { opacity: .65; font-size: 1rem; }
.testimonial__source {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--brown);
  color: var(--cream);
  font-size: .75rem;
  padding: 6px 14px;
  border-radius: 999px;
}

/* =========================================================
   WHY HOMEBOUND
   ========================================================= */
.why { padding: var(--pad-y) var(--gutter); text-align: center; }
.why__head { max-width: 1000px; margin: 0 auto; }
.why__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw + 1rem, 4.5rem);
  line-height: 1.2;
}
.why__inline-img {
  display: inline-block;
  width: clamp(38px, 4vw, 60px);
  height: clamp(38px, 4vw, 60px);
  object-fit: cover;
  border-radius: 999px;
  vertical-align: middle;
  margin: 0 6px;
  transform: rotate(-6deg);
  transition: transform .4s var(--ease);
}
.why__title:hover .why__inline-img { transform: rotate(0deg) scale(1.06); }

.why__copy {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 1.05rem;
}
.why__cta { margin-top: 32px; }

.why__gallery {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.why__card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.why__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.why__card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(57,27,6,0) 45%, rgba(57,27,6,.78) 88%);
}
.why__card:hover img { transform: scale(1.07); }
.why__card figcaption {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .why__gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why__gallery { grid-template-columns: 1fr; }
}

/* =========================================================
   RECENT PROJECTS
   ========================================================= */
.projects { padding: var(--pad-y) var(--gutter); }
.projects__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.projects__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.6vw + 1.2rem, 2.75rem);
}

.project-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.project-featured > picture > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .8s var(--ease);
}
.project-featured:hover > picture > img { transform: scale(1.04); }
.project-featured::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(57,27,6,.92) 30%, rgba(57,27,6,0) 72%);
  z-index: 1;
}
.project-featured__content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: 560px;
  padding: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-featured__content h3 {
  font-family: var(--font-display);
  color: var(--lilac);
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  font-weight: 400;
}
.project-featured__content .btn { margin-top: 8px; align-self: flex-start; }

.project-featured__quote {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: clamp(16px, 4vw, 64px);
  background: var(--cream);
  color: var(--brown);
  max-width: 380px;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.project-featured__quote p { font-size: .95rem; line-height: 1.6; }
.project-featured__quote cite {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.project-featured__quote cite span { margin-right: 16px; }

@media (max-width: 900px) {
  .project-featured { flex-direction: column; align-items: stretch; padding: 24px; gap: 20px; }
  .project-featured__quote { margin: 0; max-width: 100%; }
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(57,27,6,.85), rgba(57,27,6,0) 60%);
}
.project-card:hover img { transform: scale(1.08); }
.project-card__caption {
  position: absolute; left: 20px; right: 20px; bottom: 16px;
  z-index: 2; color: var(--cream);
}
.project-card h3 {
  font-family: var(--font-display);
  color: var(--lilac);
  font-size: 1.5rem;
  font-weight: 400;
}
.project-card p { font-size: .95rem; }

@media (max-width: 900px) {
  .projects__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .projects__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   WHAT'S INCLUDED / TIMELINE
   ========================================================= */
.included { background: var(--sand); padding: var(--pad-y) var(--gutter); }
.included__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.included__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.8vw + 1.2rem, 3rem);
  max-width: 14ch;
}

.timeline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.timeline::before {
  /* shared line every item's connector drops down from */
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: rgba(57,27,6,.22);
}
.timeline__item {
  position: relative;
  flex: 1;
  max-width: 220px;
  --stub: 40px;
  padding-top: var(--stub);
}
.timeline__item--down { --stub: 112px; }

.timeline__item::before {
  /* dot at the base of the connector, right above the content */
  content: '';
  position: absolute;
  top: calc(var(--stub) - 4px);
  left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brown);
  z-index: 1;
}
.timeline__item::after {
  /* vertical connector from the shared line down to the dot */
  content: '';
  position: absolute;
  top: 0;
  left: 3px;
  width: 1px;
  height: calc(var(--stub) - 4px);
  background: rgba(57,27,6,.22);
}

.timeline__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 3vw, 4.5rem);
  color: var(--brown);
  opacity: .18;
  line-height: 1;
  margin-bottom: 4px;
}
.timeline__item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.timeline__item p { font-size: .9rem; line-height: 1.5; }

@media (max-width: 900px) {
  .timeline { flex-direction: column; gap: 32px; }
  .timeline::before { display: none; }
  .timeline__item, .timeline__item--down { --stub: 0px; max-width: none; padding-top: 0; padding-left: 24px; }
  .timeline__item::before { top: 6px; }
  .timeline__item::after { display: none; }
}

.cta-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--olive);
  min-height: 200px;
  display: flex;
  align-items: center;
}
.cta-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .18;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 72px);
}
.cta-banner__content p {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.4vw + 1rem, 2.1rem);
  max-width: 34ch;
  font-weight: 400;
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio {
  background: var(--grey-green);
  padding: var(--pad-y) var(--gutter);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 96px);
  flex-wrap: wrap;
}
.portfolio h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.8vw + 1.2rem, 2.75rem);
  flex: 1 1 320px;
  max-width: 14ch;
}
.portfolio__img {
  width: clamp(120px, 14vw, 184px);
  border-radius: 8px;
  aspect-ratio: 184 / 238;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform .5s var(--ease);
}
.portfolio__img:hover { transform: rotate(-2deg) scale(1.03); }
.portfolio__copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 30em;
}
.portfolio__copy .btn { align-self: flex-start; }

/* =========================================================
   HOW WE WORK
   ========================================================= */
.process {
  background: var(--olive);
  color: var(--cream);
  padding: var(--pad-y) var(--gutter);
}
.process h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  max-width: 18ch;
  line-height: 1.25;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.process h2 em { color: var(--lilac); }

.process__list {
  display: flex;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.process__list li { flex: 1; position: relative; }
.process__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lilac);
  font-size: clamp(2.2rem, 2.6vw, 4rem);
  line-height: 1;
  margin-bottom: 20px;
}
/* each item carries its own segment of the accent line, so the line's
   vertical position always tracks the number's actual rendered height
   instead of guessing a fixed pixel offset; only the last segment gets
   the end-dot, matching the Figma line+dot asset */
.process__line {
  position: relative;
  display: block;
  height: 2px;
  border-radius: 1px;
  background: rgba(247,242,233,.45);
  margin-bottom: 28px;
}
.process__list li:last-child .process__line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
  transform: translate(50%, -50%);
}
.process__list h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.process__list p { font-size: .92rem; line-height: 1.55; }
.process__list a { text-decoration: underline; }

@media (max-width: 900px) {
  .process__list { flex-direction: column; gap: 32px; }
  .process__line { display: none; }
}

/* =========================================================
   PARTNER
   ========================================================= */
.partner {
  position: relative;
  overflow: hidden;
}
.partner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.partner::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(57,27,6,.68);
}
.partner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 96px);
  flex-wrap: wrap;
  padding: var(--pad-y) var(--gutter);
  color: var(--cream);
}
.partner__text {
  flex: 1 1 420px;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.partner__text h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--lilac);
  font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem);
  line-height: 1.3;
}
.partner__text .btn { align-self: flex-start; }
.partner__grid {
  flex: 1 1 420px;
  max-width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.partner__grid h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.partner__grid p { font-size: .95rem; }
@media (max-width: 560px) {
  .partner__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--pad-y) var(--gutter); }
.faq h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 2.8vw + 1rem, 3.5rem);
  line-height: 1.15;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.faq__layout {
  display: flex;
  gap: clamp(32px, 5vw, 80px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.faq__tabs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 0 0 260px;
}
.faq__tab {
  text-align: left;
  font-size: 1.05rem;
  color: var(--brown);
  opacity: .45;
  padding: 4px 0;
  transition: opacity .25s ease;
}
.faq__tab.is-active { opacity: 1; font-weight: 600; }
.faq__tab:hover { opacity: .8; }

.faq__panels { flex: 1 1 480px; min-width: 0; }
.faq__panel { display: none; }
.faq__panel.is-active { display: block; }

.faq__item { border-bottom: 1px solid rgba(57,27,6,.18); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 1.02rem;
}
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--brown);
  transition: transform .3s var(--ease);
}
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__icon::after   { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__question[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg) scaleX(0); }

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .35s var(--ease);
}
.faq__answer > p {
  overflow: hidden;
  padding-bottom: 0;
  font-size: .95rem;
  line-height: 1.6;
  opacity: .85;
  min-height: 0;
  transition: padding-bottom .35s var(--ease);
}
.faq__question[aria-expanded="true"] + .faq__answer {
  grid-template-rows: 1fr;
}
.faq__question[aria-expanded="true"] + .faq__answer > p {
  padding-bottom: 20px;
}

@media (max-width: 700px) {
  .faq__tabs { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; flex-basis: 100%; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: var(--olive);
  color: var(--cream);
  padding: var(--pad-y) var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 96px);
  flex-wrap: wrap;
}
.contact__info { flex: 1 1 420px; max-width: 540px; display: flex; flex-direction: column; gap: 28px; }
.contact__info h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  line-height: 1.15;
}
.contact__details { display: flex; flex-direction: column; gap: 12px; }
.contact__details a, .contact__details p {
  display: flex; align-items: center; gap: 12px; font-size: 1rem;
}
.contact__details a:hover { text-decoration: underline; }
.contact hr { border: none; border-top: 1px solid rgba(247,242,233,.3); }
.contact__slot p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; }

.contact__form {
  flex: 1 1 420px;
  max-width: 624px;
  background: var(--cream);
  color: var(--brown);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__form h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  text-align: center;
}
.contact__form > p { text-align: center; font-size: .95rem; margin-top: -12px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; opacity: .6; }
.form-field input, .form-field textarea {
  border: none;
  border-bottom: 1px solid rgba(57,27,6,.3);
  padding: 8px 0;
  background: transparent;
  transition: border-color .2s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brown);
}
.form-field input:invalid:not(:placeholder-shown) { border-color: #b3402b; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .8rem;
  opacity: .7;
  cursor: pointer;
}
.form-checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brown); }

.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.is-success { color: #2f6b3a; }
.form-status.is-error { color: #b3402b; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding-top: var(--pad-y);
}
.site-footer__top { padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.site-footer__top h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--lilac);
  font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem);
  line-height: 1.35;
  max-width: 22ch;
}
.site-footer__grid {
  display: flex;
  gap: clamp(32px, 6vw, 96px);
  flex-wrap: wrap;
  padding: 0 var(--gutter) clamp(40px, 6vw, 72px);
  border-bottom: 1px solid rgba(247,242,233,.15);
}
.site-footer__brand { flex: 2 1 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site-footer__brand img { height: 20px; width: auto; }
.site-footer__brand p { opacity: .7; font-size: .95rem; max-width: 30ch; }
.site-footer__links { flex: 1 1 180px; }
.site-footer__links h3 { font-size: .85rem; text-transform: uppercase; opacity: .5; margin-bottom: 16px; }
.site-footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a:hover { text-decoration: underline; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: clamp(20px, 3vw, 28px) var(--gutter);
  font-size: .85rem;
  opacity: .6;
}

/* =========================================================
   RESPONSIVE NAV (mobile)
   ========================================================= */
@media (max-width: 1480px) {
  .navbar__toggle { display: flex; }

  .navbar__menu {
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    background: var(--brown);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 32px clamp(20px, 6vw, 48px);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .navbar__menu.is-open { transform: translateX(0); }

  .navbar__links, .navbar__contact {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .navbar__contact { margin-top: 32px; gap: 20px; }
  .navbar__contact .btn { width: 100%; }

  .navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
  .navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   4K / ULTRA-WIDE
   ========================================================= */
@media (min-width: 2200px) {
  :root { --container: 1800px; }
  body { font-size: 19px; }
}
