:root {
  --yellow: #f2dc35;
  --yellow-soft: #fff5a5;
  --ink: #171814;
  --forest: #1d2922;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --muted: #686961;
  --line: rgba(23, 24, 20, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --shell: min(1320px, calc(100vw - 72px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
::selection {
  color: var(--ink);
  background: var(--yellow);
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: #fff;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  width: 100%;
  height: 94px;
  padding: 0 36px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
  transition:
    background 0.35s,
    height 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
.site-header.scrolled {
  height: 82px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
  box-shadow: 0 8px 35px rgba(15, 18, 13, 0.08);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 238px;
}
.brand-crest {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.brand-wordmark {
  width: 168px;
  filter: brightness(0) invert(1);
  transition: filter 0.35s;
}
.site-header.scrolled .brand-wordmark {
  filter: none;
}
.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.1vw, 38px);
}
.primary-nav a {
  position: relative;
  padding: 35px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}
.fee-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    transform 0.2s,
    background 0.2s;
}
.fee-button:hover {
  transform: translateY(-2px);
  background: #ffe94c;
}
.fee-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 0;
  background: transparent;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition:
    transform 0.25s,
    opacity 0.25s;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #20241f;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  transition:
    opacity 1.1s ease,
    transform 7s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide:nth-child(3) {
  background-position: center 38%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 13, 10, 0.78) 0%,
      rgba(8, 13, 10, 0.36) 55%,
      rgba(8, 13, 10, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(8, 13, 10, 0.62) 0%, transparent 42%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 80px;
}
.eyebrow {
  margin: 0 0 22px;
  color: #55584f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin: 0 12px 3px 0;
  content: "";
  background: var(--yellow);
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.74);
}
.hero h1,
.intro-copy h2,
.statement-copy h2,
.section-heading h2,
.life-content h2,
.admissions-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
}
.hero h1 {
  max-width: 950px;
  font-size: clamp(64px, 7.4vw, 118px);
}
em {
  color: var(--yellow);
  font-weight: 400;
}
.hero-copy {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 38px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  min-height: 54px;
  padding: 0 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  transition:
    gap 0.25s,
    transform 0.25s,
    background 0.25s;
}
.button:hover {
  gap: 48px;
  transform: translateY(-2px);
}
.button-yellow {
  color: var(--ink);
  background: var(--yellow);
}
.button-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.button-outline:hover {
  color: var(--ink);
  background: #fff;
}
.button-dark {
  color: #fff;
  background: var(--ink);
}
.text-link,
.arrow-link,
.small-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.text-link span,
.arrow-link span,
.small-link span {
  color: #c2a900;
  font-size: 16px;
  transition: transform 0.2s;
}
.text-link:hover span,
.arrow-link:hover span,
.small-link:hover span {
  transform: translate(3px, -3px);
}
.light-link {
  color: #fff;
}
.light-link span {
  color: var(--yellow);
}
.hero-footer {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 34px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-pagination {
  display: flex;
  gap: 18px;
}
.hero-pagination button {
  display: grid;
  grid-template-columns: 20px 58px;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.6);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero-pagination span {
  font-size: 10px;
  font-weight: 700;
}
.hero-pagination i {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
}
.hero-pagination i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-pagination button.is-active {
  color: #fff;
}
.hero-pagination button.is-active i::after {
  animation: progress 6s linear forwards;
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}
.scroll-cue {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-cue span {
  margin-left: 14px;
  color: var(--yellow);
  font-size: 18px;
}

.section-pad {
  padding: 125px 0;
}
.intro-section {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(70px, 9vw, 150px);
}
.collage {
  position: relative;
  min-height: 620px;
}
.pattern-panel {
  position: absolute;
  top: 10px;
  left: 0;
  width: 70%;
  height: 70%;
  overflow: hidden;
  background-color: var(--yellow);
  background-image: radial-gradient(
    rgba(23, 24, 20, 0.11) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
}
.pattern-panel img {
  position: absolute;
  top: -25%;
  left: -15%;
  width: 105%;
  opacity: 0.08;
  transform: rotate(-8deg);
}
.image-main {
  position: absolute;
  top: 75px;
  right: 0;
  width: 72%;
  height: 440px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.13);
}
.image-main img,
.image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-small {
  position: absolute;
  bottom: 0;
  left: 7%;
  width: 39%;
  height: 235px;
  margin: 0;
  overflow: hidden;
  border: 9px solid var(--cream);
}
.since-seal {
  position: absolute;
  right: -10px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 182px;
  height: 182px;
  padding: 20px;
  color: #fff;
  border-radius: 50%;
  background: var(--forest);
  transform: rotate(5deg);
}
.since-seal strong {
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
}
.since-seal span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.intro-copy h2,
.section-heading h2,
.admissions-inner h2 {
  font-size: clamp(52px, 5.4vw, 82px);
}
.intro-copy .lead {
  margin: 36px 0 20px;
  color: #292b26;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}
.intro-copy > p:not(.eyebrow):not(.lead) {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.intro-copy .arrow-link {
  margin-top: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
}

.statement-section {
  padding: 130px 0;
  color: #fff;
  background: var(--forest);
}
.statement-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 10vw;
}
.statement-copy h2 {
  max-width: 690px;
  font-size: clamp(48px, 5vw, 76px);
}
.statement-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.8;
}
.principles {
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.principles article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.principles article > span {
  padding-top: 5px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
}
.principles h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}
.principles p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.6;
}

.curriculum-section {
  background: var(--paper);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 68px;
}
.section-heading > p {
  max-width: 470px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.curriculum-card {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
}
.curriculum-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.curriculum-card:hover > img {
  transform: scale(1.045);
}
.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(12, 17, 14, 0.86),
    rgba(12, 17, 14, 0.02) 75%
  );
}
.international .card-shade {
  background: linear-gradient(
    0deg,
    rgba(12, 17, 14, 0.9),
    rgba(12, 17, 14, 0.13) 75%
  );
}
.curriculum-card-content {
  position: absolute;
  inset: auto 44px 44px;
}
.card-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.curriculum-card h3 {
  margin: 16px 0;
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.curriculum-card p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.65;
}
.round-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 23px;
  transition: transform 0.3s;
}
.curriculum-card:hover .round-arrow {
  transform: rotate(45deg);
}

