/* =========================================
   BUZZCRAFT STUDIO — INNER PAGES
   Loaded on every page except the homepage hero flow.
   Depends on the tokens in styles.css.
   ========================================= */

/* ===== NAVBAR: solid variant for light-background pages =====
   styles.css styles the unscrolled navbar white-on-transparent
   because it sits over the dark homepage hero. Inner pages are
   cream, so they need the "scrolled" treatment from the start. */
.navbar--solid {
  background: rgba(244, 240, 234, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 24px rgba(15, 15, 35, 0.06);
}
.navbar--solid:not(.scrolled) .nav-link,
.navbar--solid:not(.scrolled) .nav-brand span { color: var(--text); }
.navbar--solid:not(.scrolled) .nav-link:hover,
.navbar--solid:not(.scrolled) .nav-link.active { color: var(--accent-ink); }
.navbar--solid:not(.scrolled) .nav-logo--dark  { display: block; }
.navbar--solid:not(.scrolled) .nav-logo--light { display: none; }

/* ===== NAV DROPDOWN (Services) ===== */
.nav-item--drop { position: relative; display: flex; align-items: center; flex-shrink: 0; }

.nav-caret {
  width: 11px;
  height: 11px;
  margin-left: 4px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-item--drop:hover .nav-caret,
.nav-item--drop:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  /* Fixed, not min-width: the panel used to resize when the current page's
     item was bolded, and with translateX(-50%) that shifted both edges. */
  width: 232px;
  margin-top: 10px;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  z-index: 120;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Invisible bridge so the panel survives the mouse crossing the gap. */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}

.nav-item--drop:hover .nav-dropdown,
.nav-item--drop:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover { background: #F2EADF; color: var(--accent); }
/* Colour only. A weight change here resized the fixed-width panel's text
   and was the original cause of the shift. */
.nav-dropdown a.is-current { color: var(--accent-ink); }

.nav-dropdown__all {
  border-top: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  margin-top: 0.3rem;
  padding-top: 0.6rem !important;
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
}
.nav-dropdown__all:hover { color: var(--accent) !important; }


/* Six nav links plus a wide CTA overflow between the 768px mobile
   breakpoint and roughly 1050px, so tighten everything through that band. */
@media (min-width: 769px) and (max-width: 1180px) {
  .nav-container { gap: 1rem; }
  .nav-menu      { gap: 1.35rem; }
  .nav-link      { font-size: 0.82rem; }
  .nav-cta       { padding: 0.55rem 0.95rem; font-size: 0.78rem; }
  .nav-brand     { font-size: 1.05rem; }
  .nav-logo      { height: 26px; }
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, #FDE8E3 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero__inner { max-width: 760px; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1rem;
}

.page-hero__lede {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--text); font-weight: 600; }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; flex-shrink: 0; }

