/* ═══════════════════════════════════════════════════
   Homepage — home.css
   Two-panel sticky scroll hero effect
═══════════════════════════════════════════════════ */

/* ── Base ── */
.hp-main {
  background: var(--dovetail-bg);
  color: var(--dovetail-dark);
}

.hp-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: 40px;
}


/* ═══════════════════════════════════════════════════
   Hero wrapper — scroll zone
   Natural height: Panel 1 (100vh) + Panel 2 (min 100vh) – peek offset
═══════════════════════════════════════════════════ */

.hp-hero-wrapper {
  position: relative;
}


/* ═══════════════════════════════════════════════════
   Panel 1 — Sticky full-screen hero
═══════════════════════════════════════════════════ */

.hp-panel-1 {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dovetail-dark);
}

/* Background image
   Starts 10% above panel to allow parallax without showing white space */
.hp-panel-1-bg {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  bottom: -10%;
  z-index: 0;
  will-change: transform;
}

/* Slides are stacked; only opacity animates (compositor-only, no CLS) */
.hp-panel-1-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.hp-panel-1-bg img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hp-panel-1-bg img {
    transition: none;
  }
}

/* Gradient overlay — stronger on left for content legibility */
.hp-panel-1-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.48) 55%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

/* Hero content */
.hp-panel-1-content {
  position: relative;
  z-index: 2;
  padding-top: 80px; /* clear sticky header */
  will-change: opacity, transform;
}

/* Eyebrow — warm taupe against the dark hero overlay */
.hp-panel-1-content .hp-eyebrow {
  color: var(--dovetail-taupe-300);
}

/* H1 */
.hp-panel-1-content h1 {
  margin: 0 0 10px;
  line-height: 0.95;
}

.hp-h1-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 600;
  color: var(--dovetail-white);
  letter-spacing: -0.01em;
}

.hp-h1-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.86);
  margin-top: -4px;
}

/* Description */
.hp-hero-desc {
  max-width: 580px;
  margin: 0 0 48px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.0rem, 2vw, 1.3rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
}

/* CTA row */
.hp-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 42px;
  background: var(--green-soft);
  color: var(--dovetail-off-white);
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hp-btn-primary:hover {
  background: var(--dovetail-taupe-300);
  color: var(--dovetail-dark);
  transform: translateY(-2px);
}

.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--dovetail-white);
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hp-btn-ghost:hover {
  border-color: none !important;
  color: var(--dovetail-white);
  background: var(--dovetail-green-950);
  transform: translateY(-2px);
}

/* ── Scroll cue ── */
.hp-scroll-cue {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.35s ease;
  will-change: opacity;
}

.hp-scroll-cue-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.625rem;        /* 10px */
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Animated chevron arrow */
.hp-scroll-cue-arrow {
  display: block;
  width: 16px;
  height: 16px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
  animation: hp-cue-bounce 1.9s ease-in-out infinite;
}

@keyframes hp-cue-bounce {
  0%, 100% { transform: rotate(45deg) translate(0,    0);  }
  50%       { transform: rotate(45deg) translate(4px, 4px); }
}


/* ═══════════════════════════════════════════════════
   Panel 2 — Slides up over Panel 1
   Negative margin creates the "peek" from bottom
═══════════════════════════════════════════════════ */

.hp-panel-2 {
  position: relative;
  z-index: 2;
  margin-top: -80px;          /* peek 80px above panel 1 bottom */
  background: var(--dovetail-white); 
  padding: 100px 0 100px;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Pull-bar handle — visual affordance */
.hp-pull-bar {
  width: 44px;
  height: 4px;
  background: rgba(31, 30, 27, 0.15);
  border-radius: 2px;
  margin: 0 auto 56px;
}

/* ── 70 / 30 grid inside panel 2 ── */
.hp-panel-2-inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: center;
}

/* Right column — image */
.hp-panel-2-img-wrap {
  position: relative;
  overflow: hidden;
  align-self: stretch;       /* match left column height */
  min-height: 420px;
}

.hp-panel-2-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Eyebrow */
.hp-panel-2-eyebrow {
  display: block;
  margin-bottom: 1px;
  font-family: "Cal Sans", sans-serif !important;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dovetail-taupe);
}

/* H2 */
.hp-panel-2-inner h2 {
  margin: 0 0 64px;
  line-height: 1;
}

.hp-panel2-ott {
  font-family: "Old Standard TT", serif;
  text-transform: capitalize;
  font-style: italic;
  font-size: clamp(2.25rem, 5vw, 4rem);        /* 36px → 64px */
  font-weight: 400;
  color: var(--dovetail-dark);
}

/* Stats row */
.hp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 56px 0;
  border-top: 1px solid rgba(31, 30, 27, 0.1);
  border-bottom: 1px solid rgba(31, 30, 27, 0.1);
  margin-bottom: 56px;
}

.hp-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 40px;
}

.hp-stat + .hp-stat {
  padding-left: 40px;
  padding-right: 40px;
  border-left: 1px solid rgba(31, 30, 27, 0.1);
}

.hp-stat:last-child {
  padding-right: 0;
}

.hp-stat-number {
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(4rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--dovetail-dark);
}

.hp-stat-number span {
  color: var(--dovetail-taupe-500);
}

/* Boutique headline — refined scale so word-statements sit level with the
   "20+" figure (replaces the oversized number style in the stats row). */
.hp-stat-headline {
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dovetail-dark);
}

.hp-stat-headline span {
  color: var(--dovetail-taupe-500);
}

/* The single numeric figure ("20+") gets a larger scale so it reads as the
   anchor stat next to the shorter word-statements. */
.hp-stat-headline--figure {
  font-size: clamp(2.75rem, 4.5vw, 3.5rem);
  line-height: 1;
}

.hp-stat-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.8125rem;        /* 13px */
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dovetail-taupe);
}

/* Panel 2 description */
.hp-panel-2-desc {
  margin: 0 0 32px;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dovetail-dark-500);
  max-width: 540px;
}

/* Panel 2 CTA link */
.hp-panel-2-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid var(--dovetail-dark);
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dovetail-dark);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.hp-panel-2-link:hover {
  background: var(--dovetail-dark);
  color: var(--dovetail-white);
  border-color: var(--dovetail-dark);
  gap: 16px;
}


/* ═══════════════════════════════════════════════════
   Featured Projects section
═══════════════════════════════════════════════════ */

.hp-proj-section {
  background: var(--dovetail-white);
  padding: 120px 0 140px;
}

/* Section header row */
.hp-proj-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

/* Eyebrow */
.hp-proj-eyebrow {
  display: block;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-taupe);
}

/* Heading */
.hp-proj-heading-group h2 {
  margin: 0;
  line-height: 0.95;
}

.hp-proj-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2.375rem, 6vw, 5.125rem);        /* 38px → 82px */
  font-weight: 600;
  color: var(--dovetail-dark);
  letter-spacing: -0.01em;
}

.hp-proj-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(2.75rem, 4vw, 4.25rem);        /* 44px → 68px */
  font-weight: 400;
  color: var(--dovetail-dark);
  margin-top: -2px;
}

/* View all link */
.hp-proj-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dovetail-dark);
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.hp-proj-view-all:hover {
  color: var(--dovetail-accent);
  gap: 16px;
}

/* View all — below the list */
.hp-proj-view-all-wrap {
  margin-top: 48px;
  text-align: center;
}

