/* =====================================================================
   WEB GRAPHS — CORPORATE HOMEPAGE
   ---------------------------------------------------------------------
   Self-contained design system for the homepage only. Structural
   language: mega-style primary nav, a full-width services
   carousel with prev/next and pause controls, a courses spotlight with a bundle strip, a
   grid-breaking feature banner, a "visit the studio" block with a map, a
   social follow row, and a light multi-column footer with a legal bar.
   Flat, minimal-radius, high-contrast — soft grey bands, light shadows.
   Brand palette: #1e88e5 blue, #111111 and #000000.
   ===================================================================== */

:root {
  --wg-ink: #000000;
  --wg-text: #111111;
  --wg-mute: #5b5b5b;
  --wg-line: #e2e1db;
  --wg-bg: #ffffff;
  --wg-bg-alt: #f3f2ec;
  --wg-card: #ffffff;
  --wg-banner: linear-gradient(115deg, #e9e9e6 0%, #f4f4f1 48%, #ececea 100%);
  --wg-accent: #1565c0;
  --wg-accent-fill: #1e88e5;
  --wg-accent-hover: #1565c0;
  --wg-accent-tint: #e3f2fd;
  --wg-on-accent: #ffffff;
  --wg-radius-sm: 4px;
  --wg-radius: 8px;
  --wg-radius-lg: 12px;
  --wg-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 1px rgba(0, 0, 0, .04);
  --wg-shadow-hover: 0 8px 24px -8px rgba(0, 0, 0, .18);
  --f-sans: "Google Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-serif: var(--f-sans);
  --f-mono: var(--f-sans);
  --wg-max: 1584px;
  --wg-gutter: clamp(16px, 4vw, 48px);
  --wg-ease: cubic-bezier(.2, .6, .2, 1);
}

.corp, .corp *, .corp *::before, .corp *::after { box-sizing: border-box; }
body.corp {
  margin: 0; background: var(--wg-bg); color: var(--wg-text);
  font: 300 16px/1.5 var(--f-sans); -webkit-font-smoothing: antialiased;
}
.corp img, .corp svg { display: block; max-width: 100%; }
.corp a { color: inherit; text-decoration: none; }
.corp button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.corp h1, .corp h2, .corp h3, .corp p { margin: 0; }
.corp h1, .corp h2, .corp h3, .corp h4, .corp h5, .corp h6, .corp b, .corp strong, .corp th { font-weight: 300; }
.corp ul { margin: 0; padding: 0; list-style: none; }
.corp :focus-visible { outline: 2px solid var(--wg-accent); outline-offset: 2px; }
.corp .wrap { max-width: var(--wg-max); margin: 0 auto; padding-inline: var(--wg-gutter); }
.corp .skip { position: absolute; left: var(--wg-gutter); top: -80px; z-index: 300; background: var(--wg-accent); color: #fff; padding: 12px 18px; border-radius: var(--wg-radius-sm); font-weight: 300; }
.corp .skip:focus { top: 12px; }
.corp .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- primary nav ---------- */
.corp .masthead { border-bottom: 1px solid var(--wg-line); background: var(--wg-bg); position: sticky; top: 0; z-index: 100; }
.corp .masthead .wrap { display: flex; align-items: center; gap: 28px; min-height: 54px; }
@media (max-width: 479px) { .corp .masthead .wrap { gap: 12px; } }
.corp .brand { display: flex; align-items: center; gap: 10px; margin-right: auto; flex: none; }
.corp .brand img { height: 32px; width: auto; flex: none; }
.corp .primary-nav { display: none; }
.corp .primary-nav a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 14px; font-size: 14px; font-weight: 300; border-bottom: 2px solid transparent; }
.corp .primary-nav a:hover { color: var(--wg-accent); border-bottom-color: var(--wg-accent); }
.corp .nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px;
  background: var(--wg-accent-fill); color: var(--wg-on-accent); border-radius: var(--wg-radius-lg);
  font-weight: 300; font-size: 13.5px; white-space: nowrap; transition: background .2s;
}
@media (min-width: 480px) { .corp .nav-cta { padding: 0 18px; font-size: 14px; } }
.corp .nav-cta:hover { background: var(--wg-accent-hover); }
.corp .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--wg-line); border-radius: var(--wg-radius-sm); }
@media (min-width: 1024px) {
  .corp .primary-nav { display: flex; gap: 2px; }
  .corp .menu-btn { display: none; }
}