/* ===== GENERIC PAGE SECTION ===== */
.page-section { padding: var(--section-y) 0; }
.page-section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-section--alt {
  background: #F2EADF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header--left {
  text-align: left;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-header--left .section-subtitle { margin-left: 0; }

/* ===== PROSE (legal pages, blog articles) ===== */
.prose {
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.prose > * + * { margin-top: 1.25rem; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 2.75rem;
  line-height: 1.25;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
}
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--accent); }

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;   /* equal-height columns */
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-card__for {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  min-height: 2.7em;
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.price-card__period {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.price-card__setup {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: -0.75rem;
}

.price-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}

.price-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.price-list svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.price-list li.is-excluded { color: var(--text-muted); }
.price-list li.is-excluded svg { color: #B9AFA2; }

.price-card .btn { width: 100%; }

/* Featured tier — Growth.
   Lifted with margin, not transform: .reveal.visible also sets transform
   and would win on specificity, cancelling the lift. */
.price-card--featured {
  background: var(--text);
  border-color: var(--text);
  box-shadow: var(--shadow-lg);
  margin-top: -12px;
  margin-bottom: 12px;
  padding-top: 2.5rem;
}
.price-card--featured .price-card__name,
.price-card--featured .price-card__amount,
.price-card--featured .price-list { color: #fff; }
.price-card--featured .price-card__for,
.price-card--featured .price-card__period,
.price-card--featured .price-card__setup { color: rgba(255,255,255,0.65); }
.price-card--featured .price-card__divider { border-top-color: rgba(255,255,255,0.14); }
.price-card--featured .price-list svg { color: var(--accent-pink, #F4B7B2); }

.price-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Quarterly-saving note */
.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 0.7rem 1.25rem;
  background: #FDE8E3;
  border: 1px solid #F4B7B2;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text);
  width: fit-content;
  max-width: 100%;
  text-align: center;
}
.pricing-note svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.pricing-note strong { font-weight: 700; }

/* What's-always-included strip */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem 2rem;
}
.included-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.included-item h3 svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.included-item p { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); }

/* ===== FAQ (native details/summary) ===== */
.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  /* Block, not flex: inline markup inside a question would otherwise become
     separate flex items and get pulled apart by gap + space-between. */
  display: block;
  position: relative;
  padding: 1.15rem 2.25rem 1.15rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: calc(50% - 7px);
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }

.faq-item__body {
  padding: 0 0 1.35rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 640px;
}
.faq-item__body > * + * { margin-top: 0.75rem; }

/* ===== DASHBOARD BAND (homepage) ===== */
.dash-band {
  background: var(--text);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.dash-band__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.dash-band .section-label { color: var(--accent-pink, #F4B7B2); }

.dash-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.1rem;
}

.dash-band__body {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}
.dash-band__body + .dash-band__body { margin-top: 1rem; }
.dash-band__body strong { color: #fff; font-weight: 600; }

.dash-band__points {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.dash-band__points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.dash-band__points svg {
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 3px;
  color: var(--accent-pink, #F4B7B2);
}

/* ── Mock dashboard panel ── */
.dash-mock {
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transform-origin: left center;
}

.dash-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: #EFE6DA;
  border-bottom: 1px solid var(--border);
}
.dash-mock__dots { display: flex; gap: 5px; }
.dash-mock__dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #CFC2B2; display: block;
}
.dash-mock__url {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: #F8F1E8;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.18rem 0.55rem;
  margin-left: 0.35rem;
}
.dash-mock__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #15803d;
}
.dash-mock__live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16a34a; display: block;
  animation: dashPulse 2s ease-in-out infinite;
}
@keyframes dashPulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 5px rgba(22,163,74,0); }
}

.dash-mock__body { padding: 1.15rem 1.15rem 1.35rem; }

.dash-mock__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.dash-tile {
  background: #F8F1E8;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.7rem 0.75rem;
}
.dash-tile__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dash-tile__value {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 0.2rem;
  line-height: 1.1;
}
.dash-tile__delta { font-size: 0.62rem; font-weight: 600; margin-top: 0.15rem; }
.dash-tile__delta.up   { color: #15803d; }
.dash-tile__delta.flat { color: var(--text-muted); }

.dash-mock__chart {
  background: #F8F1E8;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.85rem 0.9rem 0.6rem;
}
.dash-mock__chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.dash-mock__chart-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.dash-mock__chart-meta { font-size: 0.6rem; color: var(--text-muted); }
.dash-mock__chart svg { width: 100%; height: auto; display: block; }

.dash-mock__legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.6rem;
  color: var(--text-muted);
}
.dash-mock__legend span { display: inline-flex; align-items: center; gap: 0.3rem; }
.dash-mock__legend i { width: 8px; height: 3px; border-radius: 2px; display: block; }

@media (max-width: 900px) {
  .dash-band__inner { grid-template-columns: 1fr; }
  .dash-mock { transform: none; }
}
@media (max-width: 560px) {
  .dash-mock__tiles { grid-template-columns: 1fr 1fr; }
  .dash-mock__tiles .dash-tile:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-mock__live i { animation: none; }
}

/* The dashboard band and the CTA banner are both midnight blue and now sit
   next to each other, which reads as one very long dark block. A hairline
   keeps the edge visible without breaking the run of colour. */
.dash-band + .cta-banner { border-top: 1px solid rgba(255,255,255,0.09); }

/* ===== RESULTS BANNER (top of Work page) ===== */
.results-banner {
  background: var(--text);
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
}
.results-banner__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}
.results-banner__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.results-banner__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.45rem;
  line-height: 1.5;
}

/* ===== SERVICE DETAIL: who it's for / example deliverable ===== */
.svc-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
}
.svc-fact {
  background: #F2EADF;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.5rem;
}
.svc-fact h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.svc-fact p {
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.svc-fact p + p { margin-top: 0.6rem; }
.svc-fact strong { color: var(--text); font-weight: 600; }

@media (max-width: 700px) {
  .svc-facts { grid-template-columns: 1fr; }
}

/* ===== CASE STUDIES ===== */
.case-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.case-study:nth-child(even) .case-study__media { order: 2; }

.case-study__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #EFE6DA;
  aspect-ratio: 4 / 3;
}
.case-study__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-study:hover .case-study__media img { transform: scale(1.03); }

