/* GTeeSoft — brand system from company portfolio */
:root {
  --yellow: #f5c400;
  --yellow-deep: #d4a800;
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --charcoal: #2a2a2a;
  --muted: #6b6b6b;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: rgba(13, 13, 13, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 2px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 0.75rem;
}

.section-intro.light .eyebrow,
.expertise .eyebrow,
.why .eyebrow,
.services .eyebrow,
.contact .eyebrow {
  color: var(--yellow);
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
  color: var(--muted);
}

.section-intro.light .lede,
.expertise .lede,
.why .lede,
.services .lede,
.contact .lede {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 10, 14, 0.94) 0%, rgba(8, 10, 14, 0.78) 55%, rgba(8, 10, 14, 0.88) 100%),
    var(--bg) center / cover no-repeat;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-intro h2,
.why-title h2,
.sam-layout h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 5.2vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-intro.light h2,
.expertise h2,
.why h2,
.services h2,
.contact h2 {
  color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-top: 3px solid var(--yellow);
  border-left: 3px solid var(--yellow);
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  background:
    linear-gradient(135deg, var(--yellow) 0 35%, transparent 35%),
    linear-gradient(315deg, var(--ink) 0 28%, transparent 28%);
  background-color: rgba(255, 255, 255, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.9;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--yellow);
}

.nav-cta {
  background: var(--yellow);
  color: var(--ink) !important;
  padding: 0.55rem 1rem;
  font-weight: 700;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--white) !important;
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Hero slider */
.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
  background: #080a0e;
}

.hero-stage {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Extra bottom inset pulls the flex center upward into a natural hero band */
  padding: calc(var(--header-h) + 0.75rem) 0 8.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7.5s linear;
  will-change: transform;
}

.hero-slide.is-active .hero-media img {
  transform: scale(1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 10, 14, 0.9) 0%, rgba(8, 10, 14, 0.68) 46%, rgba(8, 10, 14, 0.42) 100%),
    linear-gradient(to top, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.35) 42%, transparent 70%);
}

.hero-stripes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.14;
  background: repeating-linear-gradient(
    -32deg,
    transparent 0 48px,
    rgba(245, 196, 0, 0.2) 48px 52px,
    transparent 52px 96px,
    rgba(255, 255, 255, 0.08) 96px 100px
  );
  mix-blend-mode: soft-light;
  animation: stripe-drift 28s linear infinite;
}

