:root {
  --navy: #35486B;
  --navy-dark: #283756;
  --cream: #EEE9DE;
  --bg: var(--cream);
  --bg-elevated: #f7f4ec;
  --surface: #f8f5ee;
  --surface-muted: #e8e2d5;
  --text: #2a3a56;
  --text-secondary: #4a5a73;
  --muted: #6b7385;
  --line: #e0d9cc;
  --line-strong: #d1c9b8;
  --line-accent: rgba(53, 72, 107, 0.22);
  --line-accent-strong: rgba(53, 72, 107, 0.38);
  --purple: var(--navy);
  --purple-dark: var(--navy-dark);
  --purple-soft: #e4e0d6;
  --purple-glow: rgba(53, 72, 107, 0.18);
  --blue: var(--purple);
  --blue-dark: var(--purple-dark);
  --blue-soft: var(--purple-soft);
  --blue-glow: var(--purple-glow);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
  --section-title-size: clamp(1.5rem, 2.5vw, 2rem);
  --section-note-size: 1rem;
  --card-title-size: 1.0625rem;
  --card-subtitle-size: 0.9375rem;
  --card-meta-size: 0.8125rem;
  --card-body-size: 0.9375rem;
  --card-label-size: 0.6875rem;
  --meta-loc-size: var(--card-meta-size);
  --meta-loc-color: #6b7280;
  --meta-loc-weight: 500;
  --meta-loc-leading: 1.4;
  --work-title-size: var(--card-title-size);
  --list-copy-size: var(--card-body-size);
  --card-pad-x: 1.5rem;
  --section-grid-gap: 1.25rem;
  --header-height: 72px;
  --amber: #ecab3f;
  --amber-dark: #b87a17;
  --amber-soft: rgba(236, 171, 63, 0.16);
  --amber-glow: rgba(236, 171, 63, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: var(--list-copy-size);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.app-wrap {
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
}

/* ── Background ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(53, 72, 107, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 5%, rgba(53, 72, 107, 0.06), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 20%, rgba(53, 72, 107, 0.05), transparent 50%),
    var(--bg);
  pointer-events: none;
}

.page-home .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.page-home .site-header.is-scrolled {
  background: rgba(238, 233, 222, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(17, 24, 39, 0.04);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--amber);
  z-index: 300;
  pointer-events: none;
}

.page-home .container {
  max-width: none;
  width: 100%;
  padding: 0 0 1.5rem;
}

.page-home .landing-section,
.page-home .cta-band {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.page-home .landing-section {
  padding-top: 1.5rem;
  padding-bottom: 0;
}

.page-home .landing-section .section-header {
  margin-bottom: 1rem;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#hero.reveal {
  animation: heroEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  transform: none;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bottom > *,
.hero-title {
  animation: heroChild 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-title { animation-delay: 0.12s; }
.hero-subtitle { animation-delay: 0.18s; }
.hero-meta { animation-delay: 0.24s; }
.hero-footer { animation-delay: 0.3s; }

@keyframes heroChild {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Nav enhancements ── */
.nav-link.is-active {
  color: var(--purple-dark);
  background: var(--purple-soft);
}

.landing-section--contact {
  padding-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-bottom > *,
  .hero-title,
  .project-feature-card,
  .process-step {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .project-feature-card,
  .process-step {
    opacity: 1;
    transform: none;
  }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 233, 222, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.site-logo-img {
  display: block;
  height: 44px;
  width: auto;
}

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

.header-cta {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--purple);
  background: var(--purple-soft);
}

/* ── Hero ── */
.page-home .hero-card {
  min-height: min(calc(100dvh - var(--header-height) - 170px), 600px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  overflow: hidden;
  padding: 2.25rem clamp(1.25rem, 4vw, 3rem) 2rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.75rem var(--card-pad-x) 2.25rem;
  margin-bottom: 1rem;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(53, 72, 107, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.hero-bg-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  will-change: transform;
}

.hero-bg-blob--1 {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -120px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  animation: heroBlobDrift1 18s ease-in-out infinite;
}

.hero-bg-blob--2 {
  width: 460px;
  height: 460px;
  right: -140px;
  top: 5%;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
  animation: heroBlobDrift2 22s ease-in-out infinite;
}

.hero-bg-blob--3 {
  width: 360px;
  height: 360px;
  left: 30%;
  bottom: -180px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  animation: heroBlobDrift3 26s ease-in-out infinite;
}

@keyframes heroBlobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 50px) scale(1.12); }
}

@keyframes heroBlobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(0.94); }
}

