
:root {
  color-scheme: dark;
  --ink: #121716;
  --panel: #1b2220;
  --line: #3c4742;
  --accent: #c8f278;
  --muted: #bbc5bf;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.6 Inter, system-ui, sans-serif; background: var(--ink); color: #f7f7f2; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.top, .heading, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 80px; }
.brand { font-size: 1.65rem; font-weight: 850; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand span, .eyebrow, .heading a { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.15rem; font-size: .88rem; }
nav a { text-decoration: none; }
nav a:hover, .secondary:hover { color: var(--accent); }
.contact { border: 1px solid var(--line); padding: .35rem .75rem; }
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 8vw, 6rem); }
.eyebrow { font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.1rem); margin: .2em 0; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); margin: 0 0 1.5rem; }
h3 { font-size: 1.25rem; margin: 0 0 .6rem; }
.lead { color: var(--muted); max-width: 46ch; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.button { display: inline-block; background: var(--accent); color: #141a0b; font-weight: 800; padding: .73rem 1rem; text-decoration: none; }
.button:hover { background: #e1ffae; }
figure { margin: 0; background: var(--panel); }
img { display: block; width: 100%; object-fit: cover; }
figure img { aspect-ratio: 5 / 4; }
.section { padding-block: clamp(2.3rem, 6vw, 4.5rem); }
.heading { align-items: baseline; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
article { padding: 1.15rem; background: var(--panel); border: 1px solid var(--line); }
article p { margin: 0; color: var(--muted); }
.projects { border-block: 1px solid var(--line); background: #151b18; }
.work img { aspect-ratio: 16 / 9; margin-bottom: 1rem; background: var(--ink); }
.closing h2 { margin-bottom: 1rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); padding-block: 1.5rem; }
@media (max-width: 820px) {
  .top { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  figure img { aspect-ratio: 16 / 9; }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 32px); }
  .cards { grid-template-columns: 1fr; }
}

.site-head nav a[aria-current="page"] { color: var(--accent); }
.prose { max-width: 940px; }
.prose h1 { margin: 0 0 .6em; font-size: clamp(2.25rem, 6vw, 4.1rem); }
.prose h2 { margin: 1.25em 0 .55em; }
.prose p, .prose li { color: #e1e7e2; }
.prose a { color: var(--accent); overflow-wrap: anywhere; }
.prose .button { color: #141a0b; }
.prose figure { margin: 1.5rem 0; background: transparent; }
.prose img, .prose video { max-width: 100%; width: auto; height: auto; }
.prose figure img { aspect-ratio: auto; }
.prose iframe { width: min(100%, 720px); aspect-ratio: 16/9; height: auto; border: 0; }
.prose pre { overflow: auto; }
.prose table { display: block; overflow: auto; }
.article-list { list-style: none; padding: 0; }
.article-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7rem 1fr; gap: .75rem; }
.article-list time { color: var(--muted); font-variant-numeric: tabular-nums; }
.article-list a { font-weight: 700; }
.service-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media(max-width: 550px) { .article-list li { grid-template-columns: 1fr; gap: .1rem; } }

/* Shared layout and typography */
:root {
  --ink: #101215;
  --panel: #191d22;
  --line: #353b43;
  --accent: #e9bb76;
  --muted: #b8bec7;
}
body { font-family: "Inter", system-ui, sans-serif; }
.wrap { width: min(1260px, calc(100% - 64px)); }
.site-head { background: #111418; }
.site-head .top { min-height: 76px; gap: 1.5rem; }
.site-head nav { gap: .35rem 1rem; justify-content: flex-end; }
.site-head nav a { padding-block: .4rem; }
.site-head nav .contact { padding-inline: .8rem; border-color: #735c3b; }
.site-head .brand { color: #fff; }
.site-head nav a:focus-visible, .button:focus-visible { outline-offset: 4px; }
.section { padding-block: clamp(3rem, 7.4vw, 6.1rem); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.button { border-radius: 4px; background: var(--accent); color: #19140d; }
.button:hover { background: #f7d5a6; }
.site-foot { background: #111418; padding-block: 1.75rem; }
.prose { max-width: 980px; }
.prose h1, .journal h1 { font-size: clamp(2.45rem, 5vw, 4.4rem); }
.prose h1 { max-width: 23ch; }
.prose p { max-width: 76ch; }
.prose article { border-radius: 9px; overflow: hidden; }
.prose .cards { grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr)); }
.prose .service-card figure { margin: 0 0 1rem; }
.prose .service-card img { width: 100%; aspect-ratio: 16 / 10; }
.prose .button { color: #19140d; }

/* Homepage */
.opening { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 78% 2%, #382b25, #14171b 56%, #101215 85%); }
.opening-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.75rem, 7vw, 6.3rem); }
.opening .eyebrow { color: #efc78e; }
.opening h1 { font-size: clamp(2.65rem, 5.25vw, 5.65rem); line-height: .98; letter-spacing: -.064em; }
.opening .lead { margin-top: 1.35rem; }
.opening-image { position: relative; }
.opening-image img { aspect-ratio: 1.42; border-radius: 10px; border: 1px solid #736253; box-shadow: 0 14px 42px #0005; }
.opening .secondary { font-size: .94rem; text-decoration: none; }
.opening .secondary:hover { text-decoration: underline; }
.service-links article { padding: clamp(1.2rem, 2.5vw, 2rem); border-radius: 8px; }
.service-links h3 { font-size: clamp(1.2rem, 2vw, 1.58rem); }
.service-links a { display: inline-block; margin-top: 1rem; color: var(--accent); }
.projects { background: #15181d; }
.project-grid, .story-grid, .review-grid { display: grid; gap: clamp(.9rem, 2vw, 1.5rem); }
.project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.project-card, .story { border-radius: 9px; padding: 0; overflow: hidden; }
.project-card > a, .story > a { display: block; height: 100%; text-decoration: none; }
.project-card > a:focus-visible, .story > a:focus-visible { outline-offset: -4px; }
.project-card img, .story img { aspect-ratio: 16 / 10; transition: filter .18s ease; }
.project-card a:hover img, .story a:hover img { filter: brightness(1.12); }
.project-card a:hover h3, .story a:hover h3 { color: var(--accent); }
.project-info, .story-info { padding: 1rem 1.1rem 1.18rem; }
.project-info h3, .story-info h3 { margin: .32rem 0 0; line-height: 1.28; text-wrap: pretty; }
.project-info span, .story-info time { font-size: .82rem; color: var(--muted); }
.project-info span { color: var(--accent); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.review { border: 1px solid var(--line); border-radius: 9px; padding: 1.2rem; }
.review figcaption { display: flex; align-items: center; gap: .75rem; }
.review figcaption img { width: 56px; aspect-ratio: 1; flex: 0 0 56px; border-radius: 50%; }
.review figcaption strong, .review figcaption span { display: block; }
.review figcaption span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.review blockquote { margin: .85rem 0 0; color: #e2e4e8; font-size: .94rem; }
.review blockquote > p { margin: 0; }
.review summary { cursor: pointer; color: var(--accent); font-size: .87rem; margin-top: .7rem; }
.latest { background: #15181d; border-block: 1px solid var(--line); }
.story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.journal h1 { margin: 0 0 .7em; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.closing h2 { margin: 0; }
@media (max-width: 1020px) {
  .site-head .top { flex-direction: column; align-items: flex-start; justify-content: center; gap: .35rem; padding-block: .75rem; }
  .site-head nav { justify-content: flex-start; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .opening-grid { grid-template-columns: 1fr; }
  .opening-image img { aspect-ratio: 16 / 9; }
  .project-grid, .story-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
  .site-head nav { gap: .25rem .8rem; }
  .project-grid, .story-grid, .review-grid { grid-template-columns: 1fr; }
  .project-card img, .story img { aspect-ratio: 16 / 9; }
  .closing { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-card img, .story img { transition: none; }
}
