:root {
  --teal: #1f5767;
  --teal-soft: #3b6f80;
  --gold: #c5a059;
  --ink: #151c27;
  --muted: #586266;
  --paper: #fbfaf6;
  --linen: #f2eee6;
  --line: rgba(64, 72, 75, 0.18);
  --shadow: 0 28px 64px rgba(31, 87, 103, 0.08);
  --serif: "EB Garamond", Georgia, "Times New Roman", "Noto Serif SC", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 14% 0%, rgba(197, 160, 89, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--paper), #f7f4ee 52%, #f9f9ff);
}

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

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(156px, 12vw, 184px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav a,
.button,
.footer a {
  text-decoration: none;
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.secondary,
.nav-cta {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.42);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 76px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.lead {
  max-width: 590px;
  font-size: 18px;
}

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

.media,
.featured,
.about-media {
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.34);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media {
  aspect-ratio: 4 / 5;
  background: var(--linen);
}

.media img,
.featured img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.featured {
  display: grid;
  grid-column: span 2;
  grid-row: span 2;
  min-height: 540px;
  padding: 0;
  background: white;
}

.featured div {
  padding: 28px;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.about-media {
  aspect-ratio: 4 / 5;
}

.values {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.values article {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  margin-bottom: 70px;
  padding: clamp(42px, 7vw, 76px);
  border: 1px solid rgba(197, 160, 89, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(231, 238, 254, 0.86), rgba(255, 250, 242, 0.94));
}

.qr {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 24px;
  border: 1px solid rgba(59, 111, 128, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.qr img {
  width: min(100%, 240px);
}

.qr span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.footer strong {
  color: var(--teal);
}

.footer p,
.footer a {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .header,
  .nav {
    align-items: flex-start;
  }

  .header {
    display: grid;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .about,
  .booking {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .media {
    aspect-ratio: 1.1;
  }

  .class-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .featured img {
    aspect-ratio: 1.25;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .section {
    width: min(100% - 32px, 1180px);
  }

  .brand img {
    width: 150px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }
}
