/* ==========================================================================
   Art Bro Strategic Management Group — home design system
   Pure CSS, no framework. Dark + gold. Mobile first.
   ========================================================================== */

:root {
  --bg: #0b0f16;
  --bg-2: #0e1420;
  --surface: #131a27;
  --surface-2: #182131;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --gold: #c9a227;
  --gold-2: #e8c766;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --text: #f4f1ea;
  --muted: #97a1b2;
  --radius: 18px;
  --radius-sm: 12px;
  --shell: min(1180px, 92vw);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK",
    "PingFang TC", "Hiragino Sans TC", "Microsoft JhengHei", "Noto Sans TC",
    "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

h1, h2, h3, h4, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1.1rem;
  background: var(--gold-2);
  color: #161206;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.brand-plaque {
  --plaque-pad: 0.75rem;
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-sm);
}

.brand-plaque img {
  position: absolute;
  top: var(--plaque-pad);
  left: var(--plaque-pad);
  width: calc(100% - var(--plaque-pad) * 2);
  height: calc(100% - var(--plaque-pad) * 2);
  object-fit: contain;
}

.brand-plaque--nav {
  --plaque-pad: 4px;
  width: 46px;
  height: 38px;
  border-radius: 9px;
}

.brand-plaque--hero {
  width: clamp(120px, 15vw, 180px);
  padding: clamp(0.85rem, 1.8vw, 1.35rem);
  border-radius: 18px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 22px 48px -26px rgba(0, 0, 0, 0.85);
}

.brand-plaque--hero img {
  position: static;
  width: 100%;
  height: auto;
}

.brand-plaque--footer {
  width: 104px;
  padding: 0.9rem;
  border-radius: 14px;
  margin-bottom: 1.1rem;
}

.brand-plaque--footer img {
  position: static;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  scroll-margin-top: 86px;
}

.section--alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  color: var(--muted);
  margin-top: 0.9rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-2), var(--gold));
  color: #161206;
  box-shadow: 0 14px 34px -18px rgba(201, 162, 39, 0.95);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -18px rgba(201, 162, 39, 1);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--text);
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9, 12, 18, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand-text small {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: clamp(0.9rem, 2.2vw, 1.9rem);
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transition: right 0.28s var(--ease);
}

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

.site-nav a:hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.25s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(3.5rem, 8vh, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 62% at 82% 6%, rgba(201, 162, 39, 0.16), transparent 62%),
    radial-gradient(46% 54% at 8% 98%, rgba(88, 118, 188, 0.14), transparent 66%),
    linear-gradient(180deg, #0d1320 0%, var(--bg) 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(58% 62% at 50% 32%, #000 18%, transparent 78%);
  mask-image: radial-gradient(58% 62% at 50% 32%, #000 18%, transparent 78%);
}

.hero-frame {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(2.2rem, 6vw, 4.2rem) clamp(1.4rem, 5vw, 4rem);
  text-align: center;
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow), inset 0 0 90px -50px rgba(201, 162, 39, 0.5);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.24;
  margin-bottom: 1.1rem;
}

.hero-lead {
  max-width: 44rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.1rem;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
}

.hero-tags li {
  display: flex;
  align-items: center;
}

.hero-tags li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 1.05rem;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-intro h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.about-intro p {
  color: var(--muted);
}

.about-intro p + p {
  margin-top: 1rem;
}

.value-card {
  border-left: 2px solid rgba(201, 162, 39, 0.55);
  padding: 0.15rem 0 0.15rem 1.5rem;
}

.value-card + .value-card {
  margin-top: 1.9rem;
}

.value-num {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.value-card h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   News carousel
   ========================================================================== */

.news {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.carousel-viewport {
  overflow: hidden;
  margin-inline: -4px;
  padding-inline: 4px;
}

.carousel-track {
  display: flex;
  transition: transform 0.65s var(--ease);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 4px 0 10px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: stretch;
}

.carousel-slide--single .news-grid {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow);
}

.news-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0d13;
}

.news-cover,
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.news-cover img,
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.news-cover:hover img,
.video-facade:hover img {
  transform: scale(1.045);
}

.news-cover {
  cursor: zoom-in;
}

