:root {
  color-scheme: light;
  --bg: #f4f3f0;
  --surface: #ffffff;
  --surface-muted: #deddd9;
  --text: #101010;
  --muted: #696966;
  --line: rgba(16, 16, 16, 0.16);
  --pill: rgba(16, 16, 16, 0.075);
  --pill-hover: rgba(16, 16, 16, 0.13);
  --accent: #b84d20;
  --accent-soft: rgba(184, 77, 32, 0.13);
  --inverse: #ffffff;
  --radius-card: 24px;
  --gutter: clamp(14px, 1.55vw, 30px);
  --header-height: 92px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11110f;
  --surface: #1b1b18;
  --surface-muted: #292926;
  --text: #f1f0ed;
  --muted: #aaa9a3;
  --line: rgba(255, 255, 255, 0.18);
  --pill: rgba(255, 255, 255, 0.09);
  --pill-hover: rgba(255, 255, 255, 0.15);
  --accent: #f47a42;
  --accent-soft: rgba(244, 122, 66, 0.16);
  --inverse: #101010;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: .008em;
  transition: background-color 240ms ease, color 240ms ease;
}
body.dialog-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 12px;
  top: 10px;
  padding: 9px 14px;
  border-radius: 99px;
  color: var(--inverse);
  background: var(--text);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
  padding: 21px var(--gutter);
  background: var(--bg);
}
.header-main { display: contents; }
.wordmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}
.wordmark img { display: block; width: clamp(112px, 9vw, 142px); height: auto; }
[data-theme="dark"] .wordmark img { filter: invert(1); }
.header-actions { display: flex; align-items: center; gap: 7px; margin-left: auto; order: 1; }
.header-rail-wrap { min-width: 0; order: 0; }
.header-rail { display: flex; align-items: center; gap: 7px; }
body[data-page="about"] .header-rail-wrap { display: block; }
.pill, .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: var(--pill);
  font-size: 13px;
  font-weight: 560;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.pill:hover, .theme-toggle:hover { background: var(--pill-hover); }
.pill:active, .theme-toggle:active { transform: scale(.975); }
.pill.is-active, .pill-strong {
  color: var(--inverse);
  background: var(--text);
}
.pill.is-active:hover, .pill-strong:hover { background: var(--text); }
.theme-toggle { width: 38px; padding: 0; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: none; }
[data-theme="dark"] .theme-moon { display: block; }
.menu-toggle { display: none; }
.mobile-only { display: none; }

