/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .grow {
    flex-grow: 1;
  }
  .flex-col {
    flex-direction: column;
  }
}
:root {
  --gold: #C9A84C;
  --gold-light: #E4C97A;
  --gold-dark: #A07828;
  --navy: #0E1B3D;
  --navy-mid: #162450;
  --navy-light: #1E3070;
  --cream: #FAF6EE;
  --cream-dark: #F0E8D6;
  --charcoal: #1A1A2E;
  --codex-stroke: rgba(201, 168, 76, 0.18);
  --codex-stroke-strong: rgba(201, 168, 76, 0.36);
  --codex-text-soft: rgba(250, 246, 238, 0.7);
  --codex-text-muted: rgba(250, 246, 238, 0.5);
  --codex-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --bg-home: url('../images/bg/home.jpg');
  --bg-about: url('../images/bg/about.jpg');
  --bg-education: url('../images/bg/education.jpg');
  --bg-news: url('../images/bg/news.jpg');
  --bg-contact: url('../images/bg/contact.jpg');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--charcoal);
  color: var(--cream);
  overflow-x: hidden;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(14, 27, 61, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(201, 168, 76, 0.3));
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.nav-logo-text .sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.52rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.8;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.82);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.nav-links a:hover {
  color: var(--gold-light);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 10px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.2s, box-shadow 0.3s !important;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45) !important;
}
.nav-cta::after {
  display: none !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.35s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(14, 27, 61, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 999;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.85);
  text-decoration: none;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--gold-light);
}
.mobile-menu .mob-cta {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy) !important;
  border-bottom: none;
  padding: 12px 24px;
  border-radius: 2px;
  font-weight: 600;
}
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(22, 36, 80, 0.9) 0%, rgba(10, 16, 40, 0.97) 70%), linear-gradient(180deg, var(--charcoal) 0%, #0B1228 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 48, 112, 0.5) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation-delay: -6s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: -12s;
}
.corner-ornament {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.3;
}
.corner-ornament.tl {
  top: 90px;
  left: 30px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.corner-ornament.br {
  bottom: 30px;
  right: 30px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '—';
  margin: 0 0.8em;
  opacity: 0.5;
}
.hero-logo-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}
.hero-logo-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.12);
  animation: rotateSlow 30s linear infinite;
  pointer-events: none;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}
