/* ============================================================
   CORWEN PARTNERS — Website Styles
   Design System v1.0 — 2026
============================================================ */

:root {
  /* Brand Colors */
  --navy:        #0F1F2E;
  --navy-deep:   #0A1720;
  --slate:       #2F4154;
  --rose:        #C98490;  /* brightened from brand #B76E79 for legibility */
  --rose-light:  #E8C4C8;
  --rose-bright: #E0A8B0;  /* for small text on dark backgrounds */
  --warm-white:  #F6F7F4;
  --off-white:   #FAFAF8;
  --cool-gray:   #8A96A3;
  --teal:        #4F7F7A;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;

  /* Layout */
  --container:      min(1120px, calc(100vw - 64px));
  --section-space:  clamp(5rem, 8vw, 7.5rem);

  /* Borders */
  --border:         rgba(15,31,46,0.08);
  --border-strong:  rgba(15,31,46,0.14);
  --border-dark:    rgba(255,255,255,0.08);

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(15,31,46,0.07);
  --shadow-card: 0 8px 40px rgba(15,31,46,0.11);

  /* Transitions */
  --t-fast:   160ms ease;
  --t-medium: 240ms ease;
}

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

/* ---- Layout ---------------------------------------------- */
.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

/* ---- Surfaces -------------------------------------------- */
.surface-navy {
  background: var(--navy);
  color: var(--warm-white);
}

.surface-off-white {
  background: var(--off-white);
}

.surface-warm-white {
  background: var(--warm-white);
}

/* ---- Section Labels -------------------------------------- */
.label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-lg);
}

/* ---- Headings -------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

/* ---- Body Text ------------------------------------------- */
.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(246,247,244,0.92);
  max-width: 36rem;
}

.body-copy {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
}

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--slate);
  border-color: var(--slate);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.btn-accent:hover {
  background: #a55f6a;
  border-color: #a55f6a;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(246,247,244,0.3);
}

.btn-outline-light:hover {
  border-color: rgba(246,247,244,0.6);
  transform: translateY(-1px);
}

/* ====================================================
   NAVIGATION
==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(15,31,46,0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

/* Footer logo */
.footer-logo {
  height: 44px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  opacity: 0.85;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--slate);
  transition: color var(--t-fast);
}

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

.site-nav .nav-cta {
  color: var(--rose);
  font-weight: 500;
}

.site-nav .nav-cta:hover { color: #a55f6a; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

/* ====================================================
   HERO
==================================================== */
.hero {
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: clamp(2rem, 3.5vw, 3.5rem);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 0%, rgba(0,0,0,0.5) 0%, transparent 65%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Copy side */
.hero-copy {
  display: grid;
  gap: var(--space-lg);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--rose);
  letter-spacing: 0;
  margin-bottom: 4px;
}

.hero-copy h1 {
  color: #fff;
  line-height: 1.0;
  max-width: 11ch;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Panel side */
.hero-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--rose);
  margin-top: -0.5rem;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-panel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,247,244,0.5);
}

.hero-panel-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.hero-panel-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-panel-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.04);
}

.hero-stat {
  padding: 12px 14px;
  background: rgba(15,31,46,0.4);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-value em {
  font-style: normal;
  color: #fff;
}

.hero-stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,247,244,0.45);
  line-height: 1.4;
}

/* Signal bars */
.hero-signal-track {
  display: grid;
  gap: 12px;
}

.signal-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 14px;
}

.signal-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(246,247,244,0.55);
}

.signal-bar-track {
  position: relative;
  height: 2px;
  background: rgba(255,255,255,0.08);
}

.signal-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--rose));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.signal-row:nth-child(2) .signal-bar-fill { transition-delay: 0.15s; }
.signal-row:nth-child(3) .signal-bar-fill { transition-delay: 0.3s; }

.hero.is-in-view .signal-bar-fill { transform: scaleX(1); }

.signal-bar-dot {
  position: absolute;
  right: -1px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0;
  transition: opacity 0.3s ease 1.2s;
}

