:root {
  --fg-80: rgba(var(--fg-rgb),.8); --fg-70: rgba(var(--fg-rgb),.72); --line: rgba(var(--fg-rgb),.16);
  --display: "TAY Dreamboat", "Arial Black", sans-serif; --text: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --gl: max(clamp(16px, 4.4vw, 64px), env(safe-area-inset-left, 0px)); --gr: max(clamp(16px, 4.4vw, 64px), env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.wrap { padding-left: var(--gl); padding-right: var(--gr); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.mark::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--marker); margin-right: 10px; vertical-align: 1px; }
.skip { position: absolute; left: var(--gl); top: -100px; z-index: 9999; background: var(--fg); color: var(--bg); padding: 8px 16px; font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1; text-wrap: balance; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 501; background: var(--bg); }
nav.site { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 500; height: 72px; display: flex; align-items: center; justify-content: space-between; padding-left: var(--gl); padding-right: var(--gr); transition: background-color .3s var(--ease); }
nav.site.scrolled, nav.site.solid, body.menu-open nav.site { background: rgba(var(--bg-rgb),.97); }
nav.site .logo img { height: 40px; width: auto; }
nav.site ul { display: flex; gap: 32px; }
nav.site ul a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--fg-80); }
nav.site ul a:hover, nav.site ul a[aria-current] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ham { display: none; width: 44px; height: 44px; padding: 13px 10px; background: none; border: 0; color: var(--fg); flex-direction: column; justify-content: space-between; cursor: pointer; }
.ham span { height: 1.5px; background: currentColor; }
.mmenu { position: fixed; z-index: 499; top: calc(64px + env(safe-area-inset-top, 0px)); left: 0; right: 0; background: rgba(var(--bg-rgb),.98); display: flex; flex-direction: column; padding: 8px var(--gr) 24px var(--gl); }
.mmenu a { font-family: var(--display); font-size: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }

.page-head { padding-top: calc(72px + 88px); padding-bottom: 56px; display: grid; gap: 20px; }
.page-head .label { color: var(--soft); }
.page-head h1 { font-size: clamp(40px, 1.4rem + 5vw, 96px); }
.page-head h1 span { color: var(--terra-text); display: block; }

.contact { background: var(--bg); padding-block: 120px 88px; display: grid; grid-template-columns: repeat(12,1fr); gap: 48px 24px; align-items: end; border-top: 1px solid var(--line); }
.contact-left { grid-column: 1 / span 8; display: grid; gap: 32px; justify-items: start; min-width: 0; }
.contact-left > * { max-width: 100%; }
.contact h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 1.6rem + 3.4vw, 72px); line-height: 1; letter-spacing: .02em; }
.contact h2 span { color: var(--terra-text); }
.email-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.email { font-size: clamp(20px, 1rem + 1vw, 28px); font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--marker); overflow-wrap: anywhere; }
.copy-btn { font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); background: none; border: 1px solid rgba(var(--fg-rgb),.4); padding: 0 16px; min-height: 44px; cursor: pointer; }
.copy-btn:hover { border-color: var(--marker); }
.contact-right { grid-column: 10 / span 3; display: grid; gap: 8px; color: var(--fg-80); }
.contact-right .label { color: var(--soft); margin-bottom: 8px; }
footer.site { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--fg-70); }
footer.site a { text-decoration: none; } footer.site a:hover { color: var(--fg); }
footer.site img { height: 34px; width: auto; }

/* work index */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px 24px; padding-bottom: 120px; }
.wcard { display: grid; gap: 16px; text-decoration: none; }
.wcard .m { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--band); }
.wcard img, .wcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.wcard video { opacity: 0; }
.wcard:hover video.ready, .wcard:focus-visible video.ready { opacity: 1; }
.wcard:hover img { transform: scale(1.02); }
.wcard .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.wcard:hover .row { border-top-color: var(--marker); }
.wcard h2 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1rem + 1vw, 28px); letter-spacing: .03em; line-height: 1.1; }
.wcard .meta { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-70); white-space: nowrap; }
.wcard p.b { color: var(--fg-80); font-size: 15px; max-width: 48ch; }
.wcard .client { color: var(--soft); }