.hero-logo-ring-2 {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.06);
  animation: rotateSlow 50s linear infinite reverse;
  pointer-events: none;
}
.hero-logo-img {
  width: 200px;
  max-width: 80vw;
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(201, 168, 76, 0.25)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  animation: floatLogo 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.hero-brand {
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(201, 168, 76, 0.3);
}
.hero-brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.6);
}
.gold-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.2s forwards;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(250, 246, 238, 0.65);
  letter-spacing: 0.02em;
  max-width: 520px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.4s forwards;
}
.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.7s forwards;
}
.btn-primary {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201, 168, 76, 0.5);
  opacity: 0.95;
}
.btn-outline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  padding: 13px 32px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.45);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.07);
  transform: translateY(-2px);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.stats-bar {
  position: relative;
  z-index: 5;
  background: rgba(14, 27, 61, 0.7);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 2rem 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 2s forwards;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(201, 168, 76, 0.12);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.5);
  margin-top: 0.4rem;
}
.section-placeholder {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0B1228, var(--charcoal));
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}
.section-placeholder-inner {
  text-align: center;
  opacity: 0.4;
}
.section-placeholder-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-placeholder-inner p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 30px) scale(0.97);
  }
}
@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.8;
    transform: scaleY(1.1);
  }
}
#about, #values, #education, #contact {
  scroll-margin-top: 60px;
}
.codex-section {
  position: relative;
  overflow: hidden;
}
.codex-section>*, #news>* {
  position: relative;
  z-index: 2;
}
.codex-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.codex-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}
.codex-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(201, 168, 76, 0.3);
  margin-bottom: 1rem;
}
.codex-kicker::before, .codex-kicker::after {
  content: '';
  display: block;
  width: clamp(34px, 4vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.7), transparent);
}
.codex-heading h2, .values-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.04;
  color: var(--cream);
}
.codex-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--codex-text-soft);
  margin-top: 1rem;
}
.codex-about {
  padding: 2rem 0 7rem;
  background: radial-gradient(circle at top left, rgba(201, 168, 76, 0.14), transparent 90%), radial-gradient(circle at 85% 20%, rgba(49, 87, 183, 0), transparent 90%), linear-gradient(180deg, #0a1226 0%, #08111f 100%);
}
.codex-about::after, .codex-education::after, .codex-contact::after, #news::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.codex-about::after {
  background-image: var(--bg-about);
}
.codex-about::before, .codex-education::before, .codex-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(201, 168, 76, 0.04) 30%, transparent 55%), repeating-linear-gradient(90deg, transparent 0, transparent 84px, rgba(255, 255, 255, 0.02) 84px, rgba(255, 255, 255, 0.02) 85px);
}
.about-layout {
  display: block;
}
.about-panel {
  background: linear-gradient(180deg, rgba(20, 34, 61, 0.92), rgba(9, 18, 37, 0.94));
  border: 1px solid var(--codex-stroke);
  box-shadow: var(--codex-shadow);
}
.about-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.about-story p, .contact-item p, .contact-form label span {
  color: var(--codex-text-soft);
  line-height: 1.8;
}
.about-panel {
  border-radius: 28px;
  padding: 1.4rem;
}
.about-panel-full {
  display: grid;
  gap: 1.2rem;
}
.row-goals {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 2.2rem 0;
}
.row-goals-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: 2rem;
  gap: 0;
}
.goal-card {
  padding: 1.2rem 1.8rem;
  border-right: 1px solid rgba(201, 168, 76, 0.1);
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
}
.goal-card:last-child {
  border-right: none;
}
.goal-card:hover {
  background: rgba(201, 168, 76, 0.04);
}
.goal-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.goal-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.35);
  line-height: 1;
  transition: -webkit-text-stroke-color 0.3s;
}
.goal-card:hover .goal-num {
  -webkit-text-stroke-color: rgba(201, 168, 76, 0.7);
}
.goal-bar {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: opacity 0.3s;
}
.goal-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.goal-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.75;
}
.row-desc {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 2.2rem 0;
}
.row-desc-label {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
}
.row-desc-label .row-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.row-desc-label h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.row-desc-label .since-badge {
  margin-top: 1rem;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.3);
  line-height: 1;
}
.row-desc-content {
  flex: 1;
  padding-left: 2rem;
  display: grid;
  gap: 1.5rem 3rem;
  align-items: center;
}
.desc-para {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.85;
}
.desc-quote {
  border-left: 2px solid var(--gold);
  padding: 1rem 1.4rem;
  background: rgba(201, 168, 76, 0.05);
}
.desc-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(250, 246, 238, 0.7);
  line-height: 1.85;
}
.row-vm {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 2.2rem 0;
}
.row-vm-label {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
}
.row-vm-label .row-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.row-vm-label h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.row-vm-content {
  flex: 1;
  padding-left: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.vm-card {
  padding: 1.2rem 2rem 1.2rem 0;
  border-right: 1px solid rgba(201, 168, 76, 0.12);
  position: relative;
}
.vm-card:last-child {
  border-right: none;
  padding-left: 2rem;
  padding-right: 0;
}
.vm-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vm-card-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.vm-card-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.vm-card-title em {
  font-style: italic;
  color: var(--gold-light);
}
.vm-card-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.8;
}
.edu-header {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}
.edu-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.edu-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.edu-title em {
  font-style: italic;
  color: var(--gold);
}
.edu-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(250, 246, 238, 0.5);
  letter-spacing: 0.02em;
}
.edu-header-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.edu-header-rule span {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.edu-header-rule small {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.5);
}
.edu-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(201, 168, 76, 0.1);
}
.edu-card {
  position: relative;
  background: rgba(10, 16, 32, 0.85);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.35s ease, transform 0.3s ease;
  cursor: pointer;
  group: true;
}
.edu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.edu-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.edu-card:hover::before {
  opacity: 1;
}
.edu-card:hover::after {
  transform: scaleX(1);
}
.edu-card:hover {
  background: rgba(14, 27, 61, 0.95);
}
.edu-card-num {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.12);
  line-height: 1;
  transition: -webkit-text-stroke-color 0.35s;
}
.edu-card:hover .edu-card-num {
  -webkit-text-stroke-color: rgba(201, 168, 76, 0.3);
}
.edu-icon-wrap {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color 0.35s, background 0.35s;
}
.edu-card:hover .edu-icon-wrap {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.08);
}
.edu-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s;
}
.edu-card:hover .edu-icon-wrap svg {
  stroke: var(--gold-light);
}
.edu-card-body {
  position: relative;
  z-index: 1;
  flex: 1;
}
.edu-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.45;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}
.edu-card:hover .edu-card-title {
  color: var(--gold-light);
}
.edu-card-arrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.4);
  transition: color 0.3s, gap 0.3s;
}
.edu-card:hover .edu-card-arrow {
  color: var(--gold);
  gap: 0.7rem;
}
.edu-card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s;
}
.edu-card:hover .edu-card-arrow svg {
  transform: translateX(3px);
}
.edu-card:last-child {
  grid-column: span 1;
}
.codex-education {
  padding: 2rem 0 7rem;
}
.codex-education::after {
  background: var(--bg-education);
}
.about-section-head {
  display: grid;
  gap: 0.55rem;
}
.about-section-head p {
  color: var(--codex-text-muted);
  line-height: 1.7;
}
.about-story {
  display: grid;
  gap: 1.25rem;
  padding: 1rem;
}
.about-story p {
  font-size: 1.02rem;
}
.codex-values {
  min-height: 100vh;
  padding-top: 72px;
  background: #050c18;
}
.values-stage {
  position: relative;
  min-height: calc(100vh - 72px);
}
.values-video, .values-overlay {
  position: absolute;
  inset: 0;
}
.values-video {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.values-overlay {
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(5, 11, 23, 0.22) 0%, rgba(5, 11, 23, 0.72) 68%, rgba(5, 11, 23, 0.94) 100%), linear-gradient(90deg, rgba(6, 12, 26, 0.68), rgba(6, 12, 26, 0.08));
}
.values-copy {
  max-width: 640px;
}
.codex-contact {
  padding: 2rem 0 4rem;
  background: radial-gradient(circle at 80% 10%, rgba(201, 168, 76, 0.15), transparent 96%), linear-gradient(180deg, #091425 0%, #060d19 100%);
}
.codex-contact::after {
  background-image: var(--bg-contact);
}
#news {
  position: relative;
  overflow: hidden;
}
#news::after {
  background-image: linear-gradient(180deg, rgba(5, 11, 23, 0.68) 0%, rgba(5, 11, 23, 0.9) 100%), var(--bg-news);
  opacity: 1;
}
body #home .hero-bg {
  background: linear-gradient(180deg, rgba(7, 14, 30, 0.02) 0%, rgba(7, 14, 30, 0.02) 100%), radial-gradient(ellipse 80% 60% at 50% 50%, rgba(22, 36, 80, 0.09) 0%, rgba(10, 16, 40, 0.15) 70%), var(--bg-home), linear-gradient(180deg, var(--charcoal) 0%, #0B1228 100%);
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover, cover;
  background-attachment: scroll, scroll, fixed, scroll;
}
.codex-footer {
  padding: 1.1rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  background: #050b15;
}
.codex-footer p {
  color: rgba(250, 246, 238, 0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.73rem;
}
.codex-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.codex-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
#contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #080E1A 0%, #0B1228 60%, #0E1B3D 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 120px, rgba(201, 168, 76, 0.015) 120px, rgba(201, 168, 76, 0.015) 121px), repeating-linear-gradient(0deg, transparent, transparent 120px, rgba(201, 168, 76, 0.015) 120px, rgba(201, 168, 76, 0.015) 121px);
  pointer-events: none;
  z-index: 0;
}
#contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(14, 27, 61, 0.6) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.contact-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  flex: 1;
  min-height: calc(100vh - 72px);
}
.contact-left {
  padding: 5rem 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(201, 168, 76, 0.1);
  position: relative;
}
.contact-left::after {
  content: '';
  position: absolute;
  top: 5rem;
  bottom: 5rem;
  right: -1px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}