.hp-proj-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--dovetail-accent-strong);
  color: var(--dovetail-white);
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, gap 0.25s ease;
}

.hp-proj-view-all-btn:hover {
  background: var(--dovetail-accent);
  gap: 16px;
}

/* ── Project list — one row per project ── */
.hp-proj-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hp-proj-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

/* Left: image */
.hp-proj-row-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.hp-proj-row-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-proj-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hp-proj-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.hp-proj-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hp-proj-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-proj-row:hover .hp-proj-slide.is-active img,
.hp-proj-row:hover .hp-proj-row-img-wrap img {
  transform: scale(1.04);
}

/* Right: content */
.hp-proj-row-body {
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dovetail-white);
}

.hp-proj-subsection--spaced {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(31, 30, 27, 0.1);
}

.hp-proj-status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--dovetail-dark);
  color: var(--dovetail-white);
  border-radius: 2px;
}

/* Type · City meta line */
.hp-proj-row-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
}

.hp-proj-row-type {
  font-family: "Roboto", sans-serif;
  font-size: 0.625rem;        /* 10px */
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dovetail-accent);
}

.hp-proj-row-city {
  margin: -20px 0 20px;
  font-family: "Old Standard TT", serif !important;
  font-style: italic;
  font-size: clamp(1.5rem, 2vw, 1.75rem);        /* 24px → 28px */
  font-weight: 400;
  color: var(--dovetail-text-muted);
  letter-spacing: normal;
  text-transform: none;
}

/* Title */
.hp-proj-row-title {
  margin: 0 0 20px;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.875rem);        /* 28px → 46px */
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.01em;
}

.hp-proj-row-title a {
  color: var(--dovetail-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.hp-proj-row-title a:hover {
  color: var(--dovetail-accent);
}

/* 15-word intro */
.hp-proj-row-intro {
  margin: 0 0 28px;
  font-family: "Roboto", sans-serif;
  font-size: 0.9375rem;        /* 15px */
  line-height: 1.75;
  color: var(--dovetail-text-soft);
  max-width: 54ch;
}

/* ── "View Architectural Specs" accordion (replaces intro on the card) ── */
.hp-proj-specs {
  margin: 0 0 28px;
  max-width: 54ch;
  border-top: 1px solid var(--dovetail-border);
  border-bottom: 1px solid var(--dovetail-border);
}

/* Toggle — full reset to kill Elementor/theme button defaults */
.hp-proj-specs-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.hp-proj-specs-doc {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--dovetail-accent);
}

.hp-proj-specs-label {
  flex: 1;
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;          /* 12px */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dovetail-text);
  transition: color 0.25s ease;
}

.hp-proj-specs-toggle:hover .hp-proj-specs-label,
.hp-proj-specs-toggle:focus-visible .hp-proj-specs-label {
  color: var(--dovetail-accent-strong);
}

/* +/− icon (cross-fades on open, mirrors the FAQ accordion) */
.hp-proj-specs-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--dovetail-accent-strong);
}

.hp-proj-specs-icon-plus,
.hp-proj-specs-icon-minus {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: opacity 0.2s ease;
}

.hp-proj-specs-icon-minus { opacity: 0; }

.hp-proj-specs.hp-proj-specs-open .hp-proj-specs-icon-plus  { opacity: 0; }
.hp-proj-specs.hp-proj-specs-open .hp-proj-specs-icon-minus { opacity: 1; }

/* Panel — smooth CSS grid expand trick (mirrors the FAQ accordion) */
.hp-proj-specs-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-proj-specs.hp-proj-specs-open .hp-proj-specs-panel {
  grid-template-rows: 1fr;
}

.hp-proj-specs-panel-inner {
  overflow: hidden;
}

.hp-proj-spec {
  margin: 0;
  padding-bottom: 14px;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;         /* 14px */
  line-height: 1.6;
  color: var(--dovetail-accent-strong);
}

.hp-proj-spec:first-child { padding-top: 2px; }
.hp-proj-spec:last-child  { padding-bottom: 22px; }

.hp-proj-spec-label {
  font-weight: 700;
  color: var(--dovetail-text);
}

/* Alternating layout — even rows flip image to the right */
.hp-proj-row:nth-child(even) .hp-proj-row-img-wrap {
  order: 2;
}
.hp-proj-row:nth-child(even) .hp-proj-row-body {
  order: 1;
}

/* Challenge block */
.hp-proj-row-chal {
  margin: 0 0 36px;
  padding-top: 5px;
}

.hp-proj-row-chal p {
  margin: 0;
  border: none;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: 0.9375rem;        /* 15px */
  line-height: 1.65;
  color: var(--dovetail-text-soft);
  max-width: 54ch;
}

/* View Project button */
.hp-proj-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 28px;
  border: 1px solid var(--dovetail-text);
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dovetail-text);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.hp-proj-row-btn:hover {
  background: var(--dovetail-text);
  color: var(--dovetail-white);
}


/* ═══════════════════════════════════════════════════
   Scroll-reveal system
   .hp-reveal      → fade + rise (most elements)
   .hp-reveal-fade → fade only  (full-height image cols)
   Add .hp-visible via IntersectionObserver in home.js
═══════════════════════════════════════════════════ */

.hp-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity   0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-reveal.hp-visible {
  opacity: 1;
  transform: translateY(0);
}

.hp-reveal-fade {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-reveal-fade.hp-visible {
  opacity: 1;
}

/* Honour reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hp-reveal,
  .hp-reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ═══════════════════════════════════════════════════
   The Dovetail Difference section
═══════════════════════════════════════════════════ */

.hp-diff-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--dovetail-bg) 0%, var(--dovetail-white) 100%);
  padding: 120px 0 140px;
}

/* ── Layer 1: grain / paper texture ── */
.hp-diff-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;                     /* above plain background */
  pointer-events: none;
  /* SVG feTurbulence tile — 200 × 200 px, repeating */
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23g)' opacity='1'/></svg>");
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: multiply;       /* blends naturally with cream */
}

/* ── Layer 2: abstract SVG lines + circles ── */
.hp-diff-bg-art {
  position: absolute;
  inset: 0;
  z-index: 2;                     /* above grain */
  pointer-events: none;
}

.hp-diff-bg-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Eyebrow + heading block */
.hp-diff-top {
  position: relative;
  z-index: 3;                     /* above both texture layers */
  margin-bottom: 80px;
  max-width: 860px;
}

.hp-diff-eyebrow {
  display: block;
  margin-bottom: 24px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-taupe);
}

.hp-diff-top h2 {
  margin: 0;
  line-height: 0.95;
}

.hp-diff-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2.375rem, 6vw, 4rem);        /* 38px → 64px */
  font-weight: 600;
  color: var(--dovetail-dark);
  letter-spacing: -0.01em;
}

.hp-diff-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(2.375rem, 4vw, 3.375rem);        /* 38px → 54px */
  font-weight: 400;
  color: var(--dovetail-dark);
  margin-top: -2px;
}

/* 3-column grid — top border creates visual divider */
.hp-diff-grid {
  position: relative;
  z-index: 3;                     /* same layer as heading, above textures */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── Card: an architect's title-block ──
   Flat and square by doctrine (No-Shadow Rule): white surface lifting
   off the cream section, edge defined by a 1px hairline border, depth
   carried by a faint blueprint grid rather than a shadow. */
.hp-diff-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 34px;
  background: var(--dovetail-surface);
  border: 1px solid var(--dovetail-border);
  transition: border-color 0.3s ease;
}

