/* === Variables === */
:root {
  --bg:          #090909;
  --bg-2:        #0d0d0d;
  --bg-card:     #111111;
  --white:       #ffffff;
  --grey:        #9a9a9a;
  --grey-dim:    #444444;
  --blue:        #3b3bf5;
  --blue-bright: #5555ff;
  --blue-dim:    rgba(59, 59, 245, 0.14);
  --blue-glow:   rgba(59, 59, 245, 0.35);
  --border:      rgba(255, 255, 255, 0.07);
  --border-blue: rgba(59, 59, 245, 0.35);
  --shadow:      0 18px 48px rgba(59, 59, 245, 0.1);
  --radius:      4px;
  --transition:  0.22s ease;
}

.site-wrap {
  transform-origin: 50vw 50vh;
}

/* === Page fade-in — runs on every page load, no JS required === */
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

main {
  animation: page-fade-in 0.35s ease forwards;
}

/* === Page Transition Wipe === */

/* Exit — dark cover sweeps over current page */
#page-wipe {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  background: #06060f;
  clip-path: inset(0 100% 0 0);
  animation: wipe-cover 0.4s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes wipe-cover {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}



/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--blue-bright);
  box-shadow: 0 6px 20px var(--blue-glow);
}

/* === Scroll Progress Bar === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
}

.scroll-progress::before,
.scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(59, 59, 245, 0.8);
  transition: transform 0.1s linear;
}

.scroll-progress::before {
  left: 0;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}

.scroll-progress::after {
  right: 0;
  transform-origin: right;
  transform: scaleX(var(--progress, 0));
}

/* === Cursor Glow === */
.cursor-glow {
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 59, 245, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  will-change: left, top;
}

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

html { scroll-behavior: smooth; }

/* left blue accent bar — mirrors PLP's rose side bar */
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(59, 59, 245, 0.12), transparent 34rem),
    var(--bg);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  animation: page-in 0.25s ease forwards;
}


@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* === NAV — centered logo, nav right (mirrors PLP header) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px) 12px clamp(32px, 4vw, 56px);
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition);
}

.header-logo {
  grid-column: 2;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: clamp(44px, 5vw, 64px);
  width: auto;
  display: block;
}

.nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
}

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


.nav .nav-cta {
  color: var(--white);
  background: var(--blue);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav .nav-cta:hover {
  background: var(--blue-bright);
  box-shadow: 0 6px 20px var(--blue-glow);
}

/* hamburger */
.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.15s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 100px 40px 40px;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--grey);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--white); }

/* === Buttons === */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--border-blue);
  border-radius: 50px;
  padding: 0 28px;
  font: 700 0.82rem/1.2 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button.primary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  box-shadow: 0 8px 28px var(--blue-glow);
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: var(--border);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* === HERO — split layout matching PLP === */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 56px);
  padding: clamp(44px, 8vw, 88px) clamp(18px, 5vw, 72px) 36px clamp(32px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-copy, .hero-media { position: relative; z-index: 1; }

.hero-copy { max-width: 620px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2 {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

h1 span { color: var(--blue); }

.hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Hero right — visual panel */
.hero-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--border-blue);
  border-radius: 0 0 0 80px;
  background:
    radial-gradient(circle at 50% 42%, rgba(59, 59, 245, 0.22) 0%, transparent 65%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(59, 59, 245, 0.05) 39px,
      rgba(59, 59, 245, 0.05) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(59, 59, 245, 0.05) 39px,
      rgba(59, 59, 245, 0.05) 40px
    ),
    #0a0a14;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

@keyframes breathe {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(59, 59, 245, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 36px rgba(59, 59, 245, 0.65));
  }
}


.hero-media img {
  width: clamp(180px, 55%, 300px);
  height: auto;
  border-radius: 16px;
  animation: breathe 4s ease-in-out infinite;
}

/* === INTRO BAND — fixed bottom strip (desktop) === */
.intro-band {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
  padding: 14px clamp(18px, 5vw, 72px);
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* Push page content up so footer isn't hidden behind the band */
body:has(.intro-band) footer {
  padding-bottom: calc(32px + 48px);
}

.intro-band span.divider {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  margin: 0 20px;
}

.intro-band p {
  margin: 0;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* === SECTION UTILITIES === */
.section {
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 72px) clamp(58px, 9vw, 100px) clamp(32px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading .eyebrow { margin-bottom: 12px; }

h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

h2 span { color: var(--blue); }

.section-heading > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--grey);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.75;
  max-width: 600px;
}

/* === SERVICES === */
.services-bg {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.service-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 26px;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.72;
}

/* === PORTFOLIO === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.portfolio-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(59, 59, 245, 0.14);
}

.browser-chrome {
  background: #161616;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.bd-red    { background: #FF5F57; }
.bd-yellow { background: #FFBD2E; }
.bd-green  { background: #28CA41; }

.browser-url {
  flex: 1;
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  height: 18px;
  font-size: 10px;
  color: var(--grey-dim);
  display: flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
}

.portfolio-preview {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.portfolio-preview iframe {
  width: 1280px;
  border: none;
  pointer-events: none;
  transform-origin: top left;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.portfolio-info { padding: 22px 22px 26px; }

.portfolio-info h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.portfolio-info p {
  margin: 0 0 18px;
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.65;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}

.portfolio-link:hover { color: var(--blue-bright); gap: 10px; }

/* === CTA BAND === */
.cta-band {
  background: linear-gradient(135deg, #0a0a1e 0%, #07071a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 { margin-bottom: 16px; }

.cta-band .section-heading > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

/* === FOOTER === */
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 52px clamp(18px, 5vw, 72px) 32px clamp(32px, 5vw, 72px);
  background: #050505;
  border-top: 1px solid var(--border);
}

.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--grey);
  max-width: 240px;
  line-height: 1.7;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--grey-dim);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 0.78rem; color: var(--grey-dim); margin: 0; }