/* project */
.p-hero { position: relative; min-height: min(88svh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: var(--band); }
.p-hero .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--bg-rgb),.95) 0%, rgba(var(--bg-rgb),.55) 35%, rgba(var(--bg-rgb),.05) 70%, rgba(var(--bg-rgb),.35) 100%); }
.p-hero .in { position: relative; z-index: 2; width: 100%; padding-bottom: 48px; display: grid; gap: 20px; }
.p-hero .label { color: var(--soft); }
.p-hero h1 { font-size: clamp(36px, 1.4rem + 4.4vw, 88px); }
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: end; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.facts dd { font-size: 15px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(var(--fg-rgb),.45); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.btn:hover { border-color: var(--marker); background: color-mix(in srgb, var(--marker) 18%, transparent); }
.p-body { display: grid; grid-template-columns: repeat(12,1fr); gap: 48px 24px; padding-block: 104px; }
.p-desc { grid-column: 1 / span 7; display: grid; gap: 20px; font-size: clamp(17px, 1rem + .3vw, 20px); line-height: 1.6; }
.p-side { grid-column: 9 / span 4; display: grid; gap: 32px; align-content: start; }
.p-side h2 { color: var(--soft); }
.credits { display: grid; gap: 0; }
.credits div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.credits dt { color: var(--fg-70); }
.credits a { text-decoration: none; border-bottom: 1px solid var(--marker); }
.quote-band { background: var(--band); padding-block: 96px; }
.quote-band blockquote { max-width: 30ch; font-family: var(--display); font-size: clamp(22px, 1rem + 1.7vw, 40px); line-height: 1.08; letter-spacing: .02em; }
.quote-band blockquote::before { content: ""; display: block; width: 40px; height: 4px; background: var(--marker); margin-bottom: 28px; }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft-on-band); }
.press { display: grid; grid-template-columns: repeat(12,1fr); gap: 32px 24px; padding-block: 88px 0; align-items: center; }
.press .laurel { grid-column: 1 / span 3; max-width: 220px; }
.press figure { grid-column: 4 / span 9; display: grid; gap: 16px; }
.press p { font-size: clamp(17px, 1rem + .4vw, 21px); line-height: 1.55; max-width: 60ch; }
.press figcaption { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.testi { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.gallery { padding-block: 104px; }
.gallery h2 { color: var(--soft); margin-bottom: 32px; }
.g { columns: 3 300px; column-gap: 16px; }
.g figure { break-inside: avoid; margin-bottom: 16px; background: var(--band); }
.g img, .g video { width: 100%; height: auto; }
.g figcaption { font-size: 13px; color: var(--fg-70); padding: 10px 2px 2px; background: var(--bg); }
.g figcaption a { border-bottom: 1px solid var(--marker); text-decoration: none; }
.g .alpha { background: var(--fill); padding: 24px; }
.next { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; background: var(--terra-band); color: var(--on-terra); padding-block: 56px; text-decoration: none; }
.next .label { opacity: .9; }
.next h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 1rem + 3vw, 60px); letter-spacing: .02em; line-height: 1; margin-top: 12px; }
.next .arrow { font-size: 32px; transition: transform .4s var(--ease); }
.next:hover .arrow { transform: translateX(8px); }
.ig { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.ig a { text-decoration: none; border-bottom: 1px solid var(--marker); }

/* team */
.t-head { padding-top: calc(72px + 72px); display: grid; grid-template-columns: repeat(12,1fr); gap: 40px 24px; align-items: end; padding-bottom: 88px; }
.t-head > *, .t-body > *, .p-body > *, .contact > *, .press > * { min-width: 0; }
.t-photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; background: var(--band); }
.t-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.t-intro { grid-column: 7 / span 6; display: grid; gap: 24px; }
.t-intro .label { color: var(--soft); }
.t-intro h1 { font-size: clamp(32px, 1rem + 3.2vw, 64px); }
.t-intro > * { min-width: 0; max-width: 100%; }
.t-intro .role { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-80); }
.t-intro .lede { font-size: clamp(17px, 1rem + .4vw, 21px); line-height: 1.55; max-width: 44ch; }
.t-phil { background: var(--terra-band); color: var(--on-terra); padding-block: 64px; }
.t-phil p { font-family: var(--display); font-size: clamp(24px, 1rem + 2vw, 44px); line-height: 1.1; letter-spacing: .02em; max-width: 28ch; }
.t-phil p.label { margin-top: 20px; opacity: .9; font-family: var(--text); font-size: 12px; letter-spacing: .16em; max-width: none; }
.t-body { display: grid; grid-template-columns: repeat(12,1fr); gap: 48px 24px; padding-block: 104px; }
.t-about { grid-column: 1 / span 7; display: grid; gap: 24px; font-size: clamp(17px, 1rem + .3vw, 20px); line-height: 1.6; }
.t-about blockquote { border-left: 2px solid var(--marker); padding-left: 20px; color: var(--fg-80); font-size: 18px; }
.t-about blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.t-disc { grid-column: 9 / span 4; display: grid; gap: 0; align-content: start; }
.t-disc h2 { color: var(--soft); margin-bottom: 12px; }
.t-disc li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.t-disc li b { font-weight: 500; }
.t-disc li span { font-size: 13px; color: var(--fg-70); }
.t-work { padding-bottom: 104px; }
.t-work h2 { color: var(--soft); margin-bottom: 24px; }
.t-work ul { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.t-work a { display: grid; gap: 12px; text-decoration: none; }
.t-work .m { aspect-ratio: 4 / 3; overflow: hidden; background: var(--band); }
.t-work img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.t-work a:hover img { transform: scale(1.03); }
.t-work h3 { font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: .03em; line-height: 1.15; }
.t-work p { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-70); }
.t-work a:hover h3 { text-decoration: underline; text-decoration-color: var(--marker); text-underline-offset: 4px; }
.k-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.k-grid figure { background: var(--band); }
.k-grid img, .k-grid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.k-grid figcaption { padding: 10px 12px 12px; font-size: 13px; color: var(--fg-80); display: flex; justify-content: space-between; gap: 8px; }
.k-grid .pv { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.k-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 24px; margin-top: 8px; }
.k-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.k-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.k-facts dd { margin-top: 4px; font-size: 15px; }
.back { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--marker); }