@keyframes heroBlobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -60px) scale(1.08); }
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(360px circle at var(--spot-x, 50%) var(--spot-y, 20%), var(--amber-glow), transparent 70%);
}

.hero-card.is-spotlight-active .hero-spotlight {
  opacity: 1;
}

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

.hero-columns {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.hero-col-text {
  width: 100%;
  margin-top: 2rem;
  text-align: center;
}

.hero-title--type {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: clamp(2.25rem, 5vw, 3.375rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--text);
}

.hero-type-line1 {
  display: block;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 0.15s forwards;
}

.hero-type-line2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.15em;
  margin-top: 0.4rem;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  opacity: 0;
  animation: heroFadeUp 0.6s ease 0.3s forwards;
}

.hero-type-word {
  font-style: italic;
  font-weight: 700;
  color: var(--amber);
}

.hero-caret {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 0.3rem;
  background: var(--amber);
  animation: heroCaretBlink 1s step-end infinite;
}

.hero-subtitle {
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 1.15rem auto 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.05s forwards;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.meta-icon {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
}

.meta-icon svg {
  width: 15px;
  height: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.2s forwards;
}

.hero-col-text .hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.3s forwards;
}

.hero-col-text .hero-bottom .hero-meta,
.hero-col-text .hero-bottom .hero-footer.social-links {
  justify-content: center;
}

.hero-footer.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
  position: static;
}

/* Spinning availability badge */
.hero-badge-spin {
  position: absolute;
  top: 1.5rem;
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
  width: 96px;
  height: 96px;
}

.hero-badge-svg {
  width: 100%;
  height: 100%;
  animation: heroSpinSlow 16s linear infinite;
}

.hero-badge-text {
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  fill: var(--purple-dark);
}

.hero-badge-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--amber);
  pointer-events: none;
  animation: heroPulseArrow 1.8s ease-in-out infinite;
}

/* Bottom marquee strip */
.hero-marquee {
  position: relative;
  z-index: 1;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: heroMarquee 22s linear infinite;
}

.hero-marquee:hover .hero-marquee-track {
  animation-play-state: paused;
}

.hero-marquee-set {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  padding-right: 0.85rem;
}

.hero-marquee-set span {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-marquee-set span.hero-marquee-dot {
  color: var(--amber);
}

/* ── Hero keyframes ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCaretBlink {
  50%, 100% { opacity: 0; }
}

@keyframes heroSpinSlow {
  to { transform: rotate(360deg); }
}

@keyframes heroPulseArrow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes heroMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-subtitle,
  .hero-actions,
  .hero-col-text .hero-bottom,
  .hero-type-line1,
  .hero-type-line2 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-badge-svg,
  .hero-badge-arrow,
  .hero-marquee-track,
  .hero-bg-blob {
    animation: none !important;
  }

  .hero-marquee-set:nth-of-type(2) {
    display: none;
  }

  .hero-caret {
    animation: none !important;
    opacity: 1;
  }

  .hero-spotlight {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-badge-spin {
    width: 76px;
    height: 76px;
    top: 1rem;
    right: 1rem;
  }

  .hero-badge-text {
    font-size: 8.1px;
  }
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-1px);
}

.action-btn.primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 24px var(--purple-glow);
}

.action-btn.primary:hover {
  background: var(--purple-dark);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.25);
}

.action-btn.outline {
  border-color: var(--line-strong);
  background: var(--surface);
}

.action-btn.outline:hover {
  border-color: var(--line-accent-strong);
  background: var(--purple-soft);
  color: var(--purple-dark);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(248, 245, 238, 0.95);
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

.social-icon-btn:hover {
  border-color: var(--line-accent-strong);
  background: var(--purple-soft);
  color: var(--purple);
  transform: translateY(-1px);
}

/* ── Sections ── */
.landing-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  padding: 3.5rem 0 0.5rem;
}

