/* TemplarWolf Forge — charcoal / silver / forge orange (matches brand emblem) */
:root {
  --bg-deep: #0a0a0c;
  --bg-elevated: #141416;
  --bg-card: rgba(26, 26, 27, 0.78);
  --border-subtle: rgba(192, 192, 192, 0.1);
  --border-strong: rgba(255, 77, 42, 0.45);
  --text: #ececf0;
  --text-muted: #c2c6ce;
  --accent: #ff4d2a;
  --accent-deep: #e63b18;
  --accent-soft: rgba(255, 77, 42, 0.12);
  --accent-glow: rgba(255, 69, 0, 0.28);
  --steel: #a3aab6;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  /* Fluid width: scales with viewport up to a generous cap */
  --page-gutter: clamp(1rem, 4.5vw, 3.75rem);
  --max: min(1580px, calc(100vw - 2 * var(--page-gutter)));
  --forge-amber: #ffb347;
  --forge-copper: #c95d3c;
  --glow-line: linear-gradient(
    90deg,
    transparent,
    rgba(255, 77, 42, 0.55) 20%,
    rgba(255, 179, 71, 0.45) 50%,
    rgba(255, 77, 42, 0.55) 80%,
    transparent
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -15%, rgba(255, 69, 0, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 45% at 95% 25%, rgba(120, 90, 200, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 40% at 5% 70%, rgba(255, 77, 42, 0.06), transparent 48%);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  padding: 0.65rem 1rem;
  margin: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bg-deep);
  background: var(--text);
  border-radius: var(--radius-md);
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  outline: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Visible keyboard focus — WCAG 2.2 Focus Appearance */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle:focus-visible {
  outline-offset: 3px;
}

@media (prefers-contrast: more) {
  :root {
    --border-subtle: rgba(255, 255, 255, 0.22);
  }

  .card {
    border-width: 2px;
  }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 77, 42, 0.04) 1px, transparent 1px),
    linear-gradient(-135deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 96px 96px, 96px 96px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, black 18%, transparent 78%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .bg-grid {
    animation: bg-grid-drift 90s linear infinite;
  }
}

@keyframes bg-grid-drift {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      64px 64px,
      64px 64px,
      96px 96px,
      -96px 96px;
  }
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.glow--one {
  width: min(560px, 92vw);
  height: min(560px, 92vw);
  top: -140px;
  right: -100px;
  background:
    radial-gradient(circle at 40% 40%, rgba(255, 140, 90, 0.35), transparent 55%),
    radial-gradient(circle, var(--accent-glow), transparent 72%);
}

.glow--two {
  width: min(440px, 75vw);
  height: min(440px, 75vw);
  bottom: 8%;
  left: -120px;
  background:
    radial-gradient(circle at 60% 50%, rgba(180, 160, 255, 0.12), transparent 55%),
    radial-gradient(circle, rgba(140, 145, 158, 0.2), transparent 72%);
}

@media (prefers-reduced-motion: no-preference) {
  .glow--one {
    animation: glow-float-a 22s ease-in-out infinite alternate;
  }

  .glow--two {
    animation: glow-float-b 28s ease-in-out infinite alternate;
  }
}

@keyframes glow-float-a {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.42;
  }
  100% {
    transform: translate(-24px, 18px) scale(1.06);
    opacity: 0.52;
  }
}

@keyframes glow-float-b {
  0% {
    transform: translate(0, 0);
    opacity: 0.38;
  }
  100% {
    transform: translate(20px, -28px);
    opacity: 0.48;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--page-gutter);
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.94), rgba(10, 10, 12, 0.68));
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px var(--border-subtle),
    0 12px 40px rgba(255, 69, 0, 0.12);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.logo:hover .logo__img {
  transform: scale(1.05) rotate(-2deg);
  box-shadow:
    0 0 0 1px rgba(255, 77, 42, 0.45),
    0 14px 44px rgba(255, 69, 0, 0.28);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo__tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 900px) {
  .nav {
    gap: 1.25rem;
  }
}

.nav a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--forge-amber));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.28s ease;
  opacity: 0.95;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--forge-copper));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
main {
  position: relative;
  z-index: 1;
}

.hero {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--page-gutter) 5rem;
}

.hero--home {
  position: relative;
}

.hero--showcase {
  overflow: clip;
  isolation: isolate;
}

