/* ============================================================
   PASInst — Pas Institute Inc.
   Computer Systems Design and Related Services
   Light theme · slate-blue accent · owl navigation · letter-block hero
   ============================================================ */

:root {
  --ink: #1A222C;
  --ink-soft: #3D4856;
  --muted: #5A6675;
  --paper: #F7F8FA;
  --card: #FFFFFF;
  --line: #DCE3EA;
  --slate: #5B7C99;
  --slate-deep: #3E5A75;
  --slate-dark: #2F4A63;
  --slate-soft: #7E9BB5;
  --mist: #E2E8F0;
  --mist-bright: #EDF1F6;
  --star: #F4B942;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--slate-dark);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
}

.wrap {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}

/* ============================================================
   OWL NAVIGATION (.owl-nav)
   ============================================================ */
.owl-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(26, 34, 44, 0.08);
}

.owl-nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.owl-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.owl-wordmark {
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.owl-wordmark span {
  color: var(--slate);
}

/* --- CSS-drawn owl --- */
.owl-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
}

.owl-head {
  position: absolute;
  top: 10px;
  left: 4px;
  width: 36px;
  height: 32px;
  background: var(--slate);
  border-radius: 17px 17px 14px 14px;
}

.owl-ear {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 13px solid var(--slate-deep);
}

.owl-ear.ear-left {
  left: 5px;
  transform: rotate(-14deg);
}

.owl-ear.ear-right {
  right: 5px;
  transform: rotate(14deg);
}

.owl-eye {
  position: absolute;
  top: 18px;
  width: 14px;
  height: 14px;
  background: #F7F8FA;
  border-radius: 50%;
  z-index: 2;
}

.owl-eye.eye-left { left: 9px; }
.owl-eye.eye-right { right: 9px; }

.owl-eye i {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 5px;
  height: 5px;
  background: var(--ink);
  border-radius: 50%;
}

.owl-beak {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--mist);
  z-index: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--slate-deep);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--slate);
  transition: width 0.22s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  flex: none;
  display: inline-block;
  background: var(--slate);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--slate-dark);
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  flex: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ============================================================
   LETTER BLOCK HERO (.abc-hero)
   ============================================================ */
.abc-hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, var(--mist-bright) 0%, transparent 42%),
    var(--paper);
  padding: 88px 0 96px;
  overflow: hidden;
}

.abc-hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow {
  display: inline-block;
  background: var(--mist);
  color: var(--slate-deep);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-copy h1 .accent {
  color: var(--slate);
}

.hero-copy .lede {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 7px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--slate);
  color: #FFFFFF;
  border: 2px solid var(--slate);
}

.btn-primary:hover {
  background: var(--slate-dark);
  border-color: var(--slate-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-deep);
  border: 2px solid var(--slate);
}

.btn-ghost:hover {
  background: var(--mist);
  color: var(--slate-dark);
  transform: translateY(-2px);
}

/* --- Letter blocks --- */
.letter-stage {
  position: relative;
  height: 340px;
}

.block-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: var(--mist);
  border-radius: 50%;
  filter: blur(42px);
}

.letter-blocks {
  position: relative;
  height: 340px;
}

.block {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  border: 2px solid #FFFFFF;
}

.block span {
  font-size: 3rem;
  font-weight: 800;
}

.block-a {
  background: var(--slate);
  left: 70px;
  top: 150px;
  transform: rotate(-7deg);
}

