/* SollyWorks styles. Mobile first. */

:root {
  --blue: #0072F0;
  --navy: #25308F;
  --deep: #0A5BC4;
  --white: #FFFFFF;
  --gray: #F3F4F6;
  --text: #111827;
  --muted: #374151;
  --line: #E5E7EB;
  --tint: #EEF5FF;

  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 20px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 4px 14px rgba(37, 48, 143, .06);
  --shadow-md: 0 2px 4px rgba(17, 24, 39, .04), 0 14px 32px rgba(37, 48, 143, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 107px;
  --logo-h: 34px;
  --logo-ratio: 3.4074; /* visible width / height of the logo artwork */
}

@media (min-width: 960px) {
  :root { --header-h: 84px; --logo-h: 42px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--deep); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) { .wrap { padding-inline: 32px; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; outline-color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 114, 240, .22);
}
.btn-primary:hover {
  background: var(--deep);
  box-shadow: 0 10px 22px rgba(10, 91, 196, .28);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: #F6F7FF;
  box-shadow: 0 10px 22px rgba(37, 48, 143, .12);
}

.btn-small { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Logo: the full uploaded file, shown through a window sized to its artwork so the empty
   transparent margin around it does not take up space. The image itself is not altered. */
.logo {
  position: relative;
  display: block;
  flex: none;
  height: var(--logo-h);
  width: calc(var(--logo-h) * var(--logo-ratio));
  overflow: hidden;
  border-radius: 4px;
  transition: height .3s var(--ease), width .3s var(--ease);
}
.logo img {
  position: absolute;
  top: -135.185%;
  left: -4.348%;
  width: 108.696%;
  max-width: none;
  height: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--white);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(17, 24, 39, .05), 0 6px 20px rgba(37, 48, 143, .08); }

.header-inner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "logo cta" "nav nav";
  grid-template-rows: 62px auto;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;
}
.header-inner .logo { grid-area: logo; justify-self: start; }
.header-cta { grid-area: cta; justify-self: end; }
.site-nav { grid-area: nav; }

.header-inner { transition: grid-template-rows .3s var(--ease); }
.site-header.is-scrolled .header-inner { grid-template-rows: 54px auto; }
.site-header.is-scrolled .logo { --logo-h: 30px; }

.site-nav {
  margin-inline: -20px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul {
  display: flex;
  justify-content: space-between;
  gap: 0;
  min-width: max-content;
  padding-inline: 10px;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px; bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--navy); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }

@media (min-width: 640px) {
  .site-nav { margin-inline: -32px; }
  .site-nav ul { justify-content: center; gap: 12px; }
}

@media (min-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav cta";
    grid-template-rows: none;
    height: var(--header-h);
    transition: height .3s var(--ease);
  }
  .site-header.is-scrolled .header-inner { height: 68px; grid-template-rows: none; }
  .site-header.is-scrolled .logo { --logo-h: 36px; }
  .site-nav {
    margin: 0;
    overflow: visible;
    border-top: 0;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .site-nav ul { justify-content: center; gap: 8px; padding: 0; }
  .site-nav a { padding: 0 12px; font-size: 1rem; }
  .site-nav a::after { left: 12px; right: 12px; bottom: 8px; }
}

/* Sections */
.section { padding-block: clamp(4.5rem, 11vw, 7.5rem); }
.section-gray { background: var(--gray); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
}
.section-head-second { margin-top: clamp(4rem, 10vw, 6rem); }

h2, .h2 { font-size: clamp(2.1rem, 6.2vw, 3.1rem); }

.section-sub {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.4vw, 1.3rem);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(calc(100vh - var(--header-h)), 820px);
  padding-block: clamp(4.5rem, 14vw, 8rem);
  overflow: hidden;
  isolation: isolate;
  background: #F7FAFF;
}
@supports (height: 100svh) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 820px); }
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, #FFFFFF 15%, #EAF2FF 38%, #F2F3FF 55%, #FFFFFF 75%, #E9F3FF 92%);
  animation: gradient-shift 26s ease-in-out infinite alternate;
}