.hero--home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 520px);
  height: 4px;
  border-radius: 999px;
  background: var(--glow-line);
  opacity: 0.85;
  pointer-events: none;
  z-index: 3;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr minmax(260px, min(440px, 36vw));
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.hero__main {
  min-width: 0;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero__visual {
    justify-content: flex-end;
  }
}

/* Hero emblem showcase — rings + satellites for recall */
.hero__showcase {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.hero__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  border: 1px dashed rgba(255, 77, 42, 0.38);
}

.hero__orbit--outer {
  width: 114%;
  height: 114%;
}

.hero__orbit--mid {
  width: 94%;
  height: 94%;
  border-color: rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__orbit--outer {
    animation: orbit-ring-cw 56s linear infinite;
  }

  .hero__orbit--mid {
    animation: orbit-ring-ccw 38s linear infinite;
  }
}

@keyframes orbit-ring-cw {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbit-ring-ccw {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

/* Arm length 57% = radius of .hero__orbit--outer (114% diameter), pivot at showcase centre */
.hero__orbit-track {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 57%;
  height: 0;
  transform-origin: 0 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__orbit-dot--house-pour {
  position: absolute;
  left: 100%;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.hero__orbit-dot--house-pour img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 4px 16px rgba(255, 69, 0, 0.5));
  -webkit-mask-image: url("assets/house-pour.png");
  mask-image: url("assets/house-pour.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: luminance;
  -webkit-mask-source-type: luminance;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__orbit-track {
    animation: hero-orbit-track-spin 28s linear infinite;
  }

  /* Counter-spin so the House Pour mark stays upright while the arm orbits */
  .hero__orbit-dot--house-pour {
    animation: hero-orbit-dot-upright 28s linear infinite;
  }
}

@keyframes hero-orbit-track-spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes hero-orbit-dot-upright {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.hero__pulse-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 74%;
  height: 74%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 77, 42, 0.28);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__pulse-ring {
    animation: pulse-ring-breathe 4.5s ease-in-out infinite;
  }
}

@keyframes pulse-ring-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.07);
    opacity: 0.95;
  }
}

.hero__emblem {
  position: relative;
  z-index: 4;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__emblem {
    animation: emblem-float 7s ease-in-out infinite;
  }
}

@keyframes emblem-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero__emblem::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 68%);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
}

/* Same image as luminance mask: black matte → transparent, emblem stays opaque */
.hero__emblem .hero__emblem-img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: url("assets/logo.png");
  mask-image: url("assets/logo.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: luminance;
  -webkit-mask-source-type: luminance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 0.95rem;
  margin: 0 0 1.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 42, 0.35);
  background:
    linear-gradient(135deg, rgba(255, 77, 42, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25) inset,
    0 8px 28px rgba(255, 69, 0, 0.12);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  max-width: min(46ch, 100%);
}

.hero__accent {
  background: linear-gradient(
    115deg,
    #f8fafc 0%,
    #ffd9c9 18%,
    var(--accent) 42%,
    var(--forge-amber) 62%,
    var(--accent-deep) 85%,
    #ff7a52 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__accent {
    animation: forge-word-shimmer 10s ease-in-out infinite alternate;
  }
}