@media (max-width: 980px) {
  .contact-left, .contact-right, .p-desc, .p-side, .t-photo, .t-intro, .t-about, .t-disc { grid-column: 1 / -1; }
  .press .laurel, .press figure { grid-column: 1 / -1; }
  .t-work ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .k-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .t-photo { max-width: 520px; }
}
@media (max-width: 680px) {
  nav.site { height: 64px; } nav.site ul { display: none; } .ham { display: flex; }
  .contact h2 { font-size: clamp(24px, 7vw, 34px); }
  .t-intro h1 { font-size: clamp(30px, 9vw, 40px); }
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .wcard .row { flex-direction: column; gap: 6px; }
  .page-head { padding-top: calc(64px + 48px); }
  .p-body, .gallery, .t-body { padding-block: 72px; }
  .quote-band { padding-block: 64px; }
  .t-head { padding-top: calc(64px + 32px); padding-bottom: 56px; }
  .k-grid, .k-facts { grid-template-columns: 1fr; }
  .contact { padding-block: 88px 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }

/* De-AI pass (Nov 22): details in sentence case, no square markers, TAY kept short and calm-sized, no full-bleed type bands, no left/right headline splits. */
.label { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mark::before { content: none; display: none; }
.facts dt, .k-facts dt { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.wcard .meta, .t-work p { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.btn, .copy-btn, .back { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.quote-band cite, .press figcaption, .t-about blockquote cite, .k-grid .pv { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.page-head { padding-bottom: 48px; gap: 14px; }
.page-head .label { color: var(--soft); }
.page-head h1 { font-size: clamp(28px, 1rem + 2vw, 44px); line-height: 1.05; max-width: 16ch; margin-left: calc((100% + 24px) / 12); }
.page-head h1 span { display: inline; }
.p-hero h1 { font-size: clamp(28px, 1rem + 2.4vw, 52px); max-width: 18ch; }
.p-hero .label { color: var(--fg-80); }
.t-intro h1 { font-size: clamp(28px, 1rem + 1.6vw, 42px); }
.t-intro .role { font-size: 18px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--soft); margin-top: -12px; }
.t-head { align-items: start; }
.t-intro { padding-top: clamp(0px, 8vw, 120px); }
.t-photo { background: #F3EEE2; padding: 10px 10px 34px; aspect-ratio: auto; overflow: visible; }
.t-photo img { aspect-ratio: 4 / 5; height: auto; }
.t-head { padding-bottom: 72px; }
.t-intro { gap: 18px; }
.phil { display: grid; gap: 10px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 40ch; }
.phil p { font-size: clamp(19px, 1rem + .5vw, 23px); line-height: 1.45; }
.phil p.label { font-size: 14px; color: var(--soft); }
.t-phil { background: none; color: var(--fg); padding-block: 8px 0; }
.t-phil p { font-family: var(--text); font-size: clamp(20px, 1rem + .7vw, 26px); line-height: 1.45; letter-spacing: 0; max-width: 34ch; margin-left: calc((100% + 24px) / 12 * 6); }
.t-phil p.label { margin-top: 14px; font-size: 14px; color: var(--soft); opacity: 1; letter-spacing: 0; }
.quote-band { background: var(--band); }
.quote-band blockquote { font-family: var(--text); font-style: italic; font-size: clamp(20px, 1rem + .8vw, 27px); line-height: 1.42; letter-spacing: 0; max-width: 34ch; margin-left: calc((100% + 24px) / 12 * 5); }
.quote-band blockquote::before { content: none; }
.quote-band cite { font-style: normal; color: var(--soft-on-band); }
.contact { align-items: start; }
.contact-left { grid-column: 1 / span 8; }
.contact h2 { font-size: clamp(26px, 1rem + 1.5vw, 40px); }
.contact .svc { color: var(--fg-80); max-width: 46ch; padding-top: 16px; border-top: 1px solid var(--line); }
.next { padding-block: 40px; }
.next .label { opacity: 1; }
.next h2 { font-size: clamp(22px, 1rem + 1vw, 32px); margin-top: 6px; }
.t-about blockquote { border-left: 0; padding-left: 0; font-style: italic; }
.gallery h2 { margin-left: calc((100% + 24px) / 12 * 2); }
@media (max-width: 980px) {
  .t-phil p, .quote-band blockquote, .page-head h1, .gallery h2 { margin-left: 0; }
  .t-intro { padding-top: 8px; }
  .t-photo { max-width: 440px; }
}
@media (max-width: 680px) { .t-head { padding-bottom: 32px; } .t-body { padding-top: 32px; } }
/* Nov 23: keep Kyle's build grid inside the screen on phones */
.k-grid > * { min-width: 0; }
.k-grid figcaption { flex-wrap: wrap; }
/* Nov 23 slop pass: no cream print frame on profile photos */
.t-photo { background: none; padding: 0; }
.btn.more { margin-top: 24px; background: none; color: var(--fg); font-family: var(--text); cursor: pointer; }