.page-home .landing-section--contact {
  padding-bottom: 0;
}

/* CTA band */
.cta-band {
  margin-top: 3rem;
  padding: 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  box-shadow: 0 20px 44px var(--purple-glow);
  color: #fff;
}

.page-home .cta-band {
  margin-top: 1.5rem;
}

.page-home .cta-band-inner {
  padding: 1.35rem 1.25rem;
}

.page-home .site-footer {
  margin-top: 2.5rem;
}

.cta-band-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.cta-band-copy p {
  margin: 0.5rem 0 0;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band-btn {
  flex-shrink: 0;
  background: #fff !important;
  color: var(--purple-dark) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}

.cta-band-btn:hover {
  background: var(--purple-soft) !important;
  color: var(--purple-dark) !important;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--purple-soft);
  border: 1px solid var(--line-accent);
  color: var(--purple-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-section h2,
.section-header h2 {
  margin: 0;
  font-size: var(--section-title-size);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--text);
}

.section-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: var(--section-note-size);
  line-height: 1.6;
}

/* ── Cards (shared) ── */
.simple-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem var(--card-pad-x);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.simple-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #e5e7eb;
}

.simple-card h3 {
  margin: 0;
  font-size: var(--card-title-size);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: 0;
}

/* ── Section divider ── */
.section-divider {
  display: block;
  width: 100%;
  height: 80px;
  margin: -2rem 0 0.5rem;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-divider path {
  fill: var(--navy);
}

@media (max-width: 520px) {
  .section-divider {
    height: 50px;
  }
}

.section-divider--header {
  margin: 0 0 0.5rem;
}

.section-rule {
  width: min(200px, 40%);
  margin: 2.5rem auto 2rem;
  border: none;
  border-top: 3px solid var(--navy);
  border-radius: 2px;
}

/* ── Projects ── */
.page-home .landing-section--projects {
  padding: 1.25rem 1.25rem 1.75rem;
}

.page-home .landing-section--projects .section-header {
  margin-bottom: 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--section-grid-gap) + 0.75rem);
  align-items: stretch;
}

@media (max-width: 760px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.project-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #e5e7eb;
}

.projects-grid.is-visible .project-feature-card {
  opacity: 1;
  transform: translateY(0);
}

.projects-grid .project-feature-card:nth-child(1) { transition-delay: 0ms; }
.projects-grid .project-feature-card:nth-child(2) { transition-delay: 110ms; }
.projects-grid .project-feature-card:nth-child(3) { transition-delay: 220ms; }
.projects-grid .project-feature-card:nth-child(4) { transition-delay: 330ms; }
.projects-grid .project-feature-card:nth-child(5) { transition-delay: 440ms; }

.project-feature-band {
  position: absolute;
  top: -1.25rem;
  left: -0.75rem;
  right: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 18px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.project-feature-band--1,
.project-feature-band--2,
.project-feature-band--3,
.project-feature-band--4,
.project-feature-band--5 {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%);
}

.project-feature-band .project-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.14);
  overflow: hidden;
}

.project-feature-band .project-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.project-feature-band .project-feature-icon img.project-logo--contain {
  object-fit: contain;
  padding: 0.35rem;
  background: #fff;
}

.project-feature-band .project-feature-title {
  flex: 1;
  min-width: 0;
  color: #fff;
}

.project-feature-band-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-feature-band-link:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.project-feature-band-link--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.project-feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 3.25rem var(--card-pad-x) 1.5rem;
}

.project-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-feature-tag {
  display: inline-flex;
  color: var(--purple-dark);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-feature-title {
  margin: 0;
  font-size: var(--card-title-size);
  font-weight: 700;
  color: var(--text);
}

.project-feature-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
  flex: 1;
}

.project-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.project-feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-accent);
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.project-feature-btn:hover {
  border-color: var(--line-accent-strong);
  background: #ede9fe;
}

.project-feature-btn--disabled {
  background: var(--surface-muted);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Services ── */
.services-timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.services-timeline::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  bottom: 0.9rem;
  left: 2rem;
  width: 2px;
  background: var(--line-accent);
  z-index: 0;
}

