:root {
  --bg: #744555;
  --bg-accent: #9d6877;
  --panel: rgba(74, 49, 59, 0.56);
  --panel-strong: rgba(100, 67, 79, 0.68);
  --text: #fff2e6;
  --text-soft: #f6e6d9;
  --line: rgba(241, 207, 122, 0.16);
  --teal: #7d1634;
  --teal-deep: #5f1027;
  --coral: #caa053;
  --gold: #f1cf7a;
  --shadow: 0 24px 64px rgba(66, 27, 40, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1180px;
  --anchor-offset: 100px;
  --transition: 240ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: #1d1217;
  overflow-x: hidden;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow-x: hidden;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 17px;
  color: var(--text);
  background: #1d1217;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(214, 208, 213, 0.18), rgba(190, 184, 191, 0.24)),
    url("assets/gallery/about-stage-bg.jpg") center 12% / cover no-repeat;
  opacity: 0.78;
  filter: blur(1px) saturate(0.92);
  transform: scale(1.02);
  pointer-events: none;
}

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

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(calc(100vw - 32px), var(--max-width));
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(125, 22, 52, 0.98), rgba(95, 16, 39, 0.96));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(241, 207, 122, 0.34);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition:
    padding var(--transition),
    border-radius var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.site-header-spacer {
  height: 112px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(241, 207, 122, 0.7);
  background: rgba(255, 249, 244, 0.06);
  box-shadow: 0 10px 24px rgba(95, 16, 39, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong,
h1,
h2,
.visual-card strong {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand-copy strong {
  font-size: clamp(2.18rem, 1.44rem + 1.26vw, 2.82rem);
  letter-spacing: 0.035em;
  color: var(--gold);
  font-weight: 900;
  line-height: 0.96;
  text-shadow: 0 1px 0 rgba(88, 48, 20, 0.5), 0 8px 18px rgba(34, 13, 21, 0.26);
}

.brand-copy span {
  color: rgba(255, 237, 200, 0.9);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(255, 237, 200, 0.94);
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff7ea;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.lang-switch-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  min-width: 70px;
  padding: 0 12px;
  border: 1px solid rgba(241, 207, 122, 0.22);
  border-radius: 999px;
  background: rgba(255, 243, 216, 0.08);
  color: rgba(255, 237, 200, 0.94);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.lang-switch-trigger:hover,
.lang-switch-trigger:focus-visible {
  background: rgba(255, 243, 216, 0.12);
  border-color: rgba(241, 207, 122, 0.34);
}

.lang-switch-current {
  letter-spacing: 0.04em;
}

.lang-switch-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform var(--transition);
}

.lang-switch.is-open .lang-switch-caret {
  transform: translateY(2px) rotate(-135deg);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  min-width: 74px;
  padding: 8px;
  border: 1px solid rgba(241, 207, 122, 0.18);
  border-radius: 18px;
  background: rgba(95, 16, 39, 0.96);
  box-shadow: 0 18px 34px rgba(66, 27, 40, 0.26);
  backdrop-filter: blur(14px);
}

.lang-switch-menu[hidden] {
  display: none;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 237, 200, 0.94);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-button.is-active {
  background: rgba(241, 207, 122, 0.2);
  color: #fff7ef;
}

.header-cta,
.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.header-cta,
.button-primary,
.contact-link-primary {
  background: linear-gradient(135deg, #d8b15f, #bc8e3d);
  color: #fff7ef;
  box-shadow: 0 16px 32px rgba(188, 142, 61, 0.28);
}

.button-secondary,
.contact-link-secondary {
  background: linear-gradient(135deg, #d8b15f, #bc8e3d);
  border: 0;
  color: #fff7ef;
  box-shadow: 0 16px 32px rgba(188, 142, 61, 0.28);
}

.header-cta:hover,
.button:hover,
.contact-link:hover,
.header-cta:focus-visible,
.button:focus-visible,
.contact-link:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 243, 216, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section {
  padding: 52px 0;
}

main > .section:not(.hero) {
  width: min(100%, calc(var(--max-width) - 140px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

.section-panel {
  padding: 40px;
  background: var(--panel);
  border: 1px solid rgba(241, 207, 122, 0.18);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  gap: 30px;
  align-items: start;
  min-height: auto;
  padding: 8px 0 44px;
}

.hero-banner {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 28px;
  background: var(--teal);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(95, 16, 39, 0.26);
  text-align: center;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-banner-ring {
  width: min(100%, 474px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.hero-orbit-photo {
  position: absolute;
  z-index: 2;
  --orbit-lift: 0px;
  --orbit-scale: 1;
  --orbit-rotate: 0deg;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(241, 207, 122, 0.88);
  box-shadow: 0 18px 32px rgba(55, 25, 44, 0.26);
  background: rgba(255, 250, 246, 0.08);
  transform: translateY(var(--orbit-lift)) rotate(var(--orbit-rotate)) scale(var(--orbit-scale));
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), border-color var(--transition);
}

.hero-orbit-photo:hover {
  --orbit-lift: -8px;
  --orbit-scale: 1.05;
  box-shadow: 0 26px 42px rgba(55, 25, 44, 0.36);
  border-color: rgba(241, 207, 122, 1);
  filter: saturate(1.08) brightness(1.04);
}

.hero-orbit-photo-1 {
  top: 64px;
  left: -136px;
  --orbit-rotate: -9deg;
}

.hero-orbit-photo-2 {
  top: 268px;
  left: -236px;
  --orbit-rotate: 7deg;
}

.hero-orbit-photo-3 {
  top: 52px;
  right: -168px;
  --orbit-rotate: 8deg;
}

.hero-orbit-photo-4 {
  top: 394px;
  right: -126px;
  --orbit-rotate: 6deg;
}

.hero-orbit-photo-5 {
  top: 398px;
  left: -106px;
  --orbit-rotate: -8deg;
}

.hero-orbit-photo-6 {
  top: 244px;
  right: -238px;
  --orbit-rotate: -7deg;
}

.hero-emblem-photo {
  width: 94%;
  height: 94%;
  display: block;
  object-fit: contain;
  object-position: center center;
  transform: translate(-8px, 6px);
  filter: contrast(1.08) saturate(1.04) brightness(1.02);
}

.eyebrow {
  margin: 0 0 14px;
  color: #d8b05f;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.95;
  text-shadow: 0 3px 18px rgba(16, 10, 13, 0.72);
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
  text-shadow: 0 3px 16px rgba(16, 10, 13, 0.68);
}

.hero-text,
.section-copy,
.lead,
.about-point p,
.program-card p,
.schedule-row span,
.gallery-item p,
.benefit-card p,
.faq-item p,
.contact-card p {
  color: var(--text-soft);
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(16, 10, 13, 0.62);
}

.site-footer p {
  color: var(--gold);
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 1.22rem;
}

.section-copy,
.lead,
.about-point p,
.program-card p,
.schedule-row span,
.gallery-item p,
.benefit-card p,
.faq-item p,
.contact-card p,
.site-footer p,
.section-note {
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-stats li,
.program-card,
.benefit-card,
.gallery-item,
.about-point,
.faq-item,
.schedule-row {
  background: rgba(50, 34, 42, 0.52);
  border: 1px solid rgba(241, 207, 122, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 18px;
  border-radius: 22px;
}

.stat-label {
  display: block;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 232, 210, 0.88);
}

.stat-value {
  display: block;
  margin-top: 8px;
  font-size: 1.42rem;
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: start;
}

.lead {
  font-size: 1.22rem;
  margin: 0;
}

.about-points,
.card-grid,
.benefits-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.about-points {
  grid-template-columns: 1fr;
}

.about-point,
.program-card,
.benefit-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.about-point strong,
.program-card strong,
.benefit-card strong,
.faq-item summary {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(16, 10, 13, 0.68);
}

.about-point p,
.program-card p,
.benefit-card p {
  margin: 10px 0 0;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -36px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(202, 160, 83, 0.18);
}

.program-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(241, 207, 122, 0.14);
  color: #f6dd98;
  font-size: 0.92rem;
  font-weight: 700;
}

.schedule-table {
  display: grid;
  gap: 14px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 20px;
}

.schedule-row strong {
  font-size: 1.1rem;
  text-shadow: 0 2px 12px rgba(16, 10, 13, 0.68);
}

.schedule-row .schedule-time-link,
.schedule-row .schedule-time-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8b15f, #bc8e3d);
  color: #fff7ef;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-shadow: none;
  box-shadow: 0 14px 28px rgba(72, 26, 39, 0.18);
}

.schedule-row .schedule-time-link:hover,
.schedule-row .schedule-time-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(72, 26, 39, 0.24);
}

.schedule-row .schedule-time-pill {
  cursor: default;
}

.section-note {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.news-feed {
  display: grid;
  gap: 18px;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.news-layout.has-industry-news {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.78fr);
}

.news-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 247, 240, 0.08);
  border: 1px solid rgba(241, 207, 122, 0.14);
  box-shadow: 0 18px 44px rgba(72, 26, 39, 0.12);
}

.news-card.is-pinned {
  background: linear-gradient(145deg, rgba(125, 22, 52, 0.82), rgba(95, 16, 39, 0.78));
  border-color: rgba(241, 207, 122, 0.28);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.news-tag,
.news-date,
.news-pin {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.news-tag {
  background: rgba(241, 207, 122, 0.14);
  color: #f3d78e;
}

.news-date {
  background: rgba(255, 247, 240, 0.08);
  color: rgba(255, 242, 230, 0.9);
}

.news-pin {
  background: rgba(241, 207, 122, 0.22);
  color: #fff7ea;
}

.news-card strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
}

.news-card p {
  margin: 12px 0 0;
}

.industry-news {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 247, 240, 0.08);
  border: 1px solid rgba(241, 207, 122, 0.14);
  box-shadow: 0 18px 44px rgba(72, 26, 39, 0.12);
}

.industry-news h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(16, 10, 13, 0.68);
}

.industry-news-copy {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.industry-news-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.industry-news-item {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(66, 24, 39, 0.5);
  border: 1px solid rgba(241, 207, 122, 0.12);
}

.industry-news-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(16, 10, 13, 0.68);
}

.industry-news-item p {
  margin: 10px 0 0;
}

.industry-news-link {
  display: inline-flex;
  margin-top: 12px;
  color: #f3d78e;
  font-weight: 700;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  overflow: hidden;
  border-radius: 24px;
}

.gallery-link {
  display: block;
  background: rgba(116, 69, 85, 0.3);
  border: 1px solid rgba(241, 207, 122, 0.14);
  box-shadow: 0 18px 44px rgba(72, 26, 39, 0.14);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gallery-link:hover,
.gallery-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(72, 26, 39, 0.22);
  border-color: rgba(241, 207, 122, 0.28);
}

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

.gallery-copy {
  padding: 18px;
}

.gallery-copy strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
}

.gallery-page-copy,
.gallery-copy p {
  display: none;
}

.gallery-link-label {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.96rem;
  font-weight: 700;
}

.gallery-page-shell {
  padding-bottom: 64px;
}

.gallery-page-header {
  margin-bottom: 26px;
}

.gallery-page-nav {
  display: flex;
  justify-content: center;
}

.gallery-page-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-page-nav a {
  color: rgba(255, 237, 200, 0.94);
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--transition);
}

.gallery-page-nav a:hover,
.gallery-page-nav a:focus-visible {
  color: #fff7ea;
}

.gallery-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 243, 216, 0.08);
  color: rgba(255, 237, 200, 0.94);
  font-size: 0.92rem;
  font-weight: 600;
}

.gallery-page-main {
  display: grid;
  gap: 26px;
}

.gallery-page-hero {
  padding: 22px 28px;
}

.gallery-page-copy {
  max-width: 760px;
}

.gallery-page-hero h1 {
  font-size: clamp(1.56rem, 1.16rem + 0.96vw, 2.02rem);
  line-height: 1.08;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 160px));
  justify-content: center;
  gap: 12px;
}

