@import url("./assets/fonts.css");

:root {
  --ink: #130f5a;
  --text: #242238;
  --muted: #5d5a68;
  --paper: #fdfcf9;
  --line: #e5e1dc;
  --brown: #5d3d1c;
  --teal: #89c3bf;
  --serif: "Source Serif Pro", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --width: 1160px;
  --gutter: clamp(18px, 5vw, 68px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { margin: 0; min-width: 0; color: var(--text); background: var(--paper); font: 1rem/1.6 var(--sans); }
img { display: block; width: 100%; height: auto; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
::selection { color: var(--ink); background: #cce7e3; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(calc(-100% - 12px)); padding: 10px 16px; color: white; background: var(--ink); }
.skip:focus { transform: none; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--width)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); background: #fffefa; }
.head { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.logo { display: block; flex: 0 0 auto; width: 178px; }
.logo img { aspect-ratio: 315 / 90; object-fit: contain; }
.menu { display: flex; align-items: stretch; gap: clamp(20px, 3.35vw, 48px); }
.menu a { display: inline-flex; align-items: center; min-height: 48px; position: relative; text-decoration: none; color: var(--muted); font-size: .74rem; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .12em; }
.menu a:hover, .menu [aria-current] { color: var(--ink); }
.menu [aria-current]::after { content: ""; width: 100%; height: 2px; background: var(--teal); position: absolute; bottom: 6px; left: 0; }
h1,h2,h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.08; margin: 0; }
h1 { font-size: clamp(3.65rem, 6.5vw, 6rem); letter-spacing: -.062em; }
h2 { font-size: clamp(2.35rem, 4vw, 4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -.025em; }
p { margin: 0; }
.eyebrow { font: 700 .71rem/1.45 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.intro { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.13rem); max-width: 60ch; }
.arrow { flex: none; font-family: Arial, sans-serif; font-weight: 400; line-height: 1; font-size: 1.17em; }
.arrow.outbound { transform: rotate(-45deg); }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 48px; border: 1px solid var(--ink); padding: 10px 17px; border-radius: 4px; color: white; background: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 700; transition: background-color .18s, color .18s, border-color .18s; text-align: center; }
.button:hover { background: #302a72; border-color: #302a72; }
.button.secondary { color: var(--ink); background: transparent; border-color: #b4b1c4; }
.button.secondary:hover { background: #eeecf6; border-color: var(--ink); }
.action-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--ink); text-decoration-color: #adaabd; text-underline-offset: 5px; font-weight: 700; font-size: .86rem; }
.action-link:hover { text-decoration-color: var(--ink); }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr); align-items: center; gap: clamp(35px, 8vw, 115px); padding-block: clamp(58px, 7.4vw, 102px); }
.hero-copy > * + * { margin-top: 24px; }
.hero-copy .eyebrow { display: flex; gap: 12px; align-items: center; color: var(--brown); }
.hero-copy .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brown); }
.home-hero h1 em { display: block; font-weight: 400; }
.home-hero .question { font: 400 clamp(1.15rem, 2vw, 1.47rem)/1.43 var(--serif); max-width: 32ch; }
.home-hero .intro { max-width: 48ch; }
.home-hero .actions { margin-top: 28px; }
.hero-photo { margin: 0; padding: 20px 0 0 20px; position: relative; width: min(100%, 360px); justify-self: center; }
.hero-photo::before { position: absolute; inset: 0 20px 20px 0; border: 1px solid #c5b7aa; content: ""; pointer-events: none; }
.hero-photo img { position: relative; aspect-ratio: .84; object-fit: cover; object-position: center 34%; background: #ede9ea; }
.section { padding-block: clamp(48px, 6.3vw, 88px); }
.work { background: #f5f3ef; border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 31px; }
.section-head .intro { max-width: 37ch; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.card { border: 1px solid var(--line); background: #fffefa; }
.card-media { display: block; overflow: hidden; background: var(--project-soft); }
.card-media img { aspect-ratio: 1.68; object-fit: cover; object-position: 50% 52%; transition: transform .25s; }
.card-media:hover img { transform: scale(1.035); }
.card-body { padding: clamp(17px, 2.5vw, 31px); }
.card-body h3 { font-size: clamp(1.9rem, 2.7vw, 2.65rem); }
.card-body .eyebrow { margin-block: 13px 8px; color: var(--project-ink); }
.card-body .action-link { margin-top: 9px; }
.even { --project-ink: #245452; --project-soft: #deefeb; --project-line: #b4d7d1; --project-label: #89c3bf; }
.mch { --project-ink: #5d3d1c; --project-soft: #f1e8dd; --project-line: #e1cbb7; --project-label: #ae8362; }
.method { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 7vw, 86px); }
.method .intro { margin-top: 18px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 58px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-inline: 0 5px; font: 600 1.35rem/1.2 var(--serif); color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 400 1.35rem/1 var(--sans); color: var(--brown); }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { max-width: 53ch; padding: 0 20px 18px 0; color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding-block: 31px; background: #fffefa; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.foot small { color: var(--muted); font-size: .81rem; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { font: 700 .82rem var(--sans); text-decoration-color: #c1bdc9; text-underline-offset: 4px; padding-block: 10px; }
.back { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 700; font-size: .84rem; color: var(--ink); text-decoration: none; }
.back:hover { text-decoration: underline; text-underline-offset: 5px; }
.case-hero { padding-block: 28px clamp(42px, 6vw, 74px); background: var(--project-soft); border-bottom: 1px solid var(--project-line); }
.case-hero .eyebrow { color: var(--project-ink); }
.case-grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(27px, 6vw, 74px); align-items: center; margin-top: 21px; }
.case-title { margin-block: 13px 13px; }
.case-subtitle { font: 600 clamp(1.42rem, 2.65vw, 2.25rem)/1.13 var(--serif); color: var(--ink); }
.case-grid .intro { margin-top: 18px; }
.case-grid .actions { margin-top: 22px; }
.case-cover { margin: 0; }
.case-cover img { aspect-ratio: 1.30; object-fit: cover; background: var(--project-line); }
.index { position: sticky; z-index: 2; top: 0; background: #fffefa; border-bottom: 1px solid var(--line); }
.index-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(14px, 4vw, 39px); }
.index a { display: inline-flex; align-items: center; min-height: 48px; font-size: .85rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.index a:hover { text-decoration: underline; text-underline-offset: 5px; }
.case-body .section + .section { border-top: 1px solid var(--line); }
.case-body .section-head { align-items: start; }
.case-body .section-head .intro { max-width: 53ch; }
.case-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 5vw, 56px); }
.case-copy > * { border-left: 2px solid var(--project-label); padding-left: 18px; }
.case-copy h3 { margin-bottom: 8px; }
.case-copy p { color: var(--muted); max-width: 56ch; }
.swatches { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.swatches li { border: 1px solid var(--line); padding: 12px; color: var(--text); overflow-wrap: anywhere; font-size: .85rem; }
.swatches li span { display: block; background: var(--swatch); height: 42px; margin-bottom: 8px; border: 1px solid #0002; }
.swatches code { display: block; color: var(--muted); font-size: .76rem; }
.gallery-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.gallery-actions button { background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; min-height: 44px; cursor: pointer; color: var(--ink); font-size: .84rem; font-weight: 700; }
.gallery-actions button:hover { border-color: var(--ink); }
.gallery-actions [aria-pressed="true"] { border-color: var(--project-label); background: var(--project-soft); }
.gallery { display: grid; gap: 20px; }
.gallery[data-interactive] { gap: 0; }
.gallery figure { margin: 0; display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr); border: 1px solid var(--line); }
.gallery figure a { display: grid; align-items: center; min-width: 0; padding: clamp(9px, 2vw, 23px); background: var(--project-soft); cursor: zoom-in; }
.gallery figure img { aspect-ratio: 1.55; object-fit: contain; }
.gallery figcaption { align-self: center; padding: clamp(16px, 3.6vw, 42px); }
.gallery figcaption p { color: var(--muted); margin-top: 10px; }
.gallery .zoom-hint { display: inline-block; margin-top: 18px; color: var(--project-ink); font-size: .76rem; font-weight: 700; }
.deliverables { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.deliverables li { background: var(--project-soft); color: var(--project-ink); padding: 7px 12px; border: 1px solid var(--project-line); font-size: .8rem; }
.video { margin-top: 24px; max-width: 720px; }
.video video { display: block; width: 100%; max-height: 490px; background: #241b14; }
.next-project { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding-block: 27px; border-top: 1px solid var(--line); }
.media-dialog { max-width: min(1060px, 95vw); width: 100%; max-height: 92vh; margin: auto; border: 1px solid var(--line); padding: clamp(12px, 2.6vw, 26px); color: var(--text); background: var(--paper); overflow: auto; }
.media-dialog::backdrop { background: #1b183cdb; }
.media-dialog header { background: transparent; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.media-dialog img { max-height: 72vh; object-fit: contain; background: #eeece8; }
.close { cursor: pointer; border: 1px solid var(--line); background: #fffefa; border-radius: 4px; min-height: 44px; padding: 5px 11px; font-size: .83rem; font-weight: 700; }
.contact-hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(30px, 7vw, 80px); min-height: min(650px, 75vh); }
.contact-hero .eyebrow { margin-bottom: 15px; color: var(--brown); }
.contact-hero .intro { margin-top: 19px; }
.contact-box { border: 1px solid var(--line); background: #f5f3ef; padding: clamp(18px, 4.5vw, 46px); }
.contact-box > * + * { margin-top: 14px; }
.contact-box a { overflow-wrap: anywhere; }
.contact-box .copy-status { min-height: 1.3em; font-size: .82rem; color: var(--brown); }
.contact-box .copy-status:empty { margin-block: 0; min-height: 0; }
.contact-box .contact-social { border-top: 1px solid var(--line); padding-top: 8px; }


.motion { --project-ink: #3b346d; --project-soft: #efedf6; --project-line: #dcd6ed; --project-label: #9b90bf; }
.motion-hero { padding-block: clamp(44px, 7vw, 90px); color: #f8f6f3; background: #1a154a; }
.motion-hero .case-grid { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.motion-hero .eyebrow { color: #add3cb; }
.motion-hero h1 { color: #fffefa; font-size: clamp(3rem, 5.1vw, 4.85rem); }
.motion-hero h1 em { display: block; font-weight: 400; }
.motion-hero .intro { color: #e6e3ef; }
.motion-hero .button { margin-top: 22px; background: #fffefa; color: var(--ink); border-color: #fffefa; }
.motion-hero .button:hover { background: #deefeb; border-color: #deefeb; }
.motion-hero :focus-visible { outline-color: #c4e5de; }
.motion-cover { margin: 0; }
.motion-cover img { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #9588bc; background: #242045; }
.motion-cover figcaption { padding-top: 7px; font-size: .75rem; color: #e6e3ef; }
.motion-project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); align-items: start; gap: clamp(22px, 5vw, 60px); }
.motion-text > * + * { margin-top: 12px; }
.motion-text .eyebrow { color: var(--project-ink); }
.motion-text .intro, .motion-text > p:not(.eyebrow) { max-width: 47ch; }
.motion-text .action-link { margin-top: 5px; }
.motion-media { min-width: 0; }
.motion-media > .action-link { margin-top: 5px; }
.motion-media video, .motion-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #191530; }
.motion-player { position: relative; overflow: hidden; }
.motion-player img, .motion-player iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.motion-player .button { position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%); background: #fffefa; color: var(--ink); border-color: #fffefa; white-space: nowrap; }
.motion-player .button:hover { background: #deefeb; border-color: #deefeb; }
.motion-player :focus-visible { outline-color: #c4e5de; }
.motion-making { margin-top: clamp(24px, 4vw, 46px); }
.motion-making .accordion { margin-bottom: 17px; }
.motion-teaser { display: grid; grid-template-columns: clamp(84px, 20vw, 190px) minmax(0, 1fr) auto; align-items: center; gap: clamp(13px, 3vw, 32px); margin-top: 20px; padding: 10px clamp(11px, 2.2vw, 28px) 10px 10px; border: 1px solid var(--line); text-decoration: none; background: #fffefa; color: var(--ink); }
.motion-teaser:hover { border-color: var(--ink); }
.motion-teaser img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.motion-teaser .eyebrow { color: var(--brown); }
.motion-teaser strong { display: block; margin-top: 5px; font: 600 clamp(1.14rem, 2.6vw, 1.85rem)/1.12 var(--serif); }

@media (max-width: 760px) {
  .head { flex-direction: column; align-items: flex-start; min-height: auto; gap: 6px; padding-top: 14px; }
  .logo { width: 142px; }
  .menu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1.35fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; width: 100%; }
  .menu a { justify-content: center; min-height: 44px; padding-inline: 3px; font-size: clamp(.59rem, 2.8vw, .72rem); letter-spacing: .035em; line-height: 1.2; }
  .menu [aria-current]::after { bottom: 0; }
}

@media (max-width: 800px) {
  .home-hero { gap: 33px; }
  .hero-photo { width: min(100%, 302px); }
  .section-head { align-items: start; }
  .case-grid { gap: 32px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 110px; }
  h1 { font-size: clamp(2.7rem, 11.3vw, 4.55rem); }
  .home-hero, .method, .case-grid, .contact-hero, .motion-hero .case-grid, .motion-project { grid-template-columns: 1fr; }
  .home-hero { padding-block: 40px; }
  .hero-copy > * + * { margin-top: 19px; }
  .home-hero .actions { margin-top: 21px; }
  .hero-photo { width: min(54vw, 235px); justify-self: start; margin-left: 3px; padding: 12px 0 0 12px; }
  .hero-photo::before { inset: 0 12px 12px 0; }
  .hero-photo img { aspect-ratio: .94; }
  .section { padding-block: 41px; }
  .section-head { display: grid; gap: 13px; margin-bottom: 23px; }
  .cards { grid-template-columns: 1fr; }
  .case-hero { padding-block: 15px 36px; }
  .case-grid { margin-top: 12px; gap: 24px; }
  .case-cover img { aspect-ratio: 1.47; }
  .case-copy { grid-template-columns: 1fr; }
  .index-inner { column-gap: 12px; }
  .index a { min-height: 44px; font-size: .76rem; }
  .gallery figure { grid-template-columns: 1fr; }
  .gallery figure img { aspect-ratio: 1.55; }
  .gallery-actions { gap: 6px; }
  .gallery-actions button { padding-inline: 10px; }
  .gallery figcaption { padding: 15px; }
  .contact-hero { min-height: auto; }
  .motion-hero { padding-block: 34px; }
  .motion-hero h1 { font-size: clamp(2.5rem, 11.3vw, 4.55rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
