@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  --ground: #f7f7f0;
  --surface: #edeee5;
  --ink: #171814;
  --muted: #53574d;
  --accent: #d9f86b;
  --accent-hover: #c8ee4a;
  --lilac: #d3c6ff;
  --peach: #ffcc9b;
  --paper: #fff;
  --line: #cbcec1;
  --focus: #425e00;
  --gutter: clamp(1rem, 4.25vw, 3.5rem);
  --page-width: 74rem;
  --radius: .8rem;
  --section-space: clamp(1.75rem, 4vw, 3.5rem);
  --card-space: clamp(.8rem, 1.5vw, 1.35rem);
  --card-gap: .65rem;
  --font: Manrope, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 1rem/1.5 var(--font);
}

h1, h2, h3, p, dl, dd { margin: 0; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.065em;
  overflow-wrap: break-word;
}

h2 { font-size: clamp(1.85rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.95rem); }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
  outline: .15rem solid var(--focus);
  outline-offset: .25rem;
}

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--page-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: var(--gutter);
  padding: .6rem 1.1rem;
  transform: translateY(-160%);
  border-radius: 2rem;
  background: var(--accent);
  font-weight: 750;
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 2.75rem;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 800;
  letter-spacing: -.075em;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: .125rem;
  padding: .125rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
}

.desktop-nav a, .mobile-menu nav > a:not(.button) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding: .3rem .75rem;
  border-radius: 2rem;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.desktop-nav a:hover, .mobile-menu nav > a:not(.button):hover { background: var(--surface); }

.desktop-nav a[aria-current], .mobile-menu nav > a[aria-current] {
  background: var(--ink);
  color: var(--paper);
}

.header-action { justify-self: end; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .45rem .9rem;
  border: 1px solid var(--ink);
  border-radius: 2rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-outline { background: transparent; color: var(--ink); }
.header-action { border-color: transparent; background: var(--accent); color: var(--ink); }
.header-action:hover { background: var(--accent-hover); }

.home-hero { padding-block: var(--section-space); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(38%, 23rem));
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 5.6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.075em;
  word-spacing: .035em;
}

.title-line { display: block; }

.hero-copy em {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin-top: .06em;
  padding: 0 .12em .115em .055em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: .83;
  letter-spacing: -.09em;
}

.hero-copy em::before {
  position: absolute;
  z-index: -1;
  inset: .1em 0 .04em;
  background: var(--accent);
  clip-path: polygon(0 10%, 98% 0, 100% 91%, 1% 100%);
  content: "";
}

.lead {
  max-width: 33rem;
  margin-top: .8rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.hero-availability { margin-top: .5rem; font-weight: 750; }

.actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .95rem; }

.hero-visual { min-width: 0; }

.hero-photo { position: relative; isolation: isolate; }

.hero-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  overflow: clip;
  border-radius: var(--radius);
  background: var(--ink);
}