.case-study__sector {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}

.case-study h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.case-block + .case-block { margin-top: 1rem; }
.case-block__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.55;
  margin-bottom: 0.25rem;
}
.case-block p { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.case-metric__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.case-metric__label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.team-card__photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(140deg, #FDE8E3, #EFE6DA);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card__initials {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.team-card__body { padding: 1.1rem 1.15rem 1.35rem; }
.team-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
}
.team-card__role {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.15rem;
}
.team-card__bio {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* ===== VALUES / STEP LIST ===== */
.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  counter-increment: step;
}
.step::before {
  content: '0' counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}
.step p { font-size: 0.86rem; line-height: 1.7; color: var(--text-muted); }

/* ===== SERVICE HUB CARDS ===== */
.svc-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.svc-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.svc-hub-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #E3D2C2;
}

.svc-hub-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(198, 90, 46, 0.09);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-hub-card__icon svg { width: 22px; height: 22px; }

.svc-hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.svc-hub-card p { font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); flex: 1; }

.svc-hub-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.svc-hub-card__tags span {
  font-size: 0.72rem;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #F2EADF;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.svc-hub-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.25rem;
}
.svc-hub-card__link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.svc-hub-card:hover .svc-hub-card__link svg { transform: translateX(3px); }

/* ===== SERVICE DETAIL: deliverables ===== */
.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem 2rem;
  list-style: none;
}
.deliverables li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.deliverables svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.deliverables strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 0.15rem; }

/* Two-column split (copy + aside) */
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.aside-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 96px;
}
.aside-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.aside-card p { font-size: 0.86rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1.25rem; }
.aside-card .btn { width: 100%; }
.aside-card__meta {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.aside-card__meta strong { color: var(--text); display: block; font-size: 0.85rem; }

/* ===== ARTICLE SIDEBAR ===== */
/* .prose caps at 700px, which left the right half of article pages empty. */
.split--article { grid-template-columns: minmax(0, 1fr) 300px; }

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 96px;
}

.aside-related {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.5rem;
}

.aside-related__title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.aside-related a {
  display: block;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
  transition: color 0.18s ease;
}
.aside-related a:first-of-type { border-top: none; padding-top: 0; }
.aside-related a:last-of-type  { padding-bottom: 0; }

.aside-related__cat {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.aside-related__head {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color 0.18s ease;
}
.aside-related a:hover .aside-related__head { color: var(--accent); }

.aside-related__all {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0 !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 0.9rem !important;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}
.aside-related__all svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .split--article { grid-template-columns: 1fr; }
  .article-aside { position: static; max-width: 520px; }
}

/* ===== INSIGHTS / BLOG ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}
.post-card__cat { color: var(--accent); }

.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}
.post-card p { font-size: 0.87rem; line-height: 1.7; color: var(--text-muted); flex: 1; }

.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--accent);
}
.post-card__more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.post-card:hover .post-card__more svg { transform: translateX(3px); }

/* Article header */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.article-meta__cat {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}
.article-meta__dot { opacity: 0.4; }

