@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&display=swap');

:root {
  color-scheme: light;
  --ink: #303536;
  --muted: #687271;
  --mint: #9bcac4;
  --mint-light: #dcecea;
  --cream: #f7f5f1;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
}

a { color: inherit; }

.header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100% - 3rem, 1180px);
  height: 130px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  transition: top .25s ease, width .25s ease, height .25s ease, padding .25s ease,
    background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.header.is-scrolled {
  top: 12px;
  width: min(100% - 2rem, 1180px);
  height: 76px;
  padding-inline: 1.25rem;
  border: 1px solid rgb(48 53 54 / 10%);
  background: rgb(247 245 241 / 88%);
  box-shadow: 0 12px 32px rgb(48 53 54 / 9%);
  backdrop-filter: blur(14px);
}

.crop { position: relative; display: block; overflow: hidden; }
.crop img { position: absolute; max-width: none; }

.brand {
  display: block;
  width: 255px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header__contact,
.button {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 48px;
  padding: .9rem 1.35rem;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.header__contact:hover,
.button:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

.button__arrow {
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(36% 0, 100% 0, 100% 64%, 82% 64%, 82% 31%, 13% 100%, 0 87%, 69% 18%, 36% 18%);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(820px, 100vh);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  overflow: hidden;
}

.hero__copy {
  z-index: 2;
  align-self: center;
  width: min(100%, 720px);
  padding: 170px 4rem 7rem max(3rem, calc((100vw - 1180px) / 2));
}

.eyebrow,
.section-number {
  margin: 0 0 1.5rem;
  color: #7db5ae;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .23em;
}

h1, h2 { margin: 0; font-weight: 300; }

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5.2vw, 5.3rem);
  line-height: 1.07;
  letter-spacing: -.055em;
}

.hero__services {
  display: grid;
  gap: .18em;
}

.hero__services span {
  position: relative;
  display: block;
  padding-left: .38em;
}

.hero__services span::before {
  position: absolute;
  top: .16em;
  bottom: .12em;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: var(--mint);
  content: "";
}

.hero .button { margin-top: 3rem; }

.hero__visual { position: relative; background: var(--mint-light); }

.hero__leaf {
  position: absolute;
  top: 13%;
  left: 4%;
  display: block;
  width: min(88%, 625px);
  height: auto;
}

.profile {
  display: grid;
  width: min(100% - 3rem, 1180px);
  margin: 0 auto;
  padding: 9rem 0;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(4rem, 9vw, 9rem);
  align-items: center;
}

.crop--portrait {
  width: 100%;
  aspect-ratio: 300 / 548;
  background: var(--mint-light);
  box-shadow: 28px 28px 0 var(--mint-light);
}

.crop--portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

h2 { font-size: clamp(2.3rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -.045em; }

.feature-list {
  display: grid;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 2rem;
  border-bottom: 1px solid #d8dad6;
  color: var(--muted);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  line-height: 1.65;
}

.feature-list li::before {
  position: absolute;
  top: 1.65rem; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.experience {
  padding: 8rem max(3rem, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.experience__heading {
  display: grid;
  max-width: 760px;
  margin-bottom: 5rem;
}

.timeline {
  border-top: 1px solid #d8dad6;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .7fr) 1.3fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 2.5rem 0;
  border-bottom: 1px solid #d8dad6;
}

.timeline__item::before {
  position: absolute;
  top: 2.8rem;
  left: -1.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.timeline__period {
  padding-top: .3rem;
  color: #7db5ae;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.timeline__role h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
}

.timeline__role p {
  margin: .45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.timeline__role .timeline__company {
  color: var(--ink);
  font-weight: 500;
}

.role-list {
  display: grid;
  margin-top: 1.75rem;
}

.role-list div {
  display: grid;
  gap: .35rem;
  padding: 1.2rem 0;
  border-top: 1px solid #e5e6e3;
}

.role-list strong { font-weight: 500; }
.role-list span { color: var(--muted); font-size: .9rem; }

.skills {
  padding: 8rem max(3rem, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
}

.skills__heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }

.skill-grid {
  display: grid;
  margin: 4rem 0 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #606767;
  list-style: none;
}

.skill-grid li {
  padding: 2.3rem 1rem 2.3rem 0;
  border-bottom: 1px solid #606767;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 300;
}

.skill-grid li:nth-child(odd) { border-right: 1px solid #606767; }
.skill-grid li:nth-child(even) { padding-left: 2.3rem; }

.contact {
  display: grid;
  padding: 9rem max(3rem, calc((100vw - 1180px) / 2));
  grid-template-columns: 1.15fr .85fr;
  gap: 5rem;
  background: var(--mint-light);
}

address { align-self: end; font-style: normal; }

address a {
  display: block;
  padding: 1.4rem 0;
  border-bottom: 1px solid #aebfbc;
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

address a:hover { color: #4d8982; }
address span { display: inline-block; width: 5rem; color: var(--muted); font-size: .75em; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem max(3rem, calc((100vw - 1180px) / 2));
  background: var(--white);
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .1em;
}

:focus-visible { outline: 3px solid #579f97; outline-offset: 4px; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  .header {
    width: calc(100% - 2rem);
    height: 92px;
    gap: .6rem;
  }
  .header.is-scrolled {
    top: 8px;
    width: calc(100% - 1rem);
    height: 66px;
    padding-inline: .75rem;
  }
  .brand { width: clamp(128px, 43vw, 165px); }
  .header__contact {
    display: inline-flex;
    min-height: 38px;
    padding: .65rem .72rem;
    white-space: nowrap;
    font-size: .58rem;
    letter-spacing: .09em;
  }
  .hero { min-height: auto; grid-template-columns: 1fr; background: var(--cream); }
  .hero__copy { padding: 145px 1.5rem 6rem; }
  .hero__services { gap: .32em; }
  .hero__services span { padding-left: .48em; }
  .hero__services span::before { width: 2px; }
  .hero__visual {
    position: absolute;
    inset: 0;
    min-height: 0;
    overflow: hidden;
    background: transparent;
    pointer-events: none;
  }
  .hero__leaf {
    top: auto;
    right: -19%;
    bottom: -8%;
    left: auto;
    width: 72%;
    opacity: .16;
  }
  .profile { width: calc(100% - 3rem); padding: 6rem 0; grid-template-columns: 1fr; gap: 4rem; }
  .crop--portrait { width: min(78%, 370px); margin-inline: auto; }
  .experience, .skills, .contact { padding: 6rem 1.5rem; }
  .experience__heading { margin-bottom: 3rem; }
  .timeline__item { grid-template-columns: 1fr; gap: .8rem; padding: 2rem 0; }
  .timeline__item::before { display: none; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-grid li:nth-child(odd) { border-right: 0; }
  .skill-grid li:nth-child(even) { padding-left: 0; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
