/* People of Vizag — shared styles */
:root {
  --sea-deep: #0b2a3c;
  --sea: #12506b;
  --sea-light: #2f8aa6;
  --foam: #e8f3f4;
  --sand: #f6efe3;
  --sand-dark: #e7dcc8;
  --sunset: #e2673f;
  --sunset-soft: #f3a37c;
  --ink: #1d2a30;
  --muted: #5c6b72;
  --radius: 14px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sea); }
a:hover { color: var(--sunset); }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
  color: var(--sea-deep); text-decoration: none; letter-spacing: -0.01em;
}
.brand span { color: var(--sunset); }
.nav { display: flex; gap: 1.5rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.nav a:hover { color: var(--sunset); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: var(--sea-deep);
  background-size: cover; background-position: center 60%;
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; }
.hero-content {
  position: relative; z-index: 2;
  padding: 9rem 0 10rem;
  max-width: 640px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 600; color: var(--sea-deep); opacity: 0.85;
}
.hero .eyebrow { color: var(--sunset-soft); opacity: 1; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04;
  margin: 0.6rem 0 1.2rem; color: #fff; letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero p.lead {
  font-size: 1.15rem; color: #e9f1f3; max-width: 540px; margin: 0 0 2rem;
}
.hero .btn { background: var(--sunset); }
.hero .btn:hover { background: #fff; color: var(--sea-deep); }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.hero .btn.ghost:hover { background: #fff; color: var(--sea-deep); }
.btn {
  display: inline-block; padding: 0.85rem 1.4rem; border-radius: 999px;
  background: var(--sea-deep); color: #fff; text-decoration: none; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--sunset); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--sea-deep); border: 1.5px solid var(--sea-deep); margin-left: .5rem; }
.btn.ghost:hover { background: var(--sea-deep); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.15; margin: 0.4rem 0 0.8rem; color: var(--sea-deep); letter-spacing: -0.015em;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.section-head .eyebrow { color: var(--sunset); opacity: 1; }

/* Intro */
.intro { background: var(--sand); }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.intro-grid p { font-size: 1.08rem; margin-top: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fact {
  background: #fff; border-radius: var(--radius); padding: 1.25rem;
  border: 1px solid var(--sand-dark);
}
.fact strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--sea); line-height: 1.2; }
.fact span { font-size: 0.9rem; color: var(--muted); }

/* Places */
.places { background: var(--foam); }
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.place {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #d6e7ea; display: flex; flex-direction: column;
}
.place .photo { width: 100%; height: 200px; object-fit: cover; background: #cfe0e6; }
.place .body { padding: 1.25rem 1.25rem 1.5rem; }
.place h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0 0 .4rem; color: var(--sea-deep); }
.place p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; color: var(--sea-light); margin-bottom: .4rem;
}

/* People */
.people { background: var(--sand); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.person-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--sand-dark); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.person-card:hover {
  transform: translateY(-3px); border-color: var(--sunset-soft);
  box-shadow: 0 10px 30px -12px rgba(11, 42, 60, .25); color: inherit;
}
.monogram {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, var(--sea) 0%, var(--sea-light) 100%);
}
.person-card:nth-child(3n+2) .monogram { background: linear-gradient(135deg, var(--sunset) 0%, var(--sunset-soft) 100%); }
.person-card:nth-child(3n+3) .monogram { background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 100%); }
.person-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 0; color: var(--sea-deep); }
.person-card .role { font-size: .9rem; color: var(--sunset); font-weight: 600; margin: -.6rem 0 0; }
.person-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.person-card .more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--sea); }

/* ---------- Person page ---------- */
.person-hero {
  background: linear-gradient(160deg, var(--sea-deep) 0%, var(--sea) 100%);
  color: #fff; padding: 4.5rem 0 3.5rem; position: relative; overflow: hidden;
}
.person-hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; }
.crumbs { font-size: .9rem; opacity: .8; margin-bottom: 1.5rem; }
.crumbs a { color: #fff; }
.person-hero .monogram { width: 84px; height: 84px; font-size: 2rem; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--sunset) 0%, var(--sunset-soft) 100%); }
.person-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .3rem; line-height: 1.1; letter-spacing: -0.015em; }
.person-hero .role { font-size: 1.1rem; color: var(--sunset-soft); margin: 0; font-weight: 500; }

.profile { padding: 3.5rem 0 5rem; }
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }
.facts-box {
  background: #fff; border: 1px solid var(--sand-dark); border-radius: var(--radius);
  padding: 1.5rem; position: sticky; top: 88px;
}
.facts-box dl { margin: 0; }
.facts-box dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts-box dd { margin: .15rem 0 1rem; font-weight: 500; }
.facts-box dd:last-child { margin-bottom: 0; }
.facts-box .birthplace { color: var(--sea); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.story h2 { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; margin: 0 0 1rem; color: var(--sea-deep); }
.story p { font-size: 1.08rem; margin: 0 0 1.2rem; }
.note {
  background: var(--foam); border-left: 3px solid var(--sea-light);
  padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; font-size: .95rem; color: var(--muted);
}
.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sand-dark); font-size: .9rem; color: var(--muted); }
.sources ul { padding-left: 1.1rem; margin: .4rem 0 0; }
.back-link { display: inline-block; margin-top: 2rem; font-weight: 600; text-decoration: none; }

/* Credits */
.credits { padding: 1.5rem 0; background: var(--sand); border-top: 1px solid var(--sand-dark); font-size: .88rem; color: var(--muted); }
.credits summary { cursor: pointer; font-weight: 600; color: var(--sea); }
.credits ul { columns: 2; padding-left: 1.1rem; margin: .5rem 0 0; }
.credits li { break-inside: avoid; margin-bottom: .25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea-deep); color: #cfe0e6; padding: 3rem 0; font-size: .95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro-grid, .profile-grid { grid-template-columns: 1fr; }
  .place-grid { grid-template-columns: 1fr 1fr; }
  .facts-box { position: static; }
}
@media (max-width: 600px) {
  .nav { gap: 1rem; }
  .nav a.hide-sm { display: none; }
  .place-grid, .facts { grid-template-columns: 1fr; }
  .hero-content { padding: 5rem 0 6rem; }
  .credits ul { columns: 1; }
  .btn.ghost { margin: .6rem 0 0; }
  section { padding: 3.5rem 0; }
}