.work-main { padding: 4px var(--gutter) 80px; }
.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
  align-items: end;
  gap: 36px;
  padding: clamp(34px, 5vw, 74px) 4px clamp(30px, 4vw, 58px);
}
.work-intro h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 126px);
  font-weight: 560;
  line-height: .92;
  letter-spacing: normal;
}
.work-intro p {
  max-width: 480px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.5;
  text-wrap: balance;
}
.work-intro p,
.branding-heading p,
.video-editing-hero > p:last-child,
.about-bio {
  padding-left: 17px;
  background: linear-gradient(var(--accent), var(--accent)) left .32em / 2px 28px no-repeat;
}
.project-grid { columns: 4; column-gap: 12px; }
.project-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
  break-inside: avoid;
  vertical-align: top;
}
.project-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.project-media {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--radius-card);
  clip-path: inset(0 round var(--radius-card));
  background: var(--surface-muted);
  isolation: isolate;
}
.project-media img,
.project-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 520ms var(--ease);
}
.project-trigger:hover :is(img, video),
.project-trigger:focus-visible :is(img, video) { transform: scale(1.025); }
.js .project-card.is-pending { opacity: 0; transform: translateY(12px) scale(.992); }
.js .project-card.is-ready { opacity: 1; transform: none; transition: opacity 520ms var(--ease), transform 560ms var(--ease); transition-delay: var(--delay, 0ms); }
.project-card[hidden] { display: none; }
.noscript-note { padding: 30px 4px; color: var(--muted); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 var(--gutter);
  padding: 25px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a:hover { color: var(--accent); }

/* Project preview */
.project-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  color: var(--text);
  background: transparent;
  opacity: 0;
  transition: opacity 260ms ease, overlay 260ms ease allow-discrete, display 260ms ease allow-discrete;
}
.project-dialog[open] { opacity: 1; }
.project-dialog.is-closing { opacity: 0; }
.project-dialog.is-closing .preview-panel { transform: translateY(12px) scale(.99); }
@starting-style { .project-dialog[open] { opacity: 0; } }
.project-dialog::backdrop {
  background: rgba(6, 6, 5, .62);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  transition: opacity 260ms ease, overlay 260ms ease allow-discrete, display 260ms ease allow-discrete;
}
.project-dialog[open]::backdrop { opacity: 1; }
@starting-style { .project-dialog[open]::backdrop { opacity: 0; } }
.preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 25vw, 390px);
  width: min(1480px, 100%);
  height: min(760px, calc(100dvh - 72px));
  min-height: 0;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 35px 90px rgba(0,0,0,.32);
  transform: translateY(12px) scale(.99);
  transition: transform 360ms var(--ease);
}
.project-dialog[open] .preview-panel { transform: none; }
.preview-gallery {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 14px;
  background: var(--surface-muted);
  scrollbar-width: thin;
}
.preview-gallery:focus-visible { outline-offset: -4px; }
.gallery-item {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-muted), var(--text) 4%);
}
.gallery-item :is(img, video) { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.gallery-row .gallery-item { margin: 0; }
.gallery-row :is(img, video) { height: min(62vh, 720px); }
.preview-info { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--surface); }
.preview-info-scroll { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: clamp(24px, 2.4vw, 38px); }
.preview-category { align-self: flex-start; min-height: 31px; padding: 0 13px; color: var(--accent); background: var(--accent-soft); cursor: default; }
.preview-info h2 { margin: 18px 0 11px; font-size: clamp(25px, 2.15vw, 36px); line-height: 1; letter-spacing: normal; }
.preview-summary { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.project-facts { margin: 24px 0 0; }
.project-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.project-facts div[hidden] { display: none; }
.project-facts dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.project-facts dd { margin: 0; font-size: 13px; }
.preview-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.share-button { gap: 7px; }
.share-button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.preview-conversion { margin-top: auto; padding-top: 26px; }
.preview-conversion p { margin: 0 0 10px; font-size: 13px; }
.conversation-button { width: 100%; min-height: 50px; }
.preview-pagination { position: sticky; z-index: 2; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; flex: 0 0 auto; gap: 8px; margin-top: 14px; padding: 8px 0 2px; background: var(--surface); }
.preview-close {
  position: fixed;
  z-index: 4;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,.15);
  cursor: pointer;
}
.preview-close svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.preview-close:focus { outline: none; }
.preview-close:focus-visible { box-shadow: 0 0 0 3px #111, 0 0 0 5px #fff; }
.preview-mobile-header, .sheet-handle, .preview-mobile-controls { display: none; }

/* Branding */
.branding-main {
  min-height: calc(100vh - 180px);
  padding: 4px var(--gutter) 80px;
}
.branding-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr);
  align-items: end;
  gap: 36px;
  padding: clamp(34px, 5vw, 74px) 4px clamp(30px, 4vw, 58px);
}
.branding-heading h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 126px);
  font-weight: 560;
  line-height: .88;
  letter-spacing: normal;
}
.branding-heading p {
  max-width: 420px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.5;
  text-wrap: balance;
}
.branding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1500px);
}
.branding-card { min-width: 0; }
.branding-card > a { display: block; }
.branding-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-card);
  clip-path: inset(0 round var(--radius-card));
  background: var(--surface-muted);
  isolation: isolate;
}
.branding-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 520ms var(--ease);
}
.branding-card a:hover .branding-card-media img,
.branding-card a:focus-visible .branding-card-media img { transform: scale(1.025); }
.branding-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 8px 4px;
}
.branding-card-meta strong { min-width: 0; overflow: hidden; font-size: 15px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.branding-card-meta > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

/* Website design */
.website-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.website-card { min-width: 0; }
.website-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.website-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--website-ratio, 2880 / 1600);
  border-radius: var(--radius-card);
  clip-path: inset(0 round var(--radius-card));
  background: var(--surface-muted);
  isolation: isolate;
}
.website-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 520ms var(--ease);
}
.website-card button:hover .website-card-media img,
.website-card button:focus-visible .website-card-media img { transform: scale(1.018); }
.website-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 8px 4px;
}
.website-card-meta strong { min-width: 0; overflow: hidden; font-size: 15px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.website-card-meta > span { flex: 0 0 auto; color: var(--muted); font-size: 13px; }

.website-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  overflow: hidden;
}
.website-dialog::backdrop { background: rgba(7, 7, 7, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.website-dialog-panel {
  display: flex;
  flex-direction: column;
  width: min(94vw, 1640px);
  height: min(90dvh, 940px);
  margin: 5dvh auto 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 24px 100px rgba(0, 0, 0, .32);
}
.website-dialog-toolbar { position: relative; display: flex; align-items: center; gap: 24px; min-height: 68px; padding: 12px 14px 12px 24px; border-bottom: 1px solid var(--line); }
.website-dialog-toolbar h2 { min-width: 0; margin: 0; overflow: hidden; font-size: 17px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.website-dialog-actions { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.website-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: var(--pill);
  cursor: pointer;
}
.website-close:hover { background: var(--pill-hover); }
.website-close svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.website-dialog-stage { position: relative; flex: 1 1 auto; min-height: 0; padding: 12px; background: #171717; }
.website-dialog-stage img { position: absolute; inset: 12px; display: block; width: calc(100% - 24px); height: calc(100% - 24px); max-width: none; max-height: none; border-radius: 14px; object-fit: contain; opacity: 1; transition: opacity 150ms ease; }
.website-dialog-stage img.is-loading { opacity: 0; }

/* Video editing */
.video-editing-main { --editing-pad: clamp(38px, 6vw, 90px); padding: 4px var(--gutter) 24px; }
.video-editing-main > section { margin-top: 12px; }
.video-editing-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(380px, 52vh, 560px);
  padding: var(--editing-pad);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.video-editing-hero h1 { max-width: 1080px; margin: 0; font-size: clamp(40px, 6vw, 96px); font-weight: 560; line-height: 1.04; letter-spacing: normal; }
.video-editing-hero > p:last-child { max-width: 720px; margin: clamp(32px, 5vw, 62px) 0 0; color: var(--muted); font-size: clamp(18px, 1.7vw, 26px); line-height: 1.42; }
.editing-section-heading { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(280px, .48fr); align-items: end; gap: clamp(40px, 7vw, 120px); }
.editing-section-heading h2,
.editing-types h2,
.editing-process h2,
.editing-cta h2 { margin: 0; font-size: clamp(44px, 6vw, 92px); font-weight: 560; line-height: .94; letter-spacing: normal; }
.editing-section-heading > p:last-child { max-width: 420px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; }
.editing-work { padding: var(--editing-pad); border-radius: var(--radius-card); background: var(--surface); }
.editing-work .editing-section-heading { display: flex; justify-content: center; text-align: center; }
.editing-work .editing-section-heading h2 { max-width: 1080px; margin: 0 auto; font-size: clamp(38px, 4.7vw, 72px); line-height: 1.02; text-align: center; }
.reveal-word { opacity: var(--reveal-opacity, 1); transition: opacity 90ms linear; }
.js [data-scroll-reveal].is-ready .reveal-word { will-change: opacity; }
.video-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(36px, 4vw, 64px) 16px; margin-top: clamp(60px, 8vw, 112px); }
.video-work-card { display: flex; min-width: 0; flex-direction: column; }
.video-work-link { display: flex; height: 100%; flex-direction: column; cursor: pointer; }
.video-work-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  clip-path: inset(0 round var(--radius-card));
  background: var(--surface-muted);
  isolation: isolate;
}
.video-work-media :is(video, .video-work-image) { display: block; width: 100%; height: 100%; object-fit: cover; background: #171717; transition: transform 440ms var(--ease); }
.video-work-media[data-source-ratio="4/5"] :is(video, .video-work-image) { width: auto; max-width: 100%; aspect-ratio: 4 / 5; margin: 0 auto; object-fit: cover; background: var(--surface-muted); }
.video-work-placeholder { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; color: #161616; background: #d8d7d3; transition: transform 440ms var(--ease); }
.video-work-placeholder.placeholder-2,
.video-work-placeholder.placeholder-4 { color: #f4f3f0; background: #20201e; }
.video-work-placeholder.placeholder-3 { background: #c9c8c4; }
.video-placeholder-frame { position: absolute; inset: 11%; overflow: hidden; border: 1px solid currentColor; border-radius: 15px; opacity: .46; }
.video-placeholder-object { position: absolute; left: 8%; top: 16%; width: 46%; height: 68%; border-radius: 12px; background: currentColor; opacity: .24; }
.video-placeholder-line { position: absolute; right: 8%; height: 7px; border-radius: 10px; background: currentColor; opacity: .62; }
.video-placeholder-line.line-one { top: 38%; width: 30%; }
.video-placeholder-line.line-two { top: 48%; width: 22%; }
.video-placeholder-slot,
.video-placeholder-duration { position: absolute; z-index: 1; top: 18px; left: 20px; font-size: 9px; font-weight: 560; text-transform: uppercase; letter-spacing: .1em; }
.video-placeholder-duration { inset: auto 20px 18px auto; }
.video-work-card:hover .video-work-media :is(video, .video-work-image, .video-work-placeholder),
.video-work-link:focus-visible .video-work-media :is(video, .video-work-image, .video-work-placeholder) { transform: scale(1.018); }
.video-work-meta { display: flex; height: 108px; flex-direction: column; padding: 15px 4px 0; }
.video-work-meta.is-compact { height: 76px; }
.video-work-title { transition: transform 220ms var(--ease); }
.video-work-card:hover .video-work-title { transform: translateY(-2px); }
.video-work-title p { margin: 0 0 5px; color: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.video-work-title h3 { margin: 0; overflow: hidden; font-size: clamp(19px, 1.65vw, 26px); font-weight: 560; line-height: 1.14; letter-spacing: normal; text-overflow: ellipsis; white-space: nowrap; }
.video-work-facts { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; color: var(--muted); font-size: 11px; }
.video-work-facts strong { color: var(--text); font-weight: 560; }
.video-work-noscript { margin: 32px 0 0; color: var(--muted); }
.editing-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.editing-capabilities article { display: flex; min-height: 350px; flex-direction: column; align-items: center; justify-content: center; padding: clamp(30px, 3.3vw, 50px); border-radius: var(--radius-card); background: var(--surface); text-align: center; }
.editing-capabilities h2 { min-height: 0; margin: 0 0 20px; font-size: clamp(25px, 2.15vw, 34px); font-weight: 560; line-height: 1.05; letter-spacing: normal; white-space: nowrap; }
.editing-capabilities p { min-height: 0; max-width: 410px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; text-wrap: balance; }
.editing-types,
.editing-process { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 140px); padding: var(--editing-pad); border-radius: var(--radius-card); background: var(--surface); }
.editing-types ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: end; margin: 0; padding: 0; list-style: none; }
.editing-types li { padding: 15px 0; font-size: clamp(16px, 1.4vw, 21px); }
.editing-types li:nth-child(odd) { margin-right: 20px; }
.editing-experience { padding: var(--editing-pad); border-radius: var(--radius-card); background: var(--surface); }
.creator-experience-list { display: grid; gap: 12px; margin-top: clamp(60px, 8vw, 112px); }
.creator-experience-row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) minmax(120px, 160px) 112px;
  align-items: center;
  gap: 24px;
  min-height: 136px;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--surface-muted);
  transition: background 180ms ease;
}
.creator-experience-row:hover { background: var(--pill-hover); }
.creator-avatar { position: relative; display: grid; place-items: center; overflow: hidden; width: 64px; height: 64px; border-radius: 50%; color: var(--text); background: var(--surface-muted); transition: transform 220ms var(--ease); }
.creator-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 180ms ease; }
.creator-avatar.has-image img { opacity: 1; }
.creator-avatar.has-image .creator-initials { opacity: 0; }
.creator-initials { font-size: 17px; font-weight: 560; letter-spacing: normal; }
.creator-identity { min-width: 0; }
.creator-experience-row h3 { margin: 0; font-size: clamp(23px, 2vw, 32px); font-weight: 560; line-height: 1; letter-spacing: normal; }
.creator-experience-row p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.creator-cta { display: inline-flex; align-items: center; justify-self: start; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--pill); font-size: 13px; font-weight: 560; transition: background 180ms ease, transform 220ms var(--ease); }
.creator-cta-arrow { color: var(--muted); font-size: 15px; }
.creator-views { display: flex; width: 112px; flex-direction: column; align-items: flex-start; }
.creator-views strong { font-size: clamp(34px, 3.4vw, 50px); font-weight: 600; line-height: .88; letter-spacing: normal; }
.creator-views span { margin-top: 9px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.creator-experience-row:hover .creator-avatar { transform: scale(1.02); }
.creator-experience-row:hover .creator-cta { background: var(--pill-hover); transform: translateX(3px); }
.editing-process { grid-template-columns: minmax(300px, .7fr) minmax(0, 1fr); }
.editing-process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: end; gap: 0 28px; }
.editing-process-grid article { display: flex; min-height: 230px; flex-direction: column; padding: 22px 0 26px; }
.editing-process-grid h3 { margin: auto 0 12px; font-size: clamp(23px, 2vw, 31px); font-weight: 560; line-height: 1.05; letter-spacing: normal; }
.editing-process-grid p { min-height: 48px; max-width: 330px; margin: 0; color: var(--muted); line-height: 1.55; }
.editing-applications { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); padding: var(--editing-pad); border-radius: var(--radius-card); background: var(--surface); }
.editing-applications h2 { max-width: 520px; margin: 0; font-size: clamp(42px, 5vw, 78px); font-weight: 560; line-height: .96; letter-spacing: normal; }
.editing-applications ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: end; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.editing-applications li { display: flex; align-items: center; gap: 14px; min-height: 76px; font-size: clamp(16px, 1.35vw, 21px); }
.editing-applications img { width: 36px; height: 36px; flex: 0 0 36px; }
[data-theme="dark"] .editing-applications img { filter: invert(1); }
.editing-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding: var(--editing-pad); border-radius: var(--radius-card); color: var(--inverse); background: var(--text); }
.editing-cta h2 { max-width: 900px; }
.editing-cta > div > p:last-child { max-width: 580px; margin: 38px 0 0; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.5; opacity: .66; }
.editing-cta-actions { display: flex; align-items: center; gap: 8px; }
.editing-cta-actions [hidden] { display: none !important; }
.editing-cta .pill { min-height: 46px; padding: 0 20px; color: var(--inverse); background: rgba(127,127,127,.2); }
.editing-cta .pill-strong { color: var(--text); background: var(--inverse); }
body[data-page="video-editing"] .site-footer { border-top: 0; }

