@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(fonts/playfair-400.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(fonts/roboto-500.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url(fonts/roboto-700.woff2) format("woff2"); }

:root { --teal: #79b3ad; --ink: #000; --line: #cfcfcf; --accent: #ffb503; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 20px/32px "Playfair Display", Georgia, serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2 { margin: 0; font-family: "Roboto", system-ui, sans-serif; }
h2 { font-weight: 500; font-size: 42px; line-height: 1.2; padding-bottom: 30px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* menu (CSS only) */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { position: fixed; top: 30px; right: max(30px, calc((100vw - 1200px) / 2 + 20px)); z-index: 30; width: 28px; height: 16px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
.burger span { height: 2px; background: #000; transition: transform .25s, opacity .25s; }
.menu-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
.menu-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle:focus-visible ~ .burger { outline: 2px solid #000; outline-offset: 6px; }
.menu { position: fixed; inset: 0 0 0 auto; width: min(360px, 100%); background: #fff; z-index: 20; display: flex; flex-direction: column; justify-content: center; padding: 0 50px; transform: translateX(100%); transition: transform .3s; box-shadow: -10px 0 40px rgba(0,0,0,.12); }
.menu a { font: 500 28px/1 "Roboto", sans-serif; padding: 14px 0; }
.menu-toggle:checked ~ .menu { transform: none; }

/* sections */
.split { display: flex; }
.split > * { width: 50%; }
.photo { background: #323232 center left / cover no-repeat; }
.panel { background: var(--teal); display: flex; flex-direction: column; justify-content: center; }

.hero { min-height: 100vh; }
.hero .photo { background-image: url(img/hero.jpg); }
.hero .panel { padding: 90px 10%; }
.hero h1 { font-weight: 700; font-size: 100px; line-height: 105px; }

.about { padding: 180px 0; }
.about .wrap { display: flex; align-items: center; }
.about .wrap > * { width: 50%; }
.about .text { padding-left: 60px; padding-right: 10px; }

.reach .photo { background-image: url(img/arm.jpg); }
.reach .panel { padding: 140px 20% 140px 10%; }
.reach ul { margin: 0; padding-left: 1.2em; }

.contact { padding: 180px 0; }
.contact .wrap { display: flex; align-items: center; }
.contact .wrap > * { width: 50%; }
.contact .text { padding-left: 20px; }
.contact .item { display: flex; gap: 20px; margin-bottom: 30px; }
.contact .item:last-child { margin-bottom: 0; }
.contact svg { flex: none; width: 28px; height: 28px; margin-top: 2px; stroke: var(--teal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact strong { display: block; font: 700 20px/32px "Playfair Display", serif; }
.contact p { margin: 0 0 .5em; }
.contact .item a { text-decoration: underline; text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); padding: 30px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font: 700 22px/1.1 "Roboto", sans-serif; }
.copy { margin: 0; font-size: 11px; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; text-align: right; }

section[id] { scroll-margin-top: 0; }

@media (max-width: 960px) {
  .split, .about .wrap, .contact .wrap { flex-direction: column; align-items: stretch; }
  .split > *, .about .wrap > *, .contact .wrap > * { width: 100%; }
  .hero { min-height: 0; }
  .hero .photo { height: 60vh; }
  .hero .panel { padding: 60px 30px; }
  .hero h1 { font-size: 56px; line-height: 60px; }
  .reach .photo { height: 50vh; }
  .reach .panel { padding: 60px 30px; }
  .about, .contact { padding: 60px 0; }
  .about .text, .contact .text { padding: 0; }
  h2 { font-size: 34px; }
}
