/* ============================================
   Bright Path Agency — Shared Stylesheet
   ============================================ */

/* Fonts loaded via <link> in <head> (functions.php). Removing @import here
   eliminates the render-blocking serial fetch (~2s LCP win on mobile). */

:root {
  --bg-dark: #2B1810;
  --bg-dark-2: #3A1F12;
  --bg-darker: #1A0E08;
  --bg-light: #FAF7F2;
  --bg-light-2: #F2EDE5;
  --card-dark: #1F1108;
  --card-light: #FFFFFF;
  --orange: #fe7426;
  --orange-hover: #e56419;
  --orange-soft: rgba(254, 116, 38, 0.12);
  --text-dark: #1A0E08;
  --text-muted: #6B5C53;
  --text-light: #FAF7F2;
  --text-light-muted: rgba(250, 247, 242, 0.7);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(26, 14, 8, 0.08);
  --shadow-sm: 0 2px 8px rgba(26, 14, 8, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 14, 8, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 14, 8, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; font-family: 'Syne', sans-serif; font-weight: 600; }

p { color: var(--text-muted); font-family: 'Manrope', system-ui, sans-serif; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.eyebrow.light { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(254, 116, 38, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
}
.btn-outline:hover { background: var(--text-dark); color: white; }

.btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: white; color: var(--text-dark); border-color: white; }

/* ===== NAVIGATION ===== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}
/* Push nav below WP admin bar when logged in. */
body.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
}

.nav.nav-light {
  background: transparent;
  border-bottom: none;
}

/* push hero up so nav overlays on it */
body { position: relative; }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  margin-left: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: white;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.footer .logo-img { height: 44px; margin-bottom: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light-muted);
  font-size: 1.15rem;
  font-weight: 400;
  transition: color 0.15s;
}
.nav-light .nav-links a { color: var(--text-muted); }

.nav-links a:hover { color: white; }
.nav-light .nav-links a:hover { color: var(--text-dark); }

.nav-links a.active { color: var(--orange); }

/* hamburger button */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 200;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s, background 0.2s;
  transform-origin: center;
}
.nav-light .nav-toggle span { background: var(--text-dark); }
.nav.nav-open .nav-toggle span { background: white; }
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta {
  background: var(--orange);
  color: white !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* ===== HERO (DARK) ===== */
.hero-dark {
  background: #0A0604;
  position: relative;
  overflow: hidden;
  color: white;
  padding: 200px 0 100px;
  text-align: center;
  isolation: isolate;
}

.hero-dark::before,
.hero-dark::after,
.hero-dark .blob-1,
.hero-dark .blob-2,
.hero-dark .blob-3 {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.hero-dark::before {
  width: 240px; height: 240px;
  background: radial-gradient(circle, #FF9540 0%, rgba(255,149,64,0.5) 40%, transparent 70%);
  top: -60px; left: -40px;
  animation: blobDrift1 18s ease-in-out infinite alternate;
}

.hero-dark::after {
  width: 220px; height: 220px;
  background: radial-gradient(circle, #FFA85A 0%, rgba(255,168,90,0.45) 45%, transparent 70%);
  bottom: -80px; right: -40px;
  animation: blobDrift2 22s ease-in-out infinite alternate;
}

.hero-dark .blob-1 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #FF8838 0%, transparent 70%);
  top: 35%; left: 15%;
  animation: blobDrift3 14s ease-in-out infinite alternate;
}

.hero-dark .blob-2 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, #FFB870 0%, transparent 70%);
  top: 15%; right: 20%;
  animation: blobDrift4 26s ease-in-out infinite alternate;
}

.hero-dark .blob-3 {
  width: 140px; height: 140px;
  background: radial-gradient(circle, #FF9540 0%, transparent 70%);
  bottom: 10%; left: 40%;
  animation: blobDrift5 16s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(180px, 120px) scale(1.15); }
  66%  { transform: translate(80px, 220px) scale(0.9); }
  100% { transform: translate(220px, 60px) scale(1.1); }
}
@keyframes blobDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-200px, -140px) scale(1.2); }
  66%  { transform: translate(-80px, -260px) scale(0.95); }
  100% { transform: translate(-260px, -40px) scale(1.05); }
}
@keyframes blobDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(280px, -120px) scale(1.25); }
  100% { transform: translate(-120px, 180px) scale(0.85); }
}
@keyframes blobDrift4 {
  0%   { transform: translate(0, 0) scale(0.9); }
  50%  { transform: translate(-220px, 200px) scale(1.3); }
  100% { transform: translate(160px, 280px) scale(1); }
}
@keyframes blobDrift5 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-180px, -160px) scale(1.2); }
  66%  { transform: translate(220px, -80px) scale(0.9); }
  100% { transform: translate(40px, -240px) scale(1.1); }
}