.shape {
  position: absolute;
  display: block;
  filter: blur(38px);
  opacity: .5;
  will-change: transform;
  animation: drift 28s ease-in-out infinite alternate;
}
.shape-1 { width: 300px; height: 300px; top: -60px; left: -80px; border-radius: 50%; background: #7DB6FF; animation-duration: 30s; }
.shape-2 { width: 220px; height: 220px; top: 12%; right: -70px; border-radius: 34%; background: #0072F0; opacity: .26; animation-name: drift-b; animation-duration: 34s; }
.shape-3 { width: 260px; height: 260px; bottom: -90px; left: 18%; border-radius: 50%; background: #A9B3FF; opacity: .42; animation-duration: 38s; animation-delay: -8s; }
.shape-4 { width: 160px; height: 160px; bottom: 14%; right: 12%; border-radius: 30%; background: #25308F; opacity: .16; animation-name: drift-b; animation-duration: 26s; animation-delay: -4s; }
.shape-5 { width: 130px; height: 130px; top: 22%; left: 10%; border-radius: 30%; background: #0A5BC4; opacity: .18; animation-duration: 32s; animation-delay: -12s; }
.shape-6 { width: 200px; height: 200px; top: -40px; right: 26%; border-radius: 50%; background: #BFDBFF; opacity: .6; animation-name: drift-b; animation-duration: 40s; animation-delay: -16s; }

@media (min-width: 960px) {
  .shape { filter: blur(56px); }
  .shape-1 { width: 460px; height: 460px; }
  .shape-2 { width: 340px; height: 340px; right: -40px; }
  .shape-3 { width: 400px; height: 400px; }
  .shape-4 { width: 240px; height: 240px; }
  .shape-5 { width: 200px; height: 200px; }
  .shape-6 { width: 300px; height: 300px; }
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(40px, 30px, 0) rotate(18deg) scale(1.06); }
  100% { transform: translate3d(-20px, 60px, 0) rotate(-10deg) scale(.96); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-50px, 24px, 0) rotate(-16deg) scale(1.05); }
  100% { transform: translate3d(-10px, -40px, 0) rotate(12deg) scale(1); }
}
@keyframes gradient-shift {
  from { transform: translate3d(-6%, -3%, 0); }
  to   { transform: translate3d(6%, 3%, 0); }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  padding: 8px 16px;
  border: 1px solid rgba(37, 48, 143, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 9.5vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.hero-sub {
  max-width: 34ch;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  margin-top: 2.25rem;
}
.hero-actions .btn { min-width: 160px; }

/* Hero entrance. Pure CSS, so it plays even without JavaScript and always ends visible. */
.rise { animation: rise .8s var(--ease) both; }
.rise-1 { animation-delay: .05s; }
.rise-2 { animation-delay: .15s; }
.rise-3 { animation-delay: .35s; }
.rise-4 { animation-delay: .5s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Story */
.story {
  position: relative;
  padding-block: clamp(5rem, 13vw, 9.5rem);
  background:
    radial-gradient(60% 40% at 0% 0%, rgba(0, 114, 240, .05), transparent 70%),
    var(--white);
}

.story-grid { display: grid; gap: clamp(2.5rem, 7vw, 4rem); }

.story-intro { margin-bottom: clamp(2rem, 6vw, 2.75rem); }
.story-intro h2 { font-size: clamp(2.6rem, 9vw, 4.25rem); letter-spacing: -0.025em; }
.story-sub {
  margin-top: 1rem;
  max-width: 30ch;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  line-height: 1.55;
}

.story-photo {
  position: relative;
  margin: 0 14px 14px 0;
}
.story-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 114, 240, .28), rgba(37, 48, 143, .22));
  transform: translate(14px, 14px);
}
.story-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -12px rgba(0, 114, 240, .35);
  background: var(--tint);
}

.timeline { position: relative; }
.timeline-track {
  position: absolute;
  top: 12px; bottom: 0; left: 11px;
  width: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.timeline-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--blue), var(--deep));
  transform-origin: top center;
  transform: scaleY(var(--progress, 1));
}

.step {
  position: relative;
  padding-left: 52px;
  padding-bottom: clamp(3rem, 9vw, 4.75rem);
}
.step:last-child { padding-bottom: 0; }

.step-dot {
  position: absolute;
  top: 4px; left: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px rgba(0, 114, 240, .25), 0 6px 14px rgba(0, 114, 240, .35);
}
.step-dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--white);
}

