@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root {
  --ink: #18382d;
  --wine: #1f563d;
  --rose: #bad6c2;
  --paper: #f7f8f2;
  --line: #cddace;
  --muted: #4b6655;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 'DM Sans', Arial, sans-serif; }
a { color: inherit; }
header, footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px clamp(22px,5vw,80px); }
header { border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); font-size: .9rem; }
.brand { font: 700 1.65rem 'Space Grotesk', sans-serif; letter-spacing: -.065em; text-decoration: none; }
.brand span, h1 span { color: #569a6c; }
.header-link { font-weight: 700; text-decoration: none; border: 1px solid var(--line); padding: 9px 16px; border-radius: 100px; }
.home {
  min-height: calc(100svh - 151px);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(40px,6vw,105px);
  align-items: center;
  padding: clamp(30px,4vw,62px) clamp(22px,5vw,80px);
  max-width: 1600px;
  margin: auto;
}
.visual {
  width: 100%;
  max-width: 630px;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 36px 32px 42px 92px;
  background: var(--ink);
  border-radius: 8px 180px 8px 8px;
}
.portrait {
  display: block;
  width: 88%;
  height: 562px;
  object-fit: cover;
  object-position: 50% 36%;
  border-radius: 145px 8px 8px 8px;
}
.running {
  position: absolute;
  right: 15px;
  bottom: 16px;
  width: 34%;
  height: 285px;
  object-fit: cover;
  object-position: 50% 47%;
  border: 6px solid var(--ink);
  border-radius: 8px 8px 95px 8px;
  box-shadow: 0 16px 35px #071a1280;
}
.visual-caption {
  position: absolute;
  left: 22px;
  bottom: 33px;
  color: #d0ebd4;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 700 clamp(1.25rem,2.1vw,1.7rem)/1 'Space Grotesk', sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-weight: 700; font-size: .82rem; color: var(--wine); }
h1 { font: 700 clamp(4.5rem,9vw,10rem)/.9 'Space Grotesk', sans-serif; letter-spacing: -.075em; margin: 25px 0 30px; }
.intro { font-size: clamp(1.1rem,1.8vw,1.5rem); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 23px; border-radius: 100px; text-decoration: none; font-weight: 700; transition: transform .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--wine); color: white; }
.secondary { border: 1px solid var(--wine); color: var(--wine); }
.note { font-size: .9rem; color: var(--muted); margin: 17px 0 0; }
a:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
@media (max-width: 900px) {
  .home { grid-template-columns: 1fr; gap: 45px; }
  .visual { min-height: 0; height: min(82vw,600px); max-width: 560px; margin: auto; padding: 26px 24px 30px 82px; }
  .portrait { height: 100%; width: 82%; }
  .running { height: 51%; width: 36%; bottom: 12px; }
  .content { padding: 0 0 25px; }
  h1 { font-size: clamp(4.2rem,15vw,7rem); }
}
@media (max-width: 460px) {
  .visual { height: 440px; padding: 18px 14px 20px 65px; border-radius: 6px 110px 6px 6px; }
  .portrait { border-radius: 100px 6px 6px 6px; }
  .running { height: 220px; right: 7px; bottom: 8px; border-width: 4px; }
  .visual-caption { left: 15px; bottom: 20px; font-size: 1.18rem; }
  .button { width: 100%; }
  header, footer { padding-inline: 22px; }
  .header-link { font-size: .9rem; }
}
@media (max-width: 360px) {
  header { gap: 8px; }
  .brand { font-size: 1.35rem; }
  .header-link { font-size: .82rem; padding: 8px 10px; }
}
