:root {
  --sq-navy: #0a3259;
  --sq-navy-deep: #062744;
  --sq-blue: #1e90ff;
  --sq-coral: #ff6247;
  --sq-pink: #ed2061;
  --sq-yellow: #f9d11f;
  --sq-cream: #ffe8c8;
  --sq-paper: #fffaf1;
  --sq-apple: #a4ce39;
  --sq-leaf: #2cb34f;
  --sq-forest: #157b29;
  --sq-muted: #52667a;
  --sq-line: rgba(10, 50, 89, .18);
  --sq-shadow: 5px 5px 0 var(--sq-navy);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

html { scroll-padding-top: 82px; }
body { min-width: 320px; color: var(--sq-navy); letter-spacing: 0; background: var(--sq-paper); }
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
.section-shell { width: min(100% - 32px, 1180px); margin-inline: auto; }
.section { padding-block: 64px; }
.skip-link { z-index: 100; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border: 0;
  border-bottom: 1px solid var(--sq-line);
  border-radius: 0;
  background: rgba(255, 250, 241, .97);
  box-shadow: 0 8px 24px rgba(10, 50, 89, .06);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 8px; color: var(--sq-navy); }
.brand-icon { width: 46px; height: 46px; object-fit: contain; }
.brand-wordmark { display: grid; line-height: .86; text-transform: uppercase; }
.brand-wordmark small { display: block !important; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.brand-wordmark strong { font-size: 17px; letter-spacing: .13em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.primary-nav a { color: var(--sq-navy); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--sq-pink); }
.menu-toggle { display: none; }
.header-cta { min-height: 44px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: var(--sq-navy);
  border: 2px solid var(--sq-navy);
  border-radius: 7px;
  background: var(--sq-paper);
  box-shadow: 4px 4px 0 var(--sq-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: none;
}
.button:hover, .button:focus-visible { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--sq-navy); }
.button-primary { color: white; background: #075ed7; }
.button-secondary { color: var(--sq-navy); background: var(--sq-paper); }
.text-link { color: #075ed7; font-weight: 900; }

.hero {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(340px, .9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 34px;
  padding-block: 42px 26px;
}
.hero-copy { position: relative; z-index: 2; padding: 0; }
.eyebrow, .kicker { margin: 0 0 9px; color: var(--sq-pink); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0; color: var(--sq-navy); font-size: 76px; line-height: .9; letter-spacing: 0; }
.hero h1 span { display: block; color: var(--sq-coral); }
.hero-lede { max-width: 610px; margin: 22px 0 26px; color: #263f59; font-size: 18px; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stage { position: relative; min-height: 490px; align-self: end; overflow: hidden; }
.hero-landscape { position: absolute; z-index: 0; inset: auto 0 0; width: 100%; height: 86%; object-fit: contain; object-position: center bottom; }
.hero-guide { position: absolute; z-index: 2; right: 20%; bottom: 1%; width: 236px; height: 455px; object-fit: contain; object-position: center bottom; }

.pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-block: 18px 34px; }
.pathway {
  position: relative;
  display: grid;
  min-height: 142px;
  grid-template-columns: 104px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 10px 14px 10px 4px;
  color: white;
  border: 2px solid var(--sq-navy);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--sq-navy);
}
.pathway-learn { background: #075ed7; }
.pathway.pathway-learn > img { background: transparent; border-radius: 0; padding: 0; }
.pathway-build { color: var(--sq-navy); background: #ffbd19; }
.pathway-play { color: var(--sq-navy); background: var(--sq-apple); }
.pathway > img { width: 104px; height: 132px; align-self: end; object-fit: contain; object-position: center bottom; }
.pathway > span:not(.pathway-cast) { display: grid; gap: 4px; }
.pathway strong { font-size: 27px; line-height: 1; text-transform: uppercase; }
.pathway small { font-size: 14px; font-weight: 700; }
.pathway > b { display: grid; width: 36px; height: 36px; place-items: center; color: var(--sq-navy); border-radius: 50%; background: white; font-size: 22px; }
.pathway-cast { position: relative; display: block; width: 114px; height: 132px; align-self: end; }
.pathway-cast img { position: absolute; bottom: 0; width: 76px; height: 104px; object-fit: contain; object-position: center bottom; }
.pathway-cast img:first-child { left: 0; }
.pathway-cast img:last-child { right: -5px; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); align-items: end; gap: 28px; margin-bottom: 24px; }
.section-heading.compact { grid-template-columns: minmax(0, 1fr) auto; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: 45px; line-height: .98; }
.section-heading p:not(.kicker) { margin: 0; color: var(--sq-muted); line-height: 1.5; }

.project-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.project-card { grid-column: span 2; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid var(--sq-line); border-radius: 8px; background: white; box-shadow: 0 10px 28px rgba(10, 50, 89, .08); }
.project-card:nth-child(-n+2) { grid-column: span 3; display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr); }
.project-visual { position: relative; display: grid; min-height: 185px; place-items: center; overflow: hidden; background: var(--project-color, var(--sq-cream)); }
.project-card:nth-child(-n+2) .project-visual { min-height: 300px; }
.project-visual::after { content: ""; position: absolute; inset: auto -20% -44% 15%; height: 80%; border-radius: 50%; background: rgba(255,255,255,.42); }
.project-visual::before { content: none; }
.project-visual img { position: relative; z-index: 2; width: 68%; height: 76%; object-fit: contain; }
.project-visual .project-screenshot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.project-status { position: absolute; z-index: 3; right: auto; left: 12px; top: 12px; padding: 5px 8px; color: var(--sq-navy); border: 1px solid var(--sq-navy); border-radius: 999px; background: var(--sq-yellow); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.project-monogram { display: none; }
.project-content { display: flex; min-width: 0; flex-direction: column; padding: 18px; }
.project-content > * { max-width: 100%; overflow-wrap: anywhere; }
.project-category { color: var(--sq-pink); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.project-content h3 { margin: 7px 0 6px; font-size: 25px; line-height: 1.02; }
.project-tagline { margin: 0 0 8px; font-weight: 800; line-height: 1.35; }
.project-summary { margin: 0; color: var(--sq-muted); font-size: 13px; line-height: 1.45; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 16px; }
.project-actions a { color: #075ed7; font-size: 13px; font-weight: 900; }
.loading-state { grid-column: 1 / -1; }

.process-section { border-block: 1px solid var(--sq-line); background: #fff2d9; }
.process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.process-list li { position: relative; display: grid; min-width: 0; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; padding: 14px; }
.process-list li + li { border-left: 1px solid var(--sq-line); }
.process-list img { width: 62px; height: 62px; object-fit: contain; }
.process-list span { display: grid; gap: 2px; }
.process-list b { color: var(--sq-pink); font-size: 10px; }
.process-list strong { font-size: 17px; }
.process-list small { color: var(--sq-muted); font-size: 11px; line-height: 1.35; }

.pizza-detour { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr); min-height: 190px; align-items: stretch; gap: 0; margin-block: 64px; padding: 0; overflow: hidden; border: 2px solid var(--sq-navy); border-radius: 8px; background: var(--sq-yellow); box-shadow: 5px 5px 0 var(--sq-navy); }
.pizza-copy { display: grid; align-content: center; padding: 24px 28px; }
.pizza-copy h2 { margin: 0; font-size: 34px; }
.pizza-copy p:not(.kicker) { max-width: 420px; margin: 7px 0 16px; line-height: 1.4; }
.pizza-copy .button { width: max-content; color: white; background: var(--sq-coral); }
.pizza-visual { min-height: 190px; overflow: hidden; background: var(--sq-navy); }
.pizza-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }

.about-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 16px; }
.about-person, .advantage-card { min-width: 0; border: 1px solid var(--sq-line); border-radius: 8px; background: white; box-shadow: 0 10px 28px rgba(10, 50, 89, .08); }
.about-person { display: grid; grid-template-columns: 255px minmax(0, 1fr); align-items: end; overflow: hidden; padding: 0 24px 0 6px; }
.about-person > img { width: 255px; height: 370px; object-fit: contain; object-position: center bottom; }
.about-person > div { align-self: center; padding-block: 28px; }
.about-person h2 { margin: 0 0 12px; font-size: 38px; line-height: 1; }
.about-person p:not(.kicker) { color: var(--sq-muted); line-height: 1.5; }
.advantage-card { padding: 28px; }
.advantage-card h3 { margin: 0 0 20px; font-size: 29px; line-height: 1.05; }
.advantage-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 0; padding: 0; list-style: none; }
.advantage-list li { padding: 10px 11px; border-left: 4px solid var(--sq-blue); background: #e7f2ff; font-size: 13px; font-weight: 800; }
.advantage-list li:nth-child(2n) { border-color: var(--sq-apple); background: #eef6d0; }

.fit-section { color: white; background: var(--sq-navy); }
.fit-grid { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(380px, 1.1fr) auto; align-items: center; gap: 30px; }
.fit-grid .kicker { color: var(--sq-yellow); }
.fit-grid h2 { margin: 0; font-size: 40px; line-height: 1; }
.fit-grid p { color: rgba(255,255,255,.76); line-height: 1.5; }
.fit-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fit-grid li { position: relative; padding-left: 26px; line-height: 1.4; }
.fit-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--sq-yellow); font-weight: 900; }
.fit-grid .button { color: var(--sq-navy); background: var(--sq-yellow); white-space: nowrap; }

.contact-section { padding-block: 72px; color: var(--sq-navy); background: #fff1d8; }
.contact-section::after { content: none; }
.contact-grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr); gap: 50px; }
.contact-grid > * { min-width: 0; }
.contact-grid h2 { margin: 0 0 14px; font-size: 47px; line-height: .98; }
.contact-grid > div > p:not(.kicker) { color: var(--sq-muted); font-size: 17px; line-height: 1.55; }
.contact-note { padding: 14px; border-left: 5px solid var(--sq-yellow); background: white; line-height: 1.45; }
.contact-form { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--sq-line); border-radius: 8px; background: white; box-shadow: 0 12px 28px rgba(10,50,89,.08); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 900; }
.contact-form label > span { color: var(--sq-muted); font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-height: 46px; padding: 11px 12px; color: var(--sq-navy); border: 1px solid var(--sq-line); border-radius: 7px; background: var(--sq-paper); font: inherit; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .button { width: max-content; }
.privacy-note, .form-status { max-width: 100%; margin: 0; color: var(--sq-muted); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.form-status.success { border-radius: 8px; }

.site-footer { padding-block: 28px; color: white; background: var(--sq-navy-deep); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: center; gap: 28px; }
.footer-grid strong { font-size: 20px; }.footer-grid p { margin: 4px 0 0; color: rgba(255,255,255,.7); }
.footer-grid nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-grid a { font-size: 13px; font-weight: 800; }

@media (max-width: 1050px) {
  .primary-nav { gap: 14px; }
  .hero { grid-template-columns: minmax(320px, .95fr) minmax(380px, 1.05fr); }
  .hero h1 { font-size: 64px; }
  .pathways { grid-template-columns: 1fr; }
  .pathway { min-height: 124px; grid-template-columns: 110px 1fr 40px; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-list li:nth-child(4) { border-left: 0; }
  .about-section, .fit-grid { grid-template-columns: 1fr; }
  .fit-grid .button { width: max-content; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 68px; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; padding: 8px 12px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; color: var(--sq-navy); border: 2px solid var(--sq-navy); border-radius: 7px; background: var(--sq-yellow); box-shadow: 3px 3px 0 var(--sq-navy); font-size: 0; }
  .menu-toggle span { font-size: 23px; line-height: 1; }
  .brand { gap: 5px; }
  .brand-icon { width: 38px; height: 38px; }
  .brand-wordmark small { font-size: 8px; }.brand-wordmark strong { font-size: 13px; }
  .header-cta { min-height: 40px; padding-inline: 12px; font-size: 12px; box-shadow: 3px 3px 0 var(--sq-navy); }
  .primary-nav { position: fixed; z-index: 60; inset: 68px 0 auto; display: none; grid-template-columns: 1fr; gap: 0; padding: 10px 16px 18px; border-bottom: 2px solid var(--sq-navy); background: var(--sq-paper); box-shadow: 0 12px 22px rgba(10,50,89,.16); }
  .primary-nav.open { display: grid; }
  .primary-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--sq-line); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 10px; padding-block: 30px 12px; }
  .hero h1 { max-width: 600px; font-size: 58px; }
  .hero-stage { min-height: 430px; }
  .hero-guide { right: 24%; height: 400px; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .section-heading h2 { font-size: 38px; }
  .project-card:nth-child(-n+2) { grid-column: span 6; }
  .project-card { grid-column: span 3; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li + li { border-top: 1px solid var(--sq-line); border-left: 0; }
  .pizza-detour, .contact-grid { grid-template-columns: 1fr; }
  .pizza-visual { min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 600px) {
  .section-shell { width: min(100% - 24px, 1180px); }
  .section { padding-block: 46px; }
  .brand-wordmark strong { letter-spacing: .08em; }
  .hero h1 { font-size: 50px; }
  .hero-lede { margin-block: 18px 22px; font-size: 16px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button-row .button { width: 100%; }
  .hero-stage { min-height: 330px; }
  .hero-landscape { height: 78%; }
  .hero-guide { right: 20%; width: 176px; height: 315px; }
  .pathways { gap: 10px; padding-top: 8px; }
  .pathway { min-height: 112px; grid-template-columns: 86px 1fr 36px; padding-block: 4px; }
  .pathway > img { width: 86px; height: 106px; }
  .pathway strong { font-size: 24px; }.pathway small { font-size: 13px; }
  .pathway-cast { width: 92px; height: 106px; }.pathway-cast img { width: 61px; height: 86px; }
  .section-heading h2 { font-size: 34px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:nth-child(-n+2) { grid-column: auto; display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: 164px auto; }
  .project-visual, .project-card:nth-child(-n+2) .project-visual, .project-card:not(:nth-child(-n+2)) .project-visual { width: 100%; min-height: 0; height: 164px; }
  .project-visual::after { inset: auto -12% -85% 20%; height: 150%; }
  .project-visual img { width: auto; max-width: 72%; height: 78%; }
  .project-content { min-width: 0; flex: none; padding: 18px; }
  .project-content h3 { font-size: 23px; }
  .project-summary { display: none; }
  .project-actions { gap: 8px; margin-top: 14px; padding-top: 0; }
  .project-actions a { font-size: 12px; }
  .process-list li { grid-template-columns: 58px 1fr; padding: 11px 4px; }
  .process-list img { width: 54px; height: 54px; }
  .pizza-detour { margin-block: 46px; }
  .pizza-copy { padding: 22px; }
  .pizza-copy h2 { font-size: 30px; }
  .pizza-copy .button { width: 100%; }
  .pizza-visual { min-height: 138px; }
  .about-person { grid-template-columns: 145px minmax(0, 1fr); padding: 0 14px 0 0; }
  .about-person > img { width: 150px; height: 280px; }
  .about-person h2 { font-size: 29px; }
  .about-person p:not(.kicker) { font-size: 13px; }
  .advantage-card { padding: 22px; }
  .advantage-card h3 { font-size: 25px; }
  .advantage-list { grid-template-columns: 1fr; }
  .fit-grid h2 { font-size: 34px; }
  .fit-grid .button { width: 100%; }
  .contact-section { padding-block: 52px; }
  .contact-grid { gap: 28px; }
  .contact-grid h2 { font-size: 39px; }
  .contact-form { padding: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form .button { width: 100%; }
}

@media (max-width: 360px) {
  .header-cta { padding-inline: 9px; font-size: 11px; }
  .brand-wordmark small { font-size: 7px; }.brand-wordmark strong { font-size: 12px; }
  .hero h1 { font-size: 46px; }
  .project-card, .project-card:nth-child(-n+2) { grid-template-columns: minmax(0, 1fr); }
  .about-person { grid-template-columns: 1fr; padding: 0 18px 18px; }
  .about-person > img { justify-self: center; width: 170px; height: 260px; }
  .about-person > div { padding-block: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