.sections-section {
  color: #fff;
  background: var(--ink);
}
.section-heading.compact {
  margin-bottom: 55px;
}
.section-heading.compact > p {
  color: rgba(255, 255, 255, 0.57);
}
.stage-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.stage-list > a {
  display: grid;
  grid-template-columns: 70px 1fr 190px 50px;
  align-items: center;
  min-height: 104px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    padding 0.25s,
    color 0.25s,
    background 0.25s;
}
.stage-list > a:hover {
  padding: 0 24px;
  color: var(--ink);
  background: var(--yellow);
}
.stage-num {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
}
.stage-list > a:hover .stage-num {
  color: var(--ink);
}
.stage-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.stage-age {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stage-list > a:hover .stage-age {
  color: var(--ink);
}
.stage-arrow {
  font-size: 22px;
  text-align: right;
}

.life-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 760px;
  color: #fff;
  background: #2f301d;
}
.life-image {
  min-height: 680px;
  overflow: hidden;
}
.life-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.life-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(45px, 7vw, 115px);
}
.life-content h2 {
  font-size: clamp(50px, 5vw, 76px);
}
.life-content > p:not(.eyebrow) {
  max-width: 500px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.8;
}
.life-links {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.life-links a {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--serif);
  font-size: 23px;
}
.life-links span {
  color: var(--yellow);
}

