:root {
  --bg: #f3efe7;
  --ink: #252922;
  --accent: #42624a;
  --muted: #525b50;
  --line: #b9bdb0;
  --font-display: Georgia, serif;
  --display-weight: 400;
  --display-tracking: -.055em;
  --t-h2: clamp(2.6rem, 6.1vw, 6rem);
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 2 * clamp(1.15rem, 6vw, 6.5rem), 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .75rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #315e49; outline-offset: 5px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; border-bottom: 1px solid var(--line); }
.masthead a { text-decoration: none; }
.brand { font-weight: 750; }
nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); }
nav a { display: inline-grid; align-items: center; min-height: 44px; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; align-items: center; min-height: calc(100svh - 4.5rem); }
.hero-content { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: 3rem 5rem; animation: enter .65s ease-out both; }
.portrait { display: block; width: 100%; max-width: 27rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 73%; justify-self: end; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h1 { overflow-wrap: anywhere; margin-bottom: .15em; font-size: clamp(2.6rem, 6.6vw, 6.75rem); line-height: .96; letter-spacing: -.075em; }
h1 span { color: var(--accent); }
h2 { font-size: var(--t-h2); line-height: 1; letter-spacing: var(--display-tracking); margin-bottom: .28em; }
h3 { font-size: clamp(1.55rem, 2.7vw, 2.45rem); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 1rem; }
h4 { font-size: 1rem; margin: 1rem 0 .23rem; }
p { line-height: 1.6; }
.lead { font-size: clamp(1.125rem, 2.3vw, 1.65rem); max-width: 31ch; margin: 1.8rem 0; }
.label { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; }
.button { display: inline-flex; gap: 1.25rem; align-items: center; min-height: 46px; padding: .65rem 1rem; background: #2f4b38; color: #fff; text-decoration: none; transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-2px); background: #203a29; color: #fff; }
.button:active { transform: translateY(1px); }
.work, .about, .resume, .creative { padding-block: clamp(3.5rem, 9vw, 8rem); }
.work { background: #e4e8dc; }
.section-intro { color: var(--muted); margin-bottom: 2rem; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.case { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.case p:last-child { margin-bottom: 0; }
.featured { background: #e8e4d9; padding-block: clamp(3rem, 8vw, 7rem); }
.featured-card { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(1.25rem, 5vw, 4rem); text-decoration: none; }
.featured-card img, .campaign-player img, .campaign-player iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 0; }
.featured-card img { transition: transform .2s ease; }
.featured-card:hover img { transform: scale(1.02); }
.case-action { font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.campaign-hero, .campaign-details { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.campaign-hero .label { margin-top: 2.5rem; }
.campaign-player { position: relative; max-width: 60rem; background: #252922; }
.campaign-play { position: absolute; left: 1rem; bottom: 1rem; border: 0; cursor: pointer; font: inherit; }
.campaign-play[hidden] { display: none; }
.source-video { display: inline-block; margin-top: 1rem; }
.campaign-details { background: #e4e8dc; }
.campaign-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.agency-work { grid-column: 1 / -1; }
.project-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.video-card { display: block; min-width: 0; }
.video-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--line); transition: transform .18s ease; }
.video-card:hover img { transform: translateY(-2px); }
.video-card span { display: block; margin-top: .5rem; }
.music-work .video-card { max-width: 24rem; }
.about { min-height: 65svh; display: grid; align-items: center; }
.about h2 { font: 700 .8rem/1.5 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.6rem; }
.about .mo-wh__text { margin-bottom: 0; }
.resume { background: #e8e4d9; }
.resume-grid, .gallery, .music-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 5vw, 5rem); }
.music-work { margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.music-work article { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.resume-grid { margin-top: 2.7rem; }
.resume-grid h3 { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 2.2rem; }
.resume-grid h3:first-child { margin-top: 0; }
.date { color: var(--muted); font-size: .86rem; margin-bottom: .35rem; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: #29372e; }
.sketch { margin-top: .8rem; }
.sketch summary { cursor: pointer; display: list-item; padding-block: .65rem; text-decoration: underline; text-underline-offset: .25em; }
.sketch img { margin-top: .4rem; aspect-ratio: auto; }
footer { border-top: 1px solid var(--line); padding-block: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; color: var(--muted); }
@media (max-width: 820px) {
  .featured-card, .campaign-facts { grid-template-columns: 1fr; }
  .cases, .resume-grid, .gallery, .music-work, .hero-content { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: min(100%, 15rem); }
  .masthead { flex-wrap: wrap; padding-top: .4rem; }
  .about { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