.timeline-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.timeline-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: var(--purple-soft);
  border: 1px solid var(--line-accent);
  color: var(--purple-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-title {
  margin: 0;
  font-size: var(--card-title-size);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.timeline-desc {
  margin: 0;
  margin-left: 4.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 52em;
}

@media (max-width: 520px) {
  .services-timeline {
    gap: 2rem;
  }
}

@media (max-width: 520px) {
  .project-feature-band {
    top: -1rem;
    left: -0.6rem;
    right: 1.25rem;
    min-height: 3.25rem;
    padding: 0.5rem 1rem;
  }

  .project-feature-body {
    padding: 2.75rem 1.1rem 1.25rem;
  }

  .project-feature-actions {
    gap: 0.4rem;
  }

  .project-feature-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }
}

/* ── Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(var(--section-grid-gap) + 0.75rem);
}

.process-step {
  position: relative;
  padding-top: 1.75rem;
  border: 2px solid var(--navy);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-grid.is-visible .process-step {
  opacity: 1;
  transform: translateY(0);
}

.process-grid .process-step:nth-child(1) { transition-delay: 0ms; }
.process-grid .process-step:nth-child(2) { transition-delay: 110ms; }
.process-grid .process-step:nth-child(3) { transition-delay: 220ms; }
.process-grid .process-step:nth-child(4) { transition-delay: 330ms; }

.process-step-num {
  position: absolute;
  top: 1.5rem;
  right: var(--card-pad-x);
  line-height: 1;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: var(--card-title-size);
  font-weight: 700;
  color: var(--text);
}

.process-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
}

.contact-form label[hidden] {
  display: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--text);
  background: var(--surface-muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form select {
  appearance: auto;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--line-accent-strong);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.contact-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-toggle-btn {
  flex: 1;
  min-width: 180px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-toggle-btn:hover {
  border-color: var(--line-accent-strong);
}

.contact-toggle-btn.is-active {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-form-row[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */
.site-footer {
  max-width: 1120px;
  margin: 3rem auto 0;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.page-home .site-footer {
  max-width: none;
  margin: 4rem 0 0;
  padding: 0;
  background: var(--navy);
  border-top: none;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2.75rem;
  text-align: center;
}


.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-home .footer-social .social-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
}

.page-home .footer-social .social-icon-btn:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(196, 181, 253, 0.5);
  color: #fff;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.page-home .footer-copy {
  color: #9ca3af;
}

/* ── Legacy / unused ── */
.section-tabs,
.panel {
  display: none;
}

/* ── Responsive ── */
@media (min-width: 981px) {
  .nav-link {
    font-size: 1.1875rem;
    padding: 0.55rem 1.05rem;
  }
}

@media (max-width: 980px) {
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.75rem 1.5rem;
  }

  .cta-band-btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --card-pad-x: 1.15rem;
  }

  .container {
    padding: 1rem 1rem 2.5rem;
  }

  .header-inner {
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
  }

  .site-nav {
    flex: 1;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .nav-link {
    font-size: 0.9375rem;
    padding: 0.4rem 0.5rem;
  }

  .header-cta {
    display: none;
  }

  .hero-card {
    min-height: calc(100dvh - var(--header-height));
    padding: 1.35rem 1.1rem 1.25rem;
    text-align: center;
    border-radius: 0;
  }

  .hero-title {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    line-height: 1.15;
  }

  .hero-meta {
    justify-content: center;
    margin-top: 0;
  }

  .hero-footer.social-links {
    justify-content: center;
    margin-top: 0.85rem;
  }

  .landing-section {
    padding-top: 2.5rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 0.55rem 0.65rem;
  }

  .site-logo-img {
    height: 34px;
  }

  .nav-link {
    font-size: 0.8125rem;
    padding: 0.35rem 0.42rem;
  }

  .hero-card {
    min-height: calc(100dvh - var(--header-height));
    padding: 1.15rem 0.9rem 1rem;
    border-radius: 0;
  }

  .hero-title {
    font-size: clamp(1.45rem, 8.2vw, 1.85rem);
  }

  .social-icon-btn {
    width: 36px;
    height: 36px;
  }
}
