:root {
  color-scheme: light;
  --dp-primary: #0a2540;
  --dp-primary-dark: #061828;
  --dp-accent: #1a7a8c;
  --dp-bg: #e6edf5;
  --dp-text: #0f1c2e;
  --dp-muted: #5a6b7d;
  --dp-white: #f8fafc;
  --font-display: "Sora", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --dp-mesh:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(26, 122, 140, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(27, 79, 138, 0.14), transparent 50%);
}

[data-theme="dark"] {
  color-scheme: dark;
  --dp-primary: #6eb0e8;
  --dp-primary-dark: #4a92d4;
  --dp-accent: #3db8c9;
  --dp-bg: #070e18;
  --dp-text: #e8eef5;
  --dp-muted: #92a0b3;
  --dp-white: #0f1826;
  --dp-mesh:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(61, 184, 201, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(110, 176, 232, 0.08), transparent 50%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dp-text);
  background: var(--dp-mesh), var(--dp-bg);
  background-attachment: fixed;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand-font {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.03em;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 1.25rem 1.5rem;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--dp-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand i { font-size: 1.35rem; }

.site-logo {
  display: block;
  width: auto;
  max-width: 980px;
  height: 50px;
  object-fit: contain;
}

.site-logo-header {
  background: #fff;
  padding: 0;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.site-logo-hero {
  background: #fff;
  padding: 0;
  border-radius: 4px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  height: 56px;
  width: auto;
  max-width: min(280px, 70vw);
}

.site-logo-footer-landing {
  background: #fff;
  padding: 0;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-current { color: #fff; }

.site-nav a.is-current {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.nav-drop {
  position: relative;
}

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-drop-toggle:hover,
.nav-drop.is-open .nav-drop-toggle,
.nav-drop.is-current .nav-drop-toggle {
  color: #fff;
}

.nav-drop-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-drop.is-open .nav-drop-toggle i {
  transform: rotate(180deg);
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 260px;
  max-height: min(72vh, 520px);
  overflow-y: auto;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 24, 40, 0.97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  z-index: 40;
}

.nav-drop.is-open .nav-drop-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(168px, 1fr));
  gap: 0.35rem 1.1rem;
  min-width: 560px;
  padding: 0.9rem 1rem 1rem;
}

.nav-drop-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-drop-label {
  margin: 0 0 0.35rem;
  padding: 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.nav-drop-menu a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-drop-menu a:hover,
.nav-drop-menu a.is-current {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(6, 20, 48, 0.45);
  color: #fff;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(6, 20, 48, 0.72);
}

.nav-admin {
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.35rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--dp-white);
  padding: 0 0 5.5rem;
  background: #04101c;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-slide-bg {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.08);
}

.hero-slide.is-active,
.hero-slide.is-entering,
.hero-slide.is-leaving {
  visibility: visible;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active .hero-slide-bg {
  animation: slideKen 7.2s ease-out forwards;
}

.hero-slide.is-leaving {
  z-index: 2;
  animation: slideDisappear 0.55s ease-in forwards;
}

.hero-slide.is-entering {
  z-index: 3;
  animation: slideAppear 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-flash-burst {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(108deg, transparent 8%, rgba(255, 255, 255, 0.18) 38%, rgba(255, 255, 255, 0.92) 50%, rgba(26, 122, 140, 0.55) 62%, transparent 88%);
  mix-blend-mode: screen;
}

.hero-flash-burst.is-on {
  animation: flashBurst 0.58s ease-out;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 16, 28, 0.58) 0%, rgba(6, 24, 40, 0.28) 42%, rgba(6, 24, 40, 0.9) 100%),
    linear-gradient(90deg, rgba(10, 37, 64, 0.58) 0%, rgba(26, 122, 140, 0.12) 55%, transparent 100%);
}

.slide-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(6, 20, 48, 0.38);
  color: #fff;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.slide-nav:hover {
  background: rgba(6, 20, 48, 0.72);
  border-color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.slide-prev { left: 1.25rem; }
.slide-next { right: 1.25rem; }

.slide-dots {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.slide-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

.slide-dots button.is-active {
  width: 30px;
  background: #fff;
}

.slide-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.slide-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1a7a8c, #fff);
}

.slide-progress.is-run span {
  animation: slideProgress 6.4s linear forwards;
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  max-width: 560px;
  margin-right: auto;
  margin-left: max(1.5rem, calc((100% - 1120px) / 2));
  padding-bottom: 0.5rem;
}

.hero-content.is-visible {
  animation: captionIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content.is-out {
  animation: captionOut 0.32s ease-in forwards;
}

.hero-content.is-in {
  animation: captionIn 0.62s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideAppear {
  0% {
    opacity: 0;
    visibility: visible;
    filter: blur(18px) brightness(2.1);
    transform: scale(1.12) translateY(22px);
  }
  28% {
    opacity: 0.45;
    filter: blur(8px) brightness(1.55);
  }
  100% {
    opacity: 1;
    visibility: visible;
    filter: blur(0) brightness(1);
    transform: scale(1) translateY(0);
  }
}

@keyframes slideDisappear {
  0% {
    opacity: 1;
    visibility: visible;
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
  42% {
    opacity: 0.35;
    filter: blur(6px) brightness(1.7);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    filter: blur(16px) brightness(2.2);
    transform: scale(1.1);
  }
}

@keyframes flashBurst {
  0% { opacity: 0; transform: translateX(-38%) scaleX(0.35); }
  16% { opacity: 0.95; }
  100% { opacity: 0; transform: translateX(42%) scaleX(1.15); }
}

@keyframes slideKen {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes captionOut {
  0% { opacity: 1; transform: translateY(0); filter: blur(0); }
  100% { opacity: 0; transform: translateY(14px); filter: blur(8px); }
}

@keyframes captionIn {
  0% { opacity: 0; transform: translateY(22px); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes slideProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-entering,
  .hero-slide.is-leaving,
  .hero-slide.is-active .hero-slide-bg,
  .hero-flash-burst.is-on,
  .hero-content.is-in,
  .hero-content.is-out,
  .hero-content.is-visible,
  .slide-progress.is-run span {
    animation: none !important;
  }
  .hero-slide.is-active,
  .hero-content {
    opacity: 1;
    transform: none;
    filter: none;
    visibility: visible;
  }
}

.hero-brand-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-copy {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38ch;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-light {
  background: var(--dp-white);
  color: var(--dp-primary);
}

.btn-light:hover { background: #e8f0fe; color: var(--dp-primary-dark); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-primary {
  background: var(--dp-primary);
  color: #fff;
}

.btn-primary:hover { background: var(--dp-primary-dark); color: #fff; }

.section {
  padding: 4.5rem 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-feature {
  background:
    var(--dp-mesh),
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(230, 237, 245, 0.95));
}

.section-feature h2,
.section-cta h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-lead {
  max-width: 48ch;
  color: var(--dp-muted);
  margin: 0;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 37, 64, 0.12);
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-right: 1px solid rgba(10, 37, 64, 0.1);
}

.feature-list li:last-child {
  border-right: 0;
  padding-right: 0;
}

.feature-list li:first-child {
  padding-left: 0;
}

.feature-list i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 122, 140, 0.12);
  color: var(--dp-accent);
  font-size: 1.2rem;
}

.feature-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-list p {
  margin: 0;
  color: var(--dp-muted);
  font-size: 0.98rem;
}

.section-cta {
  background:
    linear-gradient(125deg, #061828 0%, #0a2540 45%, #1a7a8c 100%);
  color: #fff;
  padding: 3.5rem 1.5rem;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-copy {
  max-width: 36rem;
}

.section-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.section-cta .btn-primary {
  background: #fff;
  color: var(--dp-primary);
  flex-shrink: 0;
}

.site-footer {
  background:
    linear-gradient(180deg, #04101c 0%, #061828 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  padding: 7.5rem 1.5rem 2.75rem;
  background-color: #061828;
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 16, 28, 0.55) 0%, rgba(6, 24, 40, 0.35) 40%, rgba(6, 24, 40, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 37, 64, 0.55) 0%, rgba(26, 122, 140, 0.12) 55%, transparent 100%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-hero-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero-copy h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
}

.page-hero-copy p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.company-tabs {
  background: rgba(6, 24, 40, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.company-tabs-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
}

.company-tabs a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 0.85rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.company-tabs a:hover,
.company-tabs a.is-current {
  color: #fff;
  border-bottom-color: var(--dp-accent);
}

.page-section {
  padding: 3.5rem 1.5rem;
}

.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
}

.page-card {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 12px 32px rgba(11, 61, 145, 0.06);
}

.page-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.page-card p,
.page-card li {
  color: var(--dp-muted);
  line-height: 1.65;
}

.page-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.page-card li { margin-bottom: 0.4rem; }

.leader-grid,
.job-list,
.value-grid {
  display: grid;
  gap: 1rem;
}

.leader-grid { grid-template-columns: repeat(3, 1fr); }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.job-list { grid-template-columns: 1fr; }

.leader-card,
.job-card,
.value-card {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}

.leader-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a2540;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.leader-card h3,
.job-card h3,
.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.leader-role,
.job-meta {
  color: var(--dp-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.job-card p { margin: 0; color: var(--dp-muted); }

.ir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ir-table th,
.ir-table td {
  text-align: left;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
}

.ir-table th { color: var(--dp-muted); font-weight: 600; }

[data-theme="dark"] .page-card,
[data-theme="dark"] .leader-card,
[data-theme="dark"] .job-card,
[data-theme="dark"] .value-card {
  background: rgba(15, 24, 38, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ir-table th,
[data-theme="dark"] .ir-table td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

.site-footer h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  color: #fff;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.site-footer a:hover { color: #fff; }

.footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
  .feature-list,
  .footer-inner,
  .page-grid,
  .leader-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 1fr;
  }

  .feature-list li {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 37, 64, 0.1);
    padding: 1.35rem 0;
  }

  .feature-list li:last-child { border-bottom: 0; }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 4.5rem;
    align-items: flex-end;
  }

  .hero-content {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: auto;
    max-width: none;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.5rem;
    left: 1.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(6, 24, 40, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }

  .nav-drop {
    width: 100%;
  }

  .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }

  .nav-drop-menu,
  .nav-drop.is-open .nav-drop-menu {
    position: static;
    display: block;
    min-width: 0;
    max-height: none;
    margin-top: 0.25rem;
    box-shadow: none;
    grid-template-columns: 1fr;
  }

  .nav-drop-group {
    margin-bottom: 0.65rem;
  }

  .nav-admin {
    text-align: center;
    border-color: rgba(255, 255, 255, 0.35);
  }

  .slide-nav {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .slide-prev { left: 0.75rem; }
  .slide-next { right: 0.75rem; }

  .slide-dots { bottom: 1.25rem; }
}

[data-theme="dark"] .section-feature {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 40%),
    var(--dp-bg);
}

[data-theme="dark"] .feature-list {
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-list li {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .feature-list i {
  background: rgba(61, 184, 201, 0.15);
  color: #3db8c9;
}

[data-theme="dark"] .feature-list p,
[data-theme="dark"] .section-lead {
  color: var(--dp-muted);
}

[data-theme="dark"] .site-footer {
  background: #050b16;
}

.section-photos { padding-top: 0.5rem; }

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 180px 180px 180px;
  gap: 0.8rem;
}

.photo-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 28px rgba(6, 24, 40, 0.12);
  transition: transform 0.25s ease;
}

.photo-tile-lg {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 100%;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 28, 0.08) 20%, rgba(4, 16, 28, 0.82) 100%);
}

.photo-tile span {
  position: relative;
  z-index: 1;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.photo-tile:hover { transform: translateY(-2px); }

.feature-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-photo-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(10, 37, 64, 0.1);
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.06);
  transition: transform 0.25s ease;
}

.feature-photo-card:hover {
  transform: translateY(-2px);
}

.feature-photo-card .thumb {
  height: 170px;
  background-size: cover;
  background-position: center;
}

.feature-photo-card .copy {
  padding: 1.1rem 1.2rem 1.25rem;
}

.feature-photo-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature-photo-card p {
  margin: 0;
  color: var(--dp-muted);
  font-size: 0.95rem;
}

.section-cta.has-photo {
  position: relative;
  background-image: url("../images/slides/slide-1.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.section-cta.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(125deg, rgba(6, 24, 40, 0.88) 0%, rgba(10, 37, 64, 0.78) 50%, rgba(26, 122, 140, 0.72) 100%);
}

.section-cta.has-photo .section-inner {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (min-width: 769px) {
  .nav-drop:hover .nav-drop-menu {
    display: grid;
  }
}

@media (max-width: 900px) {
  .photo-mosaic,
  .photo-strip,
  .feature-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .photo-tile-lg {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .photo-mosaic,
  .photo-strip,
  .feature-photos {
    grid-template-columns: 1fr;
  }
  .photo-tile-lg { grid-column: auto; }
}

[data-theme="dark"] .feature-photo-card {
  background: rgba(15, 24, 38, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}
