:root {
  --bg: #f4efe5;
  --surface: #fbf8f1;
  --surface-2: #e9e3d6;
  --text: #282b25;
  --muted: #6f7168;
  --line: #d8d1c3;
  --accent: #71866c;
  --accent-light: #b8c8ad;
  --accent-pale: #dfe8d9;
  --shadow: 0 20px 55px rgba(75, 68, 54, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

   /* NAVIGATION */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 229, 0.9);
  backdrop-filter: blur(14px);
  border-bottom:
    1px solid rgba(216, 209, 195, 0.85);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 25px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 750;
}

.menu {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

   /* HERO */
.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -170px;
  top: 20px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(184, 200, 173, 0.42),
      rgba(184, 200, 173, 0) 68%
    );
  pointer-events: none;
}


.hero::after {
  content: "✦   ✦   ✦";
  position: absolute;
  right: 9%;
  top: 18%;
  color: var(--accent);
  opacity: 0.45;
  font-size: 19px;
  letter-spacing: 12px;
  transform: rotate(-13deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns:
    1.25fr
    0.75fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size:
    clamp(58px, 8vw, 98px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  margin: 0 0 30px;
}

h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 30px;
}


   /* BUTTONS */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border:
    1px solid
    var(--line);
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 750;
  transition: 0.2s ease;
}

.btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}


   /* HERO CARD */
.hero-card {
  min-height: 420px;
  border:
    1px solid
    var(--line);
  background:
    var(--surface);
  box-shadow:
    var(--shadow);
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 320px;
  right: -50px;
  top: -75px;
  border-radius:
    55% 45% 60% 40%;
  background:
    var(--accent-pale);
  transform:
    rotate(25deg);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 250px;
  left: -70px;
  bottom: -100px;
  border-radius:
    55% 45% 50% 50%;
  background:
    rgba(113, 134, 108, 0.15);
  transform:
    rotate(-25deg);
}

.hero-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 365px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.window-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  top: 2px;
  left: 2px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.small-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: auto;
  padding-top: 8px;
  margin-bottom: 10px;
}

.hero-photo {
  display: block;
  position: relative;
  height: 240px;
  max-width: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.02;
  margin-bottom: 18px;
}

.hero-card-location {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.hero-card-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 230px;
}




   /* SECTIONS */
section {
  padding: 105px 0;
  border-top:
    1px solid
    var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  align-items: flex-end;
  margin-bottom: 48px;
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size:
    clamp(35px, 5vw, 55px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0;
}

.section-head > p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}


/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns:
    1fr 1fr;
  gap: 22px;
}

.panel {
  border:
    1px solid
    var(--line);
  background:
    var(--surface);
  padding: 29px;
}

.panel p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.stat {
  background:
    var(--surface-2);
  padding: 17px;
}

.stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 24px;
  margin-bottom: 5px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}


   /* EXPERIENCE */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.item {
  position: relative;
  padding-bottom: 45px;
}

.item:last-child {
  padding-bottom: 0;
}

.item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 5px var(--bg);
}

.item-meta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.item h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  margin: 8px 0 5px;
}

.company {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 13px;
}

.item p {
  max-width: 800px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}


/* EXPERIENCE, CERTIFICATIONS & AWARDS */
#experience .item,
#certifications .item,
#awards .item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  column-gap: 40px;
  align-items: start;
}

#experience .item > .item-meta,
#experience .item > h3,
#experience .item > .company,
#experience .item > p,
#certifications .item > .item-meta,
#certifications .item > h3,
#certifications .item > .company,
#certifications .item > p,
#awards .item > .item-meta,
#awards .item > h3,
#awards .item > .company,
#awards .item > p {
  grid-column: 1;
}

#experience .item > .volunteer-photo,
#certifications .item > .volunteer-photo,
#awards .item > .volunteer-photo {
  grid-column: 2;
  grid-row: 1 / span 4;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: none;
  background: transparent;
  overflow: visible;
}

#experience .volunteer-photo img,
#certifications .volunteer-photo img,
#awards .volunteer-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

   /* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  gap: 18px;
}

.project {
  border:
    1px solid
    var(--line);
  background:
    var(--surface);
  padding: 27px;
  min-height: 285px;
  transition: 0.22s ease;
  position: relative;
}


.project:hover {
  transform:
    translateY(-4px);
  box-shadow:
    var(--shadow);
  border-color:
    var(--accent-light);
}


.number {
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.project h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 35px 0 11px;
}

.project p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  background:
    var(--surface-2);
  color:
    var(--muted);
  padding:
    6px 9px;
  font-size: 12px;
}


.project-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

   /* SECURITY */