.stories-section {
  background: var(--cream);
}
.stories-section .section-heading > .arrow-link {
  justify-self: end;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.stories-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px;
}
.story-image {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
}
.story-card.featured .story-image {
  height: 400px;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.story-image:hover img {
  transform: scale(1.04);
}
.story-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  color: #787a71;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.story-card h3 {
  margin: 15px 0 22px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 35px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.story-card:not(.featured) h3 {
  font-size: clamp(22px, 1.85vw, 28px);
}
.small-link {
  gap: 12px;
}

.gallery-strip {
  position: relative;
  padding: 120px 0 105px;
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}
.gallery-track {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.05fr 0.85fr;
  gap: 12px;
  width: 130%;
  margin-left: -15%;
}
.gallery-track figure {
  position: relative;
  height: 330px;
  margin: 0;
  overflow: hidden;
}
.gallery-track figure:nth-child(even) {
  transform: translateY(32px);
}
.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
}
.gallery-track figcaption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gallery-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 78px;
}
.gallery-title p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 70px);
}
.gallery-title a {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gallery-title a span {
  margin-left: 20px;
  color: var(--yellow);
}

.admissions-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  text-align: center;
  background: var(--yellow);
}
.admissions-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("assets/hillwood-crest.png");
  background-repeat: repeat;
  background-size: 210px;
  transform: rotate(-8deg) scale(1.2);
}
.admissions-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.admissions-inner > img {
  width: 90px;
  margin-bottom: 25px;
}
.admissions-inner .eyebrow::before {
  background: var(--ink);
}
.admissions-inner h2 em {
  color: var(--ink);
}
.admissions-inner > p:not(.eyebrow) {
  max-width: 610px;
  margin: 28px auto;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
}
.admissions-actions {
  display: flex;
  align-items: center;
  gap: 35px;
}