/* Branding case study */
.case-study-main { padding: 4px var(--gutter) 100px; }
.case-study-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .68fr);
  align-items: end;
  gap: clamp(38px, 7vw, 120px);
  min-height: clamp(430px, 62vh, 700px);
  padding: clamp(36px, 5vw, 76px);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.case-study-kicker {
  margin: 0 0 clamp(22px, 4vw, 46px);
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.case-study-intro h1 {
  margin: 0;
  font-size: clamp(70px, 10vw, 160px);
  font-weight: 560;
  line-height: .82;
  letter-spacing: normal;
}
.case-study-summary > p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.42;
  letter-spacing: normal;
}
.case-study-summary dl { margin: clamp(34px, 5vw, 58px) 0 0; }
.case-study-summary dl div { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.case-study-summary dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.case-study-summary dd { margin: 0; font-size: 13px; }
.case-study-gallery { display: grid; gap: 12px; margin-top: 12px; }
.case-study-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.case-study-frame {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: var(--radius-card);
  clip-path: inset(0 round var(--radius-card));
  background: var(--surface-muted);
  isolation: isolate;
}
.case-study-frame :is(img, video) { display: block; width: 100%; height: auto; }
.case-study-frame video { background: #111; }
.case-study-end { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(42px, 6vw, 78px) 4px 0; }

/* About */
.about-main { max-width: 1480px; min-height: calc(100vh - 180px); margin: 0 auto; padding: clamp(62px, 9vw, 140px) clamp(24px, 9vw, 150px) 120px; }
.about-profile { max-width: 820px; }
.about-profile h1 { margin: 0; font-size: clamp(56px, 7vw, 92px); font-weight: 560; line-height: .95; letter-spacing: normal; }
.about-bio { max-width: 760px; margin: 38px 0 0; color: var(--muted); font-size: clamp(19px, 2vw, 27px); line-height: 1.48; letter-spacing: .004em; }
.contact-links { margin-top: clamp(70px, 9vw, 120px); scroll-margin-top: 12px; border-top: 1px solid var(--line); }
.contact-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-links span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.contact-links strong { font-size: 15px; font-weight: 560; text-align: right; }
.contact-links a:hover strong { color: var(--accent); opacity: 1; }

@media (max-width: 1180px) {
  .project-grid { columns: 3; }
  .preview-panel { grid-template-columns: minmax(0, 1fr) 330px; }
  .branding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  :root { --header-height: auto; }
  .site-header { display: block; min-height: 0; padding: 15px var(--gutter) 11px; }
  .header-main { display: flex; align-items: center; min-height: 38px; }
  .header-actions { display: none; }
  .menu-toggle {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--text);
    background: var(--pill);
    cursor: pointer;
  }
  .menu-toggle span { position: absolute; left: 11px; width: 16px; height: 1.5px; background: currentColor; transition: transform 220ms var(--ease), top 220ms var(--ease); }
  .menu-toggle span:first-child { top: 15px; }
  .menu-toggle span:last-child { top: 22px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 18.5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { top: 18.5px; transform: rotate(-45deg); }
  .header-rail-wrap { position: relative; margin-top: 11px; }
  body[data-page="about"] .header-rail-wrap { display: block; }
  .header-rail-wrap::after { content: ""; position: absolute; z-index: 2; inset: 0 0 0 auto; width: 50px; background: linear-gradient(90deg, transparent, var(--bg)); pointer-events: none; }
  .header-rail { overflow-x: auto; padding-right: 45px; scrollbar-width: none; transition: max-height 220ms ease, opacity 180ms ease, margin 220ms ease; }
  .header-rail::-webkit-scrollbar { display: none; }
  .header-rail-wrap.is-collapsed { margin-top: 0; }
  .header-rail-wrap.is-collapsed .header-rail { max-height: 0; opacity: 0; pointer-events: none; }
  .header-rail-wrap:not(.is-collapsed) .header-rail { max-height: 44px; opacity: 1; }
  .mobile-only { display: inline-flex; }
  .work-main { padding-top: 5px; }
  .work-intro { grid-template-columns: 1fr; gap: 22px; }
  .branding-main { padding-top: 5px; }
  .branding-heading { grid-template-columns: 1fr; gap: 22px; }
  .branding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .website-grid { grid-template-columns: 1fr; }
  .website-dialog-panel { width: 100%; height: 100dvh; margin: 0; border-radius: 0; }
  .website-dialog-stage { padding: 10px; }
  .video-editing-main { padding-top: 5px; }
  .video-editing-hero { min-height: 380px; padding: clamp(34px, 8vw, 58px); }
  .editing-section-heading { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .editing-section-heading > p:last-child { margin-top: 10px; }
  .editing-capabilities { grid-template-columns: 1fr; }
  .editing-capabilities article { min-height: 280px; }
  .editing-types,
  .editing-process { grid-template-columns: 1fr; }
  .creator-experience-row { grid-template-columns: 64px minmax(130px, 1fr) auto 90px; gap: 16px; padding: 16px; }
  .creator-views { width: 90px; }
  .editing-applications { grid-template-columns: 1fr; }
  .editing-cta { grid-template-columns: 1fr; align-items: start; }
  .editing-cta-actions { justify-content: flex-start; }
  .case-study-main { padding-top: 5px; }
  .case-study-intro { grid-template-columns: 1fr; min-height: 0; padding: clamp(34px, 8vw, 58px); }
  .case-study-summary { max-width: 640px; }
  .case-study-pair { grid-template-columns: 1fr; }
  .project-grid { columns: 2; column-gap: 10px; }
  .project-card { margin-bottom: 10px; }
  .site-footer { align-items: flex-start; }

  .project-dialog { padding: 0; }
  .project-dialog::backdrop { background: rgba(5,5,5,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .preview-mobile-header { position: fixed; z-index: 6; top: 0; left: 0; right: 0; display: flex; align-items: center; height: 60px; padding: 0 var(--gutter); color: #fff; background: linear-gradient(rgba(0,0,0,.72), transparent); }
  .preview-mobile-header .wordmark img { width: 112px; filter: invert(1); }
  .preview-menu-button { position: relative; width: 38px; height: 38px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; color: #111; background: #fff; }
  .preview-menu-button span { position: absolute; top: 18px; left: 11px; width: 16px; height: 1.5px; background: currentColor; }
  .preview-menu-button span:first-child { transform: translateY(-3px); }
  .preview-menu-button span:last-child { transform: translateY(3px); }
  .preview-close { display: none; }
  .preview-panel { display: block; width: 100%; height: 100%; border-radius: 0; background: transparent; box-shadow: none; }
  .preview-gallery { height: 100%; padding: 62px 10px 294px; background: #131313; touch-action: pan-y pinch-zoom; }
  .gallery-item { border-radius: 8px; background: #292929; }
  .gallery-row { display: block; margin: 0; }
  .gallery-row .gallery-item { margin-bottom: 10px; }
  .gallery-row :is(img, video) { height: auto; }
  .preview-info {
    overflow: visible;
    position: fixed;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(78dvh, 680px, calc(100dvh - 122px));
    border-radius: 22px 22px 0 0;
    color: var(--text);
    background: var(--surface);
    transform: translateY(calc(100% - 230px));
    transition: transform 360ms var(--ease);
    box-shadow: 0 -20px 50px rgba(0,0,0,.22);
  }
  .preview-info.is-expanded { transform: translateY(0); }
  .preview-info.is-dragging { transition: none; }
  .preview-mobile-controls { position: absolute; bottom: calc(100% + 10px); left: 14px; right: 14px; display: flex; gap: 8px; }
  .preview-mobile-controls .pill { min-height: 44px; background: var(--surface); }
  .preview-mobile-controls .pill-strong { background: var(--text); }
  .preview-mobile-controls [data-close-preview] { margin-left: auto; }
  .preview-info:not(.is-expanded) .preview-info-scroll { touch-action: none; overflow-y: hidden; }
  .preview-info::after { content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 46px; border-radius: 0 0 0 0; background: linear-gradient(transparent, var(--surface) 72%); pointer-events: none; }
  .sheet-handle { display: grid; place-items: center; width: 100%; height: 34px; padding: 0; border: 0; background: transparent; cursor: ns-resize; touch-action: none; }
  .sheet-handle span { width: 38px; height: 4px; border-radius: 4px; background: var(--line); }
  .preview-info-scroll { display: block; height: calc(100% - 34px); padding: 8px 22px calc(78px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .preview-info h2 { margin: 16px 0 10px; font-size: 28px; }
  .project-facts { margin-top: 25px; }
  .preview-conversion { margin-top: 38px; padding-top: 0; }
  .preview-pagination { display: none; }

  .about-main { padding: 58px clamp(20px, 6vw, 50px) 90px; }
}

@media (max-width: 520px) {
  :root { --gutter: 12px; }
  .wordmark img { width: 112px; }
  .pill { min-height: 35px; padding: 0 14px; font-size: 12px; }
  .project-grid { columns: 1; }
  .project-card { margin-bottom: 10px; }
  .site-footer { display: block; padding-bottom: 25px; }
  .site-footer nav { margin-top: 17px; gap: 15px; }
  .about-main { padding-top: 44px; }
  .work-intro { padding: 32px 3px 28px; }
  .work-intro h1 { font-size: 54px; }
  .branding-heading { padding: 32px 3px 28px; }
  .branding-heading h1 { font-size: 54px; }
  .branding-grid { grid-template-columns: 1fr; }
  .website-dialog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; min-height: 102px; padding: 12px; }
  .website-dialog-actions { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
  .website-dialog-actions .pill { flex: 1 1 0; }
  .website-close { position: absolute; top: 11px; right: 11px; }
  .website-dialog-toolbar h2 { padding-right: 48px; }
  .video-editing-hero { min-height: 0; padding: 40px 24px; }
  .video-editing-hero h1 { font-size: clamp(30px, 8.2vw, 42px); }
  .editing-work { padding: 42px 24px; }
  .editing-section-heading h2,
  .editing-types h2,
  .editing-process h2,
  .editing-cta h2 { font-size: 43px; }
  .video-work-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 58px; }
  .video-work-meta { height: 104px; padding-top: 12px; }
  .video-work-meta.is-compact { height: 72px; }
  .video-work-title h3 { overflow: visible; text-overflow: clip; white-space: normal; }
  .editing-capabilities article { min-height: 270px; padding: 32px 24px; }
  .editing-capabilities h2 { min-height: 0; font-size: 29px; white-space: normal; }
  .editing-capabilities p { min-height: 0; }
  .editing-types,
  .editing-process { gap: 54px; padding: 42px 24px; }
  .editing-types ul,
  .editing-process-grid { grid-template-columns: 1fr; }
  .editing-types li:nth-child(odd),
  .editing-process-grid article:nth-child(odd) { margin-right: 0; }
  .editing-types li { padding: 16px 0; }
  .editing-experience { padding: 42px 24px; }
  .creator-experience-list { margin-top: 58px; }
  .creator-experience-row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 14px; min-height: 0; padding: 16px 18px; border-radius: 18px; }
  .creator-avatar { width: 56px; height: 56px; }
  .creator-identity { grid-column: 2 / -1; grid-row: 1; }
  .creator-experience-row h3 { font-size: 23px; }
  .creator-experience-row p { margin-top: 5px; }
  .creator-cta { grid-column: 1 / 3; grid-row: 2; min-height: 34px; padding: 0 13px; }
  .creator-views { grid-column: 3; grid-row: 2; width: auto; flex-direction: row; align-items: baseline; justify-self: end; gap: 6px; }
  .creator-views strong { font-size: 34px; }
  .creator-views span { margin-top: 0; }
  .editing-process-grid article { min-height: 190px; padding: 22px 0 26px; }
  .editing-process-grid h3 { margin: auto 0 12px; }
  .editing-applications { padding: 42px 24px; }
  .editing-applications ul { grid-template-columns: 1fr; }
  .editing-applications li { min-height: 68px; }
  .editing-applications img { width: 32px; height: 32px; flex-basis: 32px; }
  .editing-cta { gap: 48px; padding: 42px 24px; }
  .editing-cta-actions { align-items: stretch; flex-direction: column; }
  .editing-cta-actions .pill { width: 100%; }
  .case-study-intro { gap: 48px; padding: 34px 24px; }
  .case-study-intro h1 { font-size: 64px; }
  .case-study-summary > p { font-size: 18px; }
  .case-study-frame { border-radius: 20px; clip-path: inset(0 round 20px); }
  .case-study-end { align-items: stretch; flex-direction: column; }
  .contact-links a { align-items: flex-start; flex-direction: column; gap: 5px; }
  .contact-links strong { text-align: left; }
}

@media (max-width: 360px) {
  .creator-experience-row { min-height: 132px; gap: 10px; padding: 14px; }
  .creator-experience-row h3 { font-size: 20px; }
  .creator-experience-row p { margin-top: 4px; font-size: 11px; line-height: 1.2; }
  .creator-cta { min-height: 32px; padding: 0 11px; font-size: 12px; }
  .creator-views strong { font-size: 30px; }
  .creator-views span { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .project-card.is-pending { opacity: 1; transform: none; }
  .project-media :is(img, video) { transform: none !important; }
  .website-card-media img { transform: none !important; }
  .video-work-media :is(video, .video-work-image, .video-work-placeholder) { transform: none !important; }
}
