:root {
  --bg: #f7efe2;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: rgba(255, 254, 250, 0.97);
  --text: #1f1a17;
  --muted: #655c55;
  --line: rgba(54, 39, 23, 0.07);
  --primary: #c55a2c;
  --primary-deep: #94361a;
  --secondary: #195d63;
  --secondary-soft: #85c5c2;
  --accent: #efc25c;
  --accent-rose: #dd8d73;
  --accent-blue: #6ca7d9;
  --shadow: 0 24px 70px rgba(72, 45, 20, 0.12);
  --shadow-soft: 0 14px 40px rgba(74, 43, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(239, 194, 92, 0.48), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(108, 167, 217, 0.24), transparent 23%),
    radial-gradient(circle at 50% 100%, rgba(221, 141, 115, 0.18), transparent 25%),
    linear-gradient(180deg, #fcf7ee 0%, #f4ecdf 48%, #f7f0e6 100%);
  animation: pageGlow 18s ease-in-out infinite alternate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

body::before {
  top: 88px;
  right: -90px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(15, 107, 115, 0.16), transparent 68%);
  animation: orbFloat 14s ease-in-out infinite;
}

body::after {
  left: -80px;
  bottom: 40px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(197, 90, 44, 0.16), transparent 68%);
  animation: orbFloat 18s ease-in-out infinite reverse;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
  padding-top: 0;
}

.main-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero,
.section,
.footer {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.hero {
  min-height: 92vh;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  transform-style: preserve-3d;
}

.hero-home {
  min-height: 96vh;
}

.hero-single {
  grid-template-columns: 1fr;
  align-items: start;
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(250, 243, 232, 0.96), rgba(247, 239, 226, 0.98));
  border: 0;
  border-bottom: 1px solid rgba(54, 39, 23, 0.1);
  box-shadow: none;
}

.topbar-fixed {
  position: static;
  width: 100%;
}

.brand {
  font-family: "DM Serif Display", serif;
  font-size: 2.1rem;
  color: var(--secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 14px;
  transition: transform 220ms ease, color 220ms ease;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(197, 90, 44, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.brand:hover {
  transform: translateY(-2px);
  color: var(--primary);
}

.brand:hover::before {
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 0 10px rgba(197, 90, 44, 0.12);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.95), rgba(250, 238, 212, 0.95));
  border: 1px solid rgba(211, 167, 72, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 0 1px rgba(255, 220, 140, 0.35),
    0 10px 24px rgba(176, 132, 39, 0.12);
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  letter-spacing: 0.01em;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.28));
  z-index: -2;
}

.nav-links a::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -30%;
  width: 46%;
  height: 320%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  opacity: 0;
  z-index: -1;
  transition: left 420ms ease, opacity 220ms ease;
}

.nav-links a span,
.nav-links a strong {
  position: relative;
  z-index: 1;
}