@keyframes stripe-drift {
  from { background-position: 0 0; }
  to { background-position: 220px 120px; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 42rem;
  margin-top: 0;
}

.hero-slide.is-active .hero-copy > * {
  animation: hero-rise 0.85s var(--ease) both;
}

.hero-slide.is-active .hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: 0.18s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
.hero-slide.is-active .hero-copy > *:nth-child(5) { animation-delay: 0.48s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-eyebrow {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.4rem;
  background: var(--yellow);
  color: var(--ink);
  letter-spacing: 0;
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-brand {
  font-size: clamp(3.2rem, 11vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 0;
  text-shadow: 0 0 1px #000, 1px 1px 0 rgba(0, 0, 0, 0.45);
}

.hero-title {
  font-size: clamp(2.15rem, 6vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero-line {
  font-style: italic;
  color: var(--yellow);
  font-size: 1.25rem;
  margin: 0.5rem 0 1.25rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-bottom: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.hero-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.hero-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--yellow);
  transform-origin: left center;
}

.hero.is-playing .hero-progress-bar {
  animation: hero-progress var(--hero-duration, 6500ms) linear forwards;
}

@keyframes hero-progress {
  from { width: 0%; }
  to { width: 100%; }
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-arrow {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 10, 14, 0.35);
  color: var(--white);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  outline: none;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-dot {
  width: 2.25rem;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot.is-active {
  background: var(--yellow);
  transform: scaleY(1.35);
}

.hero-dot:hover,
.hero-dot:focus-visible {
  background: rgba(255, 255, 255, 0.7);
  outline: none;
}

.hero-counter {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-counter [data-hero-index] {
  color: var(--yellow);
}

.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 6;
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: pulse-y 2.4s ease-in-out infinite;
}

@keyframes pulse-y {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* About */
.about {
  color: var(--white);
}

.about .section-bg {
  background:
    linear-gradient(100deg, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.55) 100%),
    var(--bg) center / cover no-repeat;
}

.about .lede,
.about .about-copy {
  color: rgba(255, 255, 255, 0.82);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.vm-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vm-block {
  background: var(--yellow);
  color: var(--ink);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.vm-block h3 {
  font-size: 1.5rem;
}

.vm-block p {
  margin: 0;
  color: rgba(13, 13, 13, 0.85);
}

.vm-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.vm-icon svg {
  width: 100%;
  height: 100%;
}

/* Portfolio */
.portfolio {
  background: var(--paper);
}

.portfolio-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.port-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 100%;
}

.port-ham {
  background: var(--yellow);
  color: var(--ink);
}

.port-sam {
  background: var(--ink);
  color: var(--white);
  background-image:
    linear-gradient(135deg, rgba(13, 13, 13, 0.88), rgba(13, 13, 13, 0.72)),
    url("../assets/portfolio-bg.jpg");
  background-size: cover;
  background-position: center;
}

.port-panel h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.port-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.port-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-weight: 600;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.port-sam .port-list li {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.port-list span {
  font-family: var(--font-display);
  font-weight: 800;
  color: rgba(13, 13, 13, 0.45);
}

.port-sam .port-list span {
  color: var(--yellow);
}

.port-extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.port-extra {
  border-top: 3px solid var(--yellow);
  background: var(--white);
  padding: 1.35rem 1.25rem;
}

.port-extra h4 {
  font-size: 1.2rem;
}

.port-extra p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Expertise */
.expertise {
  color: var(--white);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat {
  border-top: 2px solid var(--yellow);
  padding-top: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.tools-block {
  border: 1px solid var(--line-light);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(0, 0, 0, 0.28);
}

.tools-block h3 {
  color: var(--white);
  font-size: 1.4rem;
}

.tools-block p {
  color: rgba(255, 255, 255, 0.75);
}

.tool-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tool-list li {
  border: 1px solid rgba(245, 196, 0, 0.45);
  color: var(--yellow);
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* SAM */
.sam {
  background: var(--white);
}

.sam-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

.sam-pillars {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.sam-pillars li {
  padding-left: 1rem;
  border-left: 3px solid var(--yellow);
}

.sam-pillars h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.sam-pillars p {
  margin: 0;
  color: var(--muted);
}

.sam-support h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.sam-support .mt {
  margin-top: 1.75rem;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.chip-list.accent li {
  background: rgba(245, 196, 0, 0.18);
  border-color: rgba(245, 196, 0, 0.45);
}

/* Why */
.why {
  color: var(--white);
}

.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

.why-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.why-list li {
  position: relative;
  padding-left: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.impact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.impact {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-light);
  padding: 1.25rem;
}

.impact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--yellow);
  margin-bottom: 0.35rem;
}

.impact span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.why-banner {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  padding: 1rem 1.25rem;
  margin: 0;
  border-top: 3px solid var(--yellow);
}

/* Challenges */
.challenges {
  background: var(--paper);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.challenge-grid article {
  background: var(--white);
  padding: 1.5rem 1.35rem;
  border-bottom: 3px solid var(--yellow);
}

.challenge-grid h3 {
  font-size: 1.2rem;
}

.challenge-grid ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.challenge-grid li {
  color: var(--muted);
  padding-left: 0.9rem;
  border-left: 2px solid rgba(245, 196, 0, 0.7);
  font-size: 0.96rem;
}

/* Services */
.services {
  color: var(--white);
}

.tier-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tier {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 1rem 1.15rem;
}

.tier h3 {
  margin: 0;
  font-size: 1.1rem;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 0.7rem 0.5rem;
}

.tier p {
  margin: 0;
  color: var(--charcoal);
}

.tier-featured {
  outline: 2px solid var(--yellow);
}

.tier-featured h3 {
  background: var(--yellow);
  color: var(--ink);
}

.slabs {
  border: 1px solid var(--line-light);
  padding: 1.35rem 1.25rem;
  background: rgba(0, 0, 0, 0.28);
}

.slabs h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.slab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.slab-grid h4 {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.slab-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.contact-points li {
  padding-left: 1rem;
  border-left: 3px solid var(--yellow);
  color: rgba(255, 255, 255, 0.85);
}

.contact-form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  border-color: transparent;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  min-height: 1.25rem;
}

.form-status.is-ok {
  color: #1f6b2e;
}

.form-status.is-err {
  color: #9b1c1c;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.35rem;
}

.footer-note,
.footer-copy {
  margin: 0;
  font-size: 0.92rem;
}

.footer-copy {
  opacity: 0.65;
  margin-top: 0.5rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sam-layout,
  .why-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .challenge-grid,
  .port-extras {
    grid-template-columns: 1fr;
  }

  .portfolio-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(13, 13, 13, 0.96);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .vm-pair,
  .impact-row,
  .slab-grid,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .tier {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .vm-pair,
  .impact-row,
  .slab-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    display: none;
  }

  .hero-slide {
    padding: calc(var(--header-h) + 0.75rem) 0 7.5rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-controls {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-counter {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-media img {
    transform: none !important;
  }
  .hero-slide.is-active .hero-copy > * {
    opacity: 1;
    transform: none;
  }
}