.footer-bottom a  { color: var(--blue); }

/* === PAGE HERO (About & Contact) === */
.page-hero {
  padding: clamp(100px, 14vw, 160px) clamp(18px, 5vw, 72px) clamp(60px, 8vw, 100px) clamp(32px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 59, 245, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 16px;
}

.page-hero > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--grey);
  max-width: 600px;
  line-height: 1.75;
  margin: 0;
}

.divider { height: 1px; background: var(--border); }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-text h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.2rem); }

.about-text p {
  color: var(--grey);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.82;
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}

.stat-card .num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .label {
  font-size: 0.78rem;
  color: var(--grey);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition);
}

.value-card:hover { border-color: var(--border-blue); }

.value-icon { font-size: 28px; margin-bottom: 14px; }

.value-card h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 700; }

.value-card p { margin: 0; color: var(--grey); font-size: 0.92rem; line-height: 1.72; }

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.2rem); }

.contact-info > p {
  color: var(--grey);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.82;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.contact-detail-text h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 3px; }

.contact-detail-text p { font-size: 0.9rem; color: var(--grey); margin: 0; }

/* form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}

.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 16px; }

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 7px;
}

input, textarea, select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 13px 14px;
  font: 500 0.95rem/1.5 'Inter', sans-serif;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  background: rgba(59, 59, 245, 0.05);
}

input::placeholder, textarea::placeholder { color: var(--grey-dim); }

textarea { resize: vertical; min-height: 130px; }

select option { background: #1a1a1a; color: var(--white); }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  min-height: 52px;
  font-size: 0.88rem;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  min-height: 1.4em;
}

/* === ABOUT — Approach grid === */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.approach-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition);
}

.approach-item:hover { border-color: var(--border-blue); }

.approach-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.approach-item h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}

.approach-item p {
  margin: 0;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.72;
}

/* === ABOUT — No fluff checklist === */
.no-fluff-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.no-fluff-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.no-fluff-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--blue-bright);
  font-weight: 700;
  margin-top: 2px;
}

.no-fluff-item p {
  margin: 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.5vw, 1.05rem);
  line-height: 1.72;
}

/* === ABOUT — Vision card === */
.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vision-card blockquote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  margin: 0;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}

.vision-card > p {
  margin: 0;
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.75;
}

.vision-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white) !important;
}

.vision-tagline span { color: var(--blue); }

/* === THANK YOU PAGE === */
.thankyou-hero {
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 2px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--blue-bright);
  margin-bottom: 28px;
  animation: pop-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.thankyou-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin: 0 0 20px;
}

.thankyou-hero > p:not(.eyebrow):not(.thankyou-redirect) {
  color: var(--grey);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 0 36px;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.thankyou-redirect {
  font-size: 0.82rem;
  color: var(--grey-dim);
  margin: 0;
}

/* === FADE UP === */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

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

  .hero { min-height: auto; }

  .hero-media { min-height: 360px; }

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

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

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

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

@media (max-width: 680px), (orientation: landscape) and (max-height: 500px) {
  .site-header { display: flex; justify-content: center; position: relative; }

  .header-logo { grid-column: unset; position: static; transform: none; justify-content: center; }

  .nav { display: none; }

  .nav-toggle { display: flex; position: absolute; right: clamp(18px, 4vw, 40px); top: 0; height: 56px; align-items: center; }

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

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

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

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

  .about-stats { grid-template-columns: 1fr 1fr; }

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

  .intro-band {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    padding: 16px 20px;
  }

  .intro-band span.divider { display: none; }

  .intro-band p { white-space: normal; text-align: center; }

  body:has(.intro-band) footer { padding-bottom: 32px; }

  .footer { flex-direction: column; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; }

  .button { width: 100%; }
}
