/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sand:     #f5efe6;
  --sand-dark:#e8ddd0;
  --ocean:    #2a7fa5;
  --ocean-deep:#1a5f80;
  --seafoam:  #7ec8c8;
  --coral:    #e8836a;
  --sky:      #d4eef7;
  --text:     #2d2d2d;
  --muted:    #7a7a7a;
  --white:    #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42,127,165,0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--ocean-deep);
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

nav a:hover { color: var(--ocean); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sky) 0%, #a8d8ea 40%, #7ec8c8 70%, var(--sand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.headshot {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: 0 8px 32px rgba(42,127,165,0.25);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: 1.15rem;
  color: var(--ocean);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.hero-location {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.hero-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: var(--ocean);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--ocean-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ocean);
  color: var(--ocean);
}

.btn-outline:hover {
  background: var(--ocean);
  color: var(--white);
}

/* ── WAVES ── */
.waves {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 100px;
  z-index: 1;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100px;
  background-repeat: repeat-x;
  border-radius: 50%;
}

.wave1 {
  background: rgba(255,255,255,0.6);
  height: 80px;
  animation: wave 8s linear infinite;
}
.wave2 {
  background: rgba(255,255,255,0.4);
  height: 60px;
  animation: wave 12s linear infinite reverse;
  bottom: 10px;
}
.wave3 {
  background: var(--white);
  height: 50px;
  animation: wave 6s linear infinite;
  bottom: 0;
}

@keyframes wave {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section {
  padding: 5rem 2rem;
}

.section-sand {
  background: var(--sand);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  font-size: 2.2rem;
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
}

h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.section-sub {
  color: var(--muted);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.1rem;
  line-height: 1.8;
  font-size: 1rem;
  color: #444;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.fact-card {
  background: var(--sky);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ocean-deep);
  font-weight: 400;
  line-height: 1.3;
}

.fact-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── RESUME ── */
.resume-block {
  margin-bottom: 3rem;
}

.resume-block h3 {
  font-size: 1.3rem;
  color: var(--ocean);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sand-dark);
}

.resume-item {
  margin-bottom: 1.8rem;
  padding-left: 1rem;
  border-left: 3px solid var(--seafoam);
}

.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.resume-header strong {
  font-size: 1rem;
  font-weight: 500;
  display: block;
}

.resume-company {
  display: block;
  color: var(--ocean);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.resume-date {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.resume-location {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.resume-item ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.resume-item li {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0.2rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill {
  background: var(--sky);
  color: var(--ocean-deep);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 400;
}

.resume-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.resume-cta .placeholder-note {
  margin-top: 0.75rem;
}

/* ── PHOTOS ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.photo-placeholder {
  background: linear-gradient(135deg, var(--sky), var(--seafoam));
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.photo-placeholder:hover { transform: scale(1.02); }

.photo-placeholder span { font-size: 2.5rem; }
.photo-placeholder p { font-size: 0.85rem; color: var(--ocean-deep); font-weight: 400; }

/* ── LINKS ── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.link-card {
  background: var(--white);
  border: 1.5px solid var(--sky);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
}

.link-card:hover {
  border-color: var(--ocean);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(42,127,165,0.12);
}

.placeholder-card { opacity: 0.65; }

.link-icon { font-size: 1.8rem; }
.link-label { font-size: 1rem; font-weight: 500; color: var(--ocean-deep); }
.link-sub { font-size: 0.85rem; color: var(--muted); }

/* ── PLACEHOLDER NOTE ── */
.placeholder-note {
  font-size: 0.85rem;
  color: var(--coral);
  font-style: italic;
}

/* ── FOOTER ── */
footer {
  background: var(--ocean-deep);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 3rem 2rem 2rem;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.waves-footer {
  bottom: auto;
  top: -2px;
  transform: rotate(180deg);
}

.waves-footer .wave1 { background: rgba(245,239,230,0.4); }
.waves-footer .wave2 { background: rgba(245,239,230,0.2); }

footer p { position: relative; z-index: 2; margin-top: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .links-grid { grid-template-columns: 1fr; }
  .resume-header { flex-direction: column; }
  .resume-date { align-self: flex-start; }
}

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  nav ul { gap: 1rem; }
}