/* Faint blueprint grid bleeding up from the base — echoes the
   draughtsman line-art behind the section (.hp-diff-bg-art) */
.hp-diff-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, var(--dovetail-border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--dovetail-border) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 85%);
          mask-image: linear-gradient(to bottom, transparent, #000 85%);
}

/* Keep all content above the grid texture */
.hp-diff-item > * {
  position: relative;
  z-index: 1;
}

.hp-diff-item:hover {
  border-color: var(--dovetail-taupe-500);
}

/* ── Top row: drawing-sheet index + category tag ── */
.hp-diff-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 26px;
}

.hp-diff-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}

.hp-diff-index-num {
  font-size: 0.8125rem;        /* 13px */
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dovetail-accent-strong);   /* darker bronze — clears contrast */
}

.hp-diff-index-cat {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dovetail-text-muted);
}

.hp-diff-index-cat::before {        /* short architectural tick before the label */
  content: "";
  width: 16px;
  height: 1px;
  margin-right: 12px;
  background: var(--dovetail-border);
}

.hp-diff-tag {
  flex-shrink: 0;
  padding: 5px 11px;
  background: var(--dovetail-surface-soft);
  border: 1px solid var(--dovetail-border);
  font-family: var(--font-body);
  font-size: 0.625rem;        /* 10px */
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dovetail-text-muted);
}

/* ── Title: Old Standard TT italic — the brand's editorial voice ── */
.hp-diff-item h3 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.875rem);        /* 24px → 30px */
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--dovetail-text);
  text-wrap: balance;
}

.hp-diff-item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;        /* 15px */
  line-height: 1.85;
  color: var(--dovetail-text-soft);   /* deeper than dark-500 for readability */
}


/* ═══════════════════════════════════════════════════
   Founder — Adam Patel (dark section)
═══════════════════════════════════════════════════ */

.hp-adam-section {
  background: var(--dovetail-dark);
  color: var(--dovetail-white);
  min-height: 85vh;
  min-height: 85dvh;
}

/* Full-bleed 2-col grid — image left, content right */
.hp-adam-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  min-height: 85dvh;
}

/* ── Portrait column ── */
.hp-adam-img-col {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.hp-adam-img-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Content column ── */
.hp-adam-content-col {
  display: flex;
  align-items: center;
  padding: 100px 80px;
}

.hp-adam-content {
  width: 100%;
  max-width: 560px;
}

/* Gold eyebrow */
.hp-adam-eyebrow {
  display: block;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-green-200);
}

/* Heading block */
.hp-adam-h2 {
  margin: 0 0 28px;
  line-height: 0.88;
}

/* "Master" — Cal Sans, very large */
.hp-adam-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  /* "Boutique Homes" is ~14 chars — scaled to fit the 50%-wide content column */
  font-size: clamp(2rem, 4.5vw, 4rem);        /* 32px → 64px */
  font-weight: 600;
  color: var(--dovetail-white);
  letter-spacing: -0.02em;
  white-space: nowrap;            /* keep both words on one line */
}

/* "by Adam Patel" — Old Standard TT italic */
.hp-adam-h2-byline {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(2rem, 2.4vw, 2.375rem);        /* 32px → 38px */
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

/* Tagline */
.hp-adam-tagline {
  margin: 0 0 36px;
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dovetail-taupe);
}

/* Bio — separated by a faint rule */
.hp-adam-bio {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.hp-adam-bio p {
  margin: 0 0 22px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.0625rem, 2vh, 1.125rem);        /* 17px → 18px */
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.58);
}

.hp-adam-bio p:last-child {
  margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════
   Tablet — ≤ 1024px
═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {

  .hp-container {
    padding-inline: 24px;
  }

  .hp-panel-1-content {
    padding-top: 70px;
  }

  .hp-stats-row {
    gap: 0;
  }

  .hp-stat {
    padding-right: 30px;
  }

  .hp-stat + .hp-stat {
    padding-left: 30px;
    padding-right: 30px;
  }

  /* Panel 2 — 70/30 tighten gap on tablet */
  .hp-panel-2-inner {
    gap: 40px;
  }

  /* Projects section */
  .hp-proj-section {
    padding: 90px 0 110px;
  }

  .hp-proj-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* Mobile: always image → data, even on flipped (even) rows */
  .hp-proj-row:nth-child(even) .hp-proj-row-img-wrap {
    order: 0;
  }
  .hp-proj-row:nth-child(even) .hp-proj-row-body {
    order: 0;
  }

  .hp-proj-row-img-wrap {
    height: 320px;
    position: relative;
  }

  .hp-proj-row-body {
    padding: 40px 32px;
  }

  /* Difference section */
  .hp-diff-section {
    padding: 90px 0 110px;
  }

  .hp-diff-top {
    margin-bottom: 60px;
  }

  .hp-diff-grid {
    gap: 16px;
  }

  .hp-diff-item {
    padding: 24px 22px 28px;
  }

  /* Adam section — tighten content padding on tablet */
  .hp-adam-content-col {
    padding: 80px 48px;
  }

}


/* ═══════════════════════════════════════════════════
   Mobile — ≤ 767px
═══════════════════════════════════════════════════ */

@media (max-width: 767px) {

  .hp-container {
    padding-inline: 18px;
  }

  /* Panel 1 */
  .hp-panel-1-content {
    padding-top: 64px;
  }

  .hp-eyebrow {
    font-size: 0.625rem;        /* 10px */
    margin-bottom: 20px;
    letter-spacing: 0.16em;
  }

  .hp-hero-desc {
    margin-bottom: 36px;
  }

  .hp-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hp-btn-primary,
  .hp-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hp-scroll-cue {
    bottom: 28px;
  }

  /* Panel 2 */
  .hp-panel-2 {
    margin-top: -60px;
    padding: 65px 0 80px;
  }

  .hp-pull-bar {
    margin-bottom: 40px;
  }

  .hp-panel-2-inner h2 {
    margin-bottom: 44px;
  }

  .hp-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 45px 20px;
    padding: 40px 0;
  }

  .hp-stat,
  .hp-stat + .hp-stat {
    padding: 0;
    border: none;
  }


  /* Panel 2 — stack to single column on mobile */
  .hp-panel-2-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Image shows below content on mobile */
  .hp-panel-2-img-wrap {
    display: block;
    min-height: 280px;
    position: relative;
  }

  .hp-panel-2-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Projects section */
  .hp-proj-section {
    padding: 72px 0 90px;
  }

  .hp-proj-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 44px;
  }

  .hp-proj-view-all {
    margin-top: 10px; 
    margin-bottom: 0;
  }

  .hp-proj-row-body {
    padding: 32px 24px;
  }

  /* Difference section — stack to single column */
  .hp-diff-section {
    padding: 72px 0 90px;
  }

  .hp-diff-top {
    margin-bottom: 48px;
  }

  .hp-diff-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-diff-item {
    padding: 26px 24px 30px;
  }

  /* Adam section — stack: content top, portrait bottom */
  .hp-adam-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  /* Content first on mobile */
  .hp-adam-content-col {
    order: 1;
    padding: 60px 24px 56px;
  }

  /* Portrait second (bottom) on mobile */
  .hp-adam-img-col {
    order: 2;
    min-height: 420px;
  }

  .hp-adam-img-col img {
    position: absolute;
    object-position: center center; /* centred portrait on mobile */
  }

  /* Fit "Boutique Homes" on one line within full-width column */
  .hp-adam-h2-cal {
    font-size: clamp(1.75rem, 9vw, 2.875rem);        /* 28px → 46px */
  }

}


