/* ===================================================
   SILink Portfolio — style.css
   Mobile-first · Editorial · Engineering-focused
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --navy:   #0B1D34;
  --navy-90: rgba(11, 29, 52, 0.92);
  --navy-light: #122742;
  --teal:   #0F6F7C;
  --teal-light: #13859A;
  --cyan:   #22BBD3;
  --cyan-soft: rgba(34, 187, 211, 0.10);
  --cyan-border: rgba(34, 187, 211, 0.18);
  --white:  #F7FAFC;
  --white-pure: #FFFFFF;
  --orange: #FF8A00;
  --orange-soft: rgba(255, 138, 0, 0.10);

  --gray-50:  #F8FAFB;
  --gray-100: #EEF2F5;
  --gray-200: #DFE5EA;
  --gray-300: #C4CDD5;
  --gray-400: #8E9BAA;
  --gray-500: #5F6D7E;
  --gray-600: #3D4D5C;

  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --max-width: 960px;
  --section-gap: 4.5rem;
  --card-radius: 12px;
  --card-shadow: 0 1px 3px rgba(11, 29, 52, 0.06), 0 4px 16px rgba(11, 29, 52, 0.04);
  --card-shadow-hover: 0 2px 8px rgba(11, 29, 52, 0.08), 0 8px 28px rgba(11, 29, 52, 0.06);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 64px;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--cyan);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.55rem; font-weight: 700; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 0.95rem;
  max-width: 600px;
  line-height: 1.6;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: var(--section-gap) 0;
}

section:nth-of-type(even) {
  background: var(--gray-50);
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 187, 211, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  margin-right: -10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.nav-links {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(34, 187, 211, 0.1);
}

.nav-links.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition);
}

.nav-links a:last-child {
  border-bottom: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

/* --- Hero --- */
section.hero {
  background: var(--navy);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.15rem;
  letter-spacing: -0.02em;
}

.hero h1 .brand-link {
  color: var(--cyan);
}

.hero-tagline {
  font-family: var(--font-heading);
  color: var(--gray-300);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-meta {
  color: var(--gray-400);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-meta span {
  display: block;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 111, 124, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--teal);
  background: var(--cyan-soft);
  color: var(--teal);
  transform: translateY(-1px);
}

.btn-disabled {
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
  pointer-events: none;
  border: 1px solid var(--gray-200);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Quick Actions --- */
.quick-actions {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  background: var(--white-pure);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: all var(--transition);
}

.quick-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--cyan-soft);
  transform: translateY(-1px);
  box-shadow: var(--card-shadow);
}

.quick-btn svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

/* --- Pitch --- */
.pitch-card {
  background: var(--white-pure);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

.pitch-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--cyan);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.pitch-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  position: relative;
  z-index: 1;
}

/* --- Overview --- */
.overview-intro {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.overview-grid {
  display: grid;
  gap: 1rem;
}

.overview-card {
  background: var(--white-pure);
  border-radius: var(--card-radius);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.overview-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cyan-border);
}

.overview-card h4 {
  color: var(--teal);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.overview-card h4::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.overview-card:nth-child(1) h4::before { background: var(--orange); }
.overview-card:nth-child(2) h4::before { background: var(--cyan); }
.overview-card:nth-child(3) h4::before { background: var(--teal); }

.overview-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Workflow --- */
.workflow-intro {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--teal));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 2.5px solid var(--cyan);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:first-child .timeline-dot {
  background: var(--cyan);
}

.timeline-item:last-child .timeline-dot {
  background: var(--teal);
  border-color: var(--teal);
}

.timeline-step {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.timeline-desc {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--gray-500);
}

.workflow-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--cyan-soft);
  border-radius: 8px;
  border: 1px solid var(--cyan-border);
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- AEB Case Study --- */
.aeb-intro {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.arch-image-wrapper {
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  background: var(--white-pure);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--gray-100);
  display: flex;
  justify-content: center;
  align-items: center;
}