/* ---------- buttons ---------- */
.corp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 24px; border-radius: var(--wg-radius-lg);
  font-weight: 300; font-size: 15px; border: 1.5px solid var(--wg-ink); background: transparent; color: var(--wg-ink);
  transition: background .2s, color .2s, border-color .2s;
}
.corp .btn:hover { background: var(--wg-ink); color: #fff; }
.corp .btn-primary { background: var(--wg-accent-fill); border-color: var(--wg-accent-fill); color: var(--wg-on-accent); }
.corp .btn-primary:hover { background: var(--wg-accent-hover); border-color: var(--wg-accent-hover); }
.corp .btn svg { width: 16px; height: 16px; }

.corp .arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 300; font-size: 15px; color: var(--wg-accent); }
.corp .arrow-link svg { width: 14px; height: 14px; transition: transform .25s var(--wg-ease); }
.corp .arrow-link:hover svg { transform: translateX(4px); }

.corp .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- services carousel ---------- */
.corp .svc-carousel { --svc-interval: 7s; --svc-max: 1400px; }
.corp .svc-stage { background: var(--wg-banner); overflow: hidden; }
.corp .svc-track { display: grid; touch-action: pan-y; }
.corp .svc-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center;
  width: 100%; max-width: var(--svc-max); margin-inline: auto; padding: 24px var(--wg-gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--wg-ease), visibility 0s linear .6s;
}
.corp .svc-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--wg-ease), visibility 0s; }
.corp .svc-media {
  order: -1; justify-self: center; width: 100%; max-width: 310px; aspect-ratio: 1 / 1;
  border-radius: 16px; overflow: hidden; background: var(--wg-line);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .06);
}
.corp .svc-media img { -webkit-user-drag: none; user-select: none; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 42% 50%); transform: scale(1.05); transition: transform 7s linear; }
.corp .svc-slide.is-active .svc-media img { transform: scale(1); }
.corp .svc-body { display: grid; justify-items: start; gap: 16px; max-width: 580px; }
.corp .svc-title { font-size: clamp(28px, 3vw, 46px); font-weight: 600; line-height: 1.1; color: var(--wg-text); }
.corp .svc-desc { font-size: clamp(15px, 1.05vw, 16px); font-weight: 400; line-height: 1.55; color: var(--wg-text); max-width: 52ch; }
.corp .svc-body .btn { margin-top: 8px; min-height: 38px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.corp .svc-body > * { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--wg-ease), transform .6s var(--wg-ease); }
.corp .svc-slide.is-active .svc-body > * { opacity: 1; transform: none; }
.corp .svc-slide.is-active .svc-body > :nth-child(2) { transition-delay: .07s; }
.corp .svc-slide.is-active .svc-body > :nth-child(3) { transition-delay: .14s; }