/* ═══════════════════════════════════════════════════
   What I Do — services section
═══════════════════════════════════════════════════ */

.hp-wid-section {
  position: relative;
  overflow: hidden;
  background: var(--dovetail-green-950);
  padding: 120px 0 140px;
}

/* Header */
.hp-wid-header {
  margin-bottom: 30px;
  padding-bottom: 72px;
}

.hp-wid-eyebrow {
  display: block;
  margin-bottom: 24px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-green-200);
}

.hp-wid-header h2 {
  margin: 0;
  line-height: 1;
}

.hp-wid-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.375rem);        /* 32px → 54px */
  font-weight: 600;
  color: var(--dovetail-white);
  letter-spacing: -0.015em;
  line-height: 0.97;
}

.hp-wid-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(2.75rem, 3.8vw, 3.875rem);        /* 44px → 62px */
  font-weight: 400;
  color: var(--dovetail-taupe-500);
  margin-top: 0px;
}

/* Two-column grid */
.hp-wid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}

/* Column header row — eyebrow + heading left, icon right */
.hp-wid-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hp-wid-col-header-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-wid-col-eyebrow {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 0.625rem;        /* 10px */
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dovetail-taupe-500);
}

.hp-wid-col-heading {
  margin: 0;
  font-family: "Old Standard TT", serif;
  font-size: clamp(1.375rem, 3vw, 2rem);        /* 22px → 32px */
  font-weight: 400;
  color: var(--dovetail-white);
  line-height: 1.1;
}

/* Thin circle icon */
.hp-wid-col-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dovetail-green-200);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.hp-wid-col:hover .hp-wid-col-icon {
  border-color: var(--dovetail-taupe-700);
  color: var(--dovetail-taupe-500);
}

/* List with em-dash markers */
.hp-wid-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-wid-list li {
  position: relative;
  padding: 15px 0 15px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: "Roboto", sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);        /* 16px → 18px */
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.hp-wid-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 15px;
  font-family: "Old Standard TT", serif;
  font-size: 0.8125rem;        /* 13px */
  color: var(--dovetail-accent);
  line-height: 1.65;
  pointer-events: none;
}

.hp-wid-list li:hover {
  color: var(--dovetail-taupe-500);
  padding-left: 32px;
}

.hp-wid-list li:last-child {
  border-bottom: none;
}

/* Service lines link to their dedicated service page */
.hp-wid-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.hp-wid-list li:hover .hp-wid-link {
  color: var(--dovetail-white);
}
.hp-wid-link:focus-visible {
  outline: 2px solid var(--dovetail-accent);
  outline-offset: 3px;
}

/* CTA row */
.hp-wid-cta {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-wid-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--dovetail-white);
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
}

.hp-wid-cta-btn:hover {
  background: var(--dovetail-accent);
  border-color: var(--dovetail-accent);
  color: var(--dovetail-dark);
  gap: 18px;
}

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .hp-wid-section { padding: 90px 0 110px; }
  .hp-wid-header { margin-bottom: 60px; padding-bottom: 56px; }
  .hp-wid-grid { gap: 0 48px; }
}

/* Mobile ≤ 767px */
@media (max-width: 767px) {
  .hp-wid-section { padding: 72px 0 90px; }
  .hp-wid-header { margin-bottom: 38px; padding-bottom: 34px; }
  .hp-wid-grid { grid-template-columns: 1fr; gap: 48px 0; }
  .hp-wid-cta { margin-top: 48px; padding-top: 36px; }
  .hp-wid-cta-btn { width: 100%; justify-content: center; }
}


/* ═══════════════════════════════════════════════════
   Where I Build section
═══════════════════════════════════════════════════ */

.hp-where-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 85vh;
  min-height: 85dvh;
  padding: clamp(80px, 9vw, 120px) 0;
  background: var(--dovetail-white);
  border-top: 1px solid rgba(35, 39, 31, 0.08);
}

/* ── Intro — asymmetric: statement | context ── */
.hp-where-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.hp-where-heading {
  margin: 0;
  line-height: 0.97;
  text-wrap: balance;
}

.hp-where-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);        /* 36px → 68px */
  font-weight: 600;
  color: var(--dovetail-text);
  letter-spacing: -0.015em;
}

.hp-where-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(2rem, 3.6vw, 3.25rem);        /* 32px → 52px */
  font-weight: 400;
  color: var(--dovetail-text);
  margin-top: 6px;
}

.hp-where-desc {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);        /* 15px → 17px */
  line-height: 1.8;
  color: var(--dovetail-text-soft);
  max-width: 48ch;
  text-wrap: pretty;
}

/* ── Service areas ── */
.hp-where-areas {
  border-top: 1px solid var(--dovetail-border);
}

.hp-where-area-heading {
  margin: 0;
  font-family: "Cal Sans", sans-serif;
  font-weight: 600;
  color: var(--dovetail-text);
  letter-spacing: -0.01em;
}

/* Neighbourhood lists — semantic <ul>, inline wrap with muted separators */
.hp-where-hoods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  color: var(--dovetail-text-soft);
}

.hp-where-hoods li {
  white-space: nowrap;
}

.hp-where-hoods li:not(:last-child)::after {
  content: "·";
  margin: 0 0.6em;
  color: var(--dovetail-dark-300);
  font-style: normal;
}

/* ── Primary tier — East End (the home base) ── */
.hp-where-area--primary {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) 1.2fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--dovetail-border);
}

.hp-where-area-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hp-where-area--primary .hp-where-area-heading {
  font-size: clamp(1.75rem, 3vw, 2.75rem);        /* 28px → 44px */
  line-height: 1;
}

.hp-where-hoods--lead {
  font-size: clamp(1rem, 1.4vw, 1.3125rem);        /* 16px → 21px */
  line-height: 1.75;
  padding-top: 6px;
}

/* Home-base marker — the scarce green accent */
.hp-where-base {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dovetail-green-950);
}

.hp-where-base-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dovetail-green-950);
  flex-shrink: 0;
}

/* ── Secondary tier — Central & Midtown | Greater Toronto ── */
.hp-where-area-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  padding-top: clamp(32px, 4vw, 48px);
}

.hp-where-area--secondary .hp-where-area-heading,
.hp-where-area--reach .hp-where-area-heading {
  font-size: clamp(1.3125rem, 1.9vw, 1.75rem);        /* 21px → 28px */
  margin-bottom: 16px;
}

.hp-where-area--secondary .hp-where-hoods {
  font-size: clamp(0.875rem, 1.1vw, 1rem);        /* 14px → 16px */
  line-height: 1.85;
}

.hp-where-area-desc {
  margin: 0 0 22px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);        /* 14px → 15px */
  line-height: 1.85;
  color: var(--dovetail-text-soft);
  max-width: 46ch;
}

.hp-where-area-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dovetail-green-950);
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.hp-where-area-link:hover {
  color: var(--dovetail-green-600);
  gap: 13px;
}