/* ===== CTA STRIP (reusable dark band) ===== */
.cta-strip {
  background: var(--text);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.cta-strip p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* ===== FOOTER COLUMNS ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.35rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
  transition: color 0.2s ease;
  width: fit-content;
}
.footer-col a:hover { color: #fff; }

.footer-col__note {
  font-size: 0.78rem;
  line-height: 1.6;
  /* 0.45 alpha measured 4.26:1 on --text, under the 4.5 AA floor.
     0.62 is 6.73:1 and matches the sibling footer links. */
  color: rgba(255,255,255,0.62);
  margin-top: 0.35rem;
}

.footer-bottom--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom--split a { transition: color 0.2s ease; }
.footer-bottom--split a:hover { color: #fff; }

/* ===== COOKIE NOTICE =====
   Sits bottom-left so it never collides with the WhatsApp float on the
   right. On mobile it lifts above the float instead. */
.cookie-bar {
  position: fixed;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 200;
  width: min(430px, calc(100vw - 2 * clamp(16px, 3vw, 28px) - 76px));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.25rem;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-bar__text {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.cookie-bar__text strong { color: var(--text); font-weight: 600; }
.cookie-bar__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.cookie-bar button {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.cookie-bar .is-accept {
  background: var(--accent-ink);
  color: #fff;
}
.cookie-bar .is-accept:hover { background: var(--accent-2); }
.cookie-bar .is-decline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.cookie-bar .is-decline:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 560px) {
  .cookie-bar {
    left: 14px;
    right: 14px;
    bottom: 88px;              /* clear the WhatsApp float */
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: opacity 0.2s ease; transform: none; }
  .cookie-bar.is-visible { transform: none; }
}

/* ===== FORM STATUS (contact form feedback) ===== */
.form-status {
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: none;
}
.form-status.is-error {
  display: block;
  background: rgba(198, 90, 46, 0.08);
  border: 1px solid rgba(198, 90, 46, 0.28);
  color: var(--accent-2);
}
.form-status.is-success {
  display: block;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.28);
  color: #15803d;
}

.form-consent {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card--featured { margin-top: 0; margin-bottom: 0; }
  .split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .case-study { grid-template-columns: 1fr; }
  .case-study:nth-child(even) .case-study__media { order: 0; }
  .case-study__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .case-metrics { gap: 1.25rem; }
  .page-hero { padding-top: clamp(6rem, 20vw, 7.5rem); }
  .footer-bottom--split { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .case-study:hover .case-study__media img,
  .team-card:hover,
  .post-card:hover,
  .svc-hub-card:hover { transform: none; }
  .svc-hub-card:hover .svc-hub-card__link svg,
  .post-card:hover .post-card__more svg { transform: none; }
}

/* Footer legal links (privacy + cookie settings) */
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { cursor: pointer; }

/* ===== KEY TAKEAWAYS (article summary box) =====
   Self-contained claims at the top of each article. Readers skim them;
   answer engines can lift them without needing surrounding context. */
.takeaways {
  background: #F2EADF;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}
.takeaways__title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.takeaways ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.takeaways li {
  /* Block, not flex, for the same reason as the FAQ summary: <strong> inside
     a claim would become its own flex item and gain a gap either side. */
  display: block;
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  /* --accent, not --accent-ink: a 5px decorative dot carries no text, so it
     does not need the darker AA-compliant shade. */
  background: var(--accent);
}

/* ===== FIELD-LEVEL VALIDATION ===== */
.field-error {
  display: none;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--accent-2);
  margin-top: 0.4rem;
}
.form-field.has-error .field-error { display: block; }
.form-field.has-error input,
.form-field.has-error textarea { border-bottom-color: var(--accent-2); }
.form-field.has-error label { color: var(--accent-2); }

/* Consent checkbox */
.form-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  cursor: pointer;
}
.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-check-wrap.has-error .form-check { color: var(--accent-2); }
.form-check-wrap.has-error .field-error { display: block; }

/* <picture> wrappers around the WebP/JPEG photo pairs.
   Both .zp-frame and .case-study__media size their img with height:100%,
   which resolves against the parent. Adding <picture> inserts a new parent,
   so it has to inherit the box or the images collapse. */
.zp-frame picture,
.case-study__media picture {
  display: block;
  width: 100%;
  height: 100%;
}



/* ===== CURRENCY TOGGLE =====
   Prices are set in USD and converted to NZD. NZD is the default because the
   studio is New Zealand based; USD is shown because the base rate is USD. */
.cur-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-pill);
  padding: 3px;
  margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
}

.cur-switch button {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.95rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.cur-switch button:hover { color: var(--text); }
.cur-switch button[aria-pressed="true"] {
  background: var(--accent-ink);
  color: #fff;
}

.cur-note {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* Wrapper so the switch and note centre as a block */
.cur-bar { text-align: center; }

/* ===== MOBILE NAV + CHROME FIXES ===== */

/* styles.css forces .navbar.scrolled transparent under 768px, and that rule
   (0,2,0) outranks .navbar--solid (0,1,0), so on a phone the bar was either
   invisible or cream-on-cream. Give it a real surface in both states. */
@media (max-width: 768px) {
  .navbar,
  .navbar--solid,
  .navbar.scrolled,
  .navbar--solid.scrolled {
    /* Soft Blush, the brand skin tone. Deliberately not the page cream
       #F8F1E8: the bar has to stay distinguishable from what scrolls under it,
       which is why the border and shadow below stay too. */
    background: rgba(253, 232, 227, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 16px rgba(15, 15, 35, 0.07);
  }
  /* Dark text on the now-light bar, whatever the scroll state. */
  .navbar:not(.scrolled) .nav-link,
  .navbar:not(.scrolled) .nav-brand span { color: var(--text); }
  .navbar:not(.scrolled) .nav-logo--dark  { display: block; }
  .navbar:not(.scrolled) .nav-logo--light { display: none; }
  .hamburger span { background: var(--text); }

  /* The drawer sits above the bar, so it needs its own opaque surface. */
  .nav-menu { background: var(--bg); }

  /* The whole menu previously did not fit: six 1.7rem links plus an expanded
     service list overflowed a phone screen, and on iOS the 100%-height fixed
     panel is taller than the visible area, so the lower links were simply
     unreachable. Everything below is about making it fit outright. */
  .nav-menu {
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 4.25rem 1.25rem 2rem;
    height: 100dvh;                 /* dynamic viewport: excludes the URL bar */
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu .nav-link { font-size: 1.15rem; }

  /* The service sub-list is what pushed the remaining links off-screen on a
     phone, so it is hidden here. The Services link goes to the hub, which
     lists all four. Six links cannot overflow, whatever the viewport does. */
  .nav-item--drop { flex-direction: column; gap: 0.45rem; align-items: center; }

  .nav-caret { display: none; }

  /* Panel is inline in the drawer rather than an absolute popover.
     width:auto matters: the desktop rule fixes it at 232px, which on a phone
     is narrower than the drawer and made the service links sit visibly
     off-centre from the nav links above them. */
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    width: auto;
    min-width: 0;
    max-width: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    /* A plain centred column, not a wrapped pill row. Four pills wrapping in a
       fixed-width box produced a ragged last line that read as misalignment. */
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
  }
  .nav-dropdown::before { display: none; }

  /* The desktop popover is centred with translateX(-50%), applied on :hover
     and :focus-within. That selector is (0,2,1) and outranks the (0,1,0)
     "transform: none" above, so tapping Services fired the desktop transform
     and slid the panel half its own width to the left. In the drawer the
     panel is a static block and needs no transform at all. */
  .nav-item--drop:hover .nav-dropdown,
  .nav-item--drop:focus-within .nav-dropdown,
  .nav-item--drop:active .nav-dropdown {
    transform: none;
    left: auto;
  }
  /* The Services link directly above already goes to the hub. */
  .nav-dropdown__all { display: none; }


  /* Sub-links read as a quiet indented list under Services. */
  .nav-dropdown a {
    font-size: 0.9rem;
    padding: 0.12rem 0.4rem;
    background: none;
    border: none;
    color: var(--text-muted);
    text-align: center;
  }
  .nav-dropdown a.is-current { color: var(--accent-ink); font-weight: 600; }
}

/* Cookie notice was taking a large slab of a small screen. */
@media (max-width: 560px) {
  .cookie-bar {
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
  }
  .cookie-bar__text {
    font-size: 0.74rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
  }
  .cookie-bar button {
    font-size: 0.74rem;
    padding: 0.4rem 0.85rem;
  }
}


/* ===== FOOTER CONTACT ROWS ===== */
/* Icon plus a wrapped <span>, so the flex gap only ever separates those two
   and never lands between words. */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--accent-on-dark);
}
.footer-col p.footer-contact { margin-top: 0.35rem; }

/* Copyright line in brand orange. Uses the lighter --accent-on-dark because
   --accent itself is 3.57:1 against the footer navy. */
.footer-bottom p {
  color: var(--accent-on-dark);
}


/* ===== CLIENT AREA BUTTON =====
   Outlined, so it reads as a different kind of action from the solid
   "Marketing Strategy Call" pill: one is a sales CTA, this is a login. */
.nav-client {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  color: var(--accent-ink);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nav-client svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-client:hover {
  background: rgba(198, 90, 46, 0.08);
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}

/* Over the dark homepage hero, --accent-ink is only 2.8:1. The lighter
   dark-background orange is 5.67:1. */
.navbar:not(.scrolled):not(.navbar--solid) .nav-client {
  border-color: var(--accent-on-dark);
  color: var(--accent-on-dark);
}
.navbar:not(.scrolled):not(.navbar--solid) .nav-client:hover {
  background: rgba(232, 131, 79, 0.14);
  color: #fff;
  border-color: #fff;
}

/* Two buttons plus seven links only fit on a wide desktop. Below that the
   sales CTA gives way: Contact is in the nav and the same call-to-action
   repeats on every page, whereas a login has nowhere else to live. */
@media (max-width: 1180px) {
  .nav-cta { display: none; }
}

@media (max-width: 560px) {
  .nav-client { padding: 0.45rem 0.7rem; font-size: 0.75rem; }
  .nav-client svg { width: 13px; height: 13px; }
}