@keyframes forge-word-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero__lede {
  margin: 0 0 2rem;
  max-width: min(62ch, 100%);
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero--showcase .hero__intro {
    animation: hero-intro-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .hero--showcase .hero__main > .hero__intro:nth-child(1) {
    animation-delay: 0.05s;
  }

  .hero--showcase .hero__main > .hero__intro:nth-child(2) {
    animation-delay: 0.14s;
  }

  .hero--showcase .hero__main > .hero__intro:nth-child(3) {
    animation-delay: 0.24s;
  }

  .hero--showcase .hero__main > .hero__intro:nth-child(4) {
    animation-delay: 0.34s;
  }
}

@keyframes hero-intro-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #ff8f6b 0%, #ff6b45 38%, var(--accent-deep) 100%);
  color: #0a0a0c;
  box-shadow:
    0 8px 36px rgba(255, 77, 42, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 48px rgba(255, 77, 42, 0.52),
    0 0 32px rgba(255, 140, 90, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.btn--ghost {
  border-color: var(--border-subtle);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: var(--accent-soft);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--border-subtle);
}

.stat {
  margin: 0;
}

.stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.35rem;
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

/* Sections */
.section-head {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter) 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr 1.2fr;
    align-items: end;
  }
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.section-head--narrow {
  max-width: 640px;
  grid-template-columns: 1fr;
}

.section-head--narrow p {
  max-width: 52ch;
}

.services {
  padding: 2rem 0 4rem;
}

.service-grid {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.card--lift {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.card--lift:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.process {
  padding: 4rem 0;
}

.timeline {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.timeline li {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 22, 0.65);
  border: 1px solid var(--border-subtle);
}

.timeline__step {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.timeline h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.timeline p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Brand marquee — repeated logo + tagline for recall */
.brand-marquee {
  position: relative;
  z-index: 1;
  padding: 1.85rem 0;
  border-top: 1px solid rgba(255, 77, 42, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 77, 42, 0.06), transparent 65%);
  overflow: hidden;
}

.brand-marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brand-marquee__track {
  display: flex;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-marquee__track {
    animation: brand-marquee-slide 38s linear infinite;
  }
}

@keyframes brand-marquee-slide {
  to {
    transform: translateX(-50%);
  }
}

.brand-marquee__chunk {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-right: 2.75rem;
}

.brand-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  white-space: nowrap;
}

.brand-marquee__item img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(255, 69, 0, 0.28);
}

/* CTA */
.cta-band {
  padding: 4rem var(--page-gutter) 5rem;
}

.cta-band__inner {
  position: relative;
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 3.25rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(ellipse 85% 70% at 50% 0%, rgba(255, 120, 80, 0.18), transparent 52%),
    linear-gradient(145deg, rgba(255, 77, 42, 0.18), transparent 42%),
    linear-gradient(180deg, var(--bg-elevated), #060607);
  border: 1px solid var(--border-strong);
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(255, 77, 42, 0.15);
  overflow: hidden;
}

.cta-band__inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 210deg at 50% 50%,
    transparent 0deg,
    rgba(255, 77, 42, 0.12) 55deg,
    transparent 110deg,
    rgba(255, 179, 71, 0.08) 200deg,
    transparent 280deg
  );
  opacity: 0.55;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .cta-band__inner::before {
    opacity: 0.85;
    animation: cta-halo-spin 28s linear infinite;
  }
}

.cta-band__inner > * {
  position: relative;
  z-index: 1;
}

.cta-band__brand-mark {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.25rem;
}

.cta-band__brand-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 72px;
  height: 72px;
  margin: 10px auto 0;
  border-radius: 22px;
  object-fit: contain;
  filter: drop-shadow(0 14px 36px rgba(255, 69, 0, 0.5));
}

.cta-band__brand-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 77, 42, 0.45);
  box-shadow: 0 0 28px rgba(255, 77, 42, 0.22);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .cta-band__brand-ring {
    animation: cta-brand-ring-pulse 4s ease-in-out infinite;
  }
}

@keyframes cta-brand-ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.09);
    opacity: 1;
  }
}

@keyframes cta-halo-spin {
  to {
    transform: rotate(360deg);
  }
}

.cta-band__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.cta-band__inner > p {
  margin: 0 auto 1.75rem;
  max-width: 46ch;
  color: var(--text-muted);
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-band__actions--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-band__email {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}

.cta-band__email a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.cta-band__email a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.btn--primary-alt {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: none;
}

.btn--primary-alt:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(255, 77, 42, 0.2);
}

.cta-band__note {
  font-size: 0.85rem;
  color: var(--steel);
}

/* Footer */
.site-footer {
  position: relative;
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--page-gutter) 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -6%;
  bottom: -28%;
  width: min(400px, 72vw);
  aspect-ratio: 1;
  background: url("assets/logo.png") center / contain no-repeat;
  opacity: 0.038;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer__logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border-subtle);
}

