*{box-sizing:border-box;margin:0;padding:0}

:root{
  --bg:#f7f6f3;
  --paper:#fff;
  --text:#171717;
  --muted:#5f5f5f;
  --line:rgba(0,0,0,.12);
  --line-soft:rgba(0,0,0,.07);
}

html{scroll-behavior:smooth}

body{
  background:var(--bg);
  color:var(--text);
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.7;
}

.container{
  max-width:1040px;
  margin:auto;
  padding:80px 32px;
}

.top-nav{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-bottom:70px;
}

.hero{margin-bottom:110px}

.hero-image{
  width:138px;
  height:138px;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:42px;
  border:1px solid var(--line);
  padding:5px;
  background:#fff;
}

.eyebrow,.button,h4{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.eyebrow{
  color:var(--muted);
  margin-bottom:22px;
  font-size:1rem;
  letter-spacing:.03em;
}

h1{
  font-size:clamp(3.5rem,8vw,6.8rem);
  line-height:.95;
  margin-bottom:24px;
  letter-spacing:-.055em;
  font-weight:500;
}

.hero h2{
  max-width:900px;
  margin-bottom:32px;
  font-size:clamp(2rem,5vw,3.8rem);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:500;
}

.intro{
  max-width:760px;
  color:var(--muted);
  font-size:1.25rem;
}

.buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:42px;
}

.button{
  display:inline-block;
  border-radius:999px;
  padding:13px 24px;
  text-decoration:none;
  font-size:.88rem;
  letter-spacing:.02em;
  transition:.2s ease;
}

.button.small{padding:10px 18px;font-size:.82rem}

.primary{background:var(--text);color:#fff}
.primary:hover{background:#444}

.secondary{
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
}
.secondary:hover{background:var(--text);color:#fff}

.section{margin-bottom:96px}

.section>h2{
  margin-bottom:24px;
  font-size:2.45rem;
  letter-spacing:-.035em;
  font-weight:500;
}

.section p{color:var(--muted)}
.top-space{margin-top:42px}

details{
  margin-bottom:18px;
  padding:26px;
  border:1px solid var(--line-soft);
  border-radius:18px;
  background:var(--paper);
}

details[open]{
  border-color:var(--line);
  box-shadow:0 18px 60px rgba(0,0,0,.045);
}

summary{
  position:relative;
  list-style:none;
  cursor:pointer;
  padding-right:32px;
}
summary::-webkit-details-marker{display:none}
summary::after{
  content:"+";
  position:absolute;
  right:0;
  top:.1rem;
  color:var(--muted);
  font-size:1.6rem;
  line-height:1;
}
details[open] summary::after{content:"–"}

summary h3{
  font-size:2rem;
  letter-spacing:-.035em;
  font-weight:500;
}

.subtitle{
  margin:22px 0;
  color:var(--text);
  font-size:1.15rem;
  font-weight:500;
}

h4{
  margin:34px 0 24px;
  color:var(--muted);
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:600;
}

.achievement{
  margin-bottom:28px;
  padding-left:18px;
  border-left:1px solid var(--line);
}

.achievement strong{
  display:block;
  margin-bottom:8px;
  font-size:1.08rem;
  font-weight:600;
}

.profile,.contact{
  text-align:center;
  border-top:1px solid var(--line);
  padding-top:70px;
}

.profile p,.contact p{
  max-width:700px;
  margin:0 auto 30px;
}

.contact .buttons{justify-content:center}

@media(max-width:768px){
  .container{padding:52px 22px}
  .top-nav{justify-content:flex-start;margin-bottom:50px}
  .hero{margin-bottom:78px}
  .hero-image{width:112px;height:112px}
  summary h3{font-size:1.55rem}
  details{padding:22px}
}
