@font-face {
  font-family: "Saira Semi Expanded";
  font-style: normal;
  font-weight: 700;
  font-stretch: 112.5%;
  font-display: swap;
  src: url("/assets/fonts/saira-semi-expanded-700-latin.woff2") format("woff2");
}

:root {
  --ink: #393e46;
  --ink-soft: #5b616b;
  --bg: #f7f7f7;
  --card: #ffffff;
  --line: #e2e2e2;
  --accent: #f8b500;
  --accent-ink: #7a5900;
  --font-heading: "Saira Semi Expanded", "Arial Narrow", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #000; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem 1rem; z-index: 10; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; font-stretch: 112.5%; line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

/* Header */
.site-header { background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
.brand { font-family: var(--font-heading); font-stretch: 112.5%; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .01em; }
.site-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a { color: #fff; text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 2.5rem 0 3.5rem; }
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent); }
.hero p { color: #e6e7e9; max-width: 38rem; }
.hero figure { margin: 0; }
.hero img { border-radius: 10px; aspect-ratio: 1 / 1; object-fit: cover; }
.hero figcaption { font-size: .85rem; color: #c2c5ca; margin-top: .5rem; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: .5rem; }
.facts li { padding-left: 1.4rem; position: relative; color: #fff; }
.facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: .6rem; height: .6rem; background: var(--accent); border-radius: 2px; }
.btn { display: inline-block; background: var(--accent); color: #1d1f22; font-weight: 700; padding: .8rem 1.3rem; border-radius: 8px; text-decoration: none; }
.btn:hover { background: #ffc933; color: #000; }

@media (min-width: 52rem) {
  .hero .wrap { grid-template-columns: 1.4fr 1fr; }
}

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lede { color: var(--ink-soft); max-width: 42rem; margin-bottom: 2rem; }

/* Projects */
.projects { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .projects { grid-template-columns: 1fr 1fr; } }

.project { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; }
.project img { border-radius: 8px; margin-bottom: 1rem; aspect-ratio: 16 / 9; object-fit: cover; }
.project dl { margin: 0; flex: 1; }
.project dt { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-top: .9rem; }
.project dd { margin: .2rem 0 0; }
.project dd.result { font-weight: 600; }
.status { align-self: flex-start; margin-top: 1.25rem; font-size: .85rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: #eef0f2; }
.status.live { background: #fff4d6; color: var(--accent-ink); }

/* Lists */
.cards { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
@media (min-width: 44rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.cards li { background: var(--bg); border-left: 4px solid var(--accent); border-radius: 6px; padding: 1rem 1.2rem; }
section:not(.alt) .cards li { background: var(--card); }
.cards strong { display: block; font-family: var(--font-heading); font-stretch: 112.5%; margin-bottom: .25rem; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 52rem) { ol.steps { grid-template-columns: repeat(2, 1fr); } }
ol.steps li { counter-increment: s; position: relative; padding: 1rem 1.2rem 1rem 3.4rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
ol.steps li::before { content: counter(s); position: absolute; left: 1rem; top: .95rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
ol.steps strong { display: block; }

/* Contact */
.contact { background: var(--ink); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { color: #e6e7e9; max-width: 36rem; margin-left: auto; margin-right: auto; }

footer { padding: 1.5rem 0; font-size: .9rem; color: var(--ink-soft); text-align: center; }
