/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2C2416;
  background-color: #F0EBE1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', Georgia, serif;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240, 235, 225, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #DDD5C5;
  padding: 0 40px;
  height: 100px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2C2416;
  overflow: visible;
}

.nav-logo img {
  height: 80px;
  overflow: visible;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #6B5B47;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2C2416;
  border-bottom-color: #2C2416;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Bitter', Georgia, serif;
  font-size: 14px;
  color: #2C2416;
}

/* ===== Page Wrapper ===== */
.page {
  padding-top: 64px;
  min-height: 100vh;
}

/* ===== About Page ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 48px 80px;
}

.about-text .greeting {
  font-family: 'Bitter', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8C7B6A;
  margin-bottom: 20px;
}

.about-text h1 {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #2C2416;
  margin-bottom: 24px;
}

.about-text h1 span {
  color: #8C7B6A;
}

.about-text .tagline {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  color: #4A3C2C;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 480px;
}

.about-text .bio {
  font-size: 15px;
  color: #6B5B47;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.chip {
  font-family: 'Bitter', Georgia, serif;
  background: #EDE8DE;
  border: 1px solid #DDD5C5;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: #4A3C2C;
  letter-spacing: 0.01em;
}

.about-contact-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.about-contact-links a {
  font-family: 'Bitter', Georgia, serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6B5B47;
  border-bottom: 1px solid #C4B9A8;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.about-contact-links a:hover {
  color: #2C2416;
  border-color: #2C2416;
}

/* Photo card */
.photo-card {
  position: relative;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #EDE8DE;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #A89880;
  font-size: 13px;
  gap: 12px;
  overflow: hidden;
  border: 1px solid #DDD5C5;
}

.photo-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: #C4B9A8;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.photo-tag {
  font-family: 'Bitter', Georgia, serif;
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #2C2416;
  color: #F5F0E8;
  font-size: 12px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* About section divider */
.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px;
  border-top: 1px solid #DDD5C5;
}

.section-label {
  font-family: 'Bitter', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89880;
  margin-bottom: 24px;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.interest-card {
  padding: 24px;
  background: #EDE8DE;
  border: 1px solid #DDD5C5;
  border-radius: 12px;
}

.interest-card h3 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #2C2416;
}

.interest-card p {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  color: #6B5B47;
  line-height: 1.6;
}

/* ===== Resume Page ===== */
.resume-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 48px 100px;
}

.resume-header {
  margin-bottom: 56px;
}

.resume-header h1 {
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #2C2416;
  margin-bottom: 6px;
}

.resume-header .subtitle {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 15px;
  color: #8C7B6A;
  margin-bottom: 16px;
}

.resume-header .contact-line {
  font-family: 'Bitter', Georgia, serif;
  font-size: 13px;
  color: #A89880;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.resume-header .contact-line span::before {
  content: '·';
  margin-right: 16px;
}

.resume-header .contact-line span:first-child::before {
  content: '';
  margin-right: 0;
}

.resume-download {
  font-family: 'Bitter', Georgia, serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 22px;
  background: #2C2416;
  color: #F5F0E8;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}

.resume-download:hover {
  background: #4A3C2C;
}

/* ===== Accordion ===== */
.accordion-section {
  border-bottom: 1px solid #DDD5C5;
  margin-bottom: 0;
}

.accordion-section:first-of-type {
  border-top: 1px solid #DDD5C5;
}

.accordion-section summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  user-select: none;
  outline: none;
}

.accordion-section summary::-webkit-details-marker {
  display: none;
}

.accordion-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #2C2416;
}

.accordion-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #8C7B6A;
}

.accordion-section[open] .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  padding-bottom: 32px;
}

/* Resume item (inside accordion) */
.resume-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-bottom: 28px;
  padding-top: 20px;
}

.resume-item:last-child {
  margin-bottom: 0;
}

.resume-item-left h3 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2C2416;
  margin-bottom: 2px;
}

