/* ============================================
   905 ONLINE — Design tokens
   ============================================ */
:root {
  /* Color */
  --navy:        #071233;   /* deep ink navy — dark sections */
  --navy-soft:   #0E1E4D;   /* secondary dark, gradients */
  --blue:        #1652F0;   /* primary electric blue */
  --blue-light:  #5B8DEF;   /* secondary blue */
  --sky:         #DCEBFF;   /* pale sky tint — section backgrounds */
  --sky-soft:    #F2F7FF;   /* near-white blue tint */
  --white:       #FFFFFF;
  --ink:         #0B1220;   /* body text */
  --slate:       #55617A;   /* muted text */
  --line:        #DCE4F5;   /* hairline borders */
  --good:        #1BA672;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;

  /* Scale */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --container: 1120px;
  --shadow-card: 0 1px 2px rgba(7, 18, 51, 0.06), 0 12px 28px -14px rgba(7, 18, 51, 0.18);
  --shadow-pop: 0 20px 48px -18px rgba(22, 82, 240, 0.35);
}

/* ============================================
   Reset & base
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--slate); max-width: 62ch; }

a { color: var(--blue); text-decoration: none; }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-head {
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head p { margin: 0; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--sky);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

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

/* ============================================
   Buttons — the "moving" interactions
   ============================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
  will-change: transform;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(100deg, var(--blue) 0%, var(--navy-soft) 130%);
  box-shadow: 0 10px 24px -10px rgba(22, 82, 240, 0.55);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--blue-light) 0%, var(--blue) 100%);
  transform: translateX(-105%) skewX(-12deg);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  transform: translateX(0) skewX(-12deg);
}

.btn-primary .btn-arrow {
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
}

.btn-on-dark {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-on-dark:hover, .btn-on-dark:focus-visible {
  border-color: var(--white);
  background: rgba(255,255,255,0.16);
  transform: translateY(-3px);
}

.btn:active { transform: translateY(0) scale(0.98); }

.btn-block { width: 100%; justify-content: center; }

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(7,18,51,0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.logo .tag { color: var(--blue-light); }
.logo .brand { color: var(--navy); }
.logo .close-tag { color: var(--blue-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  position: relative;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { width: 100%; }
.nav-links a:not(.btn).active { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-cta .btn-ghost { display: none; }
  .nav-links a.btn { margin-top: 12px; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 78% 0%, #10245E 0%, var(--navy) 55%, var(--navy) 100%);
  overflow: hidden;
  padding: 88px 0 110px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 14px 7px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
}

.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--blue-light); }

.hero p.lead {
  color: #C7D3EE;
  font-size: 1.12rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}
.hero-meta div span { color: #93A2C4; font-size: 0.9rem; }

/* Hero code-window visual */
.hero-visual { position: relative; }