.nav-links a:hover,
.nav-links a.current-page {
  color: #fff8ef;
  background: linear-gradient(135deg, var(--secondary), #34787d);
  border-color: rgba(236, 197, 103, 0.9);
  box-shadow:
    0 10px 24px rgba(25, 93, 99, 0.18),
    0 0 0 1px rgba(240, 194, 92, 0.45),
    0 0 18px rgba(240, 194, 92, 0.28);
}

.nav-links a:hover {
  transform: translateY(-3px) scale(1.03);
}

.nav-links a:hover::after,
.nav-links a.current-page::after {
  left: 115%;
  opacity: 0.95;
}

.hero-content,
.hero-panel {
  border-radius: 28px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.hero-content {
  background:
    radial-gradient(circle at top right, rgba(239, 194, 92, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(255, 245, 228, 0.93));
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: auto -20% -25% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 93, 45, 0.2), transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 26px auto auto 26px;
  width: 110px;
  height: 110px;
  border-radius: 26px;
  border: 1px solid rgba(15, 107, 115, 0.08);
  background: linear-gradient(135deg, rgba(15, 107, 115, 0.06), rgba(239, 194, 92, 0.1));
  transform: rotate(10deg);
  animation: softSpin 12s ease-in-out infinite alternate;
}

.hero-panel {
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(239, 194, 92, 0.18), transparent 30%),
    linear-gradient(170deg, rgba(12, 109, 115, 0.95), rgba(7, 83, 89, 0.99)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: #fdf9f0;
  align-content: center;
}

.hero:hover,
.section:hover,
.footer:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(72, 45, 20, 0.18);
  border-color: rgba(197, 90, 44, 0.12);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  line-height: 1.02;
}

.hero h1,
.section-heading h2 {
  background: linear-gradient(135deg, #1f1a17 0%, #4d3726 45%, #0f6b73 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  max-width: 20ch;
  line-height: 1.1;
}

.hero-copy,
.section-heading p,
.info-card p,
.profile-card p,
.feature-panel p,
.video-copy p,
.news-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 58ch;
  margin: 18px 0 28px;
  font-size: 1.04rem;
}

.hero-single .hero-content {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.hero-stat {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(54, 39, 23, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-footnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero-feature {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-feature-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(253, 249, 240, 0.8);
}

.hero-feature h3 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.hero-feature p {
  margin: 14px 0 0;
  color: rgba(253, 249, 240, 0.82);
  line-height: 1.7;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-mini-card {
  display: block;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fdf9f0;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 194, 92, 0.4);
  box-shadow: 0 16px 28px rgba(7, 83, 89, 0.22);
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-mini-card p {
  margin: 0;
  color: rgba(253, 249, 240, 0.8);
  line-height: 1.6;
}

.hero-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-ribbon {
  padding: 18px 0;
  overflow: hidden;
}

.hero-ribbon-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-left: 22px;
  animation: ribbonMove 22s linear infinite;
}

.hero-ribbon-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(54, 39, 23, 0.07);
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-ribbon-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 10px rgba(239, 194, 92, 0.4);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 24px rgba(74, 43, 20, 0.08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button:hover {
  transform: translateY(-3px);
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04));
  z-index: -2;
}

.button::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -35%;
  width: 42%;
  height: 360%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  opacity: 0;
  z-index: -1;
  transition: left 480ms ease, opacity 220ms ease;
}

.button:hover::after {
  left: 118%;
  opacity: 1;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #df7c3f);
  color: #fff7f0;
  border: 1px solid rgba(236, 197, 103, 0.75);
  box-shadow:
    0 14px 30px rgba(197, 90, 44, 0.24),
    0 0 0 1px rgba(255, 223, 134, 0.35),
    0 0 18px rgba(240, 194, 92, 0.2);
}

.button-secondary {
  border: 1px solid rgba(211, 167, 72, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(251, 239, 217, 0.92));
  box-shadow:
    0 14px 28px rgba(74, 43, 20, 0.1),
    0 0 0 1px rgba(255, 223, 134, 0.3),
    0 0 14px rgba(240, 194, 92, 0.14);
}

.button-primary:hover {
  box-shadow:
    0 18px 34px rgba(197, 90, 44, 0.3),
    0 0 0 1px rgba(255, 223, 134, 0.45),
    0 0 24px rgba(239, 194, 92, 0.36);
}

.button-secondary:hover {
  box-shadow:
    0 18px 34px rgba(74, 43, 20, 0.14),
    0 0 0 1px rgba(255, 223, 134, 0.4),
    0 0 18px rgba(239, 194, 92, 0.28);
}

.metric-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease;
}

.metric-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(239, 194, 92, 0.35);
}

.metric-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
}

.metric-label {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

.section,
.footer {
  margin-top: 24px;
  padding: 34px;
}

.page-topbar {
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 0;
}

.section-standalone {
  position: relative;
  overflow: hidden;
}

.section-standalone::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  opacity: 0.9;
}