.signal-row:nth-child(2) .signal-bar-dot { transition-delay: 1.35s; }
.signal-row:nth-child(3) .signal-bar-dot { transition-delay: 1.5s; }

.hero.is-in-view .signal-bar-dot { opacity: 1; }

/* ====================================================
   HERO RULE (replaces marquee strip)
==================================================== */
.hero-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183,110,121,0.4) 20%, rgba(79,127,122,0.3) 80%, transparent);
}

/* ====================================================
   SERVICES
==================================================== */
.services-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.services-header h2 {
  max-width: 14ch;
}

.services-header-note {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate) !important;
  max-width: 36rem;
}

/* Services grid: 2-col, 2px gap */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.service-card {
  background: var(--off-white);
  padding: 40px;
  display: grid;
  gap: 16px;
  align-content: start;
  transition: background var(--t-medium);
}

.service-card:hover {
  background: var(--warm-white);
}

.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--rose);
  letter-spacing: 0;
}

.service-card h3 {
  font-size: 1.45rem;
}

.service-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate) !important;
  margin: 0;
}

.service-details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.service-details li {
  font-size: 14px;
  color: var(--navy);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.service-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 1px;
  background: var(--rose);
}

/* ====================================================
   AI SECTION
==================================================== */
.ai-section {
  background: var(--navy);
  color: var(--warm-white);
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 80%);
  pointer-events: none;
}

.ai-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.ai-copy {
  display: grid;
  gap: var(--space-xl);
}

.ai-copy h2 {
  max-width: 16ch;
}

.ai-body {
  display: grid;
  gap: 16px;
}

.ai-body p {
  font-size: 15px;
  line-height: 1.82;
  color: rgba(246,247,244,0.92);
  margin: 0;
}

.ai-body strong {
  color: #fff;
  font-weight: 500;
}

/* AI use case list */
.ai-use-cases {
  display: grid;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  margin-top: 8px;
}

.ai-use-case {
  background: rgba(15,31,46,0.5);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  transition: background var(--t-fast);
}

.ai-use-case:hover {
  background: rgba(183,110,121,0.08);
}

.ai-use-case-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}

.ai-use-case-impact {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: var(--rose);
  white-space: nowrap;
}

/* AI panel */
.ai-panel {
  display: grid;
  gap: 2px;
}

.ai-panel-quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--rose);
  padding: 32px;
}

.ai-panel-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}

.ai-panel-quote blockquote em {
  font-style: italic;
  color: var(--rose);
}

.ai-panel-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,247,244,0.4);
  font-style: normal;
}

.ai-panel-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.05);
}

.ai-stat {
  padding: 24px;
  background: rgba(15,31,46,0.5);
  display: grid;
  gap: 6px;
}

.ai-stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1;
}

.ai-stat-value em {
  font-style: normal;
  color: var(--warm-white);
}

.ai-stat-desc {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246,247,244,0.7);
  line-height: 1.5;
}

/* ====================================================
   WHY CP
==================================================== */
.why-section {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.why-header h2 {
  max-width: 14ch;
}

.why-header-note {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate) !important;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

.why-card {
  background: var(--warm-white);
  padding: 36px 32px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: background var(--t-medium);
}

.why-card:hover {
  background: var(--off-white);
}

.why-card-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--rose);
}

.why-card h3 {
  font-size: 1.25rem;
}

.why-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate) !important;
  margin: 0;
}

/* ====================================================
   APPROACH
==================================================== */
.approach-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.approach-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.approach-intro {
  display: grid;
  gap: var(--space-lg);
  position: sticky;
  top: 100px;
}

.approach-intro h2 {
  max-width: 12ch;
}

.approach-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate) !important;
  margin: 0;
}

.approach-steps {
  display: grid;
  gap: 2px;
  background: var(--border);
}

.approach-step {
  background: var(--off-white);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: start;
  transition: background var(--t-medium);
}

.approach-step:hover {
  background: var(--warm-white);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(15,31,46,0.12);
  line-height: 1;
  padding-top: 2px;
}

.step-body {
  display: grid;
  gap: 8px;
}

.step-body h3 {
  font-size: 1.35rem;
}

