@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #071525;
  --navy-2: #0d2035;
  --navy-3: #132c45;
  --gold: #c7a35a;
  --gold-light: #e2c47d;
  --cream: #132c45;
  --white: #ffffff;
  --ink: #172231;
  --muted: #68717b;
  --line: rgba(7, 21, 37, .12);
  --max: 1180px;
}

* {
	/* [disabled]box-sizing: border-box; */
}
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: #524937;
	background: #524937;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.75;
}
img {
	max-width: 100%;
	display: block;
	max-height: 100%;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.container {
	width: min(var(--max), calc(100% - 40px));
	margin-inline: auto;
	color: #FFF;
	background: #524937;
}

.hero {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 38%, rgba(199,163,90,.18), transparent 28%),
    linear-gradient(135deg, #06111f 0%, #0b1d31 52%, #132d47 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,.8) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,.8) 50%, transparent 51%);
  background-size: 72px 72px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,13,24,.95), rgba(4,13,24,.55) 55%, rgba(4,13,24,.25));
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding-block: 100px;
}
.hero-emblem {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(226,196,125,.8);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 28px;
  transform: rotate(45deg);
  margin-bottom: 30px;
}
.hero-emblem::first-letter { display: inline-block; transform: rotate(-45deg); }
.eyebrow {
	margin: 0 0 8px;
	color: var(--gold);



  font-size: .75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	font-size: 25px;
}
.hero h1, h2 {
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.18;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.hero h1 span { color: var(--gold-light); }
.hero-dates {
  margin: 24px 0 34px;
  color: #dce4eb;
  font-size: 1.1rem;
  letter-spacing: .08em;
}
.hero-button {
  display: inline-flex;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  color: white;
  transition: .2s ease;
}
.hero-button:hover { background: var(--gold); color: var(--navy); }

.site-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #524937;
	color: white;
	border-bottom: 1px solid rgba(199,163,90,.35);
	backdrop-filter: blur(12px);
}
.nav-inner {
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.brand {
	font-family: "Cinzel", Georgia, serif;
	color: var(--gold-light);
	letter-spacing: 0.50em;

  font-size: .9rem;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: .84rem; color: #d8e0e7; transition: color .2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-toggle { display: none; background: none; color: white; border: 0; font-size: 1.5rem; }

.section {
	background: #524937;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0;
}
.dark-section, .gallery-section {
	background: #524937;
	color: white;
}
.service-section {
	background-color: #524937;
}
.medals-section {
	background: #524937;
}

.section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 55px;
}
.section-heading.light { color: white; }
.section-number {
  font-family: "Cinzel", Georgia, serif;
  color: var(--gold);
  font-size: .95rem;
  padding-top: 5px;
  min-width: 32px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 600;
}
.section-heading .eyebrow { margin-bottom: 10px; }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 70px;
  align-items: start;
}
.portrait-card {
	aspect-ratio: 3 / 4;
	position: relative;
	border: 1px solid rgba(199,163,90,.5);
}
.portrait-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.portrait-card:not(.image-missing) .portrait-fallback { display: none; }
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--gold-light);
  background:
    radial-gradient(circle at 50% 35%, rgba(199,163,90,.2), transparent 28%),
    linear-gradient(145deg, #132c45, #071525);
}
.portrait-fallback span {
  font-family: "Cinzel", Georgia, serif;
  font-size: 2rem;
  line-height: 1.3;
}
.portrait-fallback small { margin-top: 16px; letter-spacing: .2em; color: #bfcbd5; }
.text-content {
	font-size: 1.19em;
	color: #FFF;
	alignment-adjust: auto;
}
.text-content p { margin: 0 0 24px; }
.text-content strong {
	color: #FFF;
	font-size: 1.21em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.info-card {
  min-height: 190px;
  position: relative;
  padding: 34px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
}
.info-card p { margin: 20px 0 0; color: #dce3e9; }
.card-mark {
  font-family: "Cinzel", Georgia, serif;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .15em;
}

.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}
.service-aside {
  position: relative;
  padding-left: 25px;
  color: #56606a;
}
.vertical-line {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--gold);
}
.timeline {
	border-left: #fff;
}
.timeline-item {
	position: relative;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: auto;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 28px;
	padding-left: 42px;
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-dot {
	position: absolute;
	width: 12px;
	height: 12px;
	border: 2px solid var(--gold);
	border-radius: 50%;
	left: -7px;
	top: 8px;
	background-color: #FFFFFF;
}
.timeline-item p {
	margin: 0;
	font-size: 1.18em;
}
.timeline-item.highlight {
  padding: 24px 28px 24px 42px;
  background: white;
  border-left: 4px solid var(--gold);
  box-shadow: 0 12px 35px rgba(7,21,37,.07);
}
.timeline-item.highlight .timeline-dot { background: var(--gold); }

.medals-intro {
	max-width: 100%;
	font-size: 1.06rem;
	margin-bottom: 35px;
}
.medals-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	background: #524937;
}
.medal-card {
	padding: 20px;
	background: #524937;
	border: 1px solid var(--line);
}
.medal-image {
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	overflow: hidden;
	background-color: #524937;
}
.medal-image img { width: 100%; height: 100%; object-fit: contain; }
.medal-image:has(img[src]) img[style*="display: none"] + * { display: block; }
.medal-card p { margin: 0; font-size: .94rem; }
.posthumous {
  margin-top: 55px;
  padding: 30px 34px;
  border: 1px solid rgba(199,163,90,.55);
  background: linear-gradient(135deg, #10283f, #071525);
  color: white;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 22px;
  align-items: center;
}
.posthumous-mark { color: var(--gold-light); font-size: 28px; text-align: center; }
.posthumous p { margin: 0; }

.gallery-note { max-width: 750px; color: #c9d2da; margin-top: -25px; margin-bottom: 35px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	padding: 0;
	border: 0;
	cursor: pointer;
	background-color: #524937;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4,13,24,.55), transparent 50%);
  pointer-events: none;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span {
  position: absolute;
  left: 18px; bottom: 12px;
  z-index: 2;
  color: white;
  font-family: "Cinzel", Georgia, serif;
  font-size: .85rem;
}
.gallery-item img[src$=".jpg"] {
  background:
    radial-gradient(circle at 50% 40%, rgba(199,163,90,.25), transparent 30%),
    linear-gradient(145deg, #16334f, #091827);
}

.footer {
	background: #524937;
	color: #FFFFFF;
	padding: 38px 0;
	border-top: 1px solid rgba(199,163,90,.25);
}
.footer-inner {
	/* [disabled]display: flex; */
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.footer-title {
	margin: 0 0 5px;
	font-family: "Cinzel", Georgia, serif;
	color: #FFFFFF;
}
.footer-small { margin: 0; font-size: .8rem; color: #8e9aa5; }
.footer-star { color: var(--gold); font-size: 25px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: rgba(2,8,14,.94);
  padding: 30px;
}
.lightbox.is-open { display: grid; }
.lightbox-image { max-width: min(1100px, 88vw); max-height: 86vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; border: 1px solid rgba(255,255,255,.25);
  background: rgba(7,21,37,.8); color: white;
  cursor: pointer; z-index: 101;
}
.lightbox-close { right: 25px; top: 20px; width: 44px; height: 44px; font-size: 28px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 50px; height: 65px; font-size: 38px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 850px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    background: var(--navy); border-top: 1px solid rgba(199,163,90,.25);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .intro-grid, .service-layout { grid-template-columns: 1fr; gap: 45px; }
  .portrait-card { max-width: 420px; }
  .cards, .medals-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 570px; }
  .hero-content { padding-block: 75px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-emblem { width: 58px; height: 58px; }
  .section { padding: 75px 0; }
  .section-heading { gap: 14px; margin-bottom: 38px; }
  .section-number { min-width: 25px; }
  .cards, .medals-grid, .gallery-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .service-aside { padding-left: 20px; }
  .timeline-item { padding-left: 30px; }
  .timeline-item.highlight { padding-left: 30px; }
  .posthumous { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; }
  .lightbox { padding: 15px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