.arch-diagram-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.aeb-bullets {
  display: grid;
  gap: 0.5rem;
}

.aeb-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.aeb-bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* --- Technical Highlights --- */
.highlights-grid {
  display: grid;
  gap: 0.75rem;
}

.highlight-card {
  background: var(--white-pure);
  border-radius: var(--card-radius);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}

.highlight-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cyan-border);
}

.highlight-card h4 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
  padding-left: 2.35rem;
}

/* --- Demos --- */
.demos-grid {
  display: grid;
  gap: 1.25rem;
}

.demo-card {
  background: var(--white-pure);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.demo-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.demo-card video {
  width: 100%;
  display: block;
  background: var(--navy);
}

.demo-info {
  padding: 1rem 1.15rem;
}

.demo-number {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.demo-info h4 {
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.demo-info p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.demo-card.coming-soon {
  border-style: dashed;
  border-color: var(--gray-200);
  background: var(--gray-50);
}

.demo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Reel --- */
.reel-wrapper {
  max-width: 400px;
  margin: 1.5rem auto 0;
}

.reel-container {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  background: var(--navy);
}

.reel-container video {
  width: 100%;
  display: block;
}

.reel-placeholder {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--card-radius);
  color: var(--gray-400);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 1.5rem auto 0;
}

/* --- Team --- */
.team-intro {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.team-banner {
  margin-bottom: 2rem;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.team-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--card-radius);
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

.team-card {
  background: var(--white-pure);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cyan-border);
}

.team-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-100);
  box-shadow: 0 4px 12px rgba(11, 29, 52, 0.06);
  flex-shrink: 0;
}

.team-initials {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(11, 29, 52, 0.06);
  border: 3px solid var(--white-pure);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.team-role {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal);
}

.team-bio {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.skill-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  background: var(--cyan-soft);
  color: var(--teal);
  border-radius: 5px;
  letter-spacing: 0.01em;
}

.team-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* --- Program & Institution --- */
.program-text {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.program-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: var(--white-pure);
  border-radius: var(--card-radius);
  border: 1px solid var(--gray-100);
}

.program-logo {
  height: 48px;
  width: auto;
  opacity: 0.8;
  transition: opacity var(--transition);
  object-fit: contain;
}

.program-logo:hover {
  opacity: 1;
}

.program-logos .logo-sep {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* --- Resources --- */
.resources-grid {
  display: grid;
  gap: 0.75rem;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--white-pure);
  border-radius: var(--card-radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.resource-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--cyan-border);
  color: inherit;
  transform: translateY(-1px);
}

.resource-card.disabled {
  opacity: 0.6;
  pointer-events: none;
  border-style: dashed;
}

.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.resource-icon.orange-accent {
  background: var(--orange-soft);
}

.resource-icon.orange-accent svg {
  color: var(--orange);
}

.resource-content h4 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.resource-content p {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.resource-status {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
}

/* --- Contact / Footer --- */
.site-footer {
  background: var(--navy);
  padding: 3rem 0 2rem;
  color: var(--gray-400);
}

.footer-brand {
  margin-bottom: 0.15rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-brand h3 .brand-link {
  color: var(--cyan);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.7;
  opacity: 0.7;
}

.footer-meta span {
  display: block;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Media Queries --- */

/* Tablets */
@media (min-width: 600px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.7rem; }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

/* Desktop */
@media (min-width: 768px) {
  :root {
    --section-gap: 5.5rem;
  }

  body {
    font-size: 16px;
  }

  .nav-inner {
    height: 60px;
  }

  html {
    scroll-padding-top: 68px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    background: transparent;
    gap: 0;
    border-bottom: none;
  }

  .nav-links a {
    padding: 0.4rem 0.75rem;
    border-bottom: none;
    font-size: 0.82rem;
    color: var(--gray-300);
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .aeb-flow {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
  }

  .program-logo {
    height: 56px;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .quick-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
