/* base */
html { color-scheme: light; }
body { margin: 0; }
img, video { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: 1200px column, two views (home, about) sharing nav, contact band and footer.
   White base, soft-black nav and contact bands, solid tan bands for About content.
   Single committed look (white + soft black + tan); no dark mode on purpose. */
:root {
  --white: #FFFFFF;
  --soft-black: #1C1A18;
  --tan: #B2A084;
  --pale: #F6F4F0;
  --line: #E4E0D9;
  --ink-2: #4A4540;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white); color: var(--soft-black);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--soft-black); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--tan); }
.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.inner { padding-inline: calc(var(--gutter) - 16px); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; line-height: 1.1; }
.rule { display: block; width: 56px; height: 3px; background: var(--tan); margin-bottom: 20px; }

/* nav */
.nav { background: var(--soft-black); }
.nav .wrap { padding-block: 22px; }
.nav .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: var(--tan); text-decoration: none; }
.nav ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--tan); text-decoration: none; font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--tan); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 15px/1 var(--body); letter-spacing: .08em; padding: 17px 30px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-tan { background: var(--tan); color: var(--soft-black); }
.btn-tan:hover { background: #C2B197; }
.btn-line { border-color: var(--soft-black); color: var(--soft-black); background: transparent; }
.btn-line:hover { background: var(--soft-black); color: var(--white); }
.btn-dark { background: var(--soft-black); color: var(--white); }
.btn-dark:hover { background: #34302C; }
.link-arrow { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

/* hero */
.hero .inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(48px, 7vw, 72px); font-weight: 400; letter-spacing: -.01em; }
.hero h1 strong { font-weight: 600; display: block; }
.role { font-weight: 500; font-size: 18px; letter-spacing: .04em; margin: 22px 0 0; }
.hero p.lede { color: var(--ink-2); max-width: 52ch; margin: 18px 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.portrait { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; justify-self: center; }
.portrait::before { content: ""; position: absolute; width: 82%; height: 82%; right: -4%; bottom: -4%; border-radius: 50%; background: var(--tan); opacity: .35; }
.portrait img { position: relative; width: 90%; height: 90%; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto; top: 3%; }

/* work */
.work .inner { padding-block: 24px 88px; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.work-head h2 { font-size: clamp(34px, 5vw, 48px); }
.carousel { display: flex; align-items: center; gap: 16px; }
.arrow { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--soft-black); background: var(--white); color: var(--soft-black); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .15s, color .15s; }
.arrow:hover:not(:disabled) { background: var(--soft-black); color: var(--white); }
.arrow:disabled { opacity: .3; cursor: default; }
.track { flex: 1; min-width: 0; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px; margin: -4px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.card { flex: none; width: 280px; scroll-snap-align: start; background: var(--pale); border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 24px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(28,26,24,.45); }
.thumb { position: relative; height: 176px; border-radius: 14px; background: var(--line); overflow: hidden; display: grid; place-items: center; }
.thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb i { position: absolute; border-radius: 50%; background: var(--tan); opacity: .45; }
.thumb i:nth-child(1) { width: 150px; height: 150px; right: -36px; top: -44px; }
.thumb i:nth-child(2) { width: 56px; height: 56px; left: 26px; bottom: 22px; background: var(--soft-black); opacity: .12; }
.thumb span { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.card h3 { font-size: 20px; line-height: 1.3; padding-inline: 4px; }
.card p { margin: 0; padding-inline: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* about teaser on home: solid tan band */
.about { background: var(--tan); color: var(--soft-black); }
.about .inner { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 128px; align-items: center; padding-block: 88px; }
.photo { margin: 0; position: relative; max-width: 420px; }
.photo::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: 20px; background: var(--white); opacity: .38; }
.photo.on-white::before { background: var(--tan); opacity: .55; }
.photo img { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; display: block; }
.about h2 { font-size: clamp(32px, 4.5vw, 44px); line-height: 1.18; margin-bottom: 22px; }
.about p { margin: 0 0 16px; max-width: 56ch; }
.about .btn { margin-top: 12px; }

/* about page */
.bio .inner { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 128px; align-items: center; padding-block: 80px 104px; }
.bio h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 26px; }
.bio p { margin: 0 0 16px; max-width: 58ch; color: var(--ink-2); }
.bio p.lead { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.45; color: var(--soft-black); max-width: none; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--tan); }
.facts { background: var(--tan); }
.facts .inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; padding-block: 80px; }
.facts h2 { font-size: 30px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 3px solid var(--soft-black); display: inline-block; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.facts li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; }
.facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--soft-black); }

