.hero { min-height: 450px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: center; padding: 46px 0; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
h1 { font-size: clamp(68px, 7.5vw, 100px); line-height: 1; font-weight: 500; letter-spacing: -.065em; margin: 0; }
h1 span { color: var(--accent); }
.hero-bio { max-width: 405px; margin-top: 27px; }
.hero-bio p { font-size: 18px; line-height: 1.65; color: #414b5c; margin: 0; }
.hero-form { display: grid; place-items: center; position: relative; min-width: 0; }
.hero-form::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #e9effa; }
.hero-form svg { display: block; position: relative; width: 100%; max-width: 500px; overflow: visible; transform: rotate(-7deg) scale(.79); }
.work { display: grid; grid-template-columns: 1fr 2.3fr; gap: 50px; margin: 56px 0 58px; }
h2 { font-size: 25px; line-height: 1.15; font-weight: 500; letter-spacing: -.035em; margin: 0; }
.section-title { padding-top: 25px; }
.section-title h2 { font-size: 32px; }
.project p { color: #515b6b; }
.project-list { min-width: 0; }
.project { position: relative; z-index: 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--rule); padding: 24px 0 25px; transition: color .2s, transform .2s ease; }
.project::before { content: ''; position: absolute; z-index: -1; inset: -1px -16px 0; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(38, 45, 57, .09); opacity: 0; transition: opacity .2s ease; }
h3 { font-size: 30px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.project p, .upcoming-projects p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 7px 0 0; }
.project-arrow { font-size: 26px; color: var(--accent); padding-right: 7px; flex: none; transition: color .2s; }
.project:focus-visible { z-index: 1; color: var(--accent); transform: translateY(-3px); }
.project:focus-visible::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .project:hover { z-index: 1; color: var(--accent); transform: translateY(-3px); }
  .project:hover::before { opacity: 1; }
}
.upcoming { border-top: 1px solid var(--rule); }
.upcoming summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 25px 8px 25px 0; font-size: 14px; color: var(--muted); }
.upcoming summary::-webkit-details-marker { display: none; }
.upcoming summary:hover { color: var(--accent); }
.expand-icon { position: relative; width: 14px; height: 14px; flex: none; }
.expand-icon::before, .expand-icon::after { content: ''; position: absolute; background: currentColor; }
.expand-icon::before { width: 14px; height: 1px; top: 6px; }
.expand-icon::after { width: 1px; height: 14px; left: 6px; }
.upcoming[open] .expand-icon::after { display: none; }
.upcoming-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 6px 0 28px; }
.upcoming-projects h3 { font-size: 18px; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--rule); padding: 36px 0; }
.contact h2 { font-size: 30px; }
.contact a { display: inline-flex; gap: 38px; align-items: center; font-size: 15px; color: var(--accent); padding: 12px 0; }
.contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact a span { font-size: 22px; }
@media (max-width: 1000px) {
  .hero { min-height: 380px; gap: 48px; padding-block: 35px; }
  h1 { font-size: 72px; }
  .hero-bio { margin-top: 24px; }
  .hero-bio p { font-size: 17px; }
  .work { grid-template-columns: .9fr 2.3fr; gap: 34px; margin-block: 45px; }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1.25fr .75fr; min-height: 350px; gap: 25px; padding-block: 32px; }
  h1 { font-size: 60px; }
  .hero-bio p { font-size: 16px; }
  .work { grid-template-columns: 1fr; gap: 24px; margin: 38px 0 42px; }
  .section-title { padding: 0; }
  h2 { font-size: 24px; }
  .contact h2 { font-size: 28px; }
}
@media (max-width: 480px) {
  .hero { grid-template-columns: 1fr; min-height: 350px; padding: 35px 0; gap: 0; }
  h1 { font-size: clamp(58px, 17vw, 76px); }
  .hero-bio { max-width: 330px; margin-top: 25px; }
  .hero-bio p { font-size: 17px; }
  .hero-form { display: none; }
  .work { margin-top: 32px; }
  .project { padding-block: 22px; gap: 16px; }
  h3 { font-size: 25px; }
  .project p { font-size: 14px; }
  .upcoming-projects { grid-template-columns: 1fr; gap: 24px; }
  .contact { padding-block: 28px; }
  .contact a { gap: 22px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .project, .project-arrow, .project::before { transition: none; } .project:hover, .project:focus-visible { transform: none; } }