.hero-dark .container { position: relative; z-index: 1; }

.hero-dark h1 {
  color: white;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-dark .subtitle {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
section.compact { padding: 70px 0; }

.section-light { background: var(--bg-light); }
.section-cream { background: var(--bg-light-2); }
.section-dark {
  background: linear-gradient(180deg, #2B1810 0%, #3A1F12 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-dark h2 { color: white; }
.section-dark p { color: var(--text-light-muted); }
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 0%, rgba(254, 116, 38, 0.18), transparent 60%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-head p { font-size: 1.05rem; margin-top: 12px; }

/* ===== CARDS ===== */
.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--card-light);
  border: 1px solid var(--border-light);
  transition: all 0.25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.feature-card .icon-box {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card .icon-box svg { width: 20px; height: 20px; }

.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; }

.service-card {
  background: #0A0604;
  color: white;
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(254, 116, 38, 0.18);
}

.service-card .sb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}
.service-card .sb-1 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, #fe7426 0%, transparent 70%);
  top: -60px; left: -60px;
  animation: sbDrift1 12s ease-in-out infinite alternate;
}
.service-card .sb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #FFA85A 0%, transparent 70%);
  bottom: -50px; right: -40px;
  animation: sbDrift2 16s ease-in-out infinite alternate;
}
.service-card .sb-3 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, #FF8838 0%, transparent 70%);
  top: 40%; right: 30%;
  opacity: 0.5;
  animation: sbDrift3 20s ease-in-out infinite alternate;
}

@keyframes sbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 60px) scale(1.15); }
  100% { transform: translate(40px, 120px) scale(0.95); }
}
@keyframes sbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-90px, -50px) scale(1.2); }
  100% { transform: translate(-30px, -110px) scale(0.9); }
}
@keyframes sbDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-60px, 80px) scale(1.25); }
  100% { transform: translate(70px, -40px) scale(0.85); }
}

.service-card .icon-box {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-card .icon-box svg { width: 22px; height: 22px; color: white; }

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: white;
}
.service-card p { color: var(--text-light-muted); font-size: 0.95rem; margin-bottom: 24px; flex: 1; }

.service-card .view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Syne', sans-serif;
  align-self: flex-start;
  transition: all 0.2s;
  text-decoration: none;
}
.service-card .view-more:hover {
  background: var(--orange);
  color: white;
}
.service-card .view-more svg { width: 12px; height: 12px; }

/* ===== LIST ITEMS ===== */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-list .bullet {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.feature-list .bullet svg { width: 14px; height: 14px; }

.feature-list h4 { margin-bottom: 4px; font-size: 1rem; }
.feature-list p { font-size: 0.9rem; }

/* ===== STATS ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; justify-items: center; }
.stat { text-align: center; }
.stat .num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .num .plus { color: var(--orange); }
.stat .label { color: var(--text-light-muted); font-size: 0.9rem; }

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

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* media column gets more weight than the text column */
.two-col.media-bigger {
  grid-template-columns: 1fr 1.4fr;
  align-items: stretch;
}
.two-col.media-bigger.media-left { grid-template-columns: 1.4fr 1fr; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.media-bigger,
  .two-col.media-bigger.media-left { grid-template-columns: 1fr; align-items: center; }
  /* always show text first, image second on mobile, even when image is in DOM first */
  .two-col > .media-frame { order: 2; }
  .two-col > :not(.media-frame) { order: 1; }
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--bg-light-2);
}
.two-col.media-bigger .media-frame {
  aspect-ratio: auto;
  min-height: 440px;
}
@media (max-width: 900px) {
  .two-col.media-bigger .media-frame { aspect-ratio: 5/4; min-height: 0; }
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CTA STRIPE ===== */
.cta-stripe {
  background: linear-gradient(135deg, #2B1810 0%, #4A2818 100%);
  color: white;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-stripe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(254, 116, 38, 0.18), transparent 70%);
}
.cta-stripe .container { position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.footer {
  background: #14080448;
  background: #0F0704;
  color: var(--text-light-muted);
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

.footer h5 {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--orange); }

.footer-brand p { margin-top: 12px; max-width: 320px; }

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.82rem;
}

/* ===== FORMS ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  color: var(--text-dark);
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.form-field textarea { min-height: 130px; resize: vertical; }

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 600px) { .radio-group { grid-template-columns: 1fr 1fr; } }

.radio-option {
  position: relative;
  cursor: pointer;
}
.radio-option input { position: absolute; opacity: 0; }
.radio-option .label-box {
  display: block;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  background: white;
  transition: all 0.15s;
}
.radio-option input:checked + .label-box {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange);
}

/* ===== UTIL ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }

/* logos strip */
.logos-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .logos-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 36px;
  }
  .logos-strip .logo-item {
    flex: 0 0 calc(50% - 18px);
  }
}

