:root {
  --navy: #0d2742;
  --navy-deep: #071a2d;
  --blue-light: #cfe6f6;
  --blue-soft: #eaf5fb;
  --green-dark: #183f34;
  --green-muted: #e8f0ec;
  --ink: #17202a;
  --muted: #65717e;
  --paper: #fbfcfd;
  --white: #ffffff;
  --line: #dce4ea;
  --shadow: 0 20px 45px rgba(7, 26, 45, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper), #f3f7f8);
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: inherit; }

.site-header {
  background:
    radial-gradient(circle at 78% 22%, rgba(207, 230, 246, 0.55), transparent 34%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 56%, var(--green-dark));
  color: var(--white);
  padding: 22px clamp(20px, 5vw, 72px) 64px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--white);
  border-bottom-color: var(--blue-light);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.hero {
  max-width: 1180px;
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.hero h1,
.page-hero h1,
.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  margin: 0 0 18px;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px;
}

.hero-text {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--blue-light);
  color: var(--navy-deep);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.hero-art {
  position: relative;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 220px;
  height: 220px;
  background: rgba(207, 230, 246, 0.6);
  top: 36px;
  right: 34px;
}

.orb-two {
  width: 160px;
  height: 160px;
  background: rgba(24, 63, 52, 0.74);
  bottom: 42px;
  left: 34px;
}

.line-grid {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
}

.monogram {
  position: absolute;
  right: 34px;
  bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.6rem;
  color: rgba(255, 255, 255, 0.78);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section,
.page-content {
  background: var(--white);
  margin-top: -36px;
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
}

.section-heading {
  max-width: 840px;
}

.section-heading .eyebrow,
.page-content .eyebrow { color: var(--green-dark); }

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 18px;
  color: var(--navy);
}

.intro-section p,
.page-content p { color: var(--muted); max-width: 820px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 72px;
}

.section-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 230px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.section-card:hover,
.section-card:focus {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #b8ccd8;
}

.card-number {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.section-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin: 16px 0 10px;
}

.section-card p { color: var(--muted); margin: 0; }

.page-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 22px clamp(20px, 5vw, 72px) 74px;
}

.page-hero {
  max-width: 1180px;
  margin: 54px auto 0;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin: 0 0 14px;
}

.page-hero p { color: rgba(255,255,255,0.78); max-width: 760px; }

.placeholder-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.placeholder-item {
  border-left: 4px solid var(--green-dark);
  background: var(--green-muted);
  padding: 18px 20px;
  border-radius: 14px;
}

.placeholder-item h2,
.placeholder-item h3 { margin: 0 0 8px; color: var(--navy); }

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.article-links a {
  background: var(--blue-soft);
  border: 1px solid #c8dce8;
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer a { color: var(--navy); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .top-nav { align-items: flex-start; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 84px;
    z-index: 10;
    background: rgba(7, 26, 45, 0.96);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .brand-subtitle { max-width: 230px; }
  .card-grid { grid-template-columns: 1fr; }
  .intro-section, .page-content { margin-top: -28px; }
}


/* Reputation-focused content block: creates readable, indexable official-profile content without cluttering the design. */
.seo-profile-block {
  max-width: 980px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 87, 83, 0.14);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(17, 40, 57, 0.08);
}

.seo-profile-block h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.seo-profile-block p {
  color: var(--ink-soft);
  line-height: 1.75;
}


body {
  font-family: Palatino, 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}


/* Updated homepage hero image */
.hero-image-only {
  width: 100%;
  min-height: auto;
  padding: 0;
  margin: 0;
  background: #052849;
}

.hero-image-only img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1600px;
  margin: 0 auto;
}

.intro-section {
  padding: 4rem 1.5rem 2rem;
  background: #f7f9fb;
}

.section-inner {
  max-width: 920px;
  margin: 0 auto;
}

.eyebrow {
  color: #164f48;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.nav-card-section {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  background: #f7f9fb;
}

.nav-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid rgba(8, 38, 66, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.nav-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 79, 72, 0.45);
  box-shadow: 0 10px 24px rgba(8, 38, 66, 0.10);
}

.nav-card span {
  display: block;
  font-weight: 700;
  color: #082642;
  margin-bottom: 0.5rem;
}

.nav-card p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav-card-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav-card-section {
    grid-template-columns: 1fr;
  }
}