.contact-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.contact-title em {
  font-style: italic;
  color: var(--gold);
}
.contact-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(250, 246, 238, 0.45);
  margin-bottom: 0.4rem;
}
.contact-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: rgba(250, 246, 238, 0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 2.5rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s;
}
a.contact-info-item:hover {
  transform: translateX(4px);
}
.info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
a.contact-info-item:hover .info-icon {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.08);
}
.info-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-text-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.55);
  margin-bottom: 0.25rem;
}
.info-text-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(250, 246, 238, 0.8);
  line-height: 1.5;
  transition: color 0.3s;
}
a.contact-info-item:hover .info-text-value {
  color: var(--gold-light);
}
.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 2px;
}
.contact-address .info-icon {
  flex-shrink: 0;
}
.contact-address-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(250, 246, 238, 0.65);
  line-height: 1.75;
}
.contact-address-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-right {
  padding: 5rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.contact-form-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.3), transparent);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.6);
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  padding: 0.85rem 1.1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
  resize: none;
}
.form-group select option {
  background: var(--navy);
  color: var(--cream);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(250, 246, 238, 0.2);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.04);
}
.form-group textarea {
  min-height: 110px;
}
.form-submit {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.btn-submit {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  border: none;
  padding: 14px 36px;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.45);
  opacity: 0.95;
}
.form-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(250, 246, 238, 0.3);
}
.contact-social-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3.5rem;
  background: rgba(201, 168, 76, 0.04);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  gap: 2rem;
  flex-wrap: wrap;
}
.social-bar-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.45);
  white-space: nowrap;
}
.social-bar-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.25s;
}
.social-link:hover {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-3px);
}
.social-link svg {
  width: 15px;
  height: 15px;
  fill: rgba(201, 168, 76, 0.6);
  transition: fill 0.3s;
}
.social-link:hover svg {
  fill: var(--gold-light);
}
.social-bar-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: rgba(250, 246, 238, 1);
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .edu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1080px) {
  #education {
    padding: 5rem 1.5rem 4rem;
  }
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .row-goals, .row-desc, .row-vm {
    flex-direction: column;
    gap: 1.5rem;
  }
  .row-goals-label, .row-desc-label, .row-vm-label {
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding-right: 0;
    padding-bottom: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .row-goals-label h3, .row-desc-label h3, .row-vm-label h3 {
    font-size: 1rem;
  }
  .row-goals-cards {
    padding-left: 0;
    grid-template-columns: 1fr;
  }
  .goal-card {
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }
  .goal-card:last-child {
    border-bottom: none;
  }
  .row-desc-content {
    padding-left: 0;
  }
  .row-vm-content {
    padding-left: 0;
    grid-template-columns: 1fr;
  }
  .vm-card {
    border-right: none;
    padding-left: 0 !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }
  .vm-card:last-child {
    border-bottom: none;
  }
  .contact-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    padding: 4rem 2.5rem 3rem;
  }
  .contact-left::after {
    display: none;
  }
  .contact-right {
    padding: 3rem 2.5rem 4rem;
  }
  .contact-social-bar {
    padding: 1.2rem 2.5rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-logo-img {
    width: 220px;
  }
  .hero-logo-ring {
    width: 260px;
    height: 260px;
  }
  .hero-logo-ring-2 {
    width: 310px;
    height: 310px;
  }
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    padding-bottom: 1.5rem;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .corner-ornament {
    display: none;
  }
  .codex-shell {
    width: min(100% - 24px, 1200px);
  }
  .about-panel {
    border-radius: 22px;
  }
  .codex-values {
    min-height: auto;
    padding-top: 72px;
  }
  .values-stage {
    min-height: 68vh;
  }
  .values-overlay {
    align-items: flex-end;
    padding: 1.5rem;
  }
  .codex-about::after, .codex-contact::after, .codex-education::after, #news::after, body #home .hero-bg {
    background-attachment: scroll;
  }
  .social-bar-copy {
    font-size: 0.52rem;
  }
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-left, .contact-right {
    padding: 3rem 1.5rem;
  }
  .contact-social-bar {
    padding: 1.2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .edu-card {
    padding: 1.4rem 1.2rem;
  }
}
@media (max-width: 480px) {
  .navbar {
    padding: 0 1rem;
  }
  .hero-content {
    padding: 5rem 1.5rem 3rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
  }
  .codex-kicker {
    font-size: 1.05rem;
    gap: 0.55rem;
    letter-spacing: 0.08em;
  }
  .codex-kicker::before, .codex-kicker::after {
    width: 24px;
  }
  .codex-footer p {
    letter-spacing: 0.08em;
    line-height: 1.6;
  }
}
