:root {
  color-scheme: dark;
  --background: #14151a;
  --panel: #202129;
  --text: #f4f2ed;
  --muted: #b7b7c1;
  --accent: #c8ed73;
  --line: #373944;
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, dl, dd { margin: 0; }
section { scroll-margin-top: 2rem; }
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: .75rem; translate: 0 -200%; z-index: 2; padding: .7rem 1rem; background: var(--text); color: var(--background); }
.skip:focus { translate: 0; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; min-height: 5rem; }
.site-header { border-bottom: 1px solid var(--line); }
.wordmark, nav a, .site-footer a { text-decoration: none; }
.wordmark { display: flex; align-items: center; gap: .7rem; font-weight: 800; }
.wordmark span { background: var(--accent); color: var(--background); border-radius: .5rem; padding: .24rem .45rem; font-size: .9rem; }
nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); flex-wrap: wrap; }
nav a, .site-footer { color: var(--muted); font-size: .9rem; }
nav a:hover, .site-footer a:hover { color: var(--accent); }
.hero { padding: clamp(4.5rem, 10vw, 8.25rem) 0 clamp(4rem, 10vw, 8rem); }
.label { letter-spacing: .15em; text-transform: uppercase; font-size: .875rem; font-weight: 800; color: var(--accent); margin-bottom: 1rem; }
h1, h2 { letter-spacing: -.055em; line-height: 1.04; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 7.25vw, 6.2rem); font-weight: 800; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.65rem); }
.intro { color: var(--muted); max-width: 35rem; margin-top: 1.55rem; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid transparent; border-radius: .65rem; padding: .64rem 1rem; font-weight: 800; text-decoration: none; transition: background .18s, border-color .18s; }
.primary { color: var(--background); background: var(--accent); }
.primary:hover { background: #ddffa2; }
.secondary { border-color: var(--line); }
.secondary:hover { background: var(--panel); border-color: var(--muted); }
.work, .services { border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.project { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: clamp(1.15rem, 4vw, 3rem); margin-top: 1.7rem; }
.project-image { background: var(--panel); padding: .55rem; border: 1px solid var(--line); border-radius: .9rem; }
.project-image img { border-radius: .55rem; }
.project-copy p { color: var(--muted); margin-bottom: 1rem; }
.project-copy .meta { color: var(--accent); font-size: .9rem; font-weight: 700; }
.services dl { margin-top: 1.5rem; }
.services dl > div { display: grid; grid-template-columns: minmax(11rem, .8fr) 1.4fr; gap: .4rem 1rem; border-bottom: 1px solid var(--line); padding: 1rem 0; }
.services dt { font-weight: 800; font-size: 1.12rem; }
.services dd, .contact p { color: var(--muted); }
.contact { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.25rem, 4vw, 2.75rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.contact p { margin-top: .6rem; }
.site-footer { margin-top: 1.5rem; }

@media (max-width: 700px) {
  .shell { width: calc(100% - 2rem); }
  .site-header { padding-block: 1rem; }
  .project, .services dl > div { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .actions .button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.about p { max-width: 68ch; }