.security-grid {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  gap: 18px;
}

.security-card {
  border:
    1px solid
    var(--line);
  background:
    var(--surface);
  padding: 26px;
}


.security-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}


.security-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}


/* VOLUNTEERING\ */ 
.volunteer-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px; align-items: start;
}

.volunteer-content {
  min-width: 0;
}

.volunteer-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface); }

  .volunteer-photo img {
  display: block; 
  width: 100%;
  height: 100%;
  object-fit: cover;
}


   /* SKILLS */
.skill-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.skill-group {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: 0.22s ease;
}

.skill-group:hover {
  transform: translateY(-3px);
  border-color: var(--accent-light);
  box-shadow: var(--shadow);
}

.skill-group-heading {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-bottom: 19px;
}

.skill-group-number {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.skill-group h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.4;
}

/* CERTIFICATIONS */

.certifications {
  border-top: 1px solid var(--line);
}

.certification-item {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.certification-info {
  min-width: 0;
}

.certification-date {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
}

.certification-item h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.certification-item p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0;
}

.certification-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.certification-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.certification-image:hover img {
  transform: scale(1.03);
}


/* AWARDS */
.awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.award-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 40px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.award-number {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.award-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  margin: 45px 0 14px;
  color: var(--text);
}

.award-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.award-date {
  margin-top: 25px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}


   /* CONTACT */
.contact {
  display: grid;
  grid-template-columns:
    1fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.contact-text {
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

.contact-box {
  border:
    1px solid
    var(--line);
  background:
    var(--surface);
  padding: 30px;
}
.contact-box p {
  color: var(--muted);
  margin:
    0 0 18px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s ease;
}

.contact-link span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-link:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}

   /* FOOTER */
footer {
  border-top:
    1px solid
    var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-inner {
  gap: 20px;
}

   /* RESPONSIVE */
@media (max-width: 800px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 18px 20px;

    background:
      var(--surface);

    border-bottom:
      1px solid
      var(--line);

    flex-direction: column;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 9px 11px;
    border-left: 2px solid transparent;
  }
  .nav-links a.active {
    border-left-color: var(--accent);
    background: var(--accent-pale);
  }
  .menu {
    display: block;
  }
  .hero {
    min-height: auto;
    padding: 90px 0;
  }
  .hero-grid,
  .about-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero-card {
    display: block;
    width: 100%;
    max-width: 500px;
    min-height: auto;
    margin: 0 auto;
  }
  .hero-card-inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .hero-photo {
    display: block;
    position: relative;
    max-width: 200px;
    height: 240px;
    margin-bottom: 18px;
    object-fit: cover;
  }
  .project-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 18px;
  }

}

@media (max-width: 500px) {
  .container {
    width:
      min(
        100% - 28px,
        1120px
      );
  }
  h1 {
    font-size: 56px;
  }
  section {
    padding: 75px 0;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .skill-groups {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .skill-group {
    padding: 21px;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .awards {
    grid-template-columns: 1fr;
  }

  .award-card {
    padding: 28px;
  }

  .award-card h3 {
    font-size: 26px;
    margin-top: 35px;
  }
}

@media (max-width: 700px) {
  .volunteer-item {
    grid-template-columns: 1fr;
    gap: 16px; }
    
  .volunteer-photo {
    max-width: 320px; }
  }


/* Remove certificate photo border and empty space */
#experience .volunteer-photo,
#certifications .volunteer-photo,
#awards .item .volunteer-photo {
  border: none;
  background: transparent;
  overflow: visible;
}

#experience .volunteer-photo img,
#certifications .volunteer-photo img,
#awards .item .volunteer-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  #experience .item,
  #certifications .item,
  #awards .item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  #experience .item > .volunteer-photo,
  #certifications .item > .volunteer-photo,
  #awards .item > .volunteer-photo {
    margin-top: 20px;
    width: 100%;
    max-width: 340px;
  }

  #experience .volunteer-photo img,
  #certifications .volunteer-photo img,
  #awards .item .volunteer-photo img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
  }
}