/* ── Tablet ≤ 1024px ── */
@media (max-width: 1024px) {
  .hp-where-section {
    min-height: auto;
  }
  .hp-where-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }
  .hp-where-area--primary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hp-where-hoods--lead {
    padding-top: 0;
  }
  /* East End heading + Home base sit parallel on tablet/mobile */
  .hp-where-area-head {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .hp-where-base {
    margin-top: 0;
  }
}

/* ── Mobile ≤ 767px ── */
@media (max-width: 767px) {
  .hp-where-area-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hp-where-area--secondary {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--dovetail-border);
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hp-where-area-link { transition: none; }
}


/* ═══════════════════════════════════════════════════
   The Journal — blog preview section
═══════════════════════════════════════════════════ */

.hp-journal-section {
  background: var(--dovetail-bg);
  padding: 120px 0 140px;
  border-top: 1px solid rgba(31, 30, 27, 0.08);
}

/* Header row: left content + right CTA */
.hp-journal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 72px;
}

.hp-journal-eyebrow {
  display: block;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-accent-strong);
}

.hp-journal-header-left h2 {
  margin: 0 0 22px;
  line-height: 0.97;
}

.hp-journal-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.75rem);        /* 32px → 60px */
  font-weight: 600;
  color: var(--dovetail-dark);
  letter-spacing: -0.01em;
}

.hp-journal-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 3rem);        /* 24px → 48px */
  font-weight: 400;
  color: var(--dovetail-dark);
  margin-top: 4px;
}

.hp-journal-desc {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.875rem, 1.1vw, 1rem);        /* 14px → 16px */
  line-height: 1.85;
  color: var(--dovetail-dark-500);
  max-width: 500px;
}

.hp-journal-read-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dovetail-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, gap 0.25s ease;
}

.hp-journal-read-all:hover {
  color: var(--dovetail-accent-strong);
  gap: 15px;
}

/* 3-column card grid */
.hp-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card — feature image fills the background, all content sits on top */
.hp-journal-card {
  position: relative;
  background: var(--dovetail-surface, #ffffff);
  border: 1px solid var(--dovetail-border, rgba(31, 30, 27, 0.12));
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.hp-journal-card:hover {
  transform: translateY(-5px);
  border-color: var(--dovetail-dark-900, #171614);
}

.hp-journal-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

.hp-journal-card-bg {
  display: none;
}

/* Faint blueprint grid bleeding up from the base — matching .hp-diff-item::after */
.hp-journal-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, var(--dovetail-border, rgba(31, 30, 27, 0.14)) 1px, transparent 1px),
    linear-gradient(to bottom, var(--dovetail-border, rgba(31, 30, 27, 0.14)) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 85%);
          mask-image: linear-gradient(to bottom, transparent, #000 85%);
  transition: opacity 0.35s ease, background-image 0.35s ease;
}

.hp-journal-card:hover::after {
  opacity: 0.22;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
}

.hp-journal-card-body {
  position: relative;
  z-index: 2;
  padding: 40px 34px 0;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: transparent;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.hp-journal-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  transition: color 0.35s ease;
}

.hp-journal-card-cat {
  font-family: "Roboto", sans-serif;
  font-size: 0.625rem;        /* 10px */
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--dovetail-dark, #1f1e1b);
  padding: 5px 10px;
  border-radius: 2px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.hp-journal-card-date {
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 30, 27, 0.55);
  transition: color 0.35s ease;
}

.hp-journal-card-title {
  margin: 0 0 14px;
  font-family: "Cal Sans", sans-serif !important;
  font-size: clamp(1.28rem, 1.6vw, 1.48rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--dovetail-dark, #1f1e1b);
  transition: color 0.35s ease;
}

.hp-journal-card-excerpt {
  margin: 0 0 24px;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  line-height: 1.62;
  color: rgba(31, 30, 27, 0.68);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  flex: 1;
  transition: color 0.35s ease;
}

.hp-journal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 22px 0;
  transition: border-color 0.35s ease;
}

.hp-journal-read-story-text {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dovetail-dark, #1f1e1b);
  transition: color 0.35s ease;
}

.hp-journal-read-story-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hp-journal-arrow {
  width: 16px;
  height: 16px;
  stroke: var(--dovetail-dark, #1f1e1b);
  transition: transform 0.35s ease, stroke 0.35s ease;
}

/* Card Hover Dark Mode & Footer Inversion */
.hp-journal-card:hover .hp-journal-card-body,
.hp-journal-card:hover {
  background-color: var(--dovetail-dark-900, #171614);
}

.hp-journal-card:hover .hp-journal-card-title {
  color: #ffffff;
}

.hp-journal-card:hover .hp-journal-card-excerpt {
  color: rgba(255, 255, 255, 0.78);
}

.hp-journal-card:hover .hp-journal-card-date {
  color: rgba(213, 200, 175, 0.85);
}

.hp-journal-card:hover .hp-journal-card-cat {
  background: #d5c8af;
  color: #171614;
}

.hp-journal-card:hover .hp-journal-card-footer {
}   

.hp-journal-card:hover .hp-journal-read-story-text {
  color: #d5c8af;
}

.hp-journal-card:hover .hp-journal-arrow {
  transform: translateX(6px);
  stroke: #d5c8af;
}

.hp-journal-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hp-journal-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-journal-slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 0px !important;
  border: 1px solid rgba(31, 30, 27, 0.2);
  background: #ffffff;
  color: var(--dovetail-dark, #1f1e1b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-journal-slider-btn:hover {
  background: var(--dovetail-dark, #1f1e1b);
  border-color: var(--dovetail-dark, #1f1e1b);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 30, 27, 0.15);
}

/* Post Cards Carousel Slider Viewport & Track */
.hp-journal-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.hp-journal-slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hp-journal-slider-slide {
  flex: 0 0 calc((100% - 60px) / 3);
  width: calc((100% - 60px) / 3);
  min-width: calc((100% - 60px) / 3);
  display: flex;
}

.hp-journal-card {
  width: 100%;
  aspect-ratio: auto !important;
}

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .hp-journal-section { padding: 90px 0 110px; }
  .hp-journal-header { margin-bottom: 40px; }
  .hp-journal-slider-track { gap: 20px; }
  .hp-journal-slider-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }
  .hp-journal-card-body { padding: 32px 24px 0; min-height: 260px; }
}

/* Mobile ≤ 680px */
@media (max-width: 680px) {
  .hp-journal-section { padding: 64px 0 80px; }
  .hp-journal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .hp-journal-header-right {
    width: 100%;
    justify-content: space-between;
  }
  .hp-journal-slider-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }
  .hp-journal-card-body { padding: 26px 20px 0; min-height: auto; }
  .hp-journal-card-title { font-size: 1.2rem; }
  .hp-journal-card-excerpt { font-size: 0.85rem; margin-bottom: 18px; }
  .hp-journal-card-footer { padding: 18px 0; }
}


/* ═══════════════════════════════════════════════════
   Gallery section
═══════════════════════════════════════════════════ */

.hp-gallery-section {
  background: var(--dovetail-white);
  border-top: 1px solid rgba(31, 30, 27, 0.08); /* separator from dark Adam section */
  padding: 120px 0 140px;
}

/* ── Header row: 2-col layout ── */
.hp-gallery-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 72px;
}

/* Left column — eyebrow + title */
.hp-gallery-header-left {
  padding-right: 60px;
}

.hp-gallery-eyebrow {
  display: block;
  margin-bottom: 16px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-taupe);
}

.hp-gallery-header h2 {
  margin: 0;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(3rem, 4vw, 4rem); /* intentionally smaller, editorial */
  font-weight: 400;
  color: var(--dovetail-dark);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

/* Right column — description, visually divided */
.hp-gallery-header-right {
  padding-left: 60px;
  border-left: 1px solid rgba(31, 30, 27, 0.12);
}

.hp-gallery-header-right p {
  margin: 0;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(1.0625rem, 1.8vw, 1.375rem);        /* 17px → 22px */
  line-height: 1.65;
  color: var(--dovetail-dark-500);
}

/* ── Masonry grid (CSS columns) ── */
.hp-gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.hp-gallery-item {
  display: inline-block; /* required for column break-inside */
  width: 100%;
  margin: 0 0 12px;
  break-inside: avoid;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.hp-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle dark veil on hover */
.hp-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.hp-gallery-item:hover img {
  transform: scale(1.05);
}

.hp-gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.18);
}

/* ── CTA button ── */
.hp-gallery-cta {
  text-align: center;
  margin-top: 56px;
}

.hp-gallery-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  border: 1px solid var(--dovetail-dark);
  font-family: "Roboto", sans-serif;
  font-size: 0.8125rem;        /* 13px */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dovetail-dark);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, gap 0.25s ease;
}

.hp-gallery-cta-btn:hover {
  background: var(--dovetail-dark);
  color: var(--dovetail-white);
  gap: 18px;
}

/* ── Tablet ≤ 1024px ── */
@media (max-width: 1024px) {
  .hp-gallery-section {
    padding: 90px 0 110px;
  }

  .hp-gallery-header {
    margin-bottom: 56px;
  }

  .hp-gallery-header-left {
    padding-right: 40px;
  }

  .hp-gallery-header-right {
    padding-left: 40px;
  }

  .hp-gallery-grid {
    columns: 2;
  }
}

/* ── Mobile ≤ 767px ── */
@media (max-width: 767px) {
  .hp-gallery-section {
    padding: 72px 0 90px;
  }

  /* Stack header to single column */
  .hp-gallery-header {
    grid-template-columns: 1fr;
    margin-bottom: 44px;
  }

  .hp-gallery-header-left {
    padding-right: 0;
    margin-bottom: 24px;
  }

  .hp-gallery-header-right {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(31, 30, 27, 0.12);
    padding-top: 24px;
  }

  .hp-gallery-grid {
    columns: 2;
    column-gap: 8px;
  }

  .hp-gallery-item {
    margin-bottom: 8px;
  }
}

/* ── Very small screens ≤ 480px ── */
@media (max-width: 480px) {
  .hp-gallery-grid {
    columns: 1;
  }
}


/* ═══════════════════════════════════════════════════
   Testimonial section
═══════════════════════════════════════════════════ */

.hp-testi-section {
  overflow: hidden;
}

.hp-testi-inner {
  display: grid;
  grid-template-columns: 48fr 52fr;
  min-height: 720px;
}

/* ── Left: full-bleed image with right-edge fade ── */
.hp-testi-img-col {
  position: relative;
  overflow: hidden;
}

.hp-testi-img-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fade image into cream on the right edge */
.hp-testi-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 55%,
    var(--dovetail-bg) 100%
  );
  z-index: 1;
}

/* Gold stat badge — bottom left */
.hp-testi-img-badge {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 2;
  background: var(--cream);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hp-testi-badge-num {
  font-family: "Cal Sans", sans-serif;
  font-size: 2.5rem;        /* 40px */
  font-weight: 400;
  color: var(--green-soft);
  line-height: 1;
}

.hp-testi-badge-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.625rem;        /* 10px */
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(35, 39, 31, 0.65);
}

/* ── Right: cream content panel ── */
.hp-testi-content-col {
  display: flex;
  align-items: center;
  background: var(--dovetail-bg);
  padding: 80px 72px 80px 60px;
  position: relative;
}

/* Giant watermark quote mark */
.hp-testi-content-col::before {
  content: '\201C';
  position: absolute;
  top: 32px;
  right: 52px;
  font-family: "Old Standard TT", serif;
  font-size: 16.25rem;        /* 260px */
  line-height: 1;
  color: var(--dovetail-dark);
  opacity: 0.04;
  user-select: none;
  pointer-events: none;
}

.hp-testi-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
}

/* Heading */
.hp-testi-heading {
  margin: 0 0 40px;
  line-height: 1;
}

.hp-testi-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2.375rem, 3.8vw, 4rem);        /* 38px → 64px */
  font-weight: 400;
  color: var(--dovetail-dark);
  letter-spacing: -0.01em;
  line-height: 1;
}

.hp-testi-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(1.625rem, 2.6vw, 2.875rem);        /* 26px → 46px */
  font-weight: 400;
  color: var(--dovetail-accent);
  line-height: 1.1;
  margin-top: 4px;
}

/* Thin gold divider under heading */
.hp-testi-heading-rule {
  width: 48px;
  height: 2px;
  background: var(--dovetail-accent);
  border: none;
  margin: 0 0 40px;
}

/* ── Slides ── */
.hp-testi-slides-wrap {
  display: grid;
  margin-bottom: 48px;
}

.hp-testi-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.hp-testi-slide.hp-testi-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0s linear 0s;
}

/* Stars */
.hp-testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
  color: var(--dovetail-accent);
}

.hp-testi-slide blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.hp-testi-slide blockquote p {
  margin: 0 0 14px;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(1.1875rem, 1.7vw, 1.5rem);        /* 19px → 24px */
  line-height: 1.72;
  color: var(--dovetail-dark);
}

.hp-testi-slide blockquote p:last-child {
  margin-bottom: 0;
}

.hp-testi-slide cite {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dovetail-taupe);
}

.hp-testi-cite-dash {
  color: var(--dovetail-accent);
  font-size: 1.125rem;        /* 18px */
  font-weight: 300;
  line-height: 1;
}

/* ── Controls ── */
.hp-testi-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hp-testi-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  flex-shrink: 0;
}

.hp-testi-current {
  font-size: 1.375rem;        /* 22px */
  color: var(--dovetail-dark);
  line-height: 1;
}

.hp-testi-sep {
  font-size: 0.8125rem;        /* 13px */
  color: rgba(35, 39, 31, 0.22);
}

.hp-testi-total {
  font-size: 0.8125rem;        /* 13px */
  color: rgba(35, 39, 31, 0.35);
}

.hp-testi-progress {
  flex: 1;
  height: 1px;
  background: rgba(35, 39, 31, 0.12);
  position: relative;
  overflow: hidden;
}