.step h3 {
  font-size: clamp(1.55rem, 4.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
}
.step p {
  margin-top: .9rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.2vw, 1.25rem);
  line-height: 1.75;
}

.step-now .step-body {
  padding: clamp(1.25rem, 4.5vw, 2.25rem);
  margin-top: -8px;
  border: 1px solid rgba(0, 114, 240, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #F3F8FF, #FFFFFF);
  box-shadow: var(--shadow-sm);
}
.step-now .step-dot { top: 12px; }

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3.5rem, 7vw, 6.5rem);
    align-items: start;
  }
  .timeline { padding-top: clamp(1rem, 4vw, 3rem); }
  .timeline-track { top: calc(clamp(1rem, 4vw, 3rem) + 14px); }
  .step { padding-bottom: 6.5rem; padding-left: 64px; }
  .step-dot { left: 1px; }
}

@media (min-width: 960px) and (min-height: 640px) {
  .story-aside {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }
}

/* Mission */
.mission {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(5rem, 14vw, 9rem);
  background: linear-gradient(135deg, var(--navy) 0%, #1E3FA8 50%, var(--deep) 100%);
  color: var(--white);
  text-align: center;
}
.mission-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mission-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  background: rgba(255, 255, 255, .10);
  animation: drift 36s ease-in-out infinite alternate;
}
.mission-glow span:first-child { width: 380px; height: 380px; top: -160px; left: -120px; }
.mission-glow span:last-child { width: 320px; height: 320px; bottom: -150px; right: -80px; background: rgba(0, 114, 240, .35); animation-name: drift-b; }

.mission-statement {
  max-width: 24ch;
  margin-inline: auto;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 5.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.mission :focus-visible { outline-color: var(--white); }

/* Cards */
.card-grid { display: grid; gap: 18px; }
.card-grid > li { display: flex; }

@media (min-width: 640px) {
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 1100px) {
  .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
  .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}

.card {
  position: relative;
  width: 100%;
  padding: clamp(1.6rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 114, 240, .25);
}

.card h3, .card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}
.card p { margin-top: .6rem; color: var(--muted); }

.card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px; height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--tint);
  color: var(--blue);
}
.card-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-small,
.card-service {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.card-small .card-icon,
.card-service .card-icon { margin-bottom: 0; width: 48px; height: 48px; border-radius: 14px; }
.card-small h3 { font-size: 1.15rem; }
.card-small p { margin-top: .35rem; }

.service-grid { display: grid; gap: 18px; }
.service-grid > li { display: flex; }

.card-feature {
  padding: clamp(1.9rem, 5vw, 2.75rem);
  border: 2px solid rgba(0, 114, 240, .35);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(0, 114, 240, .08), transparent 70%),
    var(--white);
  box-shadow: var(--shadow-md);
}
.card-feature:hover { border-color: var(--blue); }
.card-feature h4 { font-size: clamp(1.75rem, 4.6vw, 2.3rem); font-weight: 700; }
.card-feature p { margin-top: .85rem; font-size: clamp(1.125rem, 2.3vw, 1.25rem); max-width: 30ch; }
.card-icon-large { width: 68px; height: 68px; border-radius: 20px; margin-top: 1.25rem; }
.card-icon-large svg { width: 34px; height: 34px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.card-service h4 { font-size: 1.2rem; }
.card-service p { margin-top: .35rem; }

@media (min-width: 760px) {
  .service-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 22px;
  }
  .service-main { grid-row: span 3; }
  .card-feature {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
  }
  .card-feature .badge { position: absolute; top: clamp(1.9rem, 5vw, 2.75rem); left: clamp(1.9rem, 5vw, 2.75rem); }
  .card-feature .card-icon-large { margin-top: 3.5rem; }
}

