:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --white: #fbf9f3;
  --ink: #162722;
  --muted: #4a5a52;
  --line: #c4c6b8;
  --accent: #e1ff76;
  --green: #2e624d;
  --heading: Georgia, "Times New Roman", serif;
  --body: "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.58 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2d7659; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 5.5rem), 76rem); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .6rem 1rem; background: var(--accent); transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .navigation, .footer-inner { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 1rem; min-height: 4.65rem; }
.wordmark { font-weight: 800; letter-spacing: -.055em; font-size: 1.35rem; text-decoration: none; line-height: 1.1; }
.wordmark span, h2 span { color: var(--green); }
.navigation { gap: clamp(.9rem, 3vw, 2.45rem); font-size: .96rem; font-weight: 650; }
.navigation > a, .expertise-menu summary { padding-block: .6rem; text-decoration: none; }
.navigation > a:hover, .expertise-menu summary:hover { text-decoration: underline; text-underline-offset: .3em; }
.expertise-menu { position: relative; }
.expertise-menu summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .55rem; }
.expertise-menu summary::-webkit-details-marker { display: none; }
.expertise-menu summary span { width: .43rem; height: .43rem; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-.1rem) rotate(45deg); }
.expertise-menu[open] summary span { transform: rotate(225deg); }
.submenu { position: absolute; top: calc(100% + .26rem); left: -1rem; min-width: 17.5rem; padding: .5rem; list-style: none; background: var(--white); border: 1px solid var(--line); box-shadow: 0 .75rem 1.5rem #16272218; }
.submenu a { display: block; padding: .48rem .6rem; text-decoration: none; }
.submenu a:hover { background: var(--accent); }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); grid-template-areas: "copy portrait" "philosophy portrait"; gap: 2rem clamp(2rem, 5vw, 5.5rem); padding-block: clamp(2.5rem, 7vw, 6.3rem) clamp(3rem, 6.5vw, 6rem); align-items: start; }
.hero-copy { grid-area: copy; align-self: end; }
.eyebrow { color: var(--green); font-size: .875rem; font-weight: 750; letter-spacing: .085em; text-transform: uppercase; }
h1 { margin-top: 1.05rem; font: 400 clamp(3.3rem, 6vw, 5.8rem)/.98 var(--heading); letter-spacing: -.075em; }
h1 > span { display: block; }
h1 em { display: block; color: var(--green); font-weight: 400; }
.intro { max-width: 34rem; margin-top: 1.55rem; font-size: clamp(1.12rem, 1.9vw, 1.4rem); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .65rem 1.12rem; border: 1px solid var(--ink); border-radius: 100vmax; text-decoration: none; font-size: .96rem; font-weight: 750; }
.button:hover { background: #e9e7da; }
.button-primary { background: var(--accent); }
.button-primary:hover { background: #d3ef60; }
.portrait { grid-area: portrait; width: min(100%, 28rem); justify-self: end; }
.portrait-frame { position: relative; overflow: hidden; border-radius: .2rem; background: #b6b6a8; }
.portrait img { width: 100%; height: auto; }
.portrait-video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.portrait-video.is-visible { opacity: 1; }
.portrait-toggle {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  min-height: 2rem;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 100vmax;
  background: var(--paper);
  color: var(--ink);
  font: 650 .78rem/1.2 var(--body);
  cursor: pointer;
}
.portrait-toggle:focus-visible { outline-offset: 2px; }
.portrait figcaption { display: flex; gap: .35rem 1rem; flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); padding-block: .6rem; font-weight: 750; font-size: .9rem; }
.portrait figcaption span { font-weight: 400; color: var(--muted); }
.philosophy { grid-area: philosophy; border-top: 1px solid var(--line); padding-top: 1rem; max-width: 34rem; }
.philosophy h2 { font: 750 .98rem/1.35 var(--body); letter-spacing: 0; margin-bottom: .35rem; }
.philosophy p { color: var(--muted); }

h2 { font: 400 clamp(3rem, 6vw, 6.1rem)/.97 var(--heading); letter-spacing: -.066em; }
.work { background: var(--ink); color: var(--white); padding-block: clamp(3.5rem, 7vw, 6rem); }
.work h2 span { color: var(--accent); }
.work-intro { margin-top: .9rem; color: #dfebe1; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.project { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #1e332b; border: 1px solid #496255; border-radius: .25rem; }
.project-art { display: flex; flex-direction: column; gap: .55rem; min-height: 10.5rem; padding: 1.75rem 1.25rem 1.25rem; }
.project-art strong { font: 400 clamp(3.1rem, 5vw, 5.2rem)/.85 var(--heading); letter-spacing: -.07em; }
.project-art span { font-size: .95rem; font-weight: 750; }
.documentary { color: #e9ffd4; background: radial-gradient(ellipse at 75% 15%, #446d45 0%, #173c2c 60%, #122a20 100%); }
.editorial { color: #25392d; background: repeating-linear-gradient(128deg, #eeeeaa 0%, #eeeeaa 7%, #e1e3a1 7.2%, #eeeeaa 7.6%); }
.workflow { color: #e6ffc5; background: repeating-linear-gradient(0deg, #253f38 0%, #253f38 17%, #426459 18%, #253f38 18.5%); }
.campaign { color: #281e18; background: linear-gradient(132deg, #e9b88e, #f8d7af 65%); }
.partnership { color: #212a2c; background: radial-gradient(ellipse at 75% 15%, #bbd5d4, #91b9b7 80%); }
.studio { color: #faf6ea; background: repeating-linear-gradient(130deg, #443746 0%, #443746 16%, #563e55 17%, #443746 17.5%); }
.project-body { display: flex; flex: 1; flex-direction: column; align-items: start; gap: .75rem; padding: 1.25rem; }
.project-copy { display: grid; gap: .75rem; }
@supports (grid-template-rows: subgrid) {
  .project { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .project-body { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: .75rem; }
  .project-copy, .project-body .case-notes { align-self: start; }
  .project-body .case-notes { margin-top: 0; }
}
.project-body .eyebrow { color: var(--accent); }
.case-lead, .case-notes p { color: #dfebe1; }
.case-notes { width: 100%; margin-top: auto; }
.case-notes summary { cursor: pointer; min-height: 2.75rem; align-content: center; color: var(--accent); font-weight: 750; text-decoration: underline; text-underline-offset: .22em; }
.case-notes p + p { margin-top: .65rem; }
h3 { font: 400 clamp(1.7rem, 2.5vw, 2.35rem)/1.07 var(--heading); letter-spacing: -.045em; }
.text-link { font-size: .94rem; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.text-link:hover { text-decoration-thickness: 2px; }
.work :focus-visible { outline-color: var(--accent); }

.section, .cv-section { padding-block: clamp(3.75rem, 7.5vw, 7rem); }
.expertises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 3vw, 3rem); margin-top: 2rem; }
.expertise { display: flex; flex-direction: column; align-items: start; gap: .65rem; border-top: 1px solid var(--line); padding-block: 1.15rem 1.65rem; }
.expertise p { color: var(--muted); }
.expertise .text-link { margin-top: auto; color: #26523f; }
.expertise:target { border-color: var(--green); }
.cv-section { background: #e8edde; }
.cv-layout, .contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.6rem clamp(2rem, 6vw, 6rem); align-items: start; }
.cv-layout p, .contact p { color: var(--muted); max-width: 29rem; }
.cv-layout p { margin-top: 1.15rem; }
.download-list { list-style: none; padding: 0; border-top: 1px solid #aeb8a6; }
.download-list li { border-bottom: 1px solid #aeb8a6; }
.download-list a { display: flex; justify-content: space-between; align-items: center; gap: .65rem; min-height: 3.2rem; padding: .45rem .25rem; text-decoration: none; }
.download-list a:hover { background: #dce5d2; }
.download-list span { white-space: nowrap; font-size: .88rem; font-weight: 750; color: #315343; }
.contact .button { margin-top: 1.15rem; }
.footer { border-top: 1px solid var(--line); font-size: .91rem; }
.footer-inner { justify-content: space-between; gap: 1rem; padding-block: 1rem; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #hero-title { width: fit-content; }

  #hero-title > *,
  .project-art strong {
    transition: transform 230ms cubic-bezier(.2, .7, .25, 1);
  }

  #hero-title:hover > *,
  .project-art:hover strong {
    transform: translateX(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-video, .portrait-toggle { display: none; }
}

@media (max-width: 870px) {
  .shell { width: calc(100% - 3.2rem); }
  .hero { column-gap: 1.65rem; }
  .projects, .expertises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 5rem; }
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; flex-wrap: wrap; }
  .has-js .menu-toggle { display: block; padding: .4rem .8rem; min-height: 2.75rem; color: inherit; border: 1px solid var(--line); border-radius: 100vmax; background: transparent; font: 750 .95rem var(--body); cursor: pointer; }
  .navigation { display: flex; align-items: stretch; gap: 0; flex-direction: column; flex-basis: 100%; padding-bottom: .5rem; }
  .has-js .navigation { display: none; position: absolute; inset: 100% 0 auto; padding: .4rem 1rem .7rem; max-height: 78dvh; overflow: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 .75rem 1.5rem #16272218; }
  .has-js .navigation.is-open { display: flex; }
  .navigation > a, .expertise-menu summary { min-height: 2.75rem; padding-inline: .5rem; }
  .submenu { position: static; min-width: 0; box-shadow: none; margin-bottom: .4rem; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "portrait" "philosophy"; row-gap: 1.65rem; }
  .portrait { justify-self: start; width: 100%; }
  .portrait img { max-height: 27rem; }
  .portrait img, .portrait-video { object-fit: cover; object-position: center 38%; }
  .projects, .expertises, .cv-layout, .contact { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.55rem, 9.5vw, 4.35rem); }
}
