:root {
  --navy: #142d4e;
  --navy-deep: #0d213b;
  --gold: #c5a059;
  --gold-light: #e7d8b9;
  --ink: #142d4e;
  --body: #4b5563;
  --muted: #667085;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --border: #e2e6eb;
  --container: 1200px;
  --header-height: 76px;
  --radius: 2px;
  --ease: 220ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 8px 22px rgba(20, 45, 78, 0.06); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 32px; }

.brand {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-decoration: none;
  max-width: 250px;
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); height: 100%; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--body);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--ease);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ease);
}

.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after, .nav-link:focus-visible::after { transform: scaleX(1); }

.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); cursor: pointer; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; transition: transform var(--ease), opacity var(--ease); }
.menu-toggle.is-open span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-of-type(3) { opacity: 0; }
.menu-toggle.is-open span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

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

.hero::before, .hero::after { position: absolute; border: 1px solid rgba(197, 160, 89, 0.35); content: ""; transform: rotate(45deg); }
.hero::before { width: 190px; height: 190px; top: -88px; right: 12%; }
.hero::after { width: 90px; height: 90px; bottom: 38px; left: 12%; }

.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 90px 0 104px; text-align: center; }
.hero h1 { max-width: 880px; margin: 0 auto 18px; color: var(--white); font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.55rem, 5.4vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; }
.hero-tagline { max-width: 690px; margin: 0 auto 38px; color: rgba(255, 255, 255, 0.86); font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.6; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-light { color: var(--gold-light); }
.hero-rule { position: absolute; z-index: 0; width: 110px; height: 1px; background: var(--gold); opacity: 0.75; }
.hero-rule-left { top: 31%; left: 6%; }
.hero-rule-right { right: 6%; bottom: 31%; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-gold:hover, .button-gold:focus-visible { background: #d3b271; }
.button-navy { background: var(--navy); color: var(--white); }
.button-navy:hover, .button-navy:focus-visible { background: var(--navy-deep); }

.section { padding: 112px 0; scroll-margin-top: var(--header-height); }
.section-heading { max-width: 620px; }
.about-section .section-heading { margin-inline: auto; text-align: center; }
.section-heading-wide { max-width: 760px; }
.section-heading h2 { margin: 0; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }

.about-section { background: var(--white); }
.about-layout { max-width: 820px; margin: 56px auto 0; }
.about-layout .prose { max-width: none; text-align: center; }
.prose { max-width: 680px; }
.prose p { margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }

.chairman-section { background: var(--off-white); }
.chairman-layout { display: grid; grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr); gap: clamp(56px, 8vw, 110px); align-items: center; max-width: 1120px; }
.chairman-profile { width: min(100%, 340px); margin-inline: auto; }
.chairman-photo { width: min(100%, 340px); aspect-ratio: 1; object-fit: cover; object-position: center; }
.chairman-content { max-width: 680px; }
.chairman-intro { margin: 0 0 34px; }
.chairman-intro h2 { margin: 0; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.15rem, 3.7vw, 3.8rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; white-space: nowrap; }
.role { margin: 12px 0 26px; color: var(--body); font-size: 1rem; font-weight: 600; }
.gold-line { display: block; width: 76px; height: 3px; background: var(--gold); }
.chairman-copy { max-width: none; padding-top: 0; }

.activities-section { background: var(--white); }
.activity-tabs { display: flex; gap: 0; margin-top: 54px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: thin; }
.activity-tab { flex: 0 0 auto; position: relative; padding: 15px 22px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.activity-tab::after { position: absolute; right: 22px; bottom: -1px; left: 22px; height: 3px; background: var(--gold); content: ""; transform: scaleX(0); transition: transform var(--ease); }
.activity-tab:hover, .activity-tab:focus-visible, .activity-tab.is-active { color: var(--navy); }
.activity-tab.is-active::after, .activity-tab:focus-visible::after { transform: scaleX(1); }
.activity-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 7vw, 96px); align-items: center; padding-top: 48px; animation: fade-in 250ms ease both; }
.activity-panel[hidden] { display: none; }
.activity-image-wrap { aspect-ratio: 4 / 3; overflow: hidden; background: #edf0f3; }
.activity-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.activity-kicker { margin: 0 0 12px; color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.activity-copy h3 { margin: 0 0 18px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.activity-copy p:last-child { margin-bottom: 0; }

.contact-section { background: var(--off-white); }
.contact-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; column-gap: clamp(56px, 9vw, 140px); align-items: start; }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--navy); }
.contact-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.contact-label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-item address, .contact-item a { color: var(--body); font-size: 0.91rem; line-height: 1.65; text-decoration: none; }
.contact-item a:hover, .contact-item a:focus-visible { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.directions-button { grid-column: 2; justify-self: start; margin-top: 44px; }

.site-footer { padding: 34px 0; background: var(--navy); color: rgba(255, 255, 255, 0.75); }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer-brand { margin: 0 0 7px; color: var(--white); font-size: 0.9rem; font-weight: 700; }
.footer-copy { margin: 0; color: rgba(255, 255, 255, 0.58); font-size: 0.78rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 0.78rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold-light); }
.back-to-top { color: var(--gold-light) !important; }

@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

:focus-visible { outline: 3px solid rgba(197, 160, 89, 0.6); outline-offset: 4px; }

@media (max-width: 960px) {
  .chairman-layout { grid-template-columns: 1fr; gap: 38px; }
  .chairman-copy { padding-top: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-details { grid-template-columns: repeat(3, 1fr); }
  .directions-button { grid-column: auto; margin-top: 0; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .site-nav { position: absolute; top: var(--header-height); right: 0; left: 0; display: grid; height: auto; padding: 8px 18px 18px; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 12px 22px rgba(20, 45, 78, 0.08); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity var(--ease), transform var(--ease); }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-link { min-height: 46px; height: auto; }
  .nav-link::after { right: auto; bottom: 4px; left: 0; width: 42px; }
  .menu-toggle { display: block; }
  .hero { min-height: 510px; }
  .hero-content { padding: 82px 0 92px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(2.35rem, 11vw, 3.8rem); }
  .hero-tagline { margin-bottom: 32px; }
  .hero-rule { width: 58px; }
  .hero-rule-left { left: 3%; }
  .hero-rule-right { right: 3%; }
  .section { padding: 82px 0; }
  .chairman-layout, .activity-panel { grid-template-columns: 1fr; }
  .about-layout { margin-top: 42px; }
  .chairman-layout { gap: 38px; }
  .chairman-profile { width: min(100%, 320px); }
  .chairman-photo { width: 100%; }
  .chairman-intro h2 { font-size: clamp(2rem, 10vw, 3.8rem); }
  .chairman-copy { padding-top: 0; }
  .activity-tabs { margin-top: 40px; }
  .activity-tab { padding: 14px 16px; }
  .activity-tab::after { right: 16px; left: 16px; }
  .activity-panel { gap: 32px; padding-top: 32px; }
  .contact-details { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