.corp .svc-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--svc-max); margin-inline: auto; padding: 22px var(--wg-gutter) 26px; background: var(--wg-bg);
}
.corp .svc-arrow {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--wg-text); color: var(--wg-text); transition: background .2s, color .2s;
}
.corp .svc-arrow:hover { background: var(--wg-text); color: #fff; }
.corp .svc-arrow svg { width: 18px; height: 18px; }
.corp .svc-center { display: flex; align-items: center; gap: 10px; }
.corp .svc-dots { display: flex; align-items: center; }
.corp .svc-dot { display: grid; align-items: center; height: 44px; padding: 0 3px; }
.corp .svc-dot span { position: relative; display: block; width: 18px; height: 2px; border-radius: 2px; background: #d9d9d5; overflow: hidden; transition: width .35s var(--wg-ease), background .2s; }
.corp .svc-dot:hover span { background: #b5b5b0; }
.corp .svc-dot[aria-current="true"] span { width: 30px; height: 3px; background: #cfcfca; }
.corp .svc-dot span::after { content: ""; position: absolute; inset: 0; background: var(--wg-text); transform: scaleX(0); transform-origin: left; }
.corp .svc-dot[aria-current="true"] span::after { animation: svc-progress var(--svc-interval) linear forwards; }
.corp .svc-carousel.is-paused .svc-dot[aria-current="true"] span::after,
.corp .svc-carousel.is-held .svc-dot[aria-current="true"] span::after { animation-play-state: paused; }
.corp .svc-carousel.is-stopped .svc-dot[aria-current="true"] span::after { animation: none; transform: scaleX(1); }
@keyframes svc-progress { to { transform: scaleX(1); } }
.corp .svc-pause { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--wg-text); border-radius: 8px; color: var(--wg-text); }
.corp .svc-pause:hover { background: var(--wg-text); color: #fff; }
.corp .svc-pause svg { width: 14px; height: 14px; }
.corp .svc-pause .i-play { display: none; }
.corp .svc-carousel.is-paused .svc-pause .i-play, .corp .svc-carousel.is-stopped .svc-pause .i-play { display: block; }
.corp .svc-carousel.is-paused .svc-pause .i-pause, .corp .svc-carousel.is-stopped .svc-pause .i-pause { display: none; }

@media (min-width: 1024px) {
  .corp .svc-slide { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-block: 48px; }
  .corp .svc-media { order: 0; width: clamp(320px, 29vw, 450px); max-width: none; }
}
@media (max-width: 380px) {
  .corp .svc-controls { gap: 8px; }
  .corp .svc-arrow { width: 44px; height: 44px; }
  .corp .svc-dot span { width: 12px; }
  .corp .svc-dot[aria-current="true"] span { width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .corp .svc-media img { transform: none !important; transition: none; }
}

/* ---------- quick-link tiles ---------- */
.corp .quicklinks { border-bottom: 1px solid var(--wg-line); }
.corp .quicklinks .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.corp .ql-tile {
  display: flex; align-items: center; gap: 12px; padding: 18px var(--wg-gutter); border-right: 1px solid var(--wg-line); border-bottom: 1px solid var(--wg-line);
  font-weight: 300; font-size: 14px; transition: background .2s;
}
.corp .ql-tile:nth-child(2n) { border-right: 0; }
.corp .ql-tile:nth-last-child(-n+1), .corp .ql-tile:nth-last-child(-n+2) { border-bottom: 0; }
.corp .ql-tile:hover { background: var(--wg-accent-tint); }
.corp .ql-tile .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wg-accent-tint); color: var(--wg-accent); flex: none; }
.corp .ql-tile .ic svg { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .corp .quicklinks .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 0; }
  .corp .ql-tile:nth-child(2n) { border-right: 1px solid var(--wg-line); }
  .corp .ql-tile:nth-child(4n) { border-right: 0; }
  .corp .ql-tile:nth-last-child(-n+4) { border-bottom: 0; }
  .corp .ql-tile:first-child { padding-left: var(--wg-gutter); }
  .corp .ql-tile:last-child { padding-right: var(--wg-gutter); }
}

/* ---------- section heads ---------- */
.corp .section { padding-block: 56px; }
.corp .section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 640px; }
.corp .section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 500; letter-spacing: 0; }
.corp .section-head p { color: var(--wg-mute); font-size: 16px; font-weight: 400; }
.corp .section-foot { margin-top: 32px; }

.corp .card-tag { font: 400 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--wg-accent); }

/* ---------- courses spotlight ---------- */
.corp .courses-spot { background: var(--wg-banner); }
.corp .course-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.corp .course-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; min-width: 0;
  background: var(--wg-card); border: 1px solid var(--wg-line); border-radius: var(--wg-radius-lg);
  transition: box-shadow .25s var(--wg-ease), transform .25s var(--wg-ease), border-color .25s;
}
.corp .course-card:hover { box-shadow: var(--wg-shadow-hover); transform: translateY(-2px); border-color: transparent; }
.corp .course-ic { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 6px; }
.corp .course-card h3 { font-size: 20px; font-weight: 600; color: var(--wg-text); }
.corp .course-card p { color: var(--wg-mute); font-size: 14.5px; line-height: 1.5; }
.corp .course-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.corp .course-topics li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--wg-bg-alt); color: var(--wg-text); }
.corp .course-card .arrow-link { margin-top: auto; padding-top: 4px; }
.corp .bundle-strip {
  display: grid; gap: 18px; align-items: center; margin-top: 24px; padding: 24px;
  background: var(--wg-accent-tint); border-radius: var(--wg-radius-lg);
}
.corp .bundle-prices { display: flex; gap: 28px; }
.corp .bundle-prices b { display: block; font-size: 28px; font-weight: 600; color: var(--wg-accent); line-height: 1.1; }
.corp .bundle-prices span { font-size: 13px; color: var(--wg-mute); }
.corp .bundle-strip p { color: var(--wg-text); font-size: 15px; max-width: 46ch; }
.corp .bundle-strip .btn { justify-self: start; }
@media (min-width: 640px) { .corp .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .corp .course-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .corp .bundle-strip { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; padding: 24px 32px; }
  .corp .bundle-strip .btn { justify-self: end; }
}

/* ---------- feature banner (breaks the grid) ---------- */
.corp .feature-banner {
  display: grid; gap: 0; border: 1px solid var(--wg-line); border-radius: var(--wg-radius-lg); overflow: hidden; background: var(--wg-card);
}
.corp .feature-media { aspect-ratio: 16/10; background: var(--wg-bg-alt); overflow: hidden; }
.corp .feature-media img { width: 100%; height: 100%; object-fit: cover; }
.corp .feature-body { padding: 28px; display: grid; gap: 12px; align-content: center; }
.corp .feature-body .card-tag { font-size: 12.5px; }
.corp .feature-body h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 500; letter-spacing: 0; line-height: 1.15; }
.corp .feature-body p { color: var(--wg-mute); font-size: 15.5px; font-weight: 400; max-width: 50ch; }
@media (min-width: 900px) { .corp .feature-banner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .corp .feature-body { padding: 40px; } }

