:root {
  --ink: #14110f;
  --paper: #f6f1ea;
  --card: #fffdf8;
  --muted: #6d655c;
  --line: #e4d9cc;
  --orange: #ff3b00;
  --red: #c1121f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe3d4 0%, transparent 55%),
    var(--paper);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  line-height: 1.5;
  font-size: 18px;
}

a {
  color: inherit;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 6vw;
  border-bottom: 1px solid var(--line);
}

.mark {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

main {
  padding: 0 6vw 5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0 4rem;
}

.portrait {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 8px 8px 0 #111;
}

.portrait video,
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 464 / 688;
  object-fit: cover;
  background: #fff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--orange);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.15rem;
  color: #3b342e;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1rem;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
}

.ghost {
  color: var(--muted);
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
}

.ghost:hover {
  color: var(--ink);
}

section h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin: 0 0 1.5rem;
}

.projects {
  list-style: none;
  padding: 0;
  margin: 0 0 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.projects li {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.1rem;
}

.kind {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.projects h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.projects h3 a {
  text-decoration: none;
}

.projects h3 a:hover {
  text-decoration: underline;
}

.projects p {
  margin: 0;
  color: #3f3832;
}

.url {
  margin-top: 0.85rem !important;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  color: var(--muted) !important;
}

#company p {
  max-width: 40rem;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin: 2rem 0 0;
}

.facts div {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

dt {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

dd {
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 6vw 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero,
  .projects,
  .facts {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 280px;
  }

  nav {
    gap: 0.8rem;
  }
}
