:root {
  --navy: #10263a;
  --navy-2: #173b58;
  --ink: #17232d;
  --muted: #63717d;
  --paper: #f7f3ea;
  --cream: #fffdf8;
  --gold: #c69a4b;
  --gold-soft: #ead7ad;
  --red: #ad4136;
  --line: rgba(16, 38, 58, 0.13);
  --shadow: 0 18px 48px rgba(16, 38, 58, 0.12);
  --radius: 22px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "Times New Roman", serif;
  --sans: Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[data-lang="en"] {
  display: none;
}

body.lang-en [data-lang="zh"] {
  display: none !important;
}

body.lang-en [data-lang="en"] {
  display: initial;
}

body.lang-en div[data-lang="en"],
body.lang-en p[data-lang="en"],
body.lang-en section[data-lang="en"] {
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  color: white;
  background: var(--red);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.section {
  padding: 92px 0;
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(198, 154, 75, 0.17), transparent 30%),
    var(--navy);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 42px;
}

.section-heading h2,
.title-xl,
.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.section-heading h2 {
  max-width: 720px;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.section--navy .section-heading p,
.section--navy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}

.topbar {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.topbar .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a:hover {
  color: white;
}

.lang-toggle {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
}

.header-main {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  display: block;
  max-width: none;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  align-self: center;
  object-fit: contain;
  object-position: center center;
  border-radius: 50%;
}

.brand-copy {
  display: block;
  line-height: 1.08;
}

.brand-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  white-space: nowrap;
}

.brand-copy strong [data-lang="en"] {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.015em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.55vw, 25px);
}