.site-footer {
  padding: 85px 0 24px;
  color: #fff;
  background: #11130f;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.9fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
}
.footer-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 310px;
}
.footer-crest {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.footer-wordmark {
  width: 220px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--serif);
  font-size: 16px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-column h2 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.footer-column p,
.footer-column > a {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.7;
}
.footer-column > a:hover {
  color: #fff;
}
.footer-cta > a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-cta span {
  color: var(--yellow);
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.announcement {
  width: min(820px, calc(100vw - 30px));
  padding: 0;
  color: var(--ink);
  border: 0;
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.3);
}
.announcement[open] {
  display: grid;
  grid-template-columns: 40% 60%;
  animation: modal-in 0.45s both;
}
.announcement::backdrop {
  background: rgba(10, 14, 11, 0.72);
  backdrop-filter: blur(6px);
}
.announcement-mark {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  background: var(--yellow);
}
.announcement-mark::before {
  position: absolute;
  inset: -40px;
  content: "";
  opacity: 0.1;
  background: url("assets/hillwood-crest.png") center/190px repeat;
  transform: rotate(-12deg);
}
.announcement-mark img {
  position: relative;
  width: 170px;
}
.announcement-mark span {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 7px 9px;
  color: #fff;
  background: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.announcement-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.announcement-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.announcement-copy .announcement-lead {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}
.announcement-copy > p:last-of-type {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
}
.announcement-copy .button {
  align-self: flex-start;
}
.announcement-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e9e7de;
  font-size: 23px;
  cursor: pointer;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.98);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1100px);
  }
  .site-header {
    grid-template-columns: 210px 1fr auto;
    padding-inline: 24px;
  }
  .brand {
    width: 205px;
  }
  .brand-crest {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
  .brand-wordmark {
    width: 148px;
  }
  .primary-nav {
    gap: 18px;
  }
  .primary-nav a {
    font-size: 10px;
  }
  .fee-button {
    padding-inline: 13px;
  }
  .intro-grid {
    gap: 70px;
  }
  .collage {
    min-height: 560px;
  }
  .image-main {
    height: 400px;
  }
  .stories-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-cta {
    grid-column: 2 / 4;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 78px;
  }
  .site-header,
  .site-header.scrolled {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
  }
  .brand-wordmark,
  .site-header.scrolled .brand-wordmark {
    filter: none;
  }
  .menu-toggle {
    display: block;
  }
  .fee-button {
    display: none;
  }
  .primary-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    visibility: hidden;
    transition:
      max-height 0.35s,
      padding 0.35s,
      visibility 0.35s;
  }
  .primary-nav.open {
    max-height: 520px;
    padding-block: 18px 30px;
    visibility: visible;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.12);
  }
  .primary-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .primary-nav a::after {
    display: none;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .hero {
    min-height: 700px;
  }
  .hero-content {
    padding-top: 50px;
  }
  .intro-grid,
  .statement-grid,
  .section-heading,
  .life-section {
    grid-template-columns: 1fr;
  }
  .intro-copy {
    max-width: 700px;
  }
  .statement-grid {
    gap: 70px;
  }
  .curriculum-card {
    min-height: 580px;
  }
  .section-heading {
    gap: 28px;
  }
  .life-content {
    padding-block: 100px;
  }
  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }
  .story-card.featured {
    grid-column: 1 / 3;
  }
  .story-card.featured .story-image {
    height: 470px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / 3;
  }
  .footer-cta {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 36px);
  }
  .site-header {
    padding-inline: 18px;
  }
  .brand {
    gap: 8px;
    width: 185px;
  }
  .brand-crest {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }
  .brand-wordmark {
    width: 134px;
  }
  .hero {
    min-height: 720px;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 13, 10, 0.8), rgba(8, 13, 10, 0.25)),
      linear-gradient(0deg, rgba(8, 13, 10, 0.7), transparent 60%);
  }
  .hero h1 {
    font-size: clamp(52px, 16vw, 74px);
  }
  .hero-copy {
    font-size: 18px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .hero-pagination button {
    grid-template-columns: 18px 35px;
    gap: 5px;
  }
  .scroll-cue {
    display: none;
  }
  .section-pad,
  .intro-section {
    padding-block: 90px;
  }
  .collage {
    min-height: 450px;
  }
  .pattern-panel {
    width: 76%;
    height: 67%;
  }
  .image-main {
    top: 50px;
    width: 78%;
    height: 320px;
  }
  .image-small {
    width: 42%;
    height: 160px;
  }
  .since-seal {
    right: -4px;
    bottom: 5px;
    width: 110px;
    height: 110px;
    padding: 13px;
  }
  .since-seal strong {
    font-size: 27px;
  }
  .intro-grid {
    gap: 55px;
  }
  .intro-copy h2,
  .section-heading h2,
  .admissions-inner h2 {
    font-size: 49px;
  }
  .statement-section {
    padding-block: 90px;
  }
  .statement-copy h2,
  .life-content h2 {
    font-size: 49px;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .curriculum-card {
    min-height: 520px;
  }
  .curriculum-card-content {
    inset: auto 25px 28px;
  }
  .round-arrow {
    width: 52px;
    height: 52px;
  }
  .stage-list > a {
    grid-template-columns: 40px 1fr 30px;
    min-height: 90px;
  }
  .stage-age {
    display: none;
  }
  .stage-list h3 {
    font-size: 27px;
  }
  .life-image {
    min-height: 410px;
  }
  .life-content {
    padding: 80px 24px;
  }
  .stories-section .section-heading > .arrow-link {
    justify-self: start;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .story-card.featured {
    grid-column: auto;
  }
  .story-card.featured .story-image,
  .story-image {
    height: 310px;
  }
  .gallery-track {
    grid-template-columns: 1.2fr 1fr;
    width: 160%;
    margin-left: -30%;
  }
  .gallery-track figure {
    height: 245px;
  }
  .gallery-track figure:nth-child(n + 3) {
    display: none;
  }
  .gallery-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
  .admissions-section {
    padding-block: 90px;
  }
  .admissions-actions {
    align-items: center;
    flex-direction: column;
    gap: 25px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .footer-brand,
  .footer-cta {
    grid-column: auto;
  }
  .footer-lockup {
    width: 265px;
  }
  .footer-crest {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }
  .footer-wordmark {
    width: 190px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .announcement[open] {
    display: block;
  }
  .announcement-mark {
    min-height: 190px;
  }
  .announcement-mark img {
    width: 115px;
  }
  .announcement-copy {
    padding: 36px 28px 40px;
  }
  .announcement-copy h2 {
    font-size: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