/* contact (shared) */
.contact { background: var(--soft-black); color: var(--white); }
.contact .inner { padding-block: 96px; }
.contact h2 { color: var(--tan); font-size: clamp(38px, 6vw, 60px); font-weight: 600; letter-spacing: -.01em; max-width: 14ch; }
.contact p { max-width: 58ch; margin: 22px 0 0; color: #F1EEE9; }
.contact ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; max-width: 62ch; }
.contact li { display: flex; align-items: baseline; gap: 14px; font-weight: 500; }
.contact li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tan); transform: translateY(-2px); }
.contact .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.email { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 17px; }
.copy { font: 500 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: transparent; border: 1px solid #8C8379; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.copy:hover { border-color: var(--tan); color: var(--tan); }

/* reel page */
.reel .inner { padding-block: 56px 88px; }
.reel h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 18px; }
.reel .intro { color: var(--ink-2); max-width: 56ch; margin: 0 0 40px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--soft-black); overflow: hidden; display: grid; place-items: center; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player i { position: absolute; border-radius: 50%; background: var(--tan); opacity: .16; }
.player i:nth-child(1) { width: 40%; aspect-ratio: 1; right: -8%; top: -26%; }
.player i:nth-child(2) { width: 14%; aspect-ratio: 1; left: 6%; bottom: 10%; }
.play { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--tan); display: grid; place-items: center; }
.play::after { content: ""; margin-left: 6px; border-left: 24px solid var(--soft-black); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.player .cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #D8D3CB; }
.reel .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* project page */
.back { display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-decoration: none; margin-bottom: 36px; border-bottom: 1.5px solid var(--soft-black); padding-bottom: 3px; }
.proj-head .inner { padding-block: 56px 48px; }
.proj-head h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 22px; max-width: 18ch; }
.proj-head .summary { font-family: var(--display); font-size: 24px; line-height: 1.45; max-width: 36em; margin: 0; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.meta dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.meta dd { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 500; }
.media { position: relative; overflow: hidden; border-radius: 20px; background: var(--pale); border: 1px solid var(--line); aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; }
.media i { position: absolute; border-radius: 50%; background: var(--tan); opacity: .4; }
.media i:nth-child(1) { width: 38%; aspect-ratio: 1; right: -6%; top: -22%; }
.media i:nth-child(2) { width: 12%; aspect-ratio: 1; left: 7%; bottom: 12%; background: var(--soft-black); opacity: .1; }
.media span { position: relative; padding: 0 24px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.proj-media .inner { padding-block: 0 88px; }
.proj-media .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.proj-media .pair .media { aspect-ratio: 4 / 3; }
.portrait-stage { border-radius: 20px; background: var(--pale); border: 1px solid var(--line); padding: 40px 24px; display: grid; place-items: center; }
.portrait-stage video { display: block; width: auto; height: min(78vh, 720px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; }
.process { background: var(--soft-black); color: var(--white); }
.process .inner { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 40px; padding-block: 96px; }
.vlabel { writing-mode: vertical-rl; transform: rotate(180deg); align-self: start; justify-self: center; margin-top: -6px; font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: .32em; color: var(--tan); }
.stages { display: grid; }
.stage { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-block: 40px; border-top: 1px solid #3A3631; }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage:last-child { padding-bottom: 0; }
.stage h2 { color: var(--tan); font-size: 32px; }
.stage .stack p + p { margin-top: 16px; }
.stage p { margin: 0; max-width: 62ch; color: #F1EEE9; line-height: 1.75; }
.iconwork .inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 88px; }
.iconwork figure { margin: 0; }
.iconwork img { width: 100%; height: auto; display: block; border-radius: 20px; }
.iconwork h2 { font-size: clamp(32px, 4vw, 40px); margin-bottom: 18px; }
.iconwork p { margin: 0; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 900px) { .iconwork .inner { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; } }
.proj-media .pair figure { margin: 0; }
.vid { aspect-ratio: 14 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.vid video { width: 100%; height: 100%; display: block; object-fit: contain; }
.proj-media figcaption { margin-top: 12px; font-weight: 600; font-size: 14px; letter-spacing: .08em; }
.boards .inner { padding-block: 88px; }
.boards h2 { font-size: clamp(32px, 4vw, 40px); margin-bottom: 18px; }
.boards .intro { color: var(--ink-2); max-width: 62ch; margin: 0 0 40px; }
.boards .row { display: grid; gap: 24px; margin-bottom: 24px; align-items: start; }
.boards .row.a { grid-template-columns: 1fr 1fr; }
.boards .row.b { grid-template-columns: 0.6595fr 0.53fr; }
.boards figure { margin: 0; }
.boards img { width: 100%; height: auto; display: block; border-radius: 16px; }
.boards figcaption { margin-top: 10px; font-weight: 600; font-size: 14px; letter-spacing: .08em; }
@media (max-width: 900px) { .boards .inner { padding-block: 56px; } .boards .row.a, .boards .row.b { grid-template-columns: 1fr; } }
.stage p + p { margin-top: 16px; }
/* learning rive page */
.spark { background: var(--tan); color: var(--soft-black); }
.spark .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; padding-block: 88px; align-items: start; }
.spark .rule { background: var(--soft-black); }
.spark h2 { font-size: clamp(32px, 4vw, 40px); }
.spark p { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.5; max-width: 34em; }
.spark p + p { margin-top: 20px; }
.process.solo .inner { grid-template-columns: minmax(0, 1fr); }
.process.solo .stage h2 { font-size: clamp(40px, 5vw, 52px); }
.process.solo .stage { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); }
.chapter .inner { padding-block: 88px 0; }
.chapter .clip { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.chapter .clip video { width: 100%; height: 100%; display: block; object-fit: cover; }
.chapter .txt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; margin-top: 44px; align-items: start; }
.chapter .clip { position: relative; }
.chapter .clip canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.chapter .clip.live canvas { display: block; }
.chapter .clip.live video { visibility: hidden; }
.chapter .clip .try { position: absolute; top: 16px; right: 16px; background: var(--soft-black); color: var(--tan); font-size: 13px; font-weight: 600; letter-spacing: .08em; padding: 8px 14px; border-radius: 999px; pointer-events: none; }
.chapter .clip .try[hidden] { display: none; }
.chapter .kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--ink-2); }
.chapter h2 { font-size: clamp(30px, 3.6vw, 40px); }
.chapter .txt p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.chapter .txt p + p { margin-top: 16px; }
.chapter.last .inner { padding-bottom: 88px; }
@media (max-width: 900px) { .spark .inner, .chapter .txt { grid-template-columns: 1fr; gap: 24px; } }
.proj-end .inner { padding-block: 56px 80px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
@media (max-width: 900px) {
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process .inner { grid-template-columns: 1fr; gap: 24px; padding-block: 64px; }
  .vlabel { writing-mode: horizontal-tb; transform: none; justify-self: start; margin-top: 0; font-size: 22px; letter-spacing: .4em; }
  .stage { grid-template-columns: 1fr; gap: 12px; }
  .proj-media .pair { grid-template-columns: 1fr; }
}

@media (max-width: 900px) { .process.solo .stage { grid-template-columns: 1fr; gap: 28px; justify-items: start; text-align: left; } .process.solo .stage h2 { text-align: left; } }

/* projects page */
.projects .inner { padding-block: 72px 96px; }
.projects h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 18px; }
.projects .intro { color: var(--ink-2); max-width: 56ch; margin: 0 0 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { font: 600 13px/1 var(--body); letter-spacing: .06em; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--soft-black); background: transparent; color: var(--soft-black); cursor: pointer; transition: background-color .15s, color .15s; }
.chip:hover { background: var(--pale); }
.chip[aria-pressed="true"] { background: var(--soft-black); color: var(--white); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid .card { width: auto; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-inline: 4px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .projects .inner { padding-block: 48px 64px; } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

/* contact page */
.cpage .inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 96px; align-items: start; padding-block: 80px 104px; }
.cpage h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 26px; }
.cpage p { margin: 0 0 16px; max-width: 58ch; color: var(--ink-2); }
.cpage ul { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; gap: 12px; max-width: 62ch; }
.cpage li { display: flex; align-items: baseline; gap: 14px; font-weight: 500; }
.cpage li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--soft-black); transform: translateY(-2px); }
.cpage .email { margin-top: 12px; }
.cpage .copy { color: var(--soft-black); border-color: var(--soft-black); }
.cpage .copy:hover { background: var(--pale); color: var(--soft-black); border-color: var(--soft-black); }
.book { background: var(--tan); border-radius: 20px; padding: 40px 36px; }
.book h2 { font-size: 32px; margin-bottom: 14px; }
.book p { color: var(--soft-black); margin-bottom: 24px; }
.book .note { font-size: 14px; margin: 16px 0 0; }
@media (max-width: 900px) { .cpage .inner { grid-template-columns: 1fr; gap: 48px; padding-block: 56px 72px; } }

footer { background: var(--soft-black); color: #D8D3CB; font-size: 13px; border-top: 1px solid #34302C; }
footer .inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px 30px; }

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .hero .inner { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 56px; }
  .portrait { order: -1; max-width: 300px; }
  .about .inner, .bio .inner { grid-template-columns: 1fr; gap: 56px; padding-block: 64px; }
  .photo { margin-right: 28px; }
  .facts .inner { grid-template-columns: 1fr; gap: 40px; padding-block: 56px; }
  .contact .inner { padding-block: 72px; }
  .nav ul { gap: 22px; }
}
@media (max-width: 520px) {
  .arrow { display: none; }
  .card { width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