.hero-frame::after {
  position: absolute;
  inset: .55rem;
  z-index: 1;
  border: 1px solid #ffffff80;
  border-radius: .55rem;
  content: "";
  pointer-events: none;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.photo-tape {
  position: absolute;
  z-index: 2;
  top: -.38rem;
  left: .55rem;
  width: clamp(3rem, 6vw, 4.6rem);
  height: 1.2rem;
  rotate: -12deg;
  background: repeating-linear-gradient(100deg, #fff3 0 1px, transparent 1px 5px), var(--peach);
  clip-path: polygon(2% 0, 100% 3%, 96% 30%, 100% 55%, 96% 77%, 100% 100%, 0 97%, 4% 74%, 0 50%, 4% 27%);
  pointer-events: none;
}

.sticker {
  --sticker-size: clamp(2.65rem, 4.6vw, 3.6rem);
  position: relative;
  display: inline-grid;
  flex: none;
  width: var(--sticker-size);
  aspect-ratio: 1;
  place-items: center;
  pointer-events: none;
}

.sticker-camera, .sticker-play {
  border: .2rem solid var(--paper);
  border-radius: 28%;
  box-shadow: .12rem .15rem 0 var(--ink);
}

.sticker-camera {
  --sticker-size: clamp(3.2rem, 5.4vw, 4.65rem);
  position: absolute;
  z-index: 2;
  right: .55rem;
  bottom: .66rem;
  rotate: 10deg;
  background: var(--lilac);
}

.sticker-camera > span {
  position: relative;
  width: 61%;
  aspect-ratio: 1.35;
  border: .13rem solid var(--ink);
  border-radius: .29rem;
  background: var(--ground);
}

.sticker-camera > span::before, .sticker-camera > span::after {
  position: absolute;
  content: "";
}

.sticker-camera > span::before {
  inset: 50% auto auto 46%;
  width: 44%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: .12rem solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 .12rem var(--ground);
}

.sticker-camera > span::after {
  top: 13%;
  right: 9%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
}

.sticker-heading { display: flex; align-items: center; gap: clamp(.65rem, 1.6vw, 1.15rem); }

.sticker-star {
  --star: polygon(50% 0, 63% 36%, 100% 50%, 63% 63%, 50% 100%, 36% 63%, 0 50%, 36% 36%);
  rotate: 12deg;
  filter: drop-shadow(.1rem .12rem 0 var(--ink));
}

.sticker-star::before, .sticker-star::after {
  position: absolute;
  inset: 0;
  clip-path: var(--star);
  background: var(--paper);
  content: "";
}

.sticker-star::after { inset: .36rem; background: var(--lilac); }

.sticker-play { rotate: -9deg; background: var(--peach); }

.sticker-play::after {
  margin-left: .12rem;
  border-block: .55rem solid transparent;
  border-left: .83rem solid var(--ink);
  content: "";
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .55rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts:has(> div:only-child) { grid-template-columns: 1fr; max-width: 24rem; }

.hero-facts div { display: grid; padding: .55rem 0 .65rem; }
.hero-facts div + div { padding-left: .75rem; border-left: 1px solid var(--line); }

.hero-facts dt {
  grid-row: 2;
  margin-top: .22rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.25;
}

.hero-facts dd {
  grid-row: 1;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.055em;
  word-spacing: .055em;
  line-height: 1.1;
}

.section { padding-block: var(--section-space); }
.section-surface { background: var(--surface); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: .55rem 1.25rem;
  margin-bottom: clamp(.85rem, 2vw, 1.65rem);
}

.section-head > p { max-width: 31ch; color: var(--muted); }

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.services article {
  min-width: 0;
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ground);
}

.services p { max-width: 36ch; margin-top: .55rem; }

.featured { background: var(--accent); }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: .85rem 1.25rem;
}

.feature-result { min-width: 0; padding-bottom: .55rem; border-bottom: 1px solid #849d3a; }

.feature-number {
  width: fit-content;
  font-size: clamp(3.1rem, 7.8vw, 7rem);
  font-weight: 800;
  line-height: .91;
  letter-spacing: -.1em;
  white-space: nowrap;
}

.feature-result p { margin-top: .55rem; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 650; }
.feature-copy h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); }
.feature-copy p { max-width: 42ch; margin-block: .55rem .85rem; }

.home-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-case {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: .55rem;
  height: 100%;
  padding: var(--card-space);
  padding-inline-end: calc(var(--card-space) + 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 180ms ease;
}

.home-case::after {
  position: absolute;
  top: var(--card-space);
  right: var(--card-space);
  width: 1.4rem;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: .35rem;
  background: var(--lilac);
  rotate: -8deg;
  content: "";
  transition: rotate 180ms ease, background-color 180ms ease;
}

.home-case::before {
  position: absolute;
  z-index: 1;
  top: calc(var(--card-space) + .47rem);
  right: calc(var(--card-space) + .47rem);
  width: .45rem;
  height: .45rem;
  border-top: .1rem solid var(--ink);
  border-right: .1rem solid var(--ink);
  background: linear-gradient(135deg, transparent 40%, var(--ink) 41% 57%, transparent 58%);
  content: "";
}

.home-case h3 { font-size: clamp(1.35rem, 2.15vw, 1.9rem); }
.home-case p { color: var(--muted); }
.home-case:hover { border-color: var(--ink); }
.home-case:is(:hover, :focus-visible)::after { rotate: 0deg; background: var(--accent); }
.home-case:hover h3 { text-decoration: underline; text-underline-offset: .13em; }

@media (max-width: 42rem) {
  .home-cases { grid-template-columns: minmax(0, 1fr); }
}

.site-footer { border-top: 1px solid var(--line); }

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  padding-block: clamp(1.35rem, 3.4vw, 2.75rem);
}

.footer-row h2 { font-size: clamp(1.65rem, 3.3vw, 2.8rem); }

