:root {
  color-scheme: light;
  --ink: #20201d;
  --muted: #6a665f;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: #ded7ca;
  --green: #244b3f;
  --green-deep: #18342d;
  --brick: #9d4633;
  --gold: #c9a35b;
  --shadow: 0 20px 60px rgba(23, 31, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid rgba(32, 32, 29, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 760;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--brick) !important;
  font-weight: 720;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding: 0 clamp(20px, 5vw, 72px) clamp(64px, 12vh, 128px);
  overflow: hidden;
  background: var(--green-deep);
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 18, 16, 0.72), rgba(12, 18, 16, 0.34) 36%, rgba(12, 18, 16, 0.12) 64%, rgba(12, 18, 16, 0.46)),
    linear-gradient(0deg, rgba(12, 18, 16, 0.24), rgba(12, 18, 16, 0.01) 50%);
}

.hero-overlay {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  color: var(--white);
}

.hero-student-callout {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: 520px;
  justify-self: end;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(12, 18, 16, 0.42);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-student-callout .eyebrow {
  color: var(--gold);
}

.hero-student-callout h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.hero-student-callout p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brick);
  color: var(--white);
}

.button.primary:hover {
  background: #873724;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  background: var(--green-deep);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-facts div {
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.quick-facts span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.split-section,
.location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.section-copy {
  max-width: 690px;
}

.section-copy p + p {
  margin-top: 20px;
}

.section-copy h2,
.section-heading h2,
.booking-section h2 {
  margin-bottom: 24px;
}

.feature-photo,
.location-photo {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.student-detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  background: var(--white);
}

.student-map-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.student-map-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.student-map-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.subpage-hero {
  display: grid;
  align-items: end;
  min-height: 62svh;
  padding: clamp(96px, 15vh, 180px) clamp(20px, 5vw, 72px) clamp(64px, 10vh, 120px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 18, 16, 0.78), rgba(12, 18, 16, 0.42)),
    url("assets/photos/11-photo-11.jpeg") center / cover;
}

.subpage-hero > div {
  max-width: 860px;
}

.subpage-hero .eyebrow {
  color: var(--gold);
}

.subpage-hero > div > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.subpage-hero .hero-price {
  font-weight: 760;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-contact {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.hero-contact a {
  color: var(--white);
  font-weight: 760;
  text-decoration-color: rgba(255, 255, 255, 0.56);
  text-underline-offset: 4px;
}

.long-term-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  background: var(--green);
  color: var(--white);
}

.long-term-band > div {
  max-width: 780px;
}

.long-term-band .eyebrow {
  color: var(--gold);
}

.long-term-band h2 {
  margin-bottom: 24px;
}

.long-term-band p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.long-term-band p + p {
  margin-top: 16px;
}

.direct-email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 760;
}

.comfort-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  background: var(--green);
  color: var(--white);
}

.comfort-band .eyebrow {
  color: var(--gold);
}

.comfort-list,
.location-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comfort-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comfort-list li,
.location-list li {
  position: relative;
  padding-left: 24px;
}

.comfort-list li::before,
.location-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.gallery-section {
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.room-gallery {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.room-gallery:last-child {
  border-bottom: 1px solid var(--line);
}

.room-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.room-heading span {
  color: var(--muted);
  white-space: nowrap;
}

.photo-grid {
  columns: 3 260px;
  column-gap: 14px;
}

.photo-grid img {
  width: 100%;
  height: auto;
  break-inside: avoid;
  margin: 0 0 14px;
  background: var(--paper);
}

.location-section {
  background: #ece8df;
}

.location-photo {
  order: -1;
}

.location-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.location-map-card {
  margin: 0;
  background: var(--white);
}

.location-map-card img {
  border: 1px solid var(--line);
}

.location-map-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.location-map-card address {
  margin-bottom: 6px;
  color: var(--ink);
  font-style: normal;
  font-weight: 720;
}

.location-map-card address a,
.section-copy a {
  color: var(--brick);
  font-weight: 720;
  text-decoration: none;
}

.location-map-card address a:hover,
.section-copy a:hover {
  text-decoration: underline;
}

.location-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.location-details {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.location-actions {
  display: flex;
  margin-top: 28px;
}

.apps-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 86px);
  background: var(--white);
}

.useful-apps {
  display: grid;
  align-content: center;
}

.location-details h3,
.useful-apps h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.location-details ul,
.useful-apps ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-details li,
.useful-apps li {
  color: var(--muted);
}

.useful-apps a {
  color: var(--brick);
  font-weight: 720;
  text-decoration: none;
}

.useful-apps a:hover {
  text-decoration: underline;
}

.location-map {
  margin: 34px 0 0;
}

.location-map img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
}

.location-map figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  background: var(--brick);
  color: var(--white);
}

.booking-section > div {
  max-width: 760px;
}

.booking-section .eyebrow {
  color: #ffe0a7;
}

.booking-section p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.booking-section > div > .button {
  margin-top: 28px;
}

.booking-student-callout {
  align-self: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--green-deep);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-student-callout {
    max-width: 680px;
    justify-self: start;
  }

  .split-section,
  .location-section,
  .student-detail-section,
  .comfort-band,
  .apps-section {
    grid-template-columns: 1fr;
  }

  .booking-section {
    grid-template-columns: 1fr;
  }

  .long-term-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: calc(100svh - 106px);
    display: grid;
    align-items: end;
    padding: 24px 20px 44px;
  }

  .hero > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    display: block;
    background:
      linear-gradient(0deg, rgba(12, 18, 16, 0.72), rgba(12, 18, 16, 0.12) 68%),
      linear-gradient(90deg, rgba(12, 18, 16, 0.42), rgba(12, 18, 16, 0.04));
  }

  .hero-overlay {
    width: 100%;
  }

  .hero-student-callout {
    padding: 22px;
    background: rgba(12, 18, 16, 0.58);
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.6rem);
  }

  .quick-facts,
  .comfort-list {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    columns: 1;
  }

  .room-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
