/* 01 · Shared palette, typography and layout */
:root {
  --ink: #203c32;
  --green: #204b3e;
  --paper: #faf9f4;
  --line: #d8dcd2;
  --muted: #59675e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #be751f;
  outline-offset: 4px;
}
.wrap {
  max-width: 1320px;
  width: calc(100% - clamp(40px, 11vw, 168px));
  margin-inline: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}
p {
  line-height: 1.6;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 20px;
  min-height: 45px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  background: #163b30;
}
.button.secondary {
  background: #fcfbf6;
  color: var(--ink);
  border-color: #b8c3b6;
}
.button.secondary:hover {
  background: #edf1e6;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
}
.small-line {
  height: 2px;
  background: #66816b;
  width: 26px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  border-bottom: 1px solid;
  padding-bottom: 3px;
  font-size: 14px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: white;
  padding: 12px;
}
/* 02 · Header, language switch and responsive navigation */
#site-header {
  background: #fbfaf5;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.nav-line,
.nav-actions,
.brand,
.locale,
.profile-link,
.footer-line {
  display: flex;
  align-items: center;
}
.nav-line {
  min-height: 78px;
  gap: 24px;
  justify-content: space-between;
}
.brand {
  gap: 8px;
  font: 600 clamp(22px, 2vw, 29px) / 1 var(--serif);
  letter-spacing: -1.35px;
  white-space: nowrap;
}
.brand svg {
  width: 36px;
}
.nav-line nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 2.2vw, 34px);
  align-self: stretch;
}
.nav-line nav a {
  align-self: stretch;
  position: relative;
  display: flex;
  align-items: center;
  color: #566157;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.nav-line nav a[aria-current],
.nav-line nav a:hover {
  color: #163d2e;
}
.nav-line nav a[aria-current]:after {
  position: absolute;
  bottom: 15px;
  content: "";
  height: 2px;
  background: #507c62;
  inset-inline: 0;
}
.nav-actions {
  gap: 14px;
}
.locale {
  padding: 3px;
  border-radius: 6px;
  background: #ebece3;
  gap: 2px;
}
.locale button {
  border: none;
  background: transparent;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #525e54;
  padding: 5px 7px;
}
.locale button[aria-pressed="true"] {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px #213c3222;
}
.profile-link {
  background: var(--green);
  color: white;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 13px;
  gap: 7px;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--ink);
  padding: 5px;
}
/* 03 · Campus postcard hero */
.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #f2f3e9;
  background-image:
    linear-gradient(#a9b4a01b 1px, transparent 1px),
    linear-gradient(90deg, #a9b4a01b 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6%;
  padding-block: clamp(48px, 5.1vw, 76px);
}
.hero-copy h1 {
  font-size: clamp(50px, 5.25vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.058em;
  margin: 20px 0;
}
.hero-copy h1 em {
  font-weight: 400;
  color: #54775c;
}
.hero-copy > p {
  color: #526056;
  max-width: 405px;
  font-size: 16px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.postcard-wrap {
  position: relative;
  padding: 2px 9px 0 0;
  margin-right: 8px;
}
.postcard {
  transform: rotate(2.3deg);
  padding: 10px 10px 0;
  background: #fffef8;
  box-shadow:
    0 7px 14px #263c3027,
    0 0 0 1px #64715e22;
}
.postcard img {
  width: 100%;
  height: clamp(220px, 19.6vw, 305px);
  display: block;
  object-fit: cover;
  object-position: center 50%;
}
.postcard figcaption {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 5px;
  font: italic 18px var(--serif);
  color: #445946;
}
.photo-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #788c68;
}
.caption-rule {
  height: 1px;
  background: #d2d7c8;
  flex: 1;
  margin: 5px 3px 0 7px;
}
.photo-mark {
  font: 22px Georgia;
}
.campus-stamp {
  position: absolute;
  right: -15px;
  top: -28px;
  width: clamp(67px, 6.6vw, 97px);
  transform: rotate(12deg);
  filter: drop-shadow(1px 2px 0 #36463230);
}
/* 04 · Student hub and admissions */
.hub {
  padding-block: 42px 50px;
}
.hub h2,
.about-grid h2 {
  font-size: clamp(34px, 3.15vw, 49px);
  letter-spacing: -0.05em;
  margin: 9px 0 23px;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hub-card {
  --accent: #366445;
  --tint: #e1eddb;
  display: block;
  padding: 20px 20px 22px;
  background: #fffefa;
  border: 1px solid #d3d8cb;
  border-radius: 12px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px #253e3212;
  border-color: var(--accent);
}
.hub-card.blue {
  --tint: #dceaf4;
  --accent: #385e7a;
}
.hub-card.apricot {
  --tint: #f9e6cb;
  --accent: #936324;
}
.hub-card.lilac {
  --tint: #ece2f3;
  --accent: #775789;
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 19px;
}
.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--accent);
}
.round-arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #e1e3d9;
  border-radius: 50%;
  color: #637069;
}
.hub-card h3 {
  font-size: 25px;
  letter-spacing: -1.1px;
  margin-bottom: 6px;
}
.hub-card p {
  font-size: 13.5px;
  color: #58645c;
  line-height: 1.55;
}
.about-section {
  padding: 55px 0;
  background: #edf0e6;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}
.about-grid p {
  color: #526056;
  max-width: 540px;
}
.about-grid h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  margin: 21px 0 6px;
}
.admission-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}
#site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-line {
  justify-content: space-between;
  gap: 20px;
}
.footer-line > div {
  display: flex;
  gap: 18px;
  font-size: 13px;
}
.footer-line .brand {
  font-size: 22px;
}
/* 05 · Motion and mobile breakpoints */
@keyframes enter {
  from {
    opacity: 0.35;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main {
  animation: enter 0.34s ease-out;
}
@media (max-width: 1000px) {
  .nav-line {
    gap: 12px;
  }
  .nav-actions {
    gap: 8px;
  }
  .wrap {
    width: 92%;
  }
  .nav-line nav {
    gap: 14px;
  }
  .hero-layout {
    gap: 4%;
  }
  .hub-card {
    padding: 16px;
  }
  .hero-copy h1 {
    font-size: clamp(45px, 5.4vw, 61px);
  }
}
@media (max-width: 850px) {
  .menu-toggle {
    display: grid;
  }
  .nav-line nav {
    display: none;
  }
  .nav-line nav.open {
    position: absolute;
    display: grid;
    gap: 0;
    left: 0;
    right: 0;
    top: 100%;
    background: #faf9f4;
    border-bottom: 1px solid #bdc9bc;
    padding: 10px 4%;
  }
  .nav-line nav a {
    padding: 12px;
  }
  .nav-line nav a[aria-current]:after {
    display: none;
  }
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .wrap {
    width: 89%;
  }
  .nav-line {
    min-height: 64px;
  }
  .brand {
    font-size: 22px;
    gap: 4px;
  }
  .brand svg {
    width: 30px;
  }
  .profile-link {
    padding: 8px;
  }
  .profile-link span {
    display: none;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 34px 0 35px;
  }
  .hero-copy h1 {
    font-size: clamp(43px, 9.8vw, 61px);
    margin: 14px 0;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-actions {
    margin-top: 18px;
    gap: 8px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 11px 14px;
  }
  .postcard-wrap {
    margin: 0 9px;
  }
  .postcard img {
    height: clamp(160px, 47vw, 255px);
  }
  .campus-stamp {
    right: -15px;
    top: -18px;
    width: 62px;
  }
  .postcard figcaption {
    height: 31px;
    font-size: 16px;
  }
  .hub {
    padding: 30px 0;
  }
  .hub-grid {
    gap: 10px;
  }
  .card-head {
    margin-bottom: 14px;
  }
  .hub-card h3 {
    font-size: 22px;
  }
  .hub-card p {
    font-size: 13px;
  }
  .hub-card {
    padding: 14px;
  }
  .icon-tile {
    width: 39px;
    height: 39px;
  }
  .hub h2 {
    margin-bottom: 16px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-line {
    align-items: flex-start;
    flex-direction: column;
  }
  .about-section {
    padding: 36px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