.page-hero { padding-block: var(--section-space); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5.25rem); }

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
  margin-bottom: var(--section-space);
}

.case {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  min-width: 0;
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-margin-top: 1rem;
}

.case:first-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr);
  align-items: center;
  gap: .9rem 1.6rem;
  border-color: #cadd7f;
  background: var(--accent);
}

.case:target { outline: .15rem solid var(--focus); outline-offset: -.15rem; }
.case-role { margin-bottom: .4rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.page-hero .case-role, .citymall-hero .case-role {
  width: fit-content;
  padding: .16rem .5rem;
  background: var(--lilac);
  color: var(--ink);
  clip-path: polygon(0 0, 98.5% 0, 100% 88%, 1% 100%);
}
.case h2 { font-size: clamp(1.45rem, 2.55vw, 2.25rem); }
.case:first-child h2 { font-size: clamp(1.65rem, 3.4vw, 3rem); }
.case-result { line-height: 1.35; }

.case-result strong {
  display: block;
  margin-bottom: .2rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.085em;
}

.case:first-child .case-result strong { font-size: clamp(2.55rem, 5vw, 4.5rem); }
.case-result-text strong { font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.1; }

.case-details { margin-top: .65rem; border-top: 1px solid var(--line); }
.case:first-child .case-details { border-color: #97b34a; }

.case-details summary {
  display: list-item;
  width: fit-content;
  min-height: 2.75rem;
  padding-block: .55rem;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 750;
}

.case-details p { max-width: 47ch; margin-block: .5rem; }
.case-action { margin-top: .55rem; }

.buyer-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); }
.buyer-results .buyer-result { display: flex; grid-column: auto; align-items: stretch; justify-content: flex-start; gap: .55rem; }
.buyer-result .case-role { margin-block: .4rem 0; }
.buyer-result .case-result { line-height: 1.35; }
.buyer-back { margin-top: 1rem; }

.buyer-funnel-intro, .buyer-funnel-cta { max-width: 66ch; }

.buyer-funnel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--card-gap);
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.buyer-funnel li {
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.buyer-funnel li:last-child { background: var(--accent); }
.buyer-funnel h3 { font-size: 1.2rem; letter-spacing: -.035em; }
.buyer-funnel p { margin-top: .45rem; }

.buyer-highlights {
  display: grid;
  gap: .75rem;
  max-width: 39rem;
  margin-top: 1.25rem;
  scroll-margin-top: 1rem;
}

.buyer-highlights figure { margin: 0; }
.buyer-highlights figcaption { margin-bottom: .4rem; font-weight: 750; }
.buyer-highlights img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.buyer-highlights figure:first-of-type img { width: 80%; }

.realtor-growth { max-width: 30rem; margin-top: 1rem; }
.realtor-growth dd { font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.1; }
.realtor-highlights { display: block; width: min(100%, 39rem); height: auto; border-radius: var(--radius); }

.realtor-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.3rem, 1vw, .7rem);
  max-width: 37rem;
  margin: 0 0 .75rem;
  padding: 0;
  list-style: none;
}

.realtor-covers img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(.3rem, 1vw, .75rem);
}

@media (max-width: 55rem) {
  .buyer-funnel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  .buyer-results { grid-template-columns: minmax(0, 1fr); }
}

.work-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

.work-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .3rem .75rem;
  border: 1px solid var(--ink);
  border-radius: .45rem;
  background: var(--paper);
  box-shadow: 0 .1rem 0 var(--ink);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.work-nav a[href="#reels"] { background: var(--lilac); }
.work-nav a[href="#feed"] { background: var(--peach); }
.work-nav a:is(:hover, :focus-visible) { background: var(--accent); }

.work-section { padding-block: var(--section-space); border-top: 1px solid var(--line); }

.video-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1rem;
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.video-note p { max-width: 56ch; margin-top: .4rem; }
.video-note + .citymall-reel-grid { margin-top: var(--card-gap); }

.video-project { margin-bottom: clamp(1.15rem, 2.2vw, 1.85rem); }
.video-project-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); }

.video-work {
  display: grid;
  grid-template-columns: min(33%, 10rem) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.video-work:target { outline: .15rem solid var(--focus); outline-offset: .15rem; scroll-margin-top: 1rem; }
.video-preview {
  position: relative;
  align-self: center;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--ink);
}