/* ---------- visit the studio ---------- */
.corp .visit-grid { display: grid; gap: 32px; align-items: stretch; }
.corp .visit-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.corp .visit-info h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 500; line-height: 1.15; }
.corp .visit-lede { color: var(--wg-mute); font-size: 16px; font-weight: 400; line-height: 1.55; max-width: 46ch; }
.corp .visit-details { display: grid; gap: 16px; margin: 8px 0 4px; width: 100%; }
.corp .visit-details div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding-top: 14px; border-top: 1px solid var(--wg-line); }
.corp .visit-details dt { font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--wg-mute); padding-top: 2px; }
.corp .visit-details dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--wg-text); }
.corp .visit-details a { color: var(--wg-accent); }
.corp .visit-details a:hover { text-decoration: underline; }
.corp .visit .hero-ctas { margin-top: 10px; }
.corp .visit-map { min-height: 320px; border-radius: var(--wg-radius-lg); overflow: hidden; border: 1px solid var(--wg-line); background: var(--wg-bg-alt); }
.corp .visit-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 479px) { .corp .visit-details div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (min-width: 960px) { .corp .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; } .corp .visit-map { min-height: 440px; } }

/* ---------- stats band ---------- */
.corp .stats-band { background: var(--wg-banner); color: var(--wg-text); }
.corp .stats-band .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 40px; }
.corp .stats-band .stat b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 500; letter-spacing: 0; color: var(--wg-accent-fill); }
.corp .stats-band .stat span { color: var(--wg-mute); font-size: 14px; font-weight: 400; }
@media (min-width: 720px) { .corp .stats-band .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- social follow ---------- */
.corp .follow { border-top: 1px solid var(--wg-line); }
.corp .follow .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 28px; }
.corp .follow h4 { font-size: 15px; font-weight: 300; }
.corp .follow-icons { display: flex; gap: 10px; }
.corp .follow-icons a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--wg-line); border-radius: var(--wg-radius-sm); transition: border-color .2s, color .2s; }
.corp .follow-icons a:hover { border-color: var(--wg-accent); color: var(--wg-accent); }
.corp .follow-icons svg { width: 18px; height: 18px; }
.corp .back-top { font-size: 13px; font-weight: 300; color: var(--wg-mute); }
.corp .back-top:hover { color: var(--wg-accent); }

/* ---------- footer ---------- */
.corp .site-footer { background: var(--wg-bg-alt); border-top: 1px solid var(--wg-line); }
.corp .footer-grid { display: grid; gap: 28px; padding-block: 44px; }
.corp .footer-col h5 { font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--wg-mute); margin-bottom: 14px; }
.corp .footer-col a, .corp .footer-col p { display: block; font-size: 14.5px; padding: 5px 0; color: var(--wg-text); }
.corp .footer-col a:hover { color: var(--wg-accent); }
.corp .footer-col p { color: var(--wg-mute); padding: 5px 0; }
@media (min-width: 720px) { .corp .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.corp .footer-col { min-width: 0; }
.corp .footer-col a, .corp .footer-col p { overflow-wrap: anywhere; }
.corp .footer-legal { border-top: 1px solid var(--wg-line); }
.corp .footer-legal .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 18px; font-size: 13px; color: var(--wg-mute); }
.corp .footer-legal .sep { color: var(--wg-line); }
.corp .footer-legal a:hover { color: var(--wg-accent); }

/* ---------- full-screen nav overlay (mobile) ---------- */
.corp .nav-overlay { position: fixed; inset: 0; z-index: 200; background: #fff; display: none; overflow-y: auto; }
.corp .nav-overlay.is-open { display: block; }
.corp .nav-overlay .wrap { padding-block: 20px; }
.corp .overlay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.corp .overlay-close { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 300; }
.corp .overlay-close svg { width: 18px; height: 18px; }
.corp .nav-overlay .primary-nav { display: grid; gap: 2px; }
.corp .nav-overlay .primary-nav a { min-height: 52px; border-bottom: 1px solid var(--wg-line); font-size: 18px; justify-content: flex-start; }

/* ---------- reveal ---------- */
.corp.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--wg-ease), transform .6s var(--wg-ease); }
.corp.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .corp * { transition-duration: .01ms !important; }
  .corp.js [data-reveal] { opacity: 1; transform: none; }
}