.section-standalone::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
  pointer-events: none;
  transition: transform 420ms ease, opacity 420ms ease;
}

.section-standalone:hover::after {
  transform: scale(1.18) translate(-8px, 8px);
  opacity: 0.9;
}

.intro::before {
  background: linear-gradient(90deg, #c95d2d, #f0c55b);
}

.split-section::before {
  background: linear-gradient(90deg, #0c6d73, #58b7a9);
}

.student-section::before {
  background: linear-gradient(90deg, #e58c2f, #f4c96b);
}

.media-section::before {
  background: linear-gradient(90deg, #214e8d, #4c8de0);
}

.news-section::before {
  background: linear-gradient(90deg, #8f3f2c, #d27f5b);
}

.footer::before {
  background: linear-gradient(90deg, #1d5f62, #66a9a7);
}

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

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-intro {
  margin: 14px 0 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.info-card,
.profile-card,
.feature-panel,
.news-card,
.contact-card,
.video-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.info-card,
.profile-card,
.feature-panel,
.news-card,
.contact-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  transform-style: preserve-3d;
}

.info-card:hover,
.profile-card:hover,
.feature-panel:hover,
.news-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(74, 43, 20, 0.14);
}

.info-card::after,
.profile-card::after,
.feature-panel::after,
.news-card::after,
.contact-card::after,
.video-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
  opacity: 0;
  transition: transform 320ms ease, opacity 320ms ease;
  pointer-events: none;
}

.info-card:hover::after,
.profile-card:hover::after,
.feature-panel:hover::after,
.news-card:hover::after,
.contact-card:hover::after,
.video-card:hover::after {
  opacity: 1;
  transform: translate(-12px, -12px) scale(1.12);
}

.accent-1 {
  background:
    radial-gradient(circle at top right, rgba(239, 194, 92, 0.24), transparent 30%),
    linear-gradient(145deg, #fffaf2, #fff3d7);
}

.accent-2 {
  background:
    radial-gradient(circle at top right, rgba(15, 107, 115, 0.14), transparent 30%),
    linear-gradient(145deg, #eef9f7, #dff2ef);
}

.accent-3 {
  background:
    radial-gradient(circle at top right, rgba(197, 90, 44, 0.18), transparent 30%),
    linear-gradient(145deg, #fff5ef, #ffe5d7);
}

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

.profile-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(145deg, var(--secondary), #16939b);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(15, 107, 115, 0.2);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.profile-card:hover .profile-avatar {
  transform: rotate(8deg) scale(1.08);
  box-shadow: 0 18px 28px rgba(15, 107, 115, 0.26);
}

.role {
  margin-top: 6px;
  color: var(--primary);
  font-weight: 800;
}

.feature-panel {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at top right, rgba(239, 194, 92, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(12, 109, 115, 0.18), rgba(240, 197, 91, 0.22));
}

.video-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(108, 167, 217, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92));
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.video-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px rgba(57, 73, 109, 0.18);
}

.video-frame {
  overflow: hidden;
  border-radius: 20px;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(12, 109, 115, 0.9), rgba(8, 54, 58, 0.96)),
    radial-gradient(circle at center, rgba(240, 197, 91, 0.15), transparent 45%);
}

.video-frame iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  height: 100%;
  border: 0;
}

.local-video-player {
  display: block;
  width: 100%;
  min-height: 320px;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
}

.video-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  color: #fff8ef;
  background:
    radial-gradient(circle at center, rgba(239, 194, 92, 0.16), transparent 24%);
  transition: transform 300ms ease, letter-spacing 300ms ease;
}

.video-card:hover .video-placeholder {
  transform: scale(1.03);
  letter-spacing: 0.02em;
}

.play-badge {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 2rem;
  box-shadow: 0 0 0 0 rgba(239, 194, 92, 0.22);
  animation: playPulse 2.4s ease-in-out infinite;
}

.video-copy {
  padding: 8px;
  align-self: center;
}

.news-date {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201, 93, 45, 0.14);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.news-card:hover .news-date {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197, 90, 44, 0.16);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-card {
  background:
    radial-gradient(circle at top right, rgba(239, 194, 92, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 240, 0.96));
}

.contact-card-primary {
  background:
    radial-gradient(circle at top right, rgba(25, 93, 99, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(244, 250, 249, 0.96));
}

.contact-label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--secondary);
}

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

.contact-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(54, 39, 23, 0.06);
}

