/* FA2CO Blue Gradient Theme */
:root {
  --ink: #0f1419;
  --muted: #4a6fa5;
  --paper: #e8f0f8;
  --cream: #f0f5fb;
  --line: #c5d9f1;
  --moss: #1e3a5f;
  --coral: #4a90e2;
  --yellow: #ffd93d;
  --blue-dark: #0d3b66;
  --blue-light: #4a90e2;
  --blue-accent: #6ba3d1;
  --shadow: 0 18px 50px rgba(13, 59, 102, 0.12);
  --gradient-primary: linear-gradient(135deg, #0d3b66 0%, #4a90e2 100%);
  --gradient-accent: linear-gradient(135deg, #4a90e2 0%, #6ba3d1 100%);
  --gradient-light: linear-gradient(135deg, #e8f0f8 0%, #f0f5fb 100%);
}

body {
  background: var(--gradient-light);
}

.site-nav {
  background: rgba(240, 245, 251, 0.95);
  border-bottom: 2px solid var(--line);
}

.brand {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hero h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 em {
  color: var(--blue-accent);
  font-style: italic;
}

.hero-note {
  border-left-color: var(--blue-accent);
  background: linear-gradient(to right, rgba(74, 144, 226, 0.08), transparent);
  padding: 18px 24px;
  border-radius: 4px;
}

main {
  padding-bottom: 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}

.profile-panel {
  max-width: 1180px;
  margin: 32px auto 18px;
  padding: 0 clamp(20px, 4vw, 44px);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 82px;
  border-radius: 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px rgba(13, 59, 102, 0.18);
}

.profile-layout {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 18px;
}

.profile-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(230,240,249,0.9));
  border: 1px solid rgba(107, 163, 209, 0.35);
  border-radius: 24px;
  padding: 22px 22px 18px;
  box-shadow: 0 18px 40px rgba(13, 59, 102, 0.08);
}

.profile-card h3 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.profile-card p,
.profile-card a {
  font-size: 0.95rem;
  line-height: 1.7;
}

.profile-card p {
  margin: 0 0 12px;
  color: var(--ink);
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-stats span {
  display: inline-block;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(74, 144, 226, 0.08);
  border: 1px solid rgba(74, 144, 226, 0.18);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.social-strip {
  max-width: 1180px;
  margin: 22px auto 28px;
  padding: 0 clamp(20px, 4vw, 44px);
}

.social-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 2px solid rgba(74, 144, 226, 0.7);
  border-bottom: 2px solid rgba(74, 144, 226, 0.7);
  background: rgba(255, 255, 255, 0.15);
  min-height: 120px;
  padding: 18px 18px;
}

.social-strip-label {
  min-width: 120px;
}

.social-strip-label .eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 54px;
  border-radius: 14px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(107, 163, 209, 0.2);
  text-decoration: none;
  color: var(--blue-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon:hover,
.contact-card a:hover {
  color: var(--blue-light);
  transform: translateY(-2px);
  border-color: rgba(74, 144, 226, 0.45);
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
}

.contact-card a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.travel-story {
  max-width: 1180px;
  margin: 18px auto 28px;
  padding: 0 clamp(20px, 4vw, 44px);
}

.travel-header {
  margin-bottom: 18px;
}

.travel-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(107, 163, 209, 0.25);
  border-radius: 22px;
  padding: 18px 18px 16px;
  min-height: 180px;
}

.story-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(74, 144, 226, 0.08);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--ink);
}

.panel {
  background: linear-gradient(135deg, rgba(240, 245, 251, 1) 0%, rgba(232, 240, 248, 1) 100%);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.panel:hover {
  border-color: var(--blue-accent);
  box-shadow: 0 24px 60px rgba(13, 59, 102, 0.18);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(200, 225, 255, 0.2) 0%, rgba(232, 240, 248, 1) 100%);
}

.panel.accent {
  background: var(--gradient-primary);
  color: #f0f5fb;
  border-color: var(--blue-dark);
}

.panel.accent p {
  color: #c5d9f1;
}

.eyebrow {
  color: var(--blue-accent);
  background: linear-gradient(90deg, var(--blue-accent), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quote {
  color: var(--blue-dark);
  border-left: 4px solid var(--blue-accent);
  padding-left: 24px;
}

.quote-mark {
  color: var(--blue-light);
  opacity: 0.5;
}

.page-nav a {
  color: var(--muted);
  transition: all 0.3s ease;
  position: relative;
}

.page-nav a:hover {
  color: var(--blue-accent);
}

.page-nav a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.page-nav a:hover::before {
  width: 100%;
}

footer {
  background: linear-gradient(135deg, rgba(240, 245, 251, 0.5) 0%, rgba(197, 217, 241, 0.3) 100%);
  border-top: 2px solid var(--line);
}

footer a {
  color: var(--blue-light);
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-color: var(--blue-accent);
  text-decoration-thickness: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-image {
  margin: 0;
  padding: 12px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13,59,102,0.06), rgba(74,144,226,0.12));
  border: 1px solid rgba(107, 163, 209, 0.55);
  box-shadow: 0 26px 60px rgba(13, 59, 102, 0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  transform: rotate(1deg);
}

.feature-image::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.55);
  pointer-events: none;
}

.feature-image::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 18px;
  width: 92px;
  height: 60px;
  border-radius: 18px 18px 22px 22px;
  background: linear-gradient(180deg, rgba(95, 64, 40, 0.92), rgba(57, 38, 24, 0.88));
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    10px 0 0 rgba(255,255,255,0.16),
    inset 0 -14px 16px rgba(26, 14, 8, 0.28),
    0 14px 28px rgba(39, 24, 14, 0.18),
    0 0 0 8px rgba(255,255,255,0.08);
  transform: rotate(-6deg);
}

.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf6ff 0%, #dfeeff 100%);
  filter: drop-shadow(0 18px 24px rgba(13,59,102,0.12));
}

.hero-note {
  margin: 0;
}

/* Accent elements with gradients */
.content-grid article h2 {
  color: var(--blue-dark);
}

@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-nav {
    padding: 16px 18px;
  }

  .nav-links.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 14px;
    background: rgba(240, 245, 251, .98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open a {
    padding: 10px 0;
  }

  main {
    width: 100%;
    padding: 28px 18px 40px;
  }

  .hero,
  .content-grid,
  .profile-layout,
  .travel-grid,
  .relationship-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    overflow-wrap: anywhere;
  }

  .hero-note,
  .panel,
  .profile-card,
  .relationship-section {
    min-width: 0;
  }

  .profile-panel,
  .travel-story,
  .social-strip {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .profile-header {
    align-items: flex-start;
  }

  .profile-mark {
    min-width: 64px;
    width: 64px;
    height: 64px;
  }

  .social-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .social-strip-label {
    min-width: 0;
  }

  .icon-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .social-icon {
    max-width: none;
  }

  .page-nav {
    align-items: stretch;
  }

  .page-nav a {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-nav {
    gap: 8px;
  }
}

.content-grid article strong {
  color: var(--blue-accent);
}

/* Link styling throughout */
a {
  transition: color 0.3s ease;
}

/* Selection highlighting with blue theme */
::selection {
  background: var(--blue-accent);
  color: white;
}

::-moz-selection {
  background: var(--blue-accent);
  color: white;
}
