@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:       #1A3A5C;
  --navy-dark:  #112840;
  --gold:       #C9A84C;
  --gold-light: rgba(201,168,76,0.13);
  --gold-border:rgba(201,168,76,0.35);
  --bg:         #F4F1EB;
  --white:      #FFFFFF;
  --text:       #2C2C2C;
  --muted:      #6B7280;
  --border:     #E5E0D8;
  --shadow:     0 4px 28px rgba(26,58,92,0.10);
  --radius:     16px;
  --radius-sm:  8px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--bg);
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

/* ── Layout ── */
.site-wrapper {
  max-width: 860px;
  margin: 32px auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ── Banner ── */
.site-banner {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--navy);
}
.banner-logo {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.banner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.banner-photo {
  position: absolute;
  left: 30%; right: 0; top: 0; bottom: 0;
  overflow: hidden;
}
.banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Identity ── */
.site-identity {
  text-align: center;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
}
.site-identity h1 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 2.1rem;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}
.site-identity .sub {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 3px 0;
}
.site-identity a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.site-identity a:hover { color: var(--gold); }

/* ── Nav ── */
nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 14px 24px;
  background: var(--navy);
}
nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.09);
}
nav a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.14);
}

/* ── Page content ── */
.page-content {
  padding: 36px 48px 40px;
}
.page-content h2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.55rem;
  color: var(--navy);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-content h2::after {
  content: '';
  flex: 1;
  display: block;
  height: 2px;
  width: 40px;
  background: var(--gold);
  border-radius: 2px;
}
.page-content p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: #3A3A3A;
}

/* ── Page header row (h2 + status badge side by side) ── */
.page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.page-header-row h2 {
  margin: 0;
}
.page-header-row .status-badge {
  margin: 0;
  flex-shrink: 0;
}

/* ── Status badge ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: #7A5A00;
  border: 1px solid var(--gold-border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── App promo block ── */
.app-promo {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 30px;
}
.app-promo h3 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0 0 10px;
}
.app-promo p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.82);
  margin: 0 0 16px;
  line-height: 1.65;
}
.app-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.app-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.app-link-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── Headshot (About Me) ── */
.headshot {
  float: right;
  margin: 0 0 20px 28px;
  width: 196px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(26,58,92,0.15);
  border: 3px solid var(--border);
}

/* ── Contact card ── */
.contact-card {
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  transition: background 0.15s;
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { background: rgba(26,58,92,0.03); }
.contact-label {
  font-weight: 700;
  color: var(--navy);
  width: 68px;
  flex-shrink: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.contact-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--gold); }

/* ── Useful Links ── */
.link-section {
  margin-bottom: 32px;
}
.link-section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-list li {
  margin-bottom: 10px;
}
.link-list a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.link-list a::before {
  content: '›';
  font-size: 1.3em;
  color: var(--gold);
  line-height: 1;
}
.link-list a:hover { color: var(--gold); }
.link-list .link-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1px;
  margin-left: 20px;
}

/* ── Footer ── */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-badge img {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.9;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .site-wrapper { margin: 0; border-radius: 0; }
  .page-content { padding: 24px 20px 32px; }
  .site-identity { padding: 20px 16px 16px; }
  .site-identity h1 { font-size: 1.55rem; }
  nav { gap: 2px; padding: 10px 12px; flex-wrap: wrap; }
  nav a { font-size: 0.76rem; padding: 6px 10px; }
  .headshot { float: none; display: block; margin: 0 auto 22px; width: 160px; }
  footer { padding: 16px 20px; flex-direction: column; gap: 12px; text-align: center; }
  .contact-item { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; }
  .app-links { flex-direction: column; }
  .site-banner { height: 100px; }
}
