@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --sky: #5bc8e8;
  --gold: #B8860B;
  --blue: #1a22cc;
  --navy: #1510a0;
  --btn-bg: #2222cc;
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--sky); color: var(--navy); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--sky);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 40px;
  border-bottom: 2px solid rgba(26,34,204,.15);
  flex-wrap: wrap;
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  font-weight: 700; font-size: .85rem; color: var(--gold);
  text-decoration: none; letter-spacing: .05em;
  padding: 4px 10px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-links a.active, .nav-links a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.nav-brand { margin-left: auto; font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); white-space: nowrap; }

/* ── HEADER ── */
header { text-align: center; padding: 32px 20px 14px; }
.logo-img { width: 80px; height: auto; margin: 0 auto 10px; display: block; }
header h1 { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--navy); }
header .tagline { color: var(--gold); font-weight: 700; font-size: 1rem; letter-spacing: .04em; }

/* ── OVAL HERO ── */
.oval-wrap {
  max-width: 820px; margin: 22px auto 6px;
  border-radius: 50%; overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.oval-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-caption { text-align: right; max-width: 820px; margin: 4px auto 0; font-size: .78rem; color: var(--gold); font-style: italic; padding-right: 10px; }

/* ── SECTION WRAPPER ── */
.section { padding: 38px 40px; max-width: 1000px; margin: 0 auto; }
.section-sm { max-width: 860px; }

h2.sec-title {
  font-family: 'Playfair Display', serif; font-size: 1.8rem;
  color: var(--navy); text-align: center; margin-bottom: 20px;
  text-decoration: underline; text-underline-offset: 5px;
}
h2.sec-title .gold { color: var(--gold); text-decoration: none; }

/* ── PROFILE ── */
.profile-photo { display: block; width: 210px; height: 210px; object-fit: cover; border-radius: 4px; margin: 0 auto 18px; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.bio-text { font-size: .96rem; color: var(--navy); line-height: 1.75; text-align: center; max-width: 760px; margin: 0 auto 18px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; max-width: 760px; margin: 0 auto 8px; flex-wrap: wrap; gap: 10px; }
.email-link { font-weight: 700; font-size: 1rem; color: var(--navy); text-decoration: none; }
.social-icons { display: flex; gap: 18px; }
.social-icons a { color: var(--gold); font-size: 1.8rem; text-decoration: none; transition: color .2s; }
.social-icons a:hover { color: var(--navy); }

/* ── EDUCATION ── */
.edu-entry { margin-bottom: 20px; }
.edu-entry h4 { font-size: .95rem; line-height: 1.5; }
.edu-entry h4 .gold { color: var(--gold); font-style: italic; }
.edu-date { font-size: .83rem; color: var(--navy); margin-left: 6px; }
.edu-entry p { font-size: .86rem; font-style: italic; margin-top: 4px; line-height: 1.5; }

/* ── QUOTES ── */
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
.quote-card { text-align: center; }
.quote-card .q-theme { font-weight: 700; margin-bottom: 6px; }
.quote-card blockquote { font-style: italic; font-size: .9rem; color: var(--gold); line-height: 1.6; }

/* ── BUTTONS ── */
.pill {
  display: inline-block; background: var(--btn-bg); color: var(--white);
  border: 2px solid var(--gold); border-radius: 999px;
  padding: 8px 16px; font-size: .8rem; font-weight: 700;
  text-decoration: none; margin: 3px; transition: background .2s, color .2s;
  cursor: pointer; line-height: 1.3;
}
.pill:hover { background: var(--gold); color: var(--navy); }
.pill.lg { padding: 12px 26px; font-size: .95rem; }

/* ── YELLOW BAND ── */
.yellow-band { background: var(--gold); padding: 40px 40px; }
.yellow-band h2 { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--navy); text-align: center; margin-bottom: 22px; }
.band-img-wrap { max-width: 820px; margin: 0 auto; border-radius: 8px; overflow: hidden; }
.band-img-wrap img { width: 100%; display: block; }
.band-caption { text-align: center; font-size: .83rem; color: var(--navy); margin: 8px auto 0; font-style: italic; max-width: 820px; }
.cta-row { display: flex; gap: 18px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ── STRENGTHS / HOBBIES ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto 28px; }
.two-col h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; text-align: center; margin-bottom: 8px; }
.two-col ul { list-style: none; text-align: center; }
.two-col ul li { padding: 2px 0; font-size: .9rem; }
.two-col ul li:nth-child(odd) { color: var(--gold); font-weight: 700; }