.step-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate) !important;
  margin: 0;
}

.step-body ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.step-body ul li {
  font-size: 14px;
  color: var(--navy);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.step-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 1px;
  background: var(--rose);
}

/* ====================================================
   ABOUT
==================================================== */
.about-section {
  background: var(--navy);
  color: var(--warm-white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 70%);
  pointer-events: none;
}

.about-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: var(--space-xl);
}

.about-copy h2 {
  max-width: 14ch;
}

.about-copy p {
  font-size: 15px;
  line-height: 1.82;
  color: rgba(246,247,244,0.92);
  margin: 0;
}

.about-positioning {
  border-left: 2px solid var(--rose);
  padding: 0 0 0 24px;
}

.about-positioning p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(246,247,244,0.9) !important;
}

/* Credentials panel */
.about-credentials {
  display: grid;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  align-content: start;
}

.credential-block {
  background: rgba(15,31,46,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px 32px;
  display: grid;
  gap: 8px;
  transition: background var(--t-fast);
}

.credential-block:hover {
  background: rgba(183,110,121,0.07);
}

.credential-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

.credential-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(246,247,244,0.92);
}

/* ====================================================
   CONTACT
==================================================== */
.contact-section {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: var(--space-xl);
  position: sticky;
  top: 100px;
}

.contact-copy h2 {
  max-width: 12ch;
}

.contact-copy p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--slate);
  margin: 0;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
}

.contact-email-link:hover {
  color: #a55f6a;
}

/* Contact form */
.contact-form {
  background: var(--navy);
  border-top: 2px solid var(--rose);
  padding: 40px;
  display: grid;
  gap: 0;
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.form-row label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,247,244,0.5);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--warm-white);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(246,247,244,0.3);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: rgba(255,255,255,0.07);
}

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

.hidden-field { position: absolute; left: -9999px; }

.form-submit { margin-top: 8px; }

/* ====================================================
   FOOTER
==================================================== */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-main {
  padding: clamp(3rem, 5vw, 4.5rem) 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-col {
  display: grid;
  gap: var(--space-lg);
  align-content: start;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-mark-svg {
  width: 34px;
  height: 34px;
}

.footer-brand-words {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer-brand-partner {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--rose);
}

.footer-col-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,247,244,0.35);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(246,247,244,0.7);
  transition: color var(--t-fast);
}

.footer-links a:hover { color: #fff; }

.footer-contact p {
  font-size: 13px;
  color: rgba(246,247,244,0.7);
  line-height: 1.7;
  margin: 0;
}

.footer-contact a {
  color: var(--rose);
  transition: color var(--t-fast);
}

.footer-contact a:hover { color: var(--rose-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom-copy {
  font-size: 12px;
  color: rgba(246,247,244,0.3);
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1080px) {
  .hero-shell,
  .ai-shell,
  .about-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .services-header,
  .why-header {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .approach-shell {
    grid-template-columns: 1fr;
  }

  .approach-intro {
    position: static;
  }

  .contact-copy {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 40px, 540px);
    --section-space: 4rem;
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--t-fast), transform var(--t-fast);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    font-size: 14px;
  }

  .site-nav a:last-child { border-bottom: 0; }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-row {
    grid-template-columns: 1fr;
  }

  .ai-panel-stat {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .strip-inner { animation-duration: 18s; }
}


/* === HIGH-SPECIFICITY CONTRAST OVERRIDES === */
body .services-header-note,
body .services-header-note p { color: #2F4154 !important; }
body .service-card > p { color: #2F4154 !important; }
body .service-details li { color: #0F1F2E !important; }
body .why-header-note { color: #2F4154 !important; }
body .why-card p { color: #2F4154 !important; }
body .approach-intro p { color: #2F4154 !important; }
body .step-body p { color: #0F1F2E !important; }
body .step-body ul li { color: #2F4154 !important; }
body .contact-copy p { color: #2F4154 !important; }
body .ai-body p { color: #fff !important; }
body .about-copy p { color: #fff !important; }
body .credential-text { color: #fff !important; }