.site-footer__meta {
  font-size: 0.85rem;
  color: var(--steel);
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__legal {
  width: 100%;
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.site-footer__legal a {
  color: var(--steel);
  text-decoration: none;
  font-size: 0.82rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer__legal a:hover {
  color: var(--accent);
}

.contact-form__fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.form-label__optional {
  font-weight: 400;
  color: var(--steel);
  font-size: 0.88em;
}

.form-error-summary {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 123, 98, 0.55);
  background: rgba(255, 77, 42, 0.12);
  color: var(--text);
  font-size: 0.95rem;
}

.form-error-summary strong {
  display: block;
  margin-bottom: 0.5rem;
}

.form-error-summary ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.form-error-summary a {
  color: var(--accent);
}

.form-input[aria-invalid="true"] {
  border-color: #ff7b62;
  box-shadow: 0 0 0 1px rgba(255, 123, 98, 0.4);
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: var(--page-gutter);
    right: var(--page-gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    background: rgba(18, 18, 20, 0.96);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
  }

  .nav a:hover {
    background: var(--accent-soft);
  }

  .nav a::after {
    display: none;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* —— Multi-page layout —— */
.page-hero {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--page-gutter) 1rem;
  position: relative;
  z-index: 1;
}

.page-hero__inner {
  max-width: min(72ch, 100%);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.page-hero__lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__title--home {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

/* Centred section headings: one line when there’s room */
@media (min-width: 480px) {
  .section-head--center h2 {
    white-space: nowrap;
  }
}

.page-section {
  padding: 3.5rem var(--page-gutter);
  position: relative;
  z-index: 1;
}

.page-section--alt {
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(255, 77, 42, 0.07), transparent 58%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(100, 80, 180, 0.05), transparent 45%),
    rgba(20, 20, 22, 0.42);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.page-section__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.section-head--center {
  text-align: center;
  max-width: min(92ch, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2rem;
}

.section-head--center h2 {
  margin: 0 auto 0.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.section-head--center h2::after {
  content: "";
  width: 3.25rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent) 25%,
    var(--forge-amber) 72%,
    transparent
  );
  box-shadow: 0 0 22px rgba(255, 77, 42, 0.45);
}

.section-head--center p {
  margin: 0;
  color: var(--text-muted);
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
}

.text-link:hover {
  color: var(--text);
  border-color: var(--accent);
}

.build-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.build-grid__item {
  margin: 0;
  padding: 1rem 1.1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.build-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .build-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .build-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.build-cards__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.build-cards__item.card .build-cards__title::before {
  content: "";
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 77, 42, 0.25), rgba(255, 255, 255, 0.05)),
    url("assets/logo.png") center / 78% no-repeat;
  box-shadow:
    0 0 0 1px rgba(255, 77, 42, 0.35),
    0 10px 28px rgba(255, 69, 0, 0.2);
}

.build-cards__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.build-cards__item.card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.build-cards__item.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 77, 42, 0.45);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 77, 42, 0.22),
    0 0 52px rgba(255, 69, 0, 0.16);
}

.build-cards__item.card:hover .build-cards__title {
  color: var(--text);
  text-shadow: 0 0 28px rgba(255, 77, 42, 0.22);
}

.why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-list li {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(20, 20, 22, 0.5);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.why-list li:hover {
  border-color: rgba(255, 77, 42, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.why-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.why-list span {
  color: var(--text-muted);
  font-size: 0.98rem;
}

@media (min-width: 768px) {
  .why-list--four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: min(1100px, 100%);
  }

  .why-list--four li {
    margin: 0;
  }
}

.who-help {
  position: relative;
  max-width: min(640px, 100%);
  margin: 0 auto;
  padding: 1.75rem var(--page-gutter);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.who-help::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--forge-amber), rgba(255, 77, 42, 0.25));
  pointer-events: none;
}

.who-help__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.who-help__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.who-help__list li {
  margin-bottom: 0.5rem;
}

.cta-band__lead {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.cta-band__tagline {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.process-overview {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.65rem;
  max-width: 720px;
}

.process-overview li {
  margin: 0;
  padding: 1rem 0.5rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.process-overview__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.featured-services {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.featured-services__card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.featured-services__card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.featured-services__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.featured-services__card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.featured-services__more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.service-detail {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  padding: 2rem var(--page-gutter);
  position: relative;
  z-index: 1;
}

.service-detail:first-of-type {
  margin-top: 1rem;
}

.service-detail h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 1rem;
}

.service-detail__intro {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.service-detail__sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
  margin: 0 0 0.65rem;
}

.service-detail__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.service-detail__list li {
  margin-bottom: 0.35rem;
}

.process-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--page-gutter) 2rem;
  width: min(100%, var(--max));
  max-width: var(--max);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.process-steps__item {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
}

.process-steps__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  line-height: 1;
}

.process-steps__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
}

.process-steps__item p {
  grid-column: 2;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.portfolio-category {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 0 var(--page-gutter);
  position: relative;
  z-index: 1;
}

.portfolio-category__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.portfolio-placeholder {
  color: var(--text-muted);
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
}

.case-study__heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.case-study__grid {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .case-study__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-study__grid dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin: 0 0 0.25rem;
}

.case-study__grid dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.case-study__summary {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  color: var(--text);
}

.about-grid {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter) 2rem;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

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

.about-block {
  padding: 1.5rem;
}

.about-block--wide {
  grid-column: 1 / -1;
}

.about-block h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.about-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-placeholder {
  color: var(--steel);
  font-style: normal;
}

.contact-form {
  width: min(100%, 680px);
  max-width: 680px;
  margin: 0 auto 4rem;
  padding: 2rem var(--page-gutter);
  position: relative;
  z-index: 1;
}

.contact-form__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.contact-form__note a {
  color: var(--accent);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(10, 10, 12, 0.6);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
}

.form-actions {
  margin-top: 1.5rem;
}

.cta-band .btn[type="submit"] {
  border: none;
  cursor: pointer;
}

/* Resources / blog hub */
.resource-hub {
  padding: 1rem var(--page-gutter) 3rem;
  position: relative;
  z-index: 1;
}

.resource-hub__inner {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
}

.resource-hub__heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.resource-hub__note {
  margin: 0 0 2rem;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resource-card {
  padding: 1.35rem var(--page-gutter);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}

.resource-card__intent {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.resource-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.02em;
}

.resource-card__status {
  margin: auto 0 0;
  padding-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--steel);
}

/* Credibility strip (home / portfolio) */
.credibility-strip {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--page-gutter) 2rem;
  position: relative;
  z-index: 1;
}

.credibility-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
  align-items: center;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 77, 42, 0.22);
  background:
    linear-gradient(160deg, rgba(255, 77, 42, 0.09), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(14px);
  font-size: 0.88rem;
  color: var(--text-muted);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 16px 48px rgba(0, 0, 0, 0.28);
}