/* Promise */
.checklist {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 860px) {
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 1.125rem;
  line-height: 1.55;
}
.check {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px; height: 32px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.check svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check path { stroke-dasharray: 16; stroke-dashoffset: 0; }

/* Contact */
.contact-grid { display: grid; gap: clamp(2.5rem, 7vw, 4rem); }
.contact-info h2 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.contact-info .section-sub { max-width: 34ch; }

.contact-lines { display: grid; gap: 10px; margin-top: 2rem; }
.contact-lines a,
.contact-place {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-lines a:hover { color: var(--deep); text-decoration: underline; }
.line-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.line-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card {
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { color: var(--text); font-size: 1rem; font-weight: 600; }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid #CBD2DC;
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:hover,
.field textarea:hover { border-color: #9AA5B4; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 114, 240, .18);
}
.contact-form .btn { margin-top: 6px; }

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 5rem;
    align-items: start;
  }
  .contact-info { padding-top: 1rem; }
}

/* Footer */
.site-footer {
  padding-block: clamp(3rem, 8vw, 4.25rem);
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
}
.footer-inner {
  display: grid;
  gap: 2rem;
}
.footer-brand { display: grid; gap: 1.1rem; justify-items: start; }
.footer-brand p { font-size: 1.125rem; color: var(--white); }
.logo-footer {
  --logo-h: 36px;
  box-sizing: content-box;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--white);
}
.logo-footer img {
  top: calc(12px - (var(--logo-h) * 1.35185));
  left: calc(18px - (var(--logo-h) * var(--logo-ratio) * .04348));
  width: calc(var(--logo-h) * var(--logo-ratio) * 1.08696);
}
.footer-meta { display: grid; gap: .35rem; font-size: 1.0625rem; }
.site-footer :focus-visible { outline-color: var(--white); }

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .footer-meta { text-align: right; }
}

/* Thank-you page */
.thanks {
  min-height: calc(100vh - var(--header-h) - 220px);
  text-align: center;
}
.thanks h1 {
  font-size: clamp(3rem, 11vw, 5rem);
  letter-spacing: -0.025em;
}
.thanks .hero-sub { margin-inline: auto; }

/* Scroll reveals: only when JavaScript is running, so nothing is ever hidden without it. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="zoom"] { transform: scale(.94); transition-duration: .8s; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js .story-photo::before { opacity: 0; transform: translate(0, 0); transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s; }
.js .story-photo.is-visible::before { opacity: 1; transform: translate(14px, 14px); }

.js .timeline-fill { transform: scaleY(var(--progress, 0)); }
.js .step-dot { transform: scale(0); }
.js .step.is-reached .step-dot { animation: pop .55s var(--ease) forwards; }
.js .step-body {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .7s var(--ease) .08s, transform .7s var(--ease) .08s;
}
.js .step.is-reached .step-body { opacity: 1; transform: none; }

@keyframes pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.js .checklist li .check { transform: scale(.4); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease); transition-delay: calc(var(--reveal-delay, 0ms) + .25s); }
.js .checklist li .check path { stroke-dashoffset: 16; transition: stroke-dashoffset .45s var(--ease); transition-delay: calc(var(--reveal-delay, 0ms) + .5s); }
.js .checklist li.is-visible .check { transform: none; opacity: 1; }
.js .checklist li.is-visible .check path { stroke-dashoffset: 0; }

/* Reduced motion: no drifting, no sliding. Everything shown plainly. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .shape, .hero-bg::before, .mission-glow span, .rise { animation: none !important; }
  .js [data-reveal],
  .js .step-body,
  .js .checklist li .check { opacity: 1 !important; transform: none !important; }
  .js .story-photo::before { opacity: 1; transform: translate(14px, 14px); }
  .js .step-dot { transform: none; animation: none !important; }
  .js .timeline-fill { transform: none; }
  .js .checklist li .check path { stroke-dashoffset: 0; }
  .btn:hover, .card:hover { transform: none; }
}