.video-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-preview::before, .video-preview::after { position: absolute; content: ""; }
.video-preview::before {
  width: 2.75rem;
  aspect-ratio: 1;
  border: .16rem solid var(--paper);
  border-radius: 30%;
  rotate: -8deg;
  background: var(--lilac);
  box-shadow: .08rem .14rem 0 var(--ink);
  transition: rotate 180ms ease, background-color 180ms ease;
}
.video-preview::after { border-block: .4rem solid transparent; border-left: .65rem solid var(--ink); margin-left: .15rem; }
.video-preview:is(:hover, :focus-visible)::before { rotate: 0deg; background: var(--accent); }
.video-preview:focus-visible { outline-offset: -.3rem; outline-color: var(--accent); }
.video-work-copy { align-self: center; min-width: 0; padding: var(--card-space); }
.video-work :is(h3, h4) { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; overflow-wrap: break-word; }
.video-work p { margin-top: .4rem; }
.video-work-views strong { display: block; font-size: clamp(1.5rem, 2.7vw, 2.4rem); line-height: 1.1; letter-spacing: -.065em; white-space: nowrap; }
.video-links { display: flex; flex-wrap: wrap; gap: .15rem .75rem; margin-top: .15rem; }
.video-links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 750; text-underline-offset: .2em; }

.video-work-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem .55rem;
  margin-top: .6rem;
}

.video-work-stats > div { display: flex; flex-direction: column-reverse; }
.video-work-stats dt { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.video-work-stats dd { font-size: 1.06rem; font-weight: 800; line-height: 1.15; }
.video-data-source { margin-top: .65rem; color: var(--muted); font-size: .9rem; }

@media (width > 46rem) {
  .coffee-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .coffee-video-grid .video-work-copy { display: flex; flex-direction: column; align-self: stretch; }
  .coffee-video-grid :is(h3, h4) { margin-bottom: auto; }
}

@media (width > 46rem) and (width <= 62rem) {
  .coffee-video-grid .video-work { grid-template-columns: minmax(0, 1fr); }
  .coffee-video-grid .video-preview { width: min(100%, 8.5rem); justify-self: center; margin-top: var(--card-space); border-radius: .4rem; }
}

@media (width > 52rem) {
  .realtor-stat-cards { row-gap: 0; }

  .realtor-stat-cards > article {
    display: grid;
    grid-template-rows: 1fr auto auto;
    align-items: start;
  }

  @supports (grid-template-rows: subgrid) {
    .realtor-stat-cards > article {
      grid-row: span 3;
      grid-template-rows: subgrid;
    }
  }
}

@media (max-width: 42rem) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
}

.work-projects {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-projects a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.055em;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.work-projects a:hover { background: var(--accent); transform: translateY(-2px); }

.work-related { max-width: 46ch; }
.work-related a { font-weight: 750; text-underline-offset: .2em; }

.strategy-previews-title {
  margin-block: 1.55rem .75rem;
  scroll-margin-top: 1rem;
}

.strategy-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
  margin: 0 0 .85rem;
  padding: 0;
  list-style: none;
}

.strategy-preview {
  display: grid;
  gap: .45rem;
  padding: clamp(.5rem, 1vw, .75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ground);
  text-decoration: none;
  font-weight: 750;
}

.strategy-preview:hover span {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.strategy-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center top;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .45rem;
}

@media (max-width: 42rem) {
  .strategy-previews { grid-template-columns: minmax(0, 1fr); }
}

.clinic-case section[id] { scroll-margin-top: 1rem; }
.clinic-result-copy p + p { margin-top: .55rem; }

.clinic-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.5rem, 1.6vw, 1.2rem);
  max-width: 46rem;
}

.clinic-feed figure { margin: 0; }
.clinic-feed figcaption { display: grid; margin-bottom: .55rem; }
.clinic-feed figcaption strong { font-size: 1.25rem; }
.clinic-feed figcaption span { color: var(--muted); font-size: .875rem; }

.clinic-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.clinic-image img { display: block; width: 100%; height: auto; }

.clinic-offline {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(.9rem, 2.3vw, 2rem);
}

.clinic-offline p { max-width: 34ch; margin-top: .65rem; }

@media (max-width: 48rem) {
  .clinic-offline { grid-template-columns: minmax(0, 1fr); }
}

.media-dialog {
  max-width: min(90vw, 61rem);
  max-height: 95svh;
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ground);
  color: var(--ink);
}