.credibility-strip__inner a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.credibility-strip__inner a:hover {
  color: var(--text);
}

/* FAQ page */
.faq-page {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--page-gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item__q {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.15rem 1.35rem;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}

.faq-item[open] .faq-item__q::after {
  content: "−";
}

.faq-item__a {
  padding: 0 1.35rem 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-item__a p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Support page */
.support-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter) 1rem;
}

.support-tiers {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter) 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .support-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-tier__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.support-tier__for {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.support-tier__list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.support-tier__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--steel);
}

.prose-block {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--page-gutter) 2.5rem;
  color: var(--text-muted);
}

.prose-block__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p,
.legal-doc ul {
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-doc ul {
  padding-left: 1.2rem;
}

/* Technologies / tags */
.tech-stack-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  max-width: 900px;
}

.tech-stack-grid li {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tech-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tags li {
  margin: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border-subtle);
}

.tech-used-section {
  padding-top: 2rem;
}

.tech-used-section__note {
  max-width: 52ch;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Portfolio media & code */
.case-study__header {
  margin-bottom: 1.25rem;
}

.case-study__lede {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.media-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .media-row:not(.media-row--single) {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.media-slot__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin: 0 0 0.5rem;
}

.media-placeholder {
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  min-height: 120px;
  color: var(--steel);
  font-size: 0.85rem;
}

.media-placeholder--video {
  min-height: 200px;
  aspect-ratio: 16 / 9;
}

.media-placeholder--shot {
  min-height: 140px;
}

.media-placeholder--wide {
  min-height: 180px;
}

.media-placeholder-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}

.code-snippet-caption {
  font-size: 0.82rem;
  color: var(--steel);
  margin: 0 0 0.5rem;
}

.code-snippet {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #070708;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.5;
}

.code-snippet code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace;
  color: #c8cdd8;
}

.portfolio-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter) 2rem;
}

.testimonials__heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  text-align: center;
  margin: 0 0 0.5rem;
}

.testimonials__sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  padding: 1.5rem;
  margin: 0;
}

.testimonial-card__quote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.testimonial-card__cite {
  font-size: 0.82rem;
  color: var(--steel);
}