/* ── CURRENTLY ── */
.currently { text-align: center; margin-top: 28px; }
.currently h3 { font-weight: 900; font-size: 1.2rem; margin-bottom: 10px; }
.currently ul { list-style: none; }
.currently ul li { font-size: .88rem; padding: 3px 0; }
.currently ul li:nth-child(odd) { color: var(--gold); font-weight: 700; }

/* ── PROJECT ENTRIES ── */
.proj-page-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); text-align: center; margin-bottom: 6px; }
.proj-page-sub { text-align: center; font-size: .87rem; max-width: 780px; margin: 0 auto 32px; font-style: italic; }
.proj-page-sub em { color: var(--gold); font-weight: 700; font-style: normal; }

.proj-entry {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 40px; align-items: start;
  background: rgba(255,255,255,.12); border-radius: 10px;
  padding: 22px; border: 1px solid rgba(26,34,204,.1);
}
.proj-meta h4 { font-size: .9rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.proj-meta ul { list-style: none; margin-top: 6px; }
.proj-meta ul li { display: flex; gap: 7px; font-size: .84rem; margin-bottom: 5px; line-height: 1.4; }
.proj-meta ul li::before { content: "●"; color: var(--blue); font-size: .6rem; margin-top: 4px; flex-shrink: 0; }
.proj-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.proj-img { margin-top: 10px; }
.proj-img img { width: 100%; border-radius: 6px; display: block; margin-bottom: 6px; }

/* ── COURSES GRID ── */
.courses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; max-width: 860px; margin: 0 auto; }
.course-pair { display: flex; flex-direction: column; gap: 7px; }

/* ── CONTACT ── */
.contact-wrap { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-wrap p { font-size: .94rem; line-height: 1.65; margin-bottom: 14px; }
.contact-email { display: block; font-weight: 700; font-size: 1.05rem; color: var(--navy); text-decoration: none; margin-bottom: 6px; }
.contact-phone { display: block; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.contact-form { margin-top: 18px; text-align: left; }
.contact-form label { font-size: .82rem; font-weight: 700; display: block; margin-bottom: 3px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid rgba(26,34,204,.3);
  border-radius: 6px; font-size: .91rem; background: #fff; color: var(--navy); margin-bottom: 13px;
}
.contact-form textarea { height: 110px; resize: vertical; }
.contact-form button { background: var(--btn-bg); color: #fff; border: none; border-radius: 999px; padding: 11px 38px; font-weight: 700; cursor: pointer; transition: background .2s; }
.contact-form button:hover { background: var(--navy); }
.alpaca-img { max-width: 820px; margin: 0 auto 10px; border-radius: 6px; overflow: hidden; }
.alpaca-img img { width: 100%; display: block; }
.alpaca-caption { text-align: center; font-size: .8rem; color: var(--gold); font-style: italic; margin-bottom: 22px; }

/* ── FOOTER ── */
footer { background: #4ab8d8; padding: 24px 40px; text-align: center; margin-top: auto; }
footer .foot-icons { display: flex; gap: 26px; justify-content: center; margin-bottom: 7px; }
footer .foot-icons a { color: var(--gold); font-size: 1.9rem; text-decoration: none; transition: color .2s; }
footer .foot-icons a:hover { color: var(--navy); }
footer p { font-size: .76rem; color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .two-col, .quotes-grid, .courses-grid, .proj-entry { grid-template-columns: 1fr; }
  nav { padding: 10px 14px; }
  .section { padding: 28px 14px; }
  .yellow-band { padding: 28px 14px; }
  header h1 { font-size: 1.7rem; }
  .yellow-band h2 { font-size: 1.8rem; }
}