.resume-item-left .org {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  color: #4A3C2C;
  margin-bottom: 4px;
}

.resume-item-left .location {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  color: #A89880;
  margin-bottom: 10px;
}

.resume-item-right {
  text-align: right;
  white-space: nowrap;
}

.resume-item-right .date {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  color: #A89880;
}

.resume-bullets {
  list-style: none;
  padding: 0;
}

.resume-bullets li {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  color: #6B5B47;
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}

.resume-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #C4B9A8;
  font-size: 12px;
  top: 3px;
}

/* ===== Contact Page ===== */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 48px 100px;
}

.contact-header {
  margin-bottom: 64px;
}

.contact-header h1 {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #2C2416;
  margin-bottom: 20px;
}

.contact-header p {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 17px;
  color: #6B5B47;
  max-width: 520px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.contact-info-group {
  margin-bottom: 40px;
}

.contact-info-group:last-child {
  margin-bottom: 0;
}

.contact-info-group .label {
  font-family: 'Bitter', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89880;
  margin-bottom: 12px;
}

.contact-info-group .value {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 16px;
  color: #2C2416;
}

.contact-info-group a {
  color: #2C2416;
  border-bottom: 1px solid #C4B9A8;
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.contact-info-group a:hover {
  border-color: #2C2416;
}

.contact-photo-card {
  background: #EDE8DE;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #DDD5C5;
}

.contact-photo {
  aspect-ratio: 1/1;
  background: #E5DED2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #A89880;
  font-size: 13px;
  gap: 10px;
  overflow: hidden;
}

.contact-photo svg {
  width: 40px;
  height: 40px;
  stroke: #C4B9A8;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-photo-info {
  padding: 24px;
}

.contact-photo-info h3 {
  font-size: 16px;
  font-weight: 400;
  color: #2C2416;
  margin-bottom: 4px;
}

.contact-photo-info p {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  color: #8C7B6A;
}

/* Social links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  font-family: 'Bitter', Georgia, serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #4A3C2C;
  transition: color 0.2s;
}

.social-link:hover {
  color: #2C2416;
}

.social-link .icon {
  width: 36px;
  height: 36px;
  background: #DDD5C5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ===== Contact Form ===== */
.contact-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-family: 'Bitter', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8C7B6A;
}

.contact-form input,
.contact-form textarea {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 15px;
  color: #2C2416;
  background: #EDE8DE;
  border: 1px solid #DDD5C5;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #A89880;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2C2416;
  background: #F0EBE1;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  font-family: 'Bitter', Georgia, serif;
  align-self: flex-start;
  padding: 12px 28px;
  background: #2C2416;
  color: #F5F0E8;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #4A3C2C;
}

/* ===== Footer ===== */
footer {
  background: #2C2416;
  color: #F5F0E8;
  padding: 56px 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #F5F0E8;
  margin-bottom: 8px;
}

.footer-col-sub {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  color: #C4B9A8;
  line-height: 1.6;
}

.footer-col-label {
  font-family: 'Bitter', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8C7B6A;
  margin-bottom: 12px;
}

.footer-col-value {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  color: #C4B9A8;
  line-height: 1.8;
}

.footer-col-value a {
  color: #C4B9A8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col-value a:hover {
  color: #F5F0E8;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 500px) {
  footer {
    padding: 40px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .about-hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 40px;
    gap: 48px;
  }

  .photo-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .interests-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-section {
    padding: 40px 24px;
  }

  .resume-container {
    padding: 60px 24px 80px;
  }

  .resume-item {
    grid-template-columns: 1fr;
  }

  .resume-item-right {
    text-align: left;
  }

  .contact-container {
    padding: 60px 24px 80px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-photo-card {
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #F0EBE1;
    border-bottom: 1px solid #DDD5C5;
    padding: 24px;
    gap: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .about-text h1 {
    font-size: 28px;
  }
}