.video-facade {
  cursor: pointer;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 11, 17, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.play-icon svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-facade:hover .play-icon,
.video-facade:focus-visible .play-icon {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(201, 162, 39, 0.9);
  border-color: transparent;
  color: #161206;
}

.news-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 199, 102, 0.38);
  background: rgba(8, 11, 17, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.15rem 1.3rem 1.35rem;
  flex: 1;
}

.news-title {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.news-thumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
}

.thumb {
  width: 68px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: zoom-in;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.news-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease);
}

.news-ext svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.news-ext:hover {
  color: var(--text);
}

.news-ext:hover svg {
  transform: translate(2px, -2px);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.carousel-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-2px);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

/* ==========================================================================
   Brands
   ========================================================================== */

.brands {
  background: var(--bg);
}

.brand-group {
  margin-top: clamp(2.4rem, 4.5vw, 3.6rem);
}

.brand-group:first-of-type {
  margin-top: 0;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.group-num {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.group-head h3 {
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.group-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.45), rgba(255, 255, 255, 0.05));
}

.group-count {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.brand-feature {
  display: flex;
  gap: 1.3rem;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.brand-feature.is-link:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow);
}

.brand-feature .brand-plaque {
  width: 132px;
  height: 132px;
}

.brand-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-en {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.brand-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 0.35rem;
}

.brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  color: var(--gold-2);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.brand-feature:hover .brand-cta svg {
  transform: translate(2px, -2px);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 1.1rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand-card.is-link:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.brand-card .brand-plaque {
  width: 100%;
  height: 126px;
}

.brand-arrow {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  color: var(--gold-2);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.brand-arrow svg {
  width: 17px;
  height: 17px;
}

.brand-card.is-link:hover .brand-arrow,
.brand-card.is-link:focus-visible .brand-arrow {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--gold-soft);
  color: var(--gold-2);
}

.contact-icon svg {
  width: 19px;
  height: 19px;
}

.contact-list strong {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 0.15rem;
}

.contact-list a,
.contact-list span {
  font-size: 0.96rem;
  line-height: 1.65;
}

.contact-list a {
  color: var(--text);
  transition: color 0.2s var(--ease);
}

.contact-list a:hover {
  color: var(--gold-2);
}

.contact-side {
  display: grid;
  gap: 1.2rem;
}

.contact-panel {
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-panel h3 {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.person {
  display: grid;
  gap: 0.1rem;
  padding-top: 0.95rem;
}

.person + .person {
  margin-top: 0.95rem;
  border-top: 1px dashed var(--line);
}

.person strong {
  letter-spacing: 0.06em;
}

.person a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s var(--ease);
}

.person a:hover {
  color: var(--gold-2);
}

.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #080b11;
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer-name {
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-en {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-top: 0.3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.footer-col h3 {
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
  align-self: flex-start;
}

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

.footer-col span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.footer-bottom a {
  transition: color 0.2s var(--ease);
}

.footer-bottom a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(5, 8, 13, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 90vw);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}

.lightbox.is-open img {
  transform: none;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: rotate(90deg);
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0.5rem 6vw 1.4rem;
    background: rgba(9, 12, 18, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  body.nav-open .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.95rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.98rem;
  }

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

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .news-grid,
  .carousel-slide--single .news-grid {
    grid-template-columns: 1fr;
  }

  .brand-features {
    grid-template-columns: 1fr;
  }

  .brand-feature {
    gap: 1.1rem;
  }

  .brand-feature .brand-plaque {
    width: 104px;
    height: 104px;
  }

  .brand-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .brand-card .brand-plaque {
    height: 104px;
  }

  .hero-frame {
    border-radius: 20px;
  }

  .group-count {
    display: none;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .contact-panel {
    padding: 1.3rem 1.25rem;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-track,
  .news-cover img,
  .video-facade img,
  .play-icon,
  .news-card,
  .brand-card,
  .brand-feature,
  .btn,
  .thumb {
    transition: none;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Brand sites (education / performance)
   ========================================================================== */

.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  right: 0;
}

/* --- Nav dropdown --- */

.nav-drop {
  position: relative;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav-drop-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.nav-drop:hover .nav-drop-btn,
.nav-drop:focus-within .nav-drop-btn,
.nav-drop.is-open .nav-drop-btn,
.nav-drop-btn.is-active {
  color: var(--text);
}

.nav-drop.is-open .nav-drop-btn svg {
  transform: rotate(180deg);
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 70;
  display: grid;
  gap: 2px;
  min-width: 200px;
  padding: 0.55rem;
  background: rgba(13, 18, 28, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
}

.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-drop-panel a {
  padding: 0.5rem 0.8rem;
  border-radius: 9px;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav-drop-panel a::after {
  display: none;
}

.nav-drop-panel a:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-2);
}

.nav-drop-panel a.is-active {
  color: var(--gold-2);
  background: rgba(201, 162, 39, 0.08);
}

/* --- Page hero --- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 9vh, 5.2rem) 0 clamp(2.4rem, 7vh, 3.8rem);
  background:
    radial-gradient(60% 90% at 84% 0%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(180deg, #0d1320, var(--bg));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.page-hero-lead {
  max-width: 52rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.page-hero--media {
  padding: clamp(5rem, 16vh, 8.5rem) 0 clamp(3.2rem, 10vh, 5.5rem);
  background: #0a0e16;
  border-bottom: 0;
}

.page-hero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.5), rgba(9, 12, 18, 0.88) 80%, var(--bg));
}

.page-hero--media .page-hero-inner {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 21s linear infinite;
}

.hero-media img:nth-child(2) {
  animation-delay: 7s;
}

.hero-media img:nth-child(3) {
  animation-delay: 14s;
}

@keyframes heroFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  31% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}

/* --- Subnav (course switcher) --- */

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}

.subnav a {
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.subnav a:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.subnav a.is-active {
  background: linear-gradient(120deg, var(--gold-2), var(--gold));
  border-color: transparent;
  color: #161206;
  font-weight: 600;
}

/* --- Course cards --- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow);
}

.course-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0d13;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.course-card:hover .course-media img {
  transform: scale(1.05);
}

.course-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 1.2rem 1.35rem 1.4rem;
}

.course-title {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.course-title::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--accent, var(--gold));
}

.course-desc {
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
}

.course-card:hover .brand-cta svg {
  transform: translate(2px, -2px);
}

/* --- Gallery --- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0d13;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* --- Prose --- */

.prose {
  max-width: 62rem;
}

.prose h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.prose h3 {
  margin: 2rem 0 0.9rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

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

.prose p + p {
  margin-top: 0.9rem;
}

.prose .lead {
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.quote {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.5rem 1.7rem 1.5rem 3.2rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.08), rgba(255, 255, 255, 0.02));
  color: var(--text);
  font-style: italic;
  line-height: 1.9;
}

.quote::before {
  content: "\201C";
  position: absolute;
  left: 1.1rem;
  top: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}

/* --- Chips --- */

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-grid--spaced {
  margin-top: 0.6rem;
}

.chip {
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.chip:hover {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.06);
  color: var(--gold-2);
}

/* --- Panels --- */

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.panel {
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel h3 {
  margin-bottom: 1rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}

.panel > p {
  color: var(--muted);
}

.panel > p + p {
  margin-top: 0.5rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-2), var(--gold));
}

/* --- Timeline --- */

.timeline {
  position: relative;
  display: grid;
  gap: 1.4rem;
  margin-top: 1.2rem;
  padding-left: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.6), rgba(255, 255, 255, 0.06));
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.tl-year {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.timeline p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- Videos --- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
}

.video-card .video-facade {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.modal-body .video-facade {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

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

.video-card figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.video-card iframe,
.modal-body iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
}

/* --- Service cards (performance) --- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow);
}

.service-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0d13;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.2rem 1.15rem;
}

.service-note {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.service-note h3 {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

.service-note p {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-2);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.service-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-more svg {
  transform: translateX(3px);
}

/* --- Person cards --- */

.person-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
  align-items: start;
}

.person-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.person-avatar {
  width: 110px;
  height: 110px;
  margin-inline: auto;
  padding: 3px;
  border: 2px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.person-card h3 {
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.person-card p,
.person-card li {
  color: var(--muted);
  font-size: 0.88rem;
}

.person-card ul {
  display: grid;
  gap: 0.45rem;
}

.person-card ul li {
  position: relative;
  padding-left: 1.1rem;
}

.person-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- Partner board / map --- */

.partner-board {
  padding: clamp(1rem, 3vw, 1.8rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-board img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 10px);
}

.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CTA band --- */

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(70% 140% at 90% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.cta-band h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  letter-spacing: 0.06em;
}

.cta-band p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* --- Forms --- */

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.05);
}

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

.form-status {
  min-height: 1.5em;
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: #7adba0;
}

.form-status.is-error {
  color: #f18585;
}

.form-note {
  color: var(--muted);
  font-size: 0.8rem;
}

/* --- Modal dialog --- */

.modal {
  width: min(880px, 92vw);
  max-height: 88vh;
  padding: 0;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 20px;
  background: linear-gradient(180deg, #141b29, #0f1521);
  color: var(--text);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9);
}

.modal::backdrop {
  background: rgba(5, 8, 13, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal[open] {
  animation: modalIn 0.35s var(--ease);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
  background: rgba(15, 21, 33, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal-head h3 {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.modal-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.modal-close:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.modal-body p {
  color: var(--muted);
}

.modal-body img {
  width: 100%;
  border-radius: 12px;
}

/* ==========================================================================
   Brand sites responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .course-grid,
  .video-grid,
  .person-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .nav-drop-panel {
    position: static;
    display: grid;
    gap: 0;
    min-width: 0;
    margin: 0.1rem 0 0.1rem 0.9rem;
    padding: 0.1rem 0 0.1rem 0.9rem;
    background: none;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-drop-btn {
    width: 100%;
    padding: 0.95rem 0.2rem;
    pointer-events: none;
  }

  .nav-drop-panel a {
    padding: 0.6rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
  }

  .subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
  }

  .subnav::-webkit-scrollbar {
    display: none;
  }

  .subnav a {
    flex: none;
  }
}

@media (max-width: 720px) {
  .course-grid,
  .course-grid--4,
  .video-grid,
  .video-grid--modal,
  .person-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

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

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

  .map-embed {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
  }

  .hero-media img:first-child {
    opacity: 1;
  }

  .modal[open] {
    animation: none;
  }
}

/* ==========================================================================
   Construction site
   ========================================================================== */

.hero-slider {
  position: relative;
  background: var(--bg);
}

.hero-slider .carousel-slide {
  padding: 0;
}

.hero-slide {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(430px, 64vh, 620px);
  padding: clamp(3rem, 8vh, 5rem) 0;
  background: var(--bg-2);
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(8, 11, 17, 0.86) 0%, rgba(8, 11, 17, 0.55) 55%, rgba(8, 11, 17, 0.24) 100%);
}

.hero-slide .shell {
  position: relative;
  z-index: 2;
}

.hero-slide h1 {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  letter-spacing: 0.06em;
  line-height: 1.25;
  margin: 0.2rem 0 0.9rem;
}

.hero-slide .hero-lead {
  max-width: 40rem;
  margin-bottom: 1.7rem;
  color: var(--muted);
}

.hero-slider .carousel-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(0.8rem, 2.5vh, 1.6rem);
  z-index: 3;
  margin-top: 0;
}

.hero-slider .carousel-arrow {
  background: rgba(8, 11, 17, 0.55);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

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

.hero-slider .carousel-viewport {
  margin: 0;
  padding: 0;
}

.quote-band {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  background-size: cover;
  background-position: center;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.86), rgba(9, 12, 18, 0.8));
}

.quote-band .shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.quote-band h2 {
  max-width: 46rem;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.quote-band p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.course-media--plaque {
  background: #fff;
  padding: 1.1rem;
}

.course-media--plaque img {
  object-fit: contain;
}

.prose strong,
.check-list strong {
  color: var(--text);
}

.hours-list {
  display: grid;
}

.hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list .hours-value {
  color: var(--text);
}

.hours-list .is-closed {
  color: var(--gold-2);
  letter-spacing: 0.08em;
}

.modal-body .gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.modal-body .gallery-item {
  cursor: default;
}

@media (max-width: 720px) {
  .hero-slide {
    min-height: 460px;
  }

  .quote-band .shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-body .gallery {
    grid-template-columns: 1fr;
  }
}