.hp-testi-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--dovetail-accent);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-testi-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hp-testi-prev,
.hp-testi-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(35, 39, 31, 0.20);
  background: transparent !important;
  color: var(--dovetail-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.hp-testi-prev:hover,
.hp-testi-next:hover {
  border-color: var(--dovetail-accent);
  color: var(--dovetail-accent);
}

/* ── Tablet ── */
@media (max-width: 1023px) {
  .hp-testi-content-col {
    padding: 72px 48px;
  }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .hp-testi-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hp-testi-img-col {
    min-height: 340px;
    order: -1;
  }

  .hp-testi-img-col::after {
    background: linear-gradient(to bottom, transparent 60%, var(--dovetail-bg) 100%);
  }

  .hp-testi-img-badge {
    bottom: 28px;
    left: 28px;
    padding: 14px 20px;
  }

  .hp-testi-badge-num { font-size: 1.875rem; }

  .hp-testi-content-col {
    padding: 20px 24px 72px;
  }

  .hp-testi-content-col::before {
    font-size: 10rem;        /* 160px */
    top: 16px;
    right: 16px;
    opacity: 0.03;
  }
}


/* ═══════════════════════════════════════════════════
   CTA section — Collaborate
═══════════════════════════════════════════════════ */

/* Full-bleed two-panel split */
.hp-cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

/* ── Left: dark panel ── */
.hp-cta-left {
  background: var(--dovetail-dark);
  display: flex;
  justify-content: flex-end;
  padding: 100px 72px 100px max(40px, calc((100vw - 1400px) / 2 + 40px));
}

.hp-cta-left-inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-cta-eyebrow {
  display: block;
  margin-bottom: 24px;
  font-family: "Roboto", sans-serif;
  font-size: 0.625rem;        /* 10px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-accent);
}

.hp-cta-heading {
  margin: 0 0 28px;
  line-height: 1;
}

.hp-cta-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(3.25rem, 6vw, 6rem);        /* 52px → 96px */
  font-weight: 400;
  color: var(--dovetail-white);
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.hp-cta-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(2.5rem, 4.8vw, 4.875rem);        /* 40px → 78px */
  font-weight: 400;
  color: var(--dovetail-on-dark-muted);
  line-height: 1.05;
  margin-top: 8px;
}

.hp-cta-body {
  margin: 0 0 44px;
  font-family: "Roboto", sans-serif;
  font-size: 0.9375rem;        /* 15px */
  line-height: 1.85;
  color: var(--dovetail-on-dark-muted);
}

.hp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--dovetail-white);
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hp-cta-btn:hover {
  background: var(--dovetail-accent);
  border-color: var(--dovetail-accent);
  color: var(--dovetail-dark);
}

/* ── Right: green panel ── */
.hp-cta-right {
  background: var(--dovetail-green-800);
  display: flex;
  justify-content: flex-start;
  padding: 100px max(40px, calc((100vw - 1400px) / 2 + 40px)) 100px 72px;
}

.hp-cta-right-inner {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-cta-right-eyebrow {
  display: block;
  margin-bottom: 32px;
  font-family: "Roboto", sans-serif;
  font-size: 0.625rem;        /* 10px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dovetail-green-200);
}

/* ── Name groups ── */
.hp-cta-ngroups {
  margin-bottom: 44px;
}

.hp-cta-ngroup {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-cta-ngroup:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-cta-ncat {
  flex-shrink: 0;
  width: 72px;
  font-family: "Roboto", sans-serif;
  font-size: 0.5625rem;        /* 9px */
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dovetail-green-200);
}

.hp-cta-nlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
}

.hp-cta-nlist li {
  font-family: "Roboto", sans-serif;
  font-size: 0.8125rem;        /* 13px */
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

/* ── Network link ── */
.hp-cta-network-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dovetail-white);
  align-self: flex-start;
  transition: color 0.2s ease;
}

.hp-cta-network-link:hover {
  color: var(--dovetail-green-200);
}

.hp-cta-network-link svg {
  transition: transform 0.2s ease;
}

.hp-cta-network-link:hover svg {
  transform: translateX(4px);
}

/* ── Tablet ── */
@media (max-width: 1023px) {
  .hp-cta-left {
    padding: 80px 56px 80px 40px;
  }

  .hp-cta-right {
    padding: 80px 40px 80px 56px;
  }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .hp-cta-section {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hp-cta-left {
    justify-content: flex-start;
    padding: 72px 24px;
  }

  .hp-cta-left-inner,
  .hp-cta-right-inner {
    max-width: 100%;
  }

  .hp-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .hp-cta-right {
    padding: 72px 24px;
  }
}


/* ═══════════════════════════════════════════════════
   Contact section
═══════════════════════════════════════════════════ */

.hp-contact-section {
  background: var(--dovetail-white);
  padding: 120px 0 140px;
  border-top: 1px solid rgba(31, 30, 27, 0.08);
}

/* Two-column grid: content | form */
.hp-contact-inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 0 100px;
  align-items: start;
}


.hp-contact-h2 {
  margin: 0 0 32px;
  line-height: 1;
}

.hp-contact-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(3rem, 4.8vw, 4.75rem);        /* 48px → 76px */
  font-weight: 600;
  color: var(--dovetail-dark);
  letter-spacing: -0.01em;
  line-height: 1;
}

.hp-contact-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(1.75rem, 3.2vw, 3.375rem);        /* 28px → 54px */
  font-weight: 400;
  color: var(--dovetail-accent);
  line-height: 1.1;
  margin-top: 4px;
}

.hp-contact-desc {
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);        /* 15px → 17px */
  line-height: 1.85;
  color: var(--dovetail-taupe-700);
  margin: 0;
  max-width: 380px;
}

/* ── Middle column — contact entries ── */
.hp-contact-entries {
  padding-top: 8px;
}

.hp-contact-entry {
  padding: 28px 0;
  border-bottom: 1px solid rgba(31, 30, 27, 0.1);
}

.hp-contact-entry:first-child {
  border-top: 1px solid rgba(31, 30, 27, 0.1);
}

.hp-contact-entry-label {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dovetail-dark);
  margin-bottom: 10px;
}

.hp-contact-entry-desc {
  margin: 0 0 12px;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;        /* 14px */
  line-height: 1.75;
  color: var(--dovetail-taupe-700);
}

