/* ---------- Header ---------- */ .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; padding: 42px 30px 0 66px; } .brand { display: flex; align-items: flex-start; gap: 22px; } .brand-name { font-family: var(--serif); font-size: 33px; line-height: 1.16; color: #24406f; padding-top: 2px; } .main-nav { display: flex; align-items: center; gap: 30px; padding-top: 22px; } .nav-link { font-family: var(--serif); font-size: 13px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; color: var(--navy); transition: color 0.15s ease; } .nav-link:hover { color: var(--teal-dark); } .nav-divider { width: 1px; height: 22px; background: #7fc3dc; } .nav-link-oneprep { margin-left: -8px; } .nav-search { display: flex; align-items: center; padding: 2px; } /* ---------- Hero ---------- */ .hero-media { position: relative; height: 966px; overflow: hidden; } .hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; } .hero-topfade { position: absolute; inset: 0 0 auto 0; height: 210px; background: linear-gradient(180deg, rgba(247, 245, 239, 0.55), rgba(247, 245, 239, 0) 80%); pointer-events: none; } .hero-rect { position: absolute; left: 14px; top: 430px; width: 22px; height: 223px; border: 2.5px solid #17203a; } .hero-card { position: absolute; left: 52px; top: 434px; width: 418px; min-height: 216px; background: var(--navy); border-radius: 26px 20px 30px 22px / 22px 30px 20px 26px; padding: 28px 30px 26px 36px; } .hero-card h1 { font-family: var(--serif); font-weight: 400; font-size: 39px; line-height: 1.42; color: #fff; } .hero-bar { position: relative; height: 77px; background: var(--navy); display: flex; align-items: center; justify-content: center; } .hero-bar-copy { display: flex; align-items: center; gap: 28px; } .hero-script { font-family: var(--script); font-size: 50px; color: #c3d232; line-height: 1; padding-bottom: 10px; } .hero-caption { font-size: 18.5px; color: #fff; letter-spacing: 0.2px; } .hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #a9aec2; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; } .hero-arrow:first-child { left: 56px; } .hero-arrow:last-child { right: 56px; } .hero-arrow:hover { background: #c6cbdd; } /* ---------- Intro ---------- */ .intro { padding: 116px 40px 138px; text-align: center; } .intro-copy { max-width: 1045px; margin: 0 auto; font-size: 19.5px; line-height: 1.82; color: #1c2540; } .text-link { color: var(--blue-link); font-weight: 700; } .text-link:hover { text-decoration: underline; } .intro-book { margin-top: 40px; display: flex; justify-content: center; } .intro-book svg { width: 258px; height: 158px; } /* ---------- Book carousel ---------- */ .book-section { position: relative; background: var(--sky); padding: 122px 0 118px; } .book-wrap { max-width: 1707px; margin: 0 auto; padding: 0 16px; } .book-card { position: relative; display: flex; background: #fff; border-radius: 10px; box-shadow: 0 2px 6px rgba(23, 32, 58, 0.12); overflow: hidden; min-height: 574px; } .book-border { position: absolute; inset: 11px; border: 2px solid #1d1d1f; border-radius: 14px 7px 16px 9px / 9px 16px 7px 14px; pointer-events: none; z-index: 2; } .book-photo { flex: 0 0 49%; } .book-photo img { width: 100%; height: 100%; object-fit: cover; } .book-text { flex: 1; padding: 56px 96px 48px 44px; } .book-text h2 { font-family: var(--serif); font-weight: 500; font-size: 26.5px; color: #1e3a6e; margin-bottom: 20px; } .book-text p { font-size: 15.5px; line-height: 1.6; color: #222c44; max-width: 640px; } .book-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; padding: 10px; opacity: 0.85; transition: opacity 0.15s ease, transform 0.15s ease; } .book-arrow:hover { opacity: 1; } .book-arrow-left { left: 46px; } .book-arrow-left:hover { transform: translateY(-50%) translateX(-3px); } .book-arrow-right { right: 46px; } .book-arrow-right:hover { transform: translateY(-50%) translateX(3px); } .book-dots { display: flex; justify-content: flex-end; gap: 13px; margin-top: 36px; padding-right: 22px; } .book-dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.95); background: transparent; transition: background 0.15s ease; } .book-dot.is-active { background: #545456; border-color: #545456; } .book-dot:not(.is-active):hover { background: rgba(255, 255, 255, 0.55); } /* ---------- Admissions + Quick Facts ---------- */ .admissions-section { max-width: 1920px; margin: 0 auto; display: grid; grid-template-columns: 500px 1fr; gap: 78px; padding: 112px 105px 92px; } .teal-heading { font-family: var(--serif); font-weight: 500; font-size: 29px; color: var(--teal); } .admissions-col .teal-heading { margin-bottom: 26px; } .deadline-name { font-family: var(--sans); font-size: 17.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; } .deadline-date { font-size: 16.5px; color: #29334f; margin-bottom: 24px; } .deadline-note { font-style: italic; font-size: 16.5px; line-height: 1.65; color: #232f4b; margin: 4px 0 32px; max-width: 430px; } .email-link { color: var(--chartreuse-soft); } .email-link:hover { text-decoration: underline; } .facts-panel { background: var(--panel-gray); padding: 48px 46px 52px; } .facts-heading { text-align: center; margin-bottom: 36px; } .facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 56px; column-gap: 24px; } .fact { text-align: center; } .fact-icon { height: 112px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 18px; } .fact-value { font-family: var(--serif); font-weight: 500; font-size: 35px; letter-spacing: 1px; color: var(--teal); margin-bottom: 9px; } .fact-label { font-size: 16.5px; font-weight: 700; color: var(--navy); } .facts-cta { text-align: center; margin-top: 48px; } /* ---------- School News ---------- */ .news-section { padding: 44px 40px 100px; } .news-heading { text-align: center; margin-bottom: 46px; } .news-stage { position: relative; max-width: 1000px; margin: 0 auto; } .news-item { display: grid; grid-template-columns: 443px 1fr; gap: 74px; align-items: start; } .news-photo img { width: 100%; height: 291px; object-fit: cover; } .news-title { font-family: var(--sans); font-weight: 400; font-size: 20.5px; color: #b7c919; margin-bottom: 8px; } .news-date { font-style: italic; font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 8px; } .news-body { font-size: 17px; line-height: 1.55; color: #1c2540; max-width: 480px; } .news-arrow { position: absolute; top: 122px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--chartreuse); display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; } .news-arrow:hover { background: rgba(194, 213, 0, 0.12); } .news-arrow:first-child { left: -72px; } .news-arrow:last-of-type { right: -72px; } .news-dots { display: flex; justify-content: center; gap: 16px; margin-top: 28px; } .news-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--chartreuse); background: transparent; transition: background 0.15s ease; } .news-dot.is-active { background: var(--chartreuse); } .news-dot:not(.is-active):hover { background: rgba(194, 213, 0, 0.35); } .news-cta { text-align: center; margin-top: 34px; } /* ---------- Gallery strip ---------- */ .gallery-strip { position: relative; display: flex; gap: 6px; background: #fff; } .gallery-cell { flex: 1; height: 293px; } .gallery-cell img { width: 100%; height: 100%; object-fit: cover; } .gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(58, 58, 58, 0.88); display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; } .gallery-arrow:hover { background: rgba(24, 24, 24, 0.95); } .gallery-arrow-left { left: 20px; } .gallery-arrow-right { right: 20px; } /* ---------- Footer ---------- */ .site-footer { display: flex; min-height: 528px; } .footer-green { flex: 0 0 492px; background: var(--chartreuse); padding: 54px 40px 40px 55px; } .footer-social-row { display: flex; align-items: center; } .footer-social { display: flex; gap: 13px; } .footer-social a { display: flex; transition: transform 0.15s ease; } .footer-social a:hover { transform: translateY(-2px); } .footer-script { font-family: var(--script); font-size: 42px; color: #1e2a48; margin-left: 58px; padding-bottom: 8px; } .footer-card { margin-top: 44px; width: 354px; border: 1.5px solid #263252; border-radius: 16px 8px 18px 7px / 8px 18px 7px 16px; padding: 32px 28px; font-style: normal; display: flex; flex-direction: column; gap: 19px; font-size: 16.5px; line-height: 1.42; color: #1e2a48; } .footer-card strong { font-size: 17px; color: var(--navy); margin-bottom: -14px; } .footer-card a:hover { text-decoration: underline; } .footer-links { display: flex; align-items: center; margin-top: 40px; font-size: 16.5px; color: #1e2a48; } .footer-links a:hover { text-decoration: underline; } .footer-links-divider { width: 1.5px; height: 24px; background: #263252; margin: 0 36px; } .footer-photo { flex: 1; min-width: 0; } .footer-photo img { width: 100%; height: 100%; object-fit: cover; } /* ---------- Responsive ---------- */ @media (max-width: 1450px) { .book-text { padding-right: 60px; } .admissions-section { grid-template-columns: 420px 1fr; gap: 48px; padding: 90px 60px 80px; } .news-arrow:first-child { left: -70px; } .news-arrow:last-of-type { right: -70px; } } @media (max-width: 1180px) { .site-header { padding: 26px 24px 0 28px; } .main-nav { gap: 18px; } .admissions-section { grid-template-columns: 1fr; gap: 56px; } .news-stage { max-width: 760px; } .news-item { grid-template-columns: 1fr; gap: 30px; } .news-arrow { top: 100px; } .news-arrow:first-child { left: -58px; } .news-arrow:last-of-type { right: -58px; } } @media (max-width: 900px) { .site-header { flex-direction: column; gap: 14px; } .main-nav { flex-wrap: wrap; padding-top: 0; } .hero-media { height: 620px; } .hero-card { top: 300px; width: 300px; min-height: 0; padding-bottom: 36px; } .hero-card h1 { font-size: 29px; } .hero-script { font-size: 30px; } .hero-caption { display: none; } .book-card { flex-direction: column; min-height: 0; } .book-photo { flex: 0 0 auto; height: 320px; } .book-text { padding: 40px 36px 44px; } .book-arrow-left { left: 8px; } .book-arrow-right { right: 8px; } .facts-grid { grid-template-columns: repeat(2, 1fr); } .gallery-strip { flex-direction: column; } .site-footer { flex-direction: column; } .footer-green { flex: 0 0 auto; } .footer-photo { height: 320px; } }