@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #fffdfd;
  --pink: #fbedf1;
  --pink-deep: #f5dce6;
  --wine: #52192d;
  --wine-dark: #3a101f;
  --ink: #351e29;
  --muted: #765765;
  --line: #e7d6dc;
  --edge: clamp(1.35rem, 5vw, 5.5rem);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --header-height: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1.4rem); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
figure, p, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: var(--paper); background: var(--wine); }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 20; padding: .5rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--edge), 78rem); margin-inline: auto; }
.section-space { padding-block: clamp(4rem, 9vw, 8rem); }
.eyebrow {
  font-size: .79rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.display {
  color: var(--wine);
  font: 400 clamp(3.25rem, 8vw, 7.6rem)/.9 var(--serif);
  letter-spacing: -.032em;
}
.display em { font-weight: 400; }
.eyebrow + .display { margin-top: .55rem; }
.caption { font-size: .875rem; color: var(--muted); }
.text-link, .footer-links a { text-decoration: underline; text-underline-offset: .35em; }
.text-link:hover, .footer-links a:hover { text-underline-offset: .5em; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.3rem;
  padding: .6rem var(--edge);
  border-bottom: 1px solid #eadce1;
  color: var(--wine);
  background: #fffdfdf5;
  backdrop-filter: blur(14px);
}
.wordmark { justify-self: start; display: inline-block; padding-right: .18em; font: italic 2.35rem/.9 var(--serif); letter-spacing: -.12em; }
.wordmark span { margin-left: .12em; color: #a4536e; }
.nav { display: flex; align-items: center; gap: clamp(1.35rem, 3.8vw, 3.75rem); }
.nav a { position: relative; padding-block: .35rem; white-space: nowrap; font-size: .91rem; }
.nav a::after { content: ''; position: absolute; inset: auto 0 .17em; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.header .button { justify-self: end; }
.menu-button { display: none; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 2.95rem;
  padding: .6rem 1.32rem;
  border: 1px solid currentColor;
  border-radius: 3rem;
  color: var(--wine);
  background: transparent;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.15;
  transition: color .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover, .button-solid { color: var(--paper); background: var(--wine); border-color: var(--wine); }
.button-solid:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.button-small { min-height: 2.45rem; padding: .45rem 1.15rem; }
.button-light { color: var(--pink); }
.button-light:hover { color: var(--wine); background: var(--pink); border-color: var(--pink); }

.chapter, .agency-hero, .detail-creator { overflow: clip; }
.chapter-content { background: radial-gradient(ellipse at 65% 45%, #f6dce7, var(--pink) 68%); }
.chapter-agency { color: #fff6fa; background: #50182b; }
.chapter-agency .display { color: #fff4f8; }
.chapter-agency .eyebrow { color: #f4cedc; }
.chapter-inner { display: grid; grid-template-columns: .9fr 1.1fr; min-height: min(46rem, 91svh); align-items: center; gap: 2rem; padding-block: clamp(3.25rem, 7vw, 6rem); }
.chapter-copy { position: relative; z-index: 1; }
.chapter-copy .display { max-width: 8ch; }
.chapter-copy p:not(.eyebrow) { max-width: 28rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.chapter-copy .button { margin-top: 1.6rem; }

.detail-hero { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.detail-creator { background: radial-gradient(ellipse at 76% 52%, #f4d9e5, #fff7fa 75%); }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; max-width: 72rem; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.detail-copy p:not(.eyebrow) { max-width: 40rem; margin-top: .85rem; }
.detail-copy .display { margin-bottom: 1.3rem; }
.detail-copy .button { margin-top: 1.4rem; }
.agency-hero { padding-block: 0; }
.agency-hero .chapter-inner { min-height: min(40rem, 83svh); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.3rem; margin-bottom: clamp(1.65rem, 3.5vw, 3.35rem); }
.section-heading > :last-child:not(:first-child) { flex-shrink: 0; }
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.65rem, 1.8vw, 1.5rem); }
.reel { display: block; position: relative; overflow: hidden; min-width: 0; aspect-ratio: 9 / 14; background: var(--pink-deep); border-radius: .3rem; color: white; isolation: isolate; }
.reel::after { content: ''; position: absolute; z-index: -1; inset: 35% 0 0; background: linear-gradient(transparent, #170a12d9); }
.reel:hover img { transform: scale(1.04); }
.reel-label { position: absolute; inset: auto .85rem .8rem; display: grid; align-content: end; justify-items: start; gap: .32rem; line-height: 1.25; }
.reel-label strong { font-size: clamp(1rem, 1.65vw, 1.4rem); }
.reel-label span:not(.play-icon) { font-size: .82rem; }
.play-icon { position: absolute; top: -.2rem; right: .1rem; translate: 0 -100%; display: grid; place-items: center; width: 2.45rem; height: 2.45rem; background: #fff8f3e8; color: var(--wine); border-radius: 50%; }
.play-icon::before { content: ''; display: block; border-block: .31rem solid transparent; border-left: .48rem solid currentColor; translate: .07rem 0; }
.reel-dialog { width: max-content; max-width: min(95vw, 57rem); max-height: 96svh; padding: .75rem; margin: auto; border: 1px solid #faf1f49e; background: var(--wine-dark); color: var(--paper); border-radius: .6rem; }
.reel-dialog::backdrop { background: #270c19db; backdrop-filter: blur(6px); }
.reel-dialog video { display: block; margin-inline: auto; width: auto; height: auto; max-width: 100%; max-height: 77svh; background: #160810; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 0 .2rem .6rem; }
.dialog-top h2 { font-size: 1rem; }
.dialog-top button { border: 1px solid currentColor; border-radius: 2rem; background: transparent; padding: .3rem .65rem; cursor: pointer; }
.video-fallback { padding: .5rem; }
.video-fallback a { text-decoration: underline; }
.brand-zone .display { font-size: clamp(3rem, 7.4vw, 6.7rem); }
.brand-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; }
.brand-list li { display: grid; align-items: center; min-height: 3.25rem; padding: .75rem .7rem .75rem 0; border-bottom: 1px solid #f9e1e653; font-size: clamp(.875rem, 1.55vw, 1.2rem); }
.host { background: var(--pink); }
.host-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.service-list { margin-top: 1.65rem; }
.service-list > div { padding-block: .85rem; border-top: 1px solid var(--line); }
.service-list h3 { color: var(--wine); font-size: 1.02rem; }
.service-list p { margin-top: .25rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.metrics > div { display: flex; flex-direction: column-reverse; justify-content: center; min-width: 0; padding-block: 1rem; border-block: 1px solid var(--line); }
.metrics dd { font: 400 clamp(2.5rem, 6vw, 5.3rem)/1 var(--serif); color: var(--wine); font-variant-numeric: lining-nums; }
.metrics dt { font-size: .9rem; }
.audience-details { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem; margin-top: 1.55rem; }
.audience-details details { padding: .7rem 1rem; background: var(--pink); border-bottom: 1px solid var(--line); }
.audience-details summary { cursor: pointer; font-weight: 650; }
.bars { display: grid; gap: .55rem; margin-block: .8rem .45rem; }
.bars > div { display: grid; grid-template-columns: 1fr auto; gap: .18rem .5rem; font-size: .875rem; }
.bars > div::after { content: ''; grid-column: 1 / -1; height: .23rem; border-radius: 1rem; background: linear-gradient(to right, #a75473 var(--value), #e9d1dc var(--value)); }
.agency-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.projects { background: var(--pink); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem) clamp(.9rem, 3vw, 2.25rem); margin-top: 2.4rem; }
.case a { display: block; }
.case a > div { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .72rem 0; border-bottom: 1px solid #e6c8d4; }
.case h3 { color: var(--wine); font-size: clamp(1rem, 2vw, 1.45rem); }
.case span { flex-shrink: 0; font-size: .83rem; color: var(--muted); }
.agency-clients { margin-top: 1.55rem; }
.agency-clients li { border-color: var(--line); }

.footer { background: #f7e3eb; color: var(--wine); }
.footer-inner { padding-top: clamp(3.5rem, 7vw, 6.5rem); text-align: center; }
.footer .display { font-size: clamp(3rem, 8vw, 7.8rem); }
.email { margin-top: 1.4rem; display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-weight: 650; text-decoration: underline; text-underline-offset: .35em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.5rem; margin-top: .8rem; font-size: .9rem; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin-top: clamp(2.5rem, 6vw, 5rem); padding-block: 1rem; border-top: 1px solid #debdcb; font-size: .82rem; }
.footer-bottom > :last-child { justify-self: end; }

@media (max-width: 900px) {
  .section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 675px) {
  :root { --header-height: 3.8rem; }
  .header { grid-template-columns: 1fr auto auto; gap: .75rem; }
  .wordmark { font-size: 2rem; }
  .has-js .menu-button { display: block; border: 0; background: none; cursor: pointer; padding: .3rem; font-weight: 600; font-size: .9rem; }
  .nav { grid-column: 1 / -1; grid-row: 2; gap: 1.08rem; flex-wrap: wrap; justify-content: center; width: 100%; }
  .has-js .nav { display: none; position: absolute; top: 100%; left: 0; padding: 1rem var(--edge); background: var(--paper); border-bottom: 1px solid var(--line); }
  .has-js .menu-button[aria-expanded='true'] + .nav { display: flex; }
  .detail-grid, .host-grid, .chapter-inner { grid-template-columns: 1fr; gap: 1.55rem; }
  .chapter-inner, .agency-hero .chapter-inner { min-height: 0; }
  .chapter-copy .display { max-width: none; }
  .detail-copy .display { margin-bottom: .9rem; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .brand-list { grid-template-columns: repeat(2, 1fr); }
  .audience-details, .agency-services { grid-template-columns: 1fr; }
  .agency-services { gap: 0; }
  .case a > div { align-items: start; flex-direction: column; gap: .22rem; }
}
@media (max-width: 375px) {
  .header { gap: .38rem; }
  .metrics dd { font-size: 2.15rem; }
  .metrics dt { font-size: .76rem; }
  .footer-bottom { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  [data-float] { --shift: 0px !important; --turn: 0deg !important; }
}

.bars + .bars { padding-top: .75rem; border-top: 1px solid var(--line); }