.gallery-photo-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(116, 69, 85, 0.24);
  border: 1px solid rgba(241, 207, 122, 0.14);
  box-shadow: 0 20px 46px rgba(72, 26, 39, 0.16);
}

.gallery-photo-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}

.gallery-photo-trigger:hover img,
.gallery-photo-trigger:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.04);
}

.gallery-page-footer-nav {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 8, 14, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: calc(100vh - 40px);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.gallery-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.gallery-lightbox-caption {
  margin: 0;
  color: #fff7ef;
  text-align: center;
  font-size: 1rem;
  display: none;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(216, 177, 95, 0.96), rgba(188, 142, 61, 0.96));
  color: #fff7ef;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(33, 14, 22, 0.28);
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  left: 12px;
}

.gallery-lightbox-next {
  right: 12px;
}

.gallery-lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8b15f, #bc8e3d);
  color: #fff7ef;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(33, 14, 22, 0.28);
}

body.lightbox-open {
  overflow: hidden;
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.faq-item {
  padding: 20px 22px;
  border-radius: 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
}

.contact-section {
  padding-bottom: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 36px;
  background:
    linear-gradient(145deg, rgba(125, 22, 52, 0.98), rgba(95, 16, 39, 0.96)),
    var(--teal);
  color: #fff9f2;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(95, 16, 39, 0.28);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-card .section-copy,
.contact-card p {
  color: rgba(255, 249, 242, 0.9);
}

.contact-card .section-copy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-logo-wrap {
  margin-top: auto;
  padding-top: 28px;
}

.contact-logo {
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
  opacity: 0.96;
}

.contact-link-secondary {
  border-color: rgba(255, 249, 242, 0.2);
  color: #fff9f2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 30px 0 0;
}

.site-footer a {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand tools toggle"
      "nav nav nav";
    border-radius: 30px;
  }

  .brand {
    grid-area: brand;
  }

  .nav-toggle {
    grid-area: toggle;
    display: block;
    justify-self: end;
  }

  .site-nav {
    grid-area: nav;
    display: none;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .header-tools {
    grid-area: tools;
    justify-self: end;
    justify-content: flex-end;
  }

  .gallery-page-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand tools toggle"
      "nav nav nav";
  }

  .gallery-page-nav {
    grid-area: nav;
    justify-content: flex-start;
    padding-top: 8px;
  }

  .gallery-page-nav ul {
    justify-content: flex-start;
    gap: 14px;
  }

  .gallery-page-nav a {
    font-size: 0.96rem;
  }

  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-layout.has-industry-news {
    grid-template-columns: 1fr;
  }

  .industry-news-list {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(4, minmax(0, 140px));
    justify-content: center;
  }

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

@media (max-width: 900px) {
  .hero-banner {
    width: min(100%, 468px);
    padding: 22px;
  }

  .hero-banner-ring {
    width: min(100%, 420px);
  }

  .hero-orbit-photo {
    width: 118px;
    height: 118px;
    border-width: 2px;
  }

  .hero-orbit-photo-1 {
    top: 54px;
    left: -78px;
  }

  .hero-orbit-photo-2 {
    top: 214px;
    left: -118px;
  }

  .hero-orbit-photo-3 {
    top: 46px;
    right: -82px;
  }

  .hero-orbit-photo-4 {
    top: 336px;
    right: -44px;
  }

  .hero-orbit-photo-5 {
    top: 356px;
    left: -38px;
  }

  .hero-orbit-photo-6 {
    top: 206px;
    right: -116px;
  }
}

@media (max-width: 760px) {
  :root {
    --anchor-offset: 94px;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  main > .section:not(.hero) {
    width: 100%;
  }

  .site-header {
    top: 8px;
    gap: 8px;
    padding: 9px 10px;
    width: min(calc(100vw - 34px), var(--max-width));
  }

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

  .brand-copy {
    padding-top: 5px;
  }

  .brand-copy span {
    font-size: 0.8rem;
    margin-top: 2px;
  }

  .header-tools {
    align-items: center;
  }

  .lang-switch-trigger {
    min-height: 34px;
    min-width: 58px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .lang-button {
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .site-nav ul,
  .gallery-page-nav ul {
    gap: 10px 14px;
  }

  .site-nav a,
  .gallery-page-nav a {
    font-size: 0.86rem;
  }

  .header-cta,
  .button,
  .contact-link {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-banner {
    width: min(100%, 320px);
    padding: 16px;
  }

  .hero-banner-ring {
    width: min(100%, 288px);
    padding: 0;
    border-radius: 50%;
  }

  .hero-orbit-photo {
    width: 82px;
    height: 82px;
    border-width: 2px;
  }

  .hero-orbit-photo-1 {
    top: 24px;
    left: -18px;
    --orbit-rotate: -8deg;
  }

  .hero-orbit-photo-2 {
    top: 130px;
    left: -30px;
    --orbit-rotate: 7deg;
  }

  .hero-orbit-photo-3 {
    top: 26px;
    right: -18px;
    --orbit-rotate: 8deg;
  }

  .hero-orbit-photo-4 {
    top: 232px;
    right: -8px;
    --orbit-rotate: 6deg;
  }

  .hero-orbit-photo-5 {
    top: 232px;
    left: -8px;
    --orbit-rotate: -8deg;
  }

  .hero-orbit-photo-6 {
    top: 130px;
    right: -30px;
    --orbit-rotate: -7deg;
  }

  .hero-emblem-photo {
    width: 94%;
    height: 94%;
    transform: translate(-5px, 4px);
  }

  .hero-stats,
  .about-points,
  .card-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .news-layout.has-industry-news {
    grid-template-columns: 1fr;
  }

  .industry-news-list {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 132px));
    justify-content: center;
    gap: 12px;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .gallery-lightbox-prev {
    left: 4px;
  }

  .gallery-lightbox-next {
    right: 4px;
  }

  .gallery-lightbox-close {
    top: -4px;
    right: -2px;
  }

  .section-panel,
  .contact-card {
    padding: 24px;
  }

  .gallery-page-hero {
    padding: 16px 18px;
  }

  .gallery-page-hero h1 {
    font-size: 1.14rem;
    line-height: 1.18;
  }

  .gallery-page-copy,
  .gallery-page-hero .section-copy {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 430px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--max-width));
  }

  main > .section:not(.hero) {
    width: 100%;
  }

  .site-header {
    width: min(calc(100vw - 22px), var(--max-width));
    gap: 8px;
    padding: 9px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

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

  .brand-copy {
    padding-top: 7px;
  }

  .gallery-back-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .gallery-page-nav a {
    font-size: 0.8rem;
  }

  .brand-copy span {
    font-size: 0.72rem;
    margin-top: 4px;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .lang-switch-trigger {
    min-height: 30px;
    min-width: 52px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .lang-button {
    padding: 6px 7px;
    font-size: 0.72rem;
  }

  .hero-banner {
    width: min(100%, 296px);
    padding: 14px;
  }

  .hero-banner-ring {
    width: min(100%, 264px);
  }

  .hero-orbit-photo {
    width: 72px;
    height: 72px;
  }

  .hero-orbit-photo-1 {
    top: 22px;
    left: -18px;
  }

  .hero-orbit-photo-2 {
    top: 118px;
    left: -24px;
  }

  .hero-orbit-photo-3 {
    top: 24px;
    right: -18px;
  }

  .hero-orbit-photo-4 {
    top: 206px;
    right: -6px;
  }

  .hero-orbit-photo-5 {
    top: 206px;
    left: -6px;
  }

  .hero-orbit-photo-6 {
    top: 118px;
    right: -24px;
  }
}

@media (max-width: 390px) {
  .hero-banner {
    width: min(100%, 282px);
    padding: 12px;
  }

  .hero-banner-ring {
    width: min(100%, 250px);
  }

  .hero-orbit-photo {
    width: 68px;
    height: 68px;
  }

  .hero-orbit-photo-1 {
    top: 20px;
    left: -14px;
  }

  .hero-orbit-photo-2 {
    top: 110px;
    left: -18px;
  }

  .hero-orbit-photo-3 {
    top: 22px;
    right: -14px;
  }

  .hero-orbit-photo-4 {
    top: 194px;
    right: -2px;
  }

  .hero-orbit-photo-5 {
    top: 194px;
    left: -2px;
  }

  .hero-orbit-photo-6 {
    top: 110px;
    right: -18px;
  }

  .gallery-page-grid {
    gap: 10px;
  }

  .gallery-photo-card {
    border-radius: 18px;
  }

  .gallery-page-hero h1 {
    font-size: 1rem;
  }
}