.block-a span { color: #FFFFFF; }

.block-b {
  background: var(--slate-deep);
  left: 168px;
  top: 58px;
  transform: rotate(5deg);
}

.block-b span { color: #FFFFFF; }

.block-c {
  background: var(--mist);
  left: 256px;
  top: 168px;
  transform: rotate(-3deg);
}

.block-c span { color: var(--slate-dark); }

.hero-star {
  position: absolute;
  top: 26px;
  left: 60px;
  width: 46px;
  height: 46px;
  background: var(--star);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ============================================================
   STATEMENT ROW
   ============================================================ */
.statement-row {
  background: var(--slate-dark);
  color: #FFFFFF;
  padding: 76px 0;
}

.statement-row .wrap {
  max-width: 900px;
  text-align: center;
}

.statement-row h2 {
  color: #FFFFFF;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.statement-row p {
  color: #D7E2EC;
  font-size: 1.1rem;
}

/* ============================================================
   STAT COLUMNS (big numerals)
   ============================================================ */
.stat-section {
  background: var(--paper);
  padding: 84px 0;
}

.stat-section .intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.stat-section .intro .eyebrow {
  color: var(--slate-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.stat-section .intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 10px 0 14px;
}

.stat-section .intro p {
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--slate);
  border-radius: 10px;
  padding: 34px 24px;
  text-align: center;
}

.stat-card .stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1;
}

.stat-card .stat-label {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ============================================================
   LEARNING PATH (numbered 01–05)
   ============================================================ */
.path-section {
  background: #FFFFFF;
  padding: 84px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-section .intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.path-section .intro .eyebrow {
  color: var(--slate-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.path-section .intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 10px 0 14px;
}

.path-section .intro p {
  color: var(--muted);
}

.path-list {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.path-list::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--mist);
}

.path-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 0 0 40px;
}

.path-step:last-child {
  padding-bottom: 0;
}

.path-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--slate);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--mist-bright);
}

.path-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.path-body p {
  color: var(--muted);
}

/* ============================================================
   TABBED CONTENT SECTION
   ============================================================ */
.tabs-section {
  background: var(--paper);
  padding: 84px 0;
}

.tabs-section .intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.tabs-section .intro .eyebrow {
  color: var(--slate-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.tabs-section .intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 10px 0 14px;
}

.tabs-section .intro p {
  color: var(--muted);
}

.tab-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tab-btn {
  background: #FFFFFF;
  border: 2px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--slate);
  color: var(--slate-deep);
}

.tab-btn.active {
  background: var(--slate);
  border-color: var(--slate);
  color: #FFFFFF;
}

.tab-panel {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 44px;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--slate-dark);
}

.tab-panel p {
  color: var(--muted);
  margin-bottom: 14px;
}

.tab-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.tab-panel ul li {
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}

.tab-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--slate);
  border-radius: 2px;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-section {
  background: #FFFFFF;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.compare-section .intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.compare-section .intro .eyebrow {
  color: var(--slate-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.compare-section .intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 10px 0 14px;
}

.compare-section .intro p {
  color: var(--muted);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.compare-table th,
.compare-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--slate-dark);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--mist-bright);
}

.compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--slate-dark);
}

.compare-table tbody td {
  color: var(--ink-soft);
}

/* ============================================================
   SPLIT CTA BAND
   ============================================================ */
.cta-band {
  background: var(--paper);
  padding: 84px 0;
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.1);
}

.cta-panel {
  padding: 56px 48px;
}

.cta-panel.left {
  background: var(--slate-deep);
  color: #FFFFFF;
}

.cta-panel.left h2 {
  color: #FFFFFF;
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.cta-panel.left p {
  color: #D9E4EE;
  margin-bottom: 26px;
}

.cta-panel.right {
  background: #FFFFFF;
}

.cta-panel.right h2 {
  font-size: 1.9rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.cta-panel.right p {
  color: var(--muted);
  margin-bottom: 26px;
}

.btn-light {
  background: #FFFFFF;
  color: var(--slate-dark);
  border: 2px solid #FFFFFF;
}

.btn-light:hover {
  background: var(--mist);
  color: var(--slate-dark);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: #FFFFFF;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 26px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}

.contact-detail .label {
  font-weight: 700;
  color: var(--slate-dark);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-detail .value {
  color: var(--ink);
  font-size: 1.05rem;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #FFFFFF;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--slate);
  border-color: var(--slate);
}

.contact-form .form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #FFFFFF;
  border-top: 3px solid var(--slate);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-dark);
  margin-bottom: 16px;
}

.footer-col p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--slate-deep);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .abc-hero .wrap {
    grid-template-columns: 1fr;
  }

  .letter-stage,
  .letter-blocks {
    height: 320px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--mist);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

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

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

  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .block-a { left: 30px; }
  .block-b { left: 128px; }
  .block-c { left: 216px; }
}

@media (max-width: 460px) {
  .letter-stage,
  .letter-blocks {
    height: 280px;
  }

  .block {
    width: 96px;
    height: 96px;
  }

  .block-a { left: 6px; top: 140px; }
  .block-b { left: 108px; top: 54px; }
  .block-c { left: 200px; top: 150px; }

  .tab-panel {
    padding: 28px 20px;
  }
}