.hp-contact-entry-link {
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;        /* 14px */
  font-weight: 500;
  color: var(--dovetail-accent-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hp-contact-entry-link:hover {
  color: var(--dovetail-accent);
  border-color: var(--dovetail-accent);
}

/* ── Right column — form card ── */
.hp-contact-right {
  background: var(--dovetail-bg);
  padding: 52px 48px 56px;
  border: 1px solid rgba(31, 30, 27, 0.07);
}

.hp-contact-right .wpcf7 {
  margin: 0;
}

/* CF7 field row spacing */
.hp-contact-right .wpcf7-form p {
  margin: 0 0 20px;
}

.hp-contact-right .wpcf7-form p:last-of-type {
  margin-bottom: 0;
}

/* Labels */
.hp-contact-right .wpcf7-form label {
  display: block;
  margin-bottom: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 0.6875rem;        /* 11px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dovetail-dark);
}

/* Field rows */
.hp-contact-right .wpcf7-form-control-wrap {
  display: block;
}

/* All text/email/tel/textarea inputs */
.hp-contact-right .wpcf7-form input[type="text"],
.hp-contact-right .wpcf7-form input[type="email"],
.hp-contact-right .wpcf7-form input[type="tel"],
.hp-contact-right .wpcf7-form input[type="number"],
.hp-contact-right .wpcf7-form input[type="url"],
.hp-contact-right .wpcf7-form select,
.hp-contact-right .wpcf7-form textarea {
  width: 100%;
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 0.9375rem;        /* 15px */
  font-weight: 400;
  color: var(--dovetail-dark, #1c1c1c);
  background: #faf9f6;
  border: 1.5px solid rgba(29, 51, 38, 0.16);
  border-radius: 4px;
  padding: 16px 20px;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.hp-contact-right .wpcf7-form input[type="text"]::placeholder,
.hp-contact-right .wpcf7-form input[type="email"]::placeholder,
.hp-contact-right .wpcf7-form input[type="tel"]::placeholder,
.hp-contact-right .wpcf7-form textarea::placeholder {
  color: #a09e99;
  font-weight: 300;
  opacity: 1;
}

.hp-contact-right .wpcf7-form input[type="text"]:hover,
.hp-contact-right .wpcf7-form input[type="email"]:hover,
.hp-contact-right .wpcf7-form input[type="tel"]:hover,
.hp-contact-right .wpcf7-form textarea:hover {
  border-color: rgba(29, 51, 38, 0.32);
  background: #ffffff;
}

.hp-contact-right .wpcf7-form input[type="text"]:focus,
.hp-contact-right .wpcf7-form input[type="email"]:focus,
.hp-contact-right .wpcf7-form input[type="tel"]:focus,
.hp-contact-right .wpcf7-form input[type="number"]:focus,
.hp-contact-right .wpcf7-form input[type="url"]:focus,
.hp-contact-right .wpcf7-form select:focus,
.hp-contact-right .wpcf7-form textarea:focus {
  background: #ffffff;
  border-color: var(--dovetail-green-800, #1d3326);
  box-shadow: 0 0 0 4px rgba(29, 51, 38, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

.hp-contact-right .wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Validation error state */
.hp-contact-right .wpcf7-form input.wpcf7-not-valid,
.hp-contact-right .wpcf7-form textarea.wpcf7-not-valid {
  border-color: #c0392b;
  box-shadow: none;
}

.hp-contact-right .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  color: #c0392b;
}

/* Submit button */
.hp-contact-right .wpcf7-form input[type="submit"],
.hp-contact-right .wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 52px;
  background: var(--dovetail-dark);
  color: var(--dovetail-white);
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.hp-contact-right .wpcf7-form input[type="submit"]:hover,
.hp-contact-right .wpcf7-submit:hover {
  background: var(--dovetail-accent);
  transform: translateY(-2px);
}

/* Loading state */
.hp-contact-right .wpcf7-form.submitting input[type="submit"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Response output */
.hp-contact-right .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 20px;
  border: none;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;        /* 14px */
  line-height: 1.6;
}

.hp-contact-right .wpcf7-form.sent .wpcf7-response-output {
  background: rgba(39, 174, 96, 0.08);
  color: var(--dovetail-accent-strong);
  border-left: 3px solid var(--dovetail-accent);
}

.hp-contact-right .wpcf7-form.invalid .wpcf7-response-output,
.hp-contact-right .wpcf7-form.failed .wpcf7-response-output,
.hp-contact-right .wpcf7-form.spam .wpcf7-response-output {
  background: rgba(192, 57, 43, 0.06);
  color: #c0392b;
  border-left: 3px solid #c0392b;
}

/* ── Tablet ── */
@media (max-width: 1023px) {
  .hp-contact-section {
    padding: 90px 0 110px;
  }

  .hp-contact-inner {
    gap: 0 52px;
  }

  .hp-contact-right {
    padding: 40px 36px 44px;
  }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .hp-contact-section {
    padding: 72px 0 88px;
  }

  .hp-contact-inner {
    grid-template-columns: 1fr;
    gap: 52px 0;
  }

  .hp-contact-desc {
    max-width: 100%;
  }

  .hp-contact-right {
    padding: 40px 24px 48px;
  }
}


/* ═══════════════════════════════════════════════════
   FAQ section
═══════════════════════════════════════════════════ */

.hp-faq-section {
  overflow: hidden;
}

/* Full-bleed two-col — no container wrapper */
.hp-faq-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 800px;
}

/* ── Left column ── */
.hp-faq-left {
  background: var(--dovetail-green-950);
  display: flex;
  align-items: flex-start;
  padding: 100px 80px 100px 0;
}

.hp-faq-left-content {
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  padding-left: 40px;
}

.hp-faq-eyebrow {
  color: var(--dovetail-green-200);
  margin-bottom: 24px;
}

.hp-faq-h2 {
  margin: 0 0 64px;
  line-height: 1;
}

.hp-faq-h2-cal {
  display: block;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2.25rem, 3.8vw, 4rem);        /* 36px → 64px */
  font-weight: 400;
  color: var(--dovetail-white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.hp-faq-h2-ott {
  display: block;
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 3.25rem);        /* 28px → 52px */
  font-weight: 400;
  color: var(--dovetail-green-200);
  line-height: 1.05;
  margin-top: 4px;
}

/* ── Accordion list ── */
.hp-faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Question button — full reset to kill Elementor/theme defaults */
.hp-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-align: left;
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.875rem, 1.1vw, 1rem);        /* 14px → 16px */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
  transition: color 0.25s ease;
}

.hp-faq-q:hover,
.hp-faq-q:focus-visible {
  background: transparent !important;
  color: var(--dovetail-white);
}

.hp-faq-item.hp-faq-open .hp-faq-q {
  background: transparent !important;
  color: var(--dovetail-white);
}

/* +/− icon */
.hp-faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  position: relative;
}

.hp-faq-q:hover .hp-faq-icon {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.75);
}

.hp-faq-item.hp-faq-open .hp-faq-icon {
  background: var(--dovetail-green-200);
  border-color: var(--dovetail-green-200);
  color: var(--dovetail-dark);
}

.hp-faq-icon-plus,
.hp-faq-icon-minus {
  position: absolute;
  transition: opacity 0.2s ease;
}

.hp-faq-icon-minus { opacity: 0; }

.hp-faq-item.hp-faq-open .hp-faq-icon-plus  { opacity: 0; }
.hp-faq-item.hp-faq-open .hp-faq-icon-minus { opacity: 1; }

/* Answer — smooth CSS grid expand trick */
.hp-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-faq-item.hp-faq-open .hp-faq-a {
  grid-template-rows: 1fr;
}

.hp-faq-a-inner {
  overflow: hidden;
}

.hp-faq-a-inner p,
.hp-faq-a-inner div {
  margin: 0;
  padding-bottom: 22px;
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;        /* 14px */
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
  max-width: 520px;
}

/* ── Right column: full-height image ── */
.hp-faq-right {
  position: relative;
  overflow: hidden;
}

.hp-faq-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bottom overlay CTA */
.hp-faq-right-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 52px;
  background: linear-gradient(to top, rgba(10,9,8,0.88) 0%, rgba(10,9,8,0.55) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-faq-cta-heading {
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);        /* 20px → 28px */
  font-weight: 400;
  color: var(--dovetail-white);
  margin: 0;
  line-height: 1.2;
}

.hp-faq-cta-sub {
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.375rem);        /* 16px → 22px */
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 24px;
}

.hp-faq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--dovetail-white);
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;        /* 12px */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  align-self: flex-start;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hp-faq-cta-btn:hover {
  background: var(--dovetail-green-200);
  border-color: var(--dovetail-green-200);
  color: var(--dovetail-dark);
}

/* ── Tablet ── */
@media (max-width: 1023px) {
  .hp-faq-left {
    padding: 80px 48px 80px 0;
  }

  .hp-faq-left-content {
    padding-left: 30px;
  }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .hp-faq-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hp-faq-left {
    padding: 72px 18px;
  }

  .hp-faq-left-content {
    max-width: 100%;
    padding-left: 0;
    margin-left: 0;
  }

  .hp-faq-right {
    min-height: 380px;
  }
}