.main-nav a {
  position: relative;
  padding: 30px 0 27px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 19px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.button {
  min-height: 49px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: white;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(173, 65, 54, 0.24);
}

.button--gold {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.button--outline {
  color: var(--navy);
  background: transparent;
  border-color: rgba(16, 38, 58, 0.25);
}

.button--light {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.button--small {
  min-height: 42px;
  padding: 9px 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero {
  min-height: 720px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 25, 39, 0.97) 0%, rgba(9, 25, 39, 0.9) 36%, rgba(9, 25, 39, 0.2) 70%, rgba(9, 25, 39, 0.06) 100%),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=2000&q=88") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  right: -9vw;
  bottom: -280px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.018);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 705px;
  padding: 90px 0 110px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 44px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.5vw, 6.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.55em;
  font-style: italic;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-meta .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-meta p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.hero-meta p:last-child {
  color: var(--gold-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 76px;
  align-items: center;
}

.intro-image {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 38, 58, 0.1), transparent),
    url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1200&q=86") center / cover no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  color: white;
  background: rgba(16, 38, 58, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  backdrop-filter: blur(9px);
}

.image-note strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.intro-copy h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.5vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.principles {
  margin: 30px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle {
  padding: 19px 17px;
  background: var(--cream);
}

.principle strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.principle small {
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  min-height: 265px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  color: white;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
}

.work-card::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(198, 154, 75, 0.35);
  border-radius: 50%;
  content: "";
}

.work-number {
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.work-card h3 {
  margin: 50px 0 12px;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.work-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.teacher-card,
.news-card,
.event-card,
.resource-card,
.info-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.teacher-card:hover,
.news-card:hover,
.event-card:hover,
.resource-card:hover,
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.teacher-photo {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #d9dfe3;
}

.teacher-photo img {
  height: 100%;
  object-fit: cover;
}

.teacher-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 10px;
  color: white;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-meta {
  margin-bottom: 13px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.news-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
}

.news-feature {
  min-height: 490px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(0deg, rgba(16, 38, 58, 0.95), rgba(16, 38, 58, 0.04)),
    url("https://images.unsplash.com/photo-1529390079861-591de354faf5?auto=format&fit=crop&w=1300&q=86") center / cover no-repeat;
  border-radius: var(--radius);
}

.news-feature-content {
  max-width: 630px;
  padding: 38px;
}

.news-feature h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.news-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.news-stack {
  display: grid;
  gap: 16px;
}

.news-item {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.news-item h3 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.35;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-row {
  padding: 22px 25px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.event-date {
  color: var(--red);
  border-right: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-row h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.18rem;
}

.event-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.cta {
  padding: 64px;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--red);
  border-radius: 28px;
}

.cta::after {
  position: absolute;
  top: -150px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.035), 0 0 0 120px rgba(255, 255, 255, 0.025);
  content: "";
}

.cta-content {
  max-width: 740px;
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.12;
}

.cta p {
  max-width: 630px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  padding: 105px 0 78px;
  color: white;
  background:
    radial-gradient(circle at 80% 30%, rgba(198, 154, 75, 0.22), transparent 28%),
    linear-gradient(130deg, var(--navy), #0b1d2d);
}

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

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
}

.breadcrumb {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: white;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.side-note {
  position: sticky;
  top: 132px;
  padding: 28px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 15px 15px 0;
}

.side-note strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.side-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.rich-copy h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.rich-copy h3 {
  margin: 38px 0 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.rich-copy p {
  color: var(--muted);
}

.quote {
  margin: 34px 0;
  padding: 30px;
  color: var(--navy);
  background: var(--paper);
  border-radius: 16px;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.stats {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stat strong {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: 2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  padding: 0 0 34px 46px;
  position: relative;
  border-left: 1px solid var(--gold);
}

.timeline-item::before {
  position: absolute;
  top: 3px;
  left: -7px;
  width: 13px;
  height: 13px;
  background: var(--red);
  border: 3px solid var(--cream);
  border-radius: 50%;
  content: "";
}

.timeline-item:last-child {
  border-left-color: transparent;
}

.timeline-item small {
  color: var(--red);
  font-weight: 800;
}

.timeline-item h3 {
  margin: 5px 0 6px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.step > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 50%;
  font-weight: 800;
}

.step h3 {
  margin: 22px 0 9px;
  color: var(--navy);
  font-family: var(--serif);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.toolbar {
  margin-bottom: 30px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  background: var(--paper);
  border-radius: 15px;
}

.field,
.form-field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 154, 75, 0.15);
}

.form-field label {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.filter-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.status-banner {
  margin-bottom: 28px;
  padding: 17px 20px;
  color: #6c531f;
  background: #fff7dc;
  border: 1px solid #eddaa1;
  border-radius: 12px;
  font-size: 0.88rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
}

.contact-panel,
.form-panel {
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.contact-panel {
  color: white;
  background: var(--navy);
}

.contact-panel h2,
.form-panel h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2rem;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.67);
}

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

.contact-item {
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-item small {
  display: block;
  color: var(--gold-soft);
  font-weight: 800;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.82);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-message {
  margin-top: 15px;
  padding: 12px 14px;
  display: none;
  color: #14532d;
  background: #e9f7ed;
  border-radius: 10px;
  font-size: 0.86rem;
}

.form-message.show {
  display: block;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.accordion-button {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
}

.accordion-button::after {
  content: "+";
  font-size: 1.4rem;
}

.accordion-item.open .accordion-button::after {
  content: "−";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 220ms ease;
}

.accordion-content p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #0b1c2b;
}

.footer-main {
  padding: 68px 0 46px;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
  gap: 42px;
}

.footer-brand .brand-copy strong {
  color: white;
}

.footer-brand .brand-logo {
  width: 68px;
  height: 68px;
}

.footer-brand > p {
  max-width: 330px;
  margin: 22px 0 0;
  font-size: 0.88rem;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: white;
  font-family: var(--serif);
  font-size: 1rem;
}

.footer-col a,
.footer-col span {
  margin: 7px 0;
  display: block;
  font-size: 0.83rem;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.empty-state {
  padding: 60px 24px;
  display: none;
  color: var(--muted);
  background: var(--paper);
  border-radius: 15px;
  text-align: center;
}

.empty-state.show {
  display: block;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 13px;
  }

  .main-nav a {
    font-size: 0.77rem;
  }

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

@media (max-width: 900px) {
  .topbar .container > span {
    display: none;
  }

  .topbar .container {
    justify-content: flex-end;
  }

  .header-main {
    min-height: 74px;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 108px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 22px 48px;
    display: none;
    align-content: start;
    background: var(--cream);
    overflow-y: auto;
  }

  .menu-open .main-nav {
    display: grid;
  }

  .main-nav a {
    padding: 12px 4px;
    font-family: var(--serif);
    font-size: 1.25rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .section-heading,
  .intro-grid,
  .news-layout,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .intro-grid,
  .content-grid {
    gap: 35px;
  }

  .side-note {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .brand-copy strong [data-lang="en"] {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 670px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(9, 25, 39, 0.96), rgba(9, 25, 39, 0.6)),
      url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1200&q=86") 62% center / cover no-repeat;
  }

  .hero-content {
    padding: 75px 0 120px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 14vw, 4.6rem);
  }

  .hero-meta p:first-child {
    display: none;
  }

  .work-grid,
  .feature-grid,
  .steps,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .event-row {
    grid-template-columns: 70px 1fr;
    gap: 16px;
  }

  .event-row .text-link {
    grid-column: 2;
    margin-top: 0;
  }

  .cta {
    padding: 42px 26px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    padding: 20px 0;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