.logo-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s, filter 0.25s;
  opacity: 0.65;
  filter: grayscale(100%);
}
.logo-item:hover { opacity: 1; filter: grayscale(0%); }
.logo-item img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* process steps */
.process-step {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.25s;
}
.process-step:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }

.process-num {
  flex-shrink: 0;
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
  width: 60px;
}

.process-step h4 { margin-bottom: 8px; font-size: 1.15rem; }
.process-step p { font-size: 0.95rem; }

/* small utilities for contact info cards */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  transition: all 0.2s;
}
.info-card:hover { border-bottom-color: var(--orange); }
.info-card .icon-mini {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card .icon-mini svg { width: 16px; height: 16px; }
.info-card .label-mini {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
}
.info-card .value-mini {
  color: var(--text-dark);
  font-size: 0.98rem;
  font-weight: 500;
  font-family: 'Manrope', sans-serif;
}
.info-card .value-mini-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
  font-family: 'Manrope', sans-serif;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
}
@media (max-width: 800px) {
  .contact-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid { gap: 28px; }

.portfolio-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.portfolio-shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light-2);
  position: relative;
}
.portfolio-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-shot img { transform: scale(1.04); }

.portfolio-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.portfolio-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.25;
}
.portfolio-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
  align-self: flex-start;
  margin-top: 4px;
}
.visit-link:hover { gap: 14px; }
.visit-link svg { width: 12px; height: 12px; }

/* invitational "your brand next" slot — dark with drifting blobs (mirrors .service-card) */
.portfolio-card.portfolio-cta {
  background: #0A0604;
  border-color: var(--border-dark);
  position: relative;
  isolation: isolate;
  justify-content: center;
}
.portfolio-card.portfolio-cta:hover {
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(254, 116, 38, 0.18);
}
.portfolio-card.portfolio-cta .sb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}
.portfolio-card.portfolio-cta .sb-1 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, #fe7426 0%, transparent 70%);
  top: -60px; left: -60px;
  animation: sbDrift1 12s ease-in-out infinite alternate;
}
.portfolio-card.portfolio-cta .sb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #FFA85A 0%, transparent 70%);
  bottom: -50px; right: -40px;
  animation: sbDrift2 16s ease-in-out infinite alternate;
}
.portfolio-card.portfolio-cta .sb-3 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, #FF8838 0%, transparent 70%);
  top: 40%; right: 30%;
  opacity: 0.5;
  animation: sbDrift3 20s ease-in-out infinite alternate;
}
.portfolio-cta-inner {
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.portfolio-card.portfolio-cta h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 0;
}
.portfolio-card.portfolio-cta p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 8px;
}
.portfolio-card.portfolio-cta .btn { align-self: center; }

@media (max-width: 600px) {
  .portfolio-body { padding: 22px 22px 24px; }
  .portfolio-cta-inner { padding: 44px 24px; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
/* Defensive: .reveal is visible by default. JS adds .js-reveal-ready to <html>
   first thing on init, which then hides .reveal until the IntersectionObserver
   adds .in. If JS fails or is delayed by the WP admin bar / ad blockers, content
   still renders — we lose the fade-in animation, not the content. */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js-reveal-ready .reveal:not(.in) {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .js-reveal-ready .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 960px) {
  .nav-inner { padding: 22px 20px; }
  .logo-img { height: 36px; }

  /* show hamburger, hide horizontal links */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: #0A0604;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 80px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
  }
  .nav.nav-open .nav-links { transform: translateX(0); }
  .nav-links a,
  .nav-light .nav-links a {
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
  }
  .nav-links a.active { color: var(--orange); }

  /* hero & section spacing tighter on small screens */
  .hero-dark { padding: 140px 0 70px; }
  section { padding: 70px 0; }
  section.compact { padding: 50px 0; }
  .container { padding: 0 20px; }

  h1 { font-size: clamp(2rem, 7vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); }

  .section-head { margin-bottom: 40px; }

  /* footer stacks */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 18px 16px; }
  .container { padding: 0 16px; }
  .hero-dark { padding: 120px 0 60px; }
  section { padding: 60px 0; }

  /* footer fully stacks */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  /* buttons full-width + wrap */
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .hero-dark .btn { width: auto; }

  /* process step: number on top */
  .process-step { flex-direction: column; gap: 8px; padding: 22px; }
  .process-num { width: auto; font-size: 2rem; }

  /* feature list */
  .feature-list li { gap: 12px; }

  /* legal pages */
  .legal-hero { padding: 140px 0 60px; }
  .legal-content { padding: 50px 16px 70px; }
}
