:root {
  color-scheme: light;
  --forest: #142e2b;
  --ink: #172923;
  --muted: #475c51;
  --paper: #faf8f2;
  --mist: #e8eee6;
  --lime: #d4efa1;
  --line: #becbbf;
  font: 100%/1.6 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 2px solid #b96720; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
p { max-width: 58ch; }

.wrap { width: min(100% - 3rem, 69rem); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .75rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.top { color: var(--paper); background: var(--forest); border-bottom: 1px solid #405852; }
.top-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 4.75rem; }
.brand { font-size: 1.38rem; font-weight: 750; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--lime); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.7rem, 2.8vw, 2rem); font-size: .9rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .28em; }
.language { padding: .2rem .48rem; border: 1px solid #718780; border-radius: .25rem; font-size: .78rem; letter-spacing: .06em; }

.hero {
  color: var(--paper);
  background-color: var(--forest);
  background-image: radial-gradient(ellipse at 100% 100%, #345c46, transparent 57%);
}
.hero-content { padding-block: clamp(4.5rem, 10vw, 8rem); }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 16ch; font-size: clamp(3rem, 7.4vw, 6.3rem); }
h1 em { color: var(--lime); font-weight: 400; }
.hero p { max-width: 40ch; margin-top: 1.6rem; color: #e0e9db; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; width: fit-content; padding: .85rem 1.15rem; border-radius: .35rem; text-decoration: none; font-size: .96rem; font-weight: 650; color: var(--forest); background: var(--lime); }
.button:hover { background: #e6f8c7; }
.hero .button { margin-top: 2rem; }
.button span { font-size: 1.13em; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2.55rem, 5vw, 4.25rem); }
h3 { font-size: 1.32rem; font-weight: 650; letter-spacing: -.025em; }
.section p { margin-top: .75rem; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.6rem); margin-top: 2rem; }
.services article { border-top: 2px solid var(--forest); padding-top: 1.3rem; }
.experience { background: var(--mist); }
.experience-inner, .contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.75rem, 6vw, 5.6rem); }
.experience-inner > div p { max-width: 34ch; }
.work { list-style: none; margin: 0; padding: 0; }
.work li { padding-block: 1.15rem; border-top: 1px solid var(--line); }
.work li:last-child { padding-bottom: 0; }
.contact { align-items: center; }
.button-dark { background: var(--forest); color: var(--paper); justify-self: start; }
.button-dark:hover { background: #2e5146; }
.footer { border-top: 1px solid var(--line); padding-block: 1.45rem; color: var(--muted); font-size: .76rem; letter-spacing: .075em; }

@media (max-width: 43rem) {
  .top-inner { min-height: 0; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .8rem; }
  .services, .experience-inner, .contact { grid-template-columns: 1fr; }
  .services h3 br { display: none; }
}

@media (max-width: 23rem) {
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: 2.55rem; }
}
