/* ── Fonts & icons (vendored locally, see /vendor) ─────────────────────── */
@import url("/vendor/fonts/inter.css");
@import url("/vendor/phosphor/phosphor-bold.css");

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --white: #ffffff;
  --off-white: #f5f5f1;
  --near-black: #0d0d0d;
  --text: #111111;
  --text-muted: #555555;
  --accent: #1aff7a;
  --accent-hover: #00e668;
  --accent-dark: #0fb85c;
  --border: #e5e5e5;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
img,
video {
  max-width: 100%;
  display: block;
}
button {
  font-family: var(--font);
  cursor: pointer;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
/* Shape/weight/press-feedback converged with htm's sc-button (6px radius,
   600 weight, scale-down on press) so buttons read as the same component
   family across sites. Uppercase + a touch of tracking stays, since that's
   ScotchSoft's brand voice everywhere (nav, headlines, badges) — not just
   buttons — so dropping it here would look like a mid-page inconsistency. */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s
    ease;
  border: none;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--accent);
  color: var(--near-black);
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

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

/* ── Badge (eyebrow tag) ────────────────────────────────────────────────── */
/* Same component as htm's sc-badge, re-themed for this page. Sizing/tracking
   pulled closer to the canonical badge (0.8rem, no letter-spacing). Default
   is the accent-tinted variant (used for "Product" tags); .mono uses
   `currentColor` so it reads correctly on both light sections (near-black
   text) and the dark Contact section (white text) without a separate dark
   variant. */
.sc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  background: rgba(26, 255, 122, 0.15);
  color: var(--accent-dark);
}
.sc-badge.mono {
  background: rgba(127, 127, 127, 0.18);
  color: currentColor;
}

/* ── Panel ──────────────────────────────────────────────────────────────── */
/* Same component as htm's sc-panel, re-themed for this page: shadow instead
   of a border (matching the canonical panel's structural treatment), same
   radius. Padding stays larger since these hold marketing card content
   rather than compact key/value rows. .dark is a page-local modifier (not
   part of the shared component) for use on dark sections, e.g. the Contact
   cards. */
.sc-panel {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.04), 0 8px 24px rgba(13, 13, 13,
    0.07);
}
.sc-panel-header {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.75rem;
}
.sc-panel-content {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.sc-panel.dark {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}
a.sc-panel.dark:hover {
  border-color: rgba(26, 255, 122, 0.4);
  background: rgba(26, 255, 122, 0.05);
}

/* ── Nav ────────────────────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
nav.site-nav.scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--near-black);
  padding: 0;
}
.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links button,
.nav-links a {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  display: block;
}
.nav-links button:hover,
.nav-links a:hover {
  color: var(--near-black);
  background: rgba(0, 0, 0, 0.04);
}
.nav-links .nav-cta {
  background: var(--near-black);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
}
.nav-links .nav-cta:hover {
  background: #333;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--near-black);
  border-radius: 2px;
  transition: all 0.22s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid transparent;
}
.mobile-menu.open {
  max-height: 400px;
  padding: 0.75rem 0 1rem;
  border-top-color: rgba(0, 0, 0, 0.06);
}
.mobile-menu button,
.mobile-menu a {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-align: left;
  padding: 0.85rem 1.25rem;
  transition: background 0.15s;
  display: block;
}
.mobile-menu button:hover,
.mobile-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* Anchor targets land under the fixed 68px nav without this — scrollIntoView()
   otherwise tucks the first ~68px of each section (badges, tags) out of view. */
#work,
#cropdetect,
#service-signal,
#about,
#contact {
  scroll-margin-top: 68px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--near-black);
  padding: calc(68px + 5rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
    ellipse 60% 50% at 25% 20%,
    rgba(26, 255, 122, 0.16),
    transparent 60%
  ),
    radial-gradient(
    ellipse 50% 60% at 85% 80%,
    rgba(26, 255, 122, 0.08),
    transparent 60%
  ),
    url("scotchsoft/topographic.png");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, center;
  background-size: cover, cover, cover;
  animation: heroDrift 30s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    background-position: center, center, center;
  }
  to {
    background-position: center, center, 52% 48%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Capabilities / Work ───────────────────────────────────────────────── */
.capabilities {
  background: var(--off-white);
  padding: 7rem 0;
}
@media (max-width: 768px) {
  .capabilities {
    padding: 5rem 0;
  }
}

.caps-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--near-black);
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.caps-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 3.5rem;
}

.caps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 700px) {
  .caps-grid {
    grid-template-columns: 1fr;
  }
}

.cap-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  line-height: 1;
  color: var(--near-black);
}

/* ── Capability statement banner ───────────────────────────────────────── */
.cap-banner {
  background: var(--accent);
  padding: 1.25rem 0;
}

.cap-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 640px) {
  .cap-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

.cap-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cap-banner__text strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--near-black);
}
.cap-banner__text span {
  font-size: 0.82rem;
  color: #000;
  line-height: 1.5;
}