.media-dialog[data-media-kind="video"] { width: min(90vw, 29rem); }
.media-dialog::backdrop { background: #141511dc; }
.media-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.media-toolbar h2 { font-size: clamp(1.2rem, 3.25vw, 2rem); }
.media-toolbar .button { cursor: pointer; }
.media-content :is(img, video) { display: block; max-width: 100%; max-height: 75svh; margin-inline: auto; }
.media-content video {
  width: min(100%, 26rem, 42svh);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--ink);
}

.media-moving-poster {
  position: fixed;
  z-index: 2;
  transform-origin: top left;
  object-fit: cover;
  pointer-events: none;
}

.media-original:not([hidden]) { display: inline-block; margin-top: .75rem; text-underline-offset: .2em; }

@media (prefers-reduced-motion: no-preference) {
  [data-enter], .hero-visual { animation: enter 640ms cubic-bezier(.2, .7, .25, 1) both; }
  .hero-visual { animation-delay: 100ms; }
  .title-line { animation: title-enter 660ms cubic-bezier(.2, .7, .25, 1) both; }
  .title-line + .title-line { animation-delay: 70ms; }
  .photo-tape { animation: tape-attach 230ms ease-out 235ms both; }
  .sticker-camera { animation: sticker-attach 330ms cubic-bezier(.22, .68, .25, 1) 355ms both; }
  .comparison-reveal { animation: comparison-enter 250ms ease-out both; }
  .comparison-reveal:nth-child(2) { animation-delay: 80ms; }

  .home-case, .case-list > .case {
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
  }

  @media (hover: hover) {
    .home-case:hover, .case-list > .case:hover {
      transform: translateY(-2px);
      box-shadow: 0 3px 0 var(--line);
    }
  }

  .home-case:active, .case-list > .case:has(.case-action:active) {
    transform: translateY(1px);
    box-shadow: 0 1px 0 var(--line);
  }

  @supports (animation-timeline: view()) {
    .feature-number {
      animation: feature-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(.7rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes title-enter {
  from { clip-path: inset(0 0 100%); transform: translateY(.2em); }
  to { clip-path: inset(-20% -10% -25%); transform: translateY(0); }
}

@keyframes feature-enter {
  from { transform: translateY(.65rem); }
  to { transform: translateY(0); }
}

@keyframes tape-attach {
  from { opacity: 0; scale: .05 1; transform-origin: left; }
  to { opacity: 1; scale: 1; transform-origin: left; }
}

@keyframes sticker-attach {
  from { opacity: 0; translate: .35rem -.65rem; scale: .84; }
  62% { opacity: 1; translate: 0 .12rem; scale: 1.06; }
  to { opacity: 1; translate: 0; scale: 1; }
}

@keyframes comparison-enter {
  from { opacity: .58; transform: translateY(.45rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .button:active, .work-projects a:hover { transform: none; }
  .home-case:is(:hover, :focus-visible)::after, .video-preview:is(:hover, :focus-visible)::before { rotate: -8deg; }
}

@media (max-width: 52rem) {
  .header-row { min-height: 3.75rem; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .brand { min-height: 3.75rem; align-self: flex-start; }
  .desktop-nav, .header-action { display: none; }
  .mobile-menu { display: block; }

  .mobile-menu summary {
    position: absolute;
    top: .5rem;
    right: 0;
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.75rem;
    padding: 0 .75rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 750;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker { display: none; }

  .mobile-menu summary span {
    width: .48rem;
    height: .48rem;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: translateY(-.12rem) rotate(45deg);
  }

  .mobile-menu[open] summary span { transform: translateY(.11rem) rotate(225deg); }
  .mobile-menu nav { display: grid; justify-items: start; gap: .15rem; padding-block: .15rem .75rem; }
  .mobile-menu .button { margin-top: .3rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .hero-copy h1 { font-size: clamp(2.35rem, 8vw, 4.25rem); }
  .hero-visual { width: min(100%, 19rem); }
  .hero-frame { aspect-ratio: 1.2; }
  .hero-frame img { object-position: center 15%; }
  .section-head, .feature-grid, .services { grid-template-columns: minmax(0, 1fr); }
  .services p { max-width: 46ch; }
  .case:first-child { grid-template-columns: minmax(0, 1fr); }
  .work-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
  .case-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 23rem) {
  .actions .button { flex: 1 1 100%; }
  .work-projects { grid-template-columns: minmax(0, 1fr); }
}