.contact-item-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-mini-panel {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(25, 93, 99, 0.1), rgba(133, 197, 194, 0.16));
  border: 1px solid rgba(25, 93, 99, 0.08);
}

.contact-mini-panel p {
  margin: 0 0 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--secondary);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(25, 93, 99, 0.1), rgba(133, 197, 194, 0.18));
  color: var(--secondary);
  font-weight: 800;
  border: 1px solid rgba(211, 167, 72, 0.55);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 10px 22px rgba(25, 93, 99, 0.08),
    0 0 0 1px rgba(255, 223, 134, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.social-links a::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 42%;
  height: 320%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: left 420ms ease, opacity 220ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 197, 103, 0.85);
  box-shadow:
    0 12px 24px rgba(25, 93, 99, 0.14),
    0 0 0 1px rgba(255, 223, 134, 0.38),
    0 0 18px rgba(240, 194, 92, 0.22);
}

.social-links a:hover::after {
  left: 118%;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body,
  body::before,
  body::after,
  .hero-content::before,
  .hero-content::after,
  .play-badge,
  .hero-ribbon-track {
    animation: none;
  }

  .nav-links a,
  .button,
  .social-links a,
  .hero,
  .section,
  .footer,
  .info-card,
  .profile-card,
  .feature-panel,
  .news-card,
  .contact-card,
  .video-card,
  .hero-content,
  .hero-panel,
  .metric-card,
  .profile-avatar,
  .section-standalone::after,
  .reveal {
    transition: none;
  }

  .nav-links a::after,
  .button::after,
  .social-links a::after {
    display: none;
  }

  .interactive-sheen::before {
    display: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms ease, transform 800ms ease, filter 800ms ease;
  filter: blur(6px);
}

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

.pointer-tilt {
  will-change: transform;
}

.interactive-sheen {
  position: relative;
  overflow: hidden;
}

.interactive-sheen::before {
  content: "";
  position: absolute;
  inset: -120%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.24), transparent 26%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.interactive-sheen:hover::before {
  opacity: 1;
}

@keyframes pageGlow {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%;
  }
  100% {
    background-position: 4% 2%, 96% 4%, 48% 96%, 0% 0%;
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(14px, -18px, 0) scale(1.08);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes softSpin {
  0% {
    transform: rotate(6deg) translateY(0);
  }
  100% {
    transform: rotate(16deg) translateY(8px);
  }
}

@keyframes playPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 194, 92, 0.24);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 16px rgba(239, 194, 92, 0);
  }
}

@keyframes ribbonMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33%);
  }
}

@media (max-width: 980px) {
  .hero,
  .video-card,
  .contact-layout,
  .two-columns,
  .three-columns,
  .profile-grid,
  .hero-stats,
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .nav-links {
    width: 100%;
  }

  .topbar-fixed {
    top: 8px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    margin: 0 auto 20px;
    padding-top: 0;
  }

  .hero,
  .section,
  .footer {
    padding: 20px;
    border-radius: 24px;
  }

  .main-sections {
    gap: 18px;
  }

  .hero-content,
  .hero-panel {
    padding: 24px;
  }

  .hero h1 {
    max-width: none;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.95rem;
  }

  .nav-links a {
    padding: 10px 13px;
  }

  .topbar,
  .page-topbar {
    padding: 14px;
  }

  .hero-ribbon-track {
    gap: 14px;
    padding-left: 14px;
  }

  .hero-ribbon-track span {
    padding: 9px 14px;
    font-size: 0.92rem;
  }
}