.cap-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: var(--near-black);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.cap-banner__btn:hover {
  background: #222;
}
.cap-banner__btn:active {
  transform: scale(0.96);
}
.cap-banner__btn i {
  font-size: 1rem;
}

/* ── CropDetect ─────────────────────────────────────────────────────────── */
.cropdetect {
  background: var(--white);
}

.cd-header {
  padding: 7rem 0 3rem;
}
@media (max-width: 768px) {
  .cd-header {
    padding: 5rem 0 2rem;
  }
}

.cd-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.cd-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 480px;
}

.cd-video-wrap {
  padding: 0 0 4rem;
}
.cd-video-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.cd-video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cd-video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: var(--near-black);
  cursor: pointer;
}
.cd-video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.18s ease;
}
.cd-video-facade:hover img {
  opacity: 0.65;
}

.cd-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s
    ease;
}
.cd-play-btn svg {
  margin-left: 4px;
}
.cd-video-facade:hover .cd-play-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--near-black);
  transform: translate(-50%, -50%) scale(1.06);
}

.cd-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .cd-features {
    grid-template-columns: 1fr;
  }
}

.cd-feature {
  padding: 2rem 2.25rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cd-feature:nth-child(2n) {
  border-right: none;
}
.cd-feature:nth-child(n + 3) {
  border-bottom: none;
}
@media (max-width: 640px) {
  .cd-feature {
    border-right: none;
  }
  .cd-feature:last-child {
    border-bottom: none;
  }
}
.cd-feature h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-black);
  margin-bottom: 0.6rem;
}
.cd-feature p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.cd-stats {
  background: var(--near-black);
  padding: 4rem 0;
  margin-top: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stat-value {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.cd-case-study {
  padding: 6rem 0 7rem;
  background: var(--off-white);
}
@media (max-width: 768px) {
  .cd-case-study {
    padding: 4rem 0 5rem;
  }
}

.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .case-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.case-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.case-content h3 {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--near-black);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.case-content blockquote {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.case-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.case-highlights span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  background: rgba(26, 255, 122, 0.12);
  color: var(--accent-dark);
  border-radius: 3rem;
}

/* ── Service Signal ─────────────────────────────────────────────────────── */
.service-signal {
  background: var(--white);
  padding: 7rem 0;
}
@media (max-width: 768px) {
  .service-signal {
    padding: 5rem 0;
  }
}

.ss-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .ss-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.ss-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.ss-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 380px;
}

.ss-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ss-features li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}
.ss-features strong {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--near-black);
}
.ss-features span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--near-black);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.18s;
}
.app-store-btn:hover {
  background: #222;
}
.app-store-btn:active {
  transform: scale(0.96);
}
.app-store-btn svg {
  flex-shrink: 0;
}

.ss-image img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}
@media (max-width: 900px) {
  .ss-image {
    order: -1;
  }
}

/* ── About ──────────────────────────────────────────────────────────────── */
.about {
  background: var(--off-white);
  padding: 7rem 0;
}
@media (max-width: 768px) {
  .about {
    padding: 5rem 0;
  }
}

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 1000px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1000px) {
  .about-image img {
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }
}

.location-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--near-black);
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(26, 255, 122, 0.25);
}

.about-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--near-black);
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 520px;
}
.about-body:last-of-type {
  margin-bottom: 2.5rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-values .value {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}
.about-values .value strong {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--near-black);
}
.about-values .value span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Testimonial ────────────────────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .testimonial {
    padding: 4.5rem 0;
  }
}

.testimonial__inner {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.testimonial__mark {
  font-size: 2.5rem;
  color: var(--accent);
  display: block;
  margin-bottom: 2rem;
  line-height: 1;
}

.testimonial__quote {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.testimonial__attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.testimonial__logo-link {
  display: block;
  flex-shrink: 0;
}
.testimonial__logo {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.testimonial__logo-link:hover .testimonial__logo {
  opacity: 1;
}

.testimonial__credit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}
@media (max-width: 500px) {
  .testimonial__credit {
    align-items: center;
  }
}

.testimonial__name {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--near-black);
  text-transform: uppercase;
}

.testimonial__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact {
  background: var(--near-black);
  color: var(--white);
  padding: 7rem 0;
  text-align: center;
}
@media (max-width: 768px) {
  .contact {
    padding: 5rem 0;
  }
}

.contact-header {
  margin-bottom: 4rem;
}

.contact-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto 3.5rem;
}
@media (max-width: 700px) {
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* Card chrome (background/border/radius) comes from .sc-panel.dark;
   this just handles the icon/label/value flex layout. */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2.25rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.contact-card__icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.contact-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.contact-card__value {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--near-black);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand .logo {
  display: block;
  color: var(--white);
  margin-bottom: 1rem;
}

.mission {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  max-width: 280px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-nav h4 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}
.footer-nav button,
.footer-nav a {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
  margin-bottom: 0.6rem;
  text-align: left;
  transition: color 0.15s;
}
.footer-nav button:hover,
.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem 0;
}
.footer-bottom span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}