.code-window {
  background: #0C1B47;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.code-window .bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-window .bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #3A4A78;
}
.code-window .bar span:nth-child(1) { background: #FF6159; }
.code-window .bar span:nth-child(2) { background: #FFBD2E; }
.code-window .bar span:nth-child(3) { background: #28C93F; }

.code-window pre {
  margin: 0;
  padding: 26px 24px 30px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.9;
  color: #C9D6F5;
  overflow-x: auto;
}
.code-window .c1 { color: #6B84C4; }
.code-window .c2 { color: #5FA8FF; }
.code-window .c3 { color: #7CE0B8; }
.code-window .c4 { color: #FFB86C; }

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .swatch {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  flex-shrink: 0;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--navy); }
.hero-badge span { font-size: 0.82rem; color: var(--slate); }

@media (max-width: 500px) {
  .hero-badge { position: static; margin-top: 18px; }
}

/* ============================================
   Value / feature cards
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

.value-card {
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.value-card:hover { border-color: var(--blue-light); transform: translateY(-4px); }

.value-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}

.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { font-size: 0.95rem; margin: 0; }

/* ============================================
   Alternating band section (how it works / about tie-ins)
   ============================================ */
.band { background: var(--sky-soft); }

/* ============================================
   Portfolio teaser + grid
   ============================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -20px rgba(7,18,51,0.28); }

.project-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.02em;
}
.project-thumb::after {
  content: "Add screenshot";
  position: absolute;
  bottom: 10px; right: 14px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(7,18,51,0.28);
  padding: 4px 9px;
  border-radius: 100px;
}
.project-thumb.has-image::after, .project-thumb.coming-soon::after { display: none; }
.project-thumb.has-image { padding: 30px; }
.project-thumb img { max-width: 60%; max-height: 60%; object-fit: contain; }
.thumb-1 { background: linear-gradient(135deg, #1652F0, #0B1E52); }
.thumb-2 { background: linear-gradient(135deg, #2E63E0, #101D46); }
.thumb-3 { background: linear-gradient(135deg, #5B8DEF, #142759); }
.thumb-4 { background: linear-gradient(135deg, #0E1E4D, #1652F0); }
.thumb-5 { background: linear-gradient(135deg, #10245E, #5B8DEF); }
.thumb-6 { background: linear-gradient(135deg, #071233, #2E63E0); }

.project-body { padding: 22px 22px 24px; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.project-tags span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--sky);
  padding: 4px 10px;
  border-radius: 100px;
}
.project-body h3 { margin-bottom: 6px; font-size: 1.1rem; }
.project-body p { font-size: 0.92rem; margin-bottom: 14px; }
.project-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
}
.project-link svg { transition: transform 0.25s ease; }
.project-link:hover svg { transform: translate(3px, -3px); }
.project-link:hover { color: var(--blue); }

.portfolio-note {
  margin-top: 40px;
  padding: 18px 22px;
  background: var(--sky-soft);
  border: 1px dashed var(--blue-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--slate);
}
.portfolio-note strong { color: var(--navy); }

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 940px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
@media (max-width: 700px) { .pricing-custom-cta { flex-direction: column; text-align: center; padding: 28px 24px; } .pricing-custom-text p { max-width: none; } }

.price-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.price-card.is-popular {
  border-color: var(--blue);
  background: linear-gradient(180deg, #FBFDFF 0%, var(--white) 100%);
  box-shadow: var(--shadow-pop);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

.price-card .tier-name { font-size: 1.05rem; color: var(--slate); font-weight: 600; margin-bottom: 6px; font-family: var(--font-display);}
.price-card .tier-title { font-size: 1.5rem; margin-bottom: 10px; }
.price-card .tier-desc { font-size: 0.92rem; min-height: 44px; }

.price-tag { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 26px; }
.price-tag .amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--navy); }
.price-tag .cycle { color: var(--slate); font-size: 0.95rem; }

.price-features { flex: 1; margin-bottom: 28px; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink);
}
.price-features li:last-child { border-bottom: none; }
.price-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.price-features li.is-muted { color: var(--slate); opacity: 0.6; }
.price-features li.is-muted svg { color: var(--slate); }
.price-features li .hosting-tag {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--good);
  background: #E4F7EE;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: var(--font-display);
}

.pricing-custom-cta {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 36px;
  background: linear-gradient(135deg, #1652F0, #0B1E52);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}
.pricing-custom-text h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.pricing-custom-text p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  max-width: 46ch;
}
.pricing-custom-cta .btn-primary {
  background: var(--white);
  color: var(--navy);
  flex-shrink: 0;
}
.pricing-custom-cta .btn-primary:hover { background: var(--sky-soft); }

/* ============================================
   About page
   ============================================ */
.about-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

.avatar-frame {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue) 120%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.avatar-frame span {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.94);
}
.avatar-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
}
.avatar-frame::after {
  content: "photo placeholder";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.25);
  padding: 4px 10px;
  border-radius: 100px;
}

.about-body .lede { font-size: 1.12rem; color: var(--ink); }

.skills-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.skills-row span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--sky);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 8px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 2px solid var(--line);
}
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
}
.timeline-item .when {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { margin: 0; font-size: 0.96rem; }

/* ============================================
   Contact page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); font-size: 1.2rem; }
.contact-info-card > p { color: #B9C6E8; }

.contact-list { margin-top: 26px; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-list li:first-child { border-top: none; }
.contact-list .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}
.contact-list a, .contact-list span.val { color: var(--white); font-weight: 600; font-size: 0.98rem; }
.contact-list .label { display: block; color: #93A2C4; font-size: 0.8rem; margin-bottom: 2px; }

.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: transform 0.3s cubic-bezier(.3,1.4,.5,1), background 0.3s ease, border-color 0.3s ease;
}
.social-btn:hover {
  transform: translateY(-4px) rotate(-6deg);
  background: var(--blue);
  border-color: var(--blue);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-card);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  font-family: var(--font-display);
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--sky-soft);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-status {
  display: none;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #E4F7EE; color: #0F7A50; }
.form-status.is-error { background: #FDE9E9; color: #B4231F; }

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: -6px;
}

/* ============================================
   CTA banner
   ============================================ */
.cta-band {
  background: radial-gradient(120% 160% at 20% 0%, #10245E 0%, var(--navy) 60%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C7D3EE; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
@media (max-width: 600px) { .cta-band { padding: 48px 24px; } }

/* ============================================
   Page header (about / portfolio / pricing / contact)
   ============================================ */
.page-header {
  background: var(--sky-soft);
  padding: 64px 0 56px;
  text-align: center;
}
.page-header .kicker { margin-bottom: 16px; }
.page-header h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); }
.page-header p { margin: 0 auto; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy);
  color: #93A2C4;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { color: var(--white); }
.footer-brand .logo .brand { color: var(--white); }
.footer-brand p { color: #8494BC; font-size: 0.92rem; margin-top: 14px; max-width: 30ch; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: #93A2C4; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: #6B7BA3;
}
.footer-bottom .social-row { margin-top: 0; }
.footer-bottom .social-btn { width: 36px; height: 36px; }

/* ============================================
   Reveal-on-load hero animation (single orchestrated moment)
   ============================================ */
.reveal > * { opacity: 0; transform: translateY(16px); animation: reveal-up 0.7s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal > *:nth-child(1) { animation-delay: 0.05s; }
.reveal > *:nth-child(2) { animation-delay: 0.15s; }
.reveal > *:nth-child(3) { animation-delay: 0.25s; }
.reveal > *:nth-child(4) { animation-delay: 0.35s; }
.reveal > *:nth-child(5) { animation-delay: 0.45s; }
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

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