:root {
  --black: #050505;
  --ink: #111111;
  --charcoal: #2b2b2b;
  --charcoal-2: #1d1d1d;
  --gray: #777777;
  --line: #d9d9d9;
  --paper: #ffffff;
  --offwhite: #f4f4f1;
  --display: "Barlow Condensed", Arial, sans-serif;
  --body: Helvetica, Arial, sans-serif;
  --shell: min(1200px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { overflow: hidden; }
.site-shell { width: var(--shell); margin-inline: auto; }

.utility-bar { height: 34px; background: #080808; color: #bdbdbd; position: relative; z-index: 1002; border-bottom: 1px solid rgba(255,255,255,.08); }
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: .16em; }
.utility-label { font-weight: 700; }
.utility-login { color: #fff; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .09em; transition: opacity .2s ease; }
.utility-login:hover { opacity: .65; }

.site-header { height: 80px; position: absolute; top: 34px; left: 0; width: 100%; z-index: 1000; background: rgba(0,0,0,.74); color: #fff; }
.header-inner { height: 80px; display: flex; align-items: center; gap: 30px; }
.brand { flex: 0 0 auto; }
.brand-logo { width: 118px; height: 52px; object-fit: contain; display: block; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.desktop-nav a { font-size: 14px; letter-spacing: .075em; line-height: 1; }
.desktop-nav a:hover { color: #aaa; }
.header-cta { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 18px; background: #fff; color: #222; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.header-cta:hover { background: #dcdcdc; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); background: transparent; padding: 13px 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; }
.mobile-nav { position: absolute; top: 80px; left: 0; right: 0; background: rgba(8,8,8,.98); padding: 22px 24px 28px; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .04em; }

.hero { height: 95svh; position: relative; color: #fff; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; background: url('/images/academy1.webp') center 36% / cover no-repeat; transform: scale(1.002); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.24) 46%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, rgba(0,0,0,.42), transparent 48%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 96px; }
.hero-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; margin-bottom: 18px; }
.hero-rule { display: block; width: 120px; height: 4px; background: #fff; margin-bottom: 18px; }
.hero h1, .portal-hero h1, .login-panel h1 { margin: 0; font-family: var(--display); font-size: clamp(72px, 8.2vw, 112px); line-height: .86; letter-spacing: .025em; font-weight: 700; }
.hero p { max-width: 600px; margin: 24px 0 28px; font-size: 18px; line-height: 1.38; letter-spacing: .015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll { position: absolute; right: 36px; bottom: 34px; z-index: 3; font-family: var(--display); font-weight: 700; letter-spacing: .12em; font-size: 13px; writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px; }

.button { display: inline-flex; align-items: center; gap: 11px; padding: 14px 18px 13px; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: .075em; text-transform: uppercase; border: 2px solid transparent; transition: all .2s ease; }
.button span { font-family: Arial, sans-serif; font-size: 24px; line-height: 1; }
.button-light { background: #fff; color: #111; }
.button-light:hover { background: #d6d6d6; }
.button-outline-light { border-color: rgba(255,255,255,.82); color: #fff; }
.button-outline-light:hover { background: #fff; color: #111; }
.button-dark { background: #050505; color: #fff; }
.button-dark:hover { background: #2b2b2b; }

.eyebrow { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #666; }
.eyebrow.light { color: #c9c9c9; }
.intro-section { padding: 110px 0 120px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.intro-section h2, .story-panel h2, .section-heading-row h2, .feature-copy h2, .admissions-section h2, .portal-panel h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(54px, 5.4vw, 78px); line-height: .9; letter-spacing: .01em; }
.intro-copy { padding-top: 34px; max-width: 600px; }
.intro-copy p, .section-intro, .feature-copy p, .admissions-section p, .portal-panel p { font-size: 17px; line-height: 1.55; color: #565656; }
.intro-copy .lead, .admissions-section .lead { font-size: 22px; line-height: 1.45; color: #111; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .06em; border-bottom: 2px solid #111; padding-bottom: 4px; }
.text-link:hover { opacity: .6; }
.light-link { color: #fff; border-bottom-color: #fff; }

.image-story { min-height: 620px; display: grid; grid-template-columns: 1.15fr .85fr; }
.story-image { min-height: 620px; background-position: center; background-size: cover; }
.story-image-one { background-image: url('/images/academy2.webp'); }
.story-image-two { background-image: url('/images/academy3.webp'); background-position: center 38%; }
.story-image-three { background-image: url('/images/academy1.webp'); background-position: center 46%; }
.dark-panel { background: #2b2b2b; color: #fff; }
.story-panel { padding: 82px clamp(40px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.story-panel p { max-width: 540px; color: #cfcfcf; font-size: 16px; line-height: 1.58; }

.pillars-section { padding: 115px 0 125px; background: #fff; }
.section-heading-row { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.section-intro { margin: 0; max-width: 560px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid #111; }
.pillar-card { padding: 34px 34px 10px 0; min-height: 260px; border-right: 1px solid #d6d6d6; }
.pillar-card + .pillar-card { padding-left: 34px; }
.pillar-card:last-child { border-right: 0; }
.pillar-card > span, .card-number { font-family: var(--display); font-size: 18px; color: #8b8b8b; font-weight: 700; }
.pillar-card h3, .admission-step h3, .portal-info-card h2 { font-family: var(--display); font-size: 34px; margin: 22px 0 12px; letter-spacing: .02em; }
.pillar-card p { margin: 0; color: #5e5e5e; line-height: 1.55; }

.feature-band { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 640px; background: #111; color: #fff; }
.feature-copy { padding: 90px max(42px, 7vw); display: flex; flex-direction: column; justify-content: center; }
.feature-copy p { color: #c9c9c9; max-width: 500px; }
.feature-image { min-height: 640px; background-size: cover; background-position: center; }

.admissions-section { padding: 115px 0 120px; background: var(--offwhite); }
.admissions-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.admissions-steps { border-top: 2px solid #111; }
.admission-step { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid #bbb; }
.admission-step > span { font-family: var(--display); color: #777; font-weight: 700; font-size: 18px; padding-top: 6px; }
.admission-step h3 { margin: 0 0 4px; font-size: 27px; }
.admission-step p { margin: 0; font-size: 15px; }
.admissions-steps .button { margin-top: 30px; }

.portal-callout { min-height: 610px; display: grid; grid-template-columns: 1.15fr .85fr; background: #1d1d1d; }
.portal-image { min-height: 610px; background-size: cover; }
.portal-panel { padding: 80px clamp(42px, 6vw, 95px); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.portal-panel p { color: #cfcfcf; }
.portal-panel .button { align-self: flex-start; margin-top: 16px; }

.site-footer { background: #080808; color: #fff; padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 48px; padding-bottom: 60px; }
.footer-logo { width: 132px; height: auto; display: block; margin-bottom: 18px; }
.footer-brand p { font-family: var(--display); font-size: 25px; line-height: .95; font-weight: 700; margin: 0; }
.site-footer h2 { font-family: var(--display); font-size: 20px; letter-spacing: .06em; margin: 0 0 18px; }
.site-footer a { display: block; color: #bdbdbd; margin: 0 0 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-copy { color: #a5a5a5; line-height: 1.5; font-size: 14px; max-width: 260px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding-top: 22px; display: flex; justify-content: space-between; color: #727272; font-size: 11px; letter-spacing: .08em; }

/* Portal */
.portal-page .site-header, .login-page .site-header { position: absolute; }
.portal-hero { min-height: 650px; background: linear-gradient(90deg, rgba(0,0,0,.83), rgba(0,0,0,.42)), url('/images/academy3.webp') center 36% / cover no-repeat; color: #fff; display: flex; align-items: flex-end; }
.portal-hero-inner { padding-bottom: 90px; }
.portal-lead { max-width: 560px; font-size: 19px; color: #d2d2d2; margin: 20px 0 26px; }
.portal-overview { padding: 90px 0 105px; }
.portal-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid #111; }
.portal-info-card { padding: 32px 32px 10px 0; min-height: 290px; border-right: 1px solid #ddd; }
.portal-info-card + .portal-info-card { padding-left: 32px; }
.portal-info-card:last-child { border-right: 0; }
.portal-info-card h2 { font-size: 30px; }
.portal-info-card p { color: #666; line-height: 1.55; min-height: 95px; }
.portal-info-card a { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: .05em; border-bottom: 2px solid #111; padding-bottom: 3px; }

/* Login */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; }
.login-visual { min-height: 100vh; background: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('/images/academy2.webp') center / cover no-repeat; }
.login-panel-wrap { display: flex; align-items: center; padding: 150px 8vw 90px; }
.login-panel { width: min(100%, 520px); margin: auto; }
.login-back { display: inline-block; margin-bottom: 44px; color: #777; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.login-panel h1 { color: #111; font-size: clamp(62px, 6.2vw, 90px); }
.login-intro { color: #666; font-size: 17px; margin: 18px 0 32px; }
.login-form label:not(.remember) { display: block; margin: 22px 0 8px; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.login-form input[type="email"], .login-form input[type="password"] { width: 100%; border: 0; border-bottom: 2px solid #111; padding: 13px 0; font-family: var(--body); font-size: 16px; outline: none; border-radius: 0; background: transparent; }
.login-form input:focus { border-bottom-color: #777; }
.login-options { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 22px 0 28px; font-size: 12px; color: #666; }
.remember { display: flex; align-items: center; gap: 7px; }
.login-submit { width: 100%; justify-content: center; cursor: pointer; }
.login-note { margin-top: 22px; color: #999; font-size: 11px; line-height: 1.5; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .intro-grid, .section-heading-row, .admissions-grid { gap: 50px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 1200px); }
  .utility-label { display: none; }
  .utility-inner { justify-content: flex-end; }
  .site-header { height: 72px; }
  .header-inner { height: 72px; }
  .brand-logo { width: 100px; height: 46px; }
  .header-cta { display: none; }
  .mobile-nav { top: 72px; }
  .hero { min-height: 690px; height: 90vh; }
  .hero-content { padding-bottom: 72px; }
  .hero p { font-size: 16px; max-width: 520px; }
  .hero-scroll { display: none; }
  .intro-grid, .section-heading-row, .admissions-grid { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .image-story, .feature-band, .portal-callout { grid-template-columns: 1fr; }
  .story-image, .feature-image, .portal-image { min-height: 440px; }
  .image-story .story-panel { order: 2; }
  .pillar-grid, .portal-card-grid { grid-template-columns: 1fr; }
  .pillar-card, .pillar-card + .pillar-card, .portal-info-card, .portal-info-card + .portal-info-card { padding: 28px 0; border-right: 0; border-bottom: 1px solid #ddd; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: 360px; }
  .login-panel-wrap { padding: 75px 28px 80px; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 30px); }
  .utility-bar { height: 32px; }
  .site-header { top: 32px; }
  .hero { min-height: 650px; }
  .hero-media { background-position: 52% center; }
  .hero h1 { font-size: 64px; }
  .hero-kicker { font-size: 9px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .intro-section, .pillars-section, .admissions-section { padding: 78px 0 84px; }
  .story-panel, .feature-copy, .portal-panel { padding: 65px 28px; }
  .section-heading-row { margin-bottom: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .portal-hero { min-height: 590px; }
  .portal-hero-inner { padding-bottom: 62px; }
  .portal-hero h1 { font-size: 64px; }
}

/* Academy logo sizing for the traced vertical lockup */
.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  width: 165px;
  height: auto;
  display: block;
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .brand-logo {
    width: 62px;
    height: 62px;
  }
}
