/* shape: Long-scroll story · first screen: letter beside a borderless portrait, on her own black · nav: wordmark only, phone bottom bar · proof: her work, her clips, her quote · close: the number set large, one action + one link · footer: single line */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-variable.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  --oat:        #ECE9E2;
  --blush:      #F7EFEE;
  --linen:      #EDE4E2;
  --ink:        #2A201E;
  --ink-hover:  #4A3A37;
  --ink-soft:   #5F524F;
  --rose:       #A6766F;
  --rose-ink:   #85544E;
  --night:      #110D0A;
  --on-night:   #F3EAE7;
  --on-night-soft: #C9BCB8;
  --rose-night: #C99A93;
  --wine:       #5A1A1F;
  --on-wine:    #F6E9E6;
  --on-wine-soft: #E6CFCB;
  --line:       rgb(42 32 30 / .14);

  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-h1: 40px;
  --t-letter: 19px;
  --t-h2: 34px;
  --t-h3: 27px;
  --t-quote: 25px;
  --t-num: 52px;
  --t-big: 40px;
  --t-cap: 18px;
  --t-beat: 22px;
  --t-word: 19px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 72px; --s9: 96px; --s10: 144px;

  --pad: 20px;
  --sec: var(--s8);
  --ch-gap: var(--s8);
  --to-img: var(--s5);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  color-scheme: light;
}
@media (min-width: 720px) { :root { --pad: 40px; } }
@media (min-width: 1024px) {
  :root {
    --t-h1: clamp(40px, min(3.9vw, 6.4svh), 58px);
    --t-letter: clamp(18px, min(1.45vw, 2.4svh), 21px);
    --t-h2: 46px;
    --t-h3: 32px;
    --t-quote: 46px;
    --t-num: 72px;
    --t-big: 56px;
    --t-cap: 19px;
    --t-beat: 24px;
    --t-word: 22px;
    --sec: var(--s10);
    --ch-gap: 120px;
    --to-img: var(--s6);
  }
}
@media (min-width: 1280px) { :root { --pad: 56px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.05; letter-spacing: -.005em; }
h2 { font-size: var(--t-h2); line-height: 1.1; }
h3 { font-size: var(--t-h3); line-height: 1.15; }
p { text-wrap: pretty; }
a, button { touch-action: manipulation; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--pad); top: -100px; z-index: 10;
  background: var(--on-night); color: var(--night); padding: 12px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: var(--rose-night); }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- the one button, and the one link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px;
  padding: 17px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--blush);
  font: 600 16px/1.2 var(--sans);
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
  border: 0;
  transition: background-color 150ms ease, transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--ink-hover); } }
@media (max-width: 719px) { .btn { display: flex; width: 100%; } }
@media (min-width: 720px) { .btn { min-height: 52px; white-space: nowrap; } }

.btn--night { background: var(--on-night); color: var(--night); }
.btn--night:focus-visible { outline-color: var(--rose-night); }
@media (hover: hover) and (pointer: fine) { .btn--night:hover { background: #D9CCC8; } }

.btn--wine { background: var(--on-wine); color: var(--wine); }
.btn--wine:focus-visible { outline-color: var(--on-wine); }
@media (hover: hover) and (pointer: fine) { .btn--wine:hover { background: #EAD3CF; } }

.link {
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
}
.link--serif { font-family: var(--serif); font-weight: 500; font-size: inherit; padding-block: 5px; margin-block: -5px; }

.label { font: 600 15px/1.3 var(--sans); color: var(--ink-soft); }
.cap {
  font: italic 500 var(--t-cap)/1.35 var(--serif);
  color: var(--ink-soft);
  max-width: 34ch;
  margin-top: 10px;
}

/* photo box: the box sets the ratio, the image fills it */
.ph { position: relative; aspect-ratio: var(--r, 4 / 5); overflow: hidden; background: var(--linen); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* ---------- clips ---------- */
.clip__frame { position: relative; background: var(--linen); overflow: hidden; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin-top: 8px; max-width: 34ch; }
.play {
  display: none;
  position: absolute; left: 12px; bottom: 12px;
  width: 56px; height: 56px; border-radius: 50%;
  border: 0; padding: 0;
  background: rgb(247 239 238 / .92);
  color: var(--ink);
  place-items: center;
  cursor: pointer;
  transition: background-color 150ms ease, transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.js .play { display: grid; }
.play svg { width: 20px; height: 20px; }
.play .i-pause { display: none; }
.play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play:active { transform: scale(.97); }
.play:focus-visible { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .play:hover { background: var(--blush); } }

/* ---------- first screen: Diana, on her photo's own black ---------- */
.hero { background: var(--night); color: var(--on-night); }
.hero :focus-visible { outline-color: var(--rose-night); }
.wordmark { padding: 20px var(--pad) 18px; }
.wordmark__name {
  font: 500 var(--t-word)/1 var(--serif);
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--rose-night);
  margin-right: -.3em;
}
.wordmark__sub { font-size: 13px; line-height: 1.45; color: var(--on-night-soft); margin-top: 8px; }
@media (max-width: 359px) {
  .wordmark__name { font-size: 16px; letter-spacing: .22em; margin-right: -.22em; }
}
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 16%);
  mask-image: linear-gradient(to top, transparent, #000 16%);
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; }
.hero__text { padding: 4px var(--pad) var(--s8); }
.hero h1 { max-width: 13ch; }
.letter { margin-top: 20px; max-width: 36ch; }
.letter p { font: 500 var(--t-letter)/1.5 var(--serif); color: var(--on-night-soft); }
.letter p + p { margin-top: .7em; }
.hero .btn { margin-top: 32px; }

@media (min-width: 720px) and (max-width: 1023px) {
  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__photo img { object-position: 60% 22%; }
}

@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    min-height: 100svh;
  }
  .wordmark { grid-column: 1; grid-row: 1; padding: 36px 32px 0 var(--pad); }
  .wordmark__sub { font-size: 14px; }
  .hero__photo {
    grid-column: 2; grid-row: 1 / 3;
    aspect-ratio: auto;
    height: 100svh; max-height: 1100px;
    width: min(calc(min(100svh, 1100px) * 3000 / 3300), 56vw);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16%);
    mask-image: linear-gradient(to right, transparent, #000 16%);
  }
  .hero__photo img { object-position: 50% 30%; }
  .hero__text {
    grid-column: 1; grid-row: 2; align-self: center;
    padding: 24px 48px 56px var(--pad);
    max-width: calc(34rem + var(--pad) + 48px);
  }
  .hero h1 { max-width: 15ch; }
  .letter { margin-top: .9em; }
  .hero .btn { margin-top: 28px; }
}

/* ---------- Natal 2026 (seasonal: remove the whole block after Christmas 2026) ---------- */
.natal { background: var(--wine); color: var(--on-wine); padding-block: var(--s8); }
.natal :focus-visible { outline-color: var(--on-wine); }
.natal__in {
  max-width: calc(1040px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad);
  display: grid; gap: var(--s5);
}
.natal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: var(--s4); }
.natal__kind { font: 600 15px/1.3 var(--sans); }
.natal__from { font: italic 500 26px/1 var(--serif); }
.natal h2 { max-width: 18ch; }
.natal__clips { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: end; }
.natal .clip__frame { background: rgb(0 0 0 / .2); }
.natal .clip figcaption { color: var(--on-wine-soft); }
.natal__body p { color: var(--on-wine-soft); max-width: 40ch; }
.natal__body .btn { margin-top: var(--s6); }

@media (min-width: 720px) and (max-width: 1023px) {
  .natal__clips { max-width: 440px; }
}
@media (min-width: 1024px) {
  .natal { padding-block: var(--s9); }
  .natal__in {
    grid-template-columns: 336px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 80px; row-gap: var(--s4);
  }
  .natal__clips { grid-column: 1; grid-row: 1 / 3; grid-template-columns: 200px 120px; align-self: center; }
  .natal__head { grid-column: 2; grid-row: 1; align-self: end; }
  .natal__body { grid-column: 2; grid-row: 2; align-self: start; }
}

/* ---------- the chapters ---------- */
.sessoes { padding-block: var(--sec); }
.sessoes__t { margin-bottom: var(--s7); }

.ch { position: relative; display: flex; flex-direction: column; gap: var(--to-img); }
.ch + .ch { margin-top: var(--ch-gap); }
.ch__side { display: contents; }
.ch__text { order: 1; }
.ch__lead { order: 2; }
.ch__smalls { order: 3; }
.ch__head { display: flex; align-items: baseline; gap: 12px; }
.ch__num {
  flex: 0 0 44px;
  font: italic 500 var(--t-num)/1 var(--serif);
  color: var(--rose);
}
.ch__text > p { margin-top: var(--s4); max-width: 36ch; }
.ch__line { display: none; }

.quote { margin-top: var(--s4); }
.quote p { font: italic 500 var(--t-quote)/1.2 var(--serif); max-width: 24ch; }

.ch__small { width: 64%; }
.ch__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.ch__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }

/* phone and tablet */
@media (max-width: 1023px) {
  .ch--2 .ch__lead, .ch--5 .ch__lead { width: 64%; }
  .ch__row .ph { aspect-ratio: 1 / 1; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .ch__lead { max-width: 560px; }
  .ch--2 .ch__lead, .ch--5 .ch__lead { width: 340px; }
  .ch__small { width: 300px; }
  .ch__pair, .ch__row { gap: 24px; max-width: 560px; }
}

@media (min-width: 1024px) {
  .sessoes__t { padding-left: 120px; max-width: calc(20ch + 120px); margin-bottom: var(--s8); }

  .ch {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding-left: 120px;
    align-items: center;
  }
  .ch > *, .ch__side > * { order: 0; }
  .ch__side { display: flex; flex-direction: column; gap: var(--to-img); grid-row: 1; }
  .ch__lead { grid-row: 1; }
  .ch__head { display: block; }
  .ch__num {
    position: absolute; left: 0; top: 0; width: 96px;
    text-align: center;
  }
  .ch__line {
    display: block;
    position: absolute; left: 47.5px; width: 1px;
    top: calc(var(--t-num) + 16px);
    bottom: calc(-1 * var(--ch-gap) + 16px);
    background: var(--rose);
    opacity: .5;
    transform-origin: top;
  }
  .ch__pair, .ch__row { gap: 24px; }

  /* 1 · lead left */
  .ch--1 .ch__lead { grid-column: 1 / 6; }
  .ch--1 .ch__side { grid-column: 7 / 13; }
  .ch--1 .ch__small { width: 268px; }

  /* 2 · clip and quote */
  .ch--2 .ch__lead { grid-column: 1 / 4; }
  .ch--2 .ch__side { grid-column: 5 / 13; }
  .ch--2 .quote { margin-top: var(--s5); }

  /* 3 · lead right, with a pair */
  .ch--3 .ch__side { grid-column: 1 / 7; }
  .ch--3 .ch__lead { grid-column: 8 / 13; }

  /* 4 · lead left, one tall small */
  .ch--4 .ch__lead { grid-column: 1 / 6; }
  .ch--4 .ch__side { grid-column: 7 / 13; }
  .ch--4 .ch__small { width: 230px; }

  /* 5 · narrow lead right, a landscape row */
  .ch--5 .ch__side { grid-column: 1 / 9; }
  .ch--5 .ch__lead { grid-column: 10 / 13; }
  .ch__row { grid-template-columns: 4fr 3fr; align-items: end; }
  .ph--15 { aspect-ratio: 500 / 383; }
  .ph--14 { aspect-ratio: 500 / 492; }

  /* 6 · an open spread: text on top, two photos below */
  .ch--6 { align-items: end; row-gap: var(--s6); }
  .ch--6 .ch__side { display: contents; }
  .ch--6 .ch__text { grid-column: 1 / 8; grid-row: 1; }
  .ch--6 .ch__lead { grid-column: 1 / 7; grid-row: 2; }
  .ch--6 .ch__small { grid-column: 7 / 11; grid-row: 2; width: auto; }
  .ch--6 .ch__line { bottom: calc(-96px - 26px); }

  .sessoes__end { padding-left: 120px; margin-top: 96px; }
}
@media (max-width: 1023px) {
  .sessoes__end { margin-top: var(--s8); }
}

/* the rail draws itself as the chapters pass */
@keyframes rail { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@supports (animation-timeline: view()) {
  @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .ch__line {
      animation: rail linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 50%;
    }
  }
}

/* ---------- Não precisas de saber posar ---------- */
.posar { padding-bottom: var(--sec); }
.posar__text p { margin-top: var(--s4); max-width: 36ch; }
.posar__row { display: flex; flex-direction: column; gap: var(--s5); margin-top: var(--s5); }
.posar__26 { width: 80%; }
.beat { font: 500 var(--t-beat)/1.35 var(--serif); max-width: 30ch; margin-top: 12px; }

@media (min-width: 720px) and (max-width: 1023px) {
  .posar__clip { max-width: 360px; }
  .posar__26 { max-width: 400px; }
  .posar__08 { max-width: 560px; }
}
@media (min-width: 1024px) {
  .posar__text { max-width: 602px; }
  .posar__row {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
    column-gap: 24px; row-gap: 0;
    margin-top: var(--s7);
  }
  .posar__row figure { display: contents; }
  .posar__row .clip__frame, .posar__row .ph { grid-row: 1; align-self: end; }
  .posar__row figcaption { grid-row: 2; align-self: start; }
  .posar__clip .clip__frame, .posar__clip figcaption { grid-column: 1 / 4; }
  .posar__26 .ph { grid-column: 4 / 9; }
  .posar__08 .ph, .posar__08 .beat { grid-column: 9 / 13; }
}

/* ---------- For businesses ---------- */
.negocios { background: var(--linen); padding-block: var(--sec); }
.negocios__text p { margin-top: var(--s4); max-width: 36ch; }
.negocios__names { margin-top: var(--s7); }
.negocios__names ul {
  margin-top: var(--s4);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
  font: 500 21px/1.2 var(--serif);
}
.negocios__names .btn { margin-top: var(--s6); }
@media (max-width: 479px) {
  .negocios__names ul { grid-template-columns: 1fr; gap: 8px; }
}

.film {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: var(--s7) calc(-1 * var(--pad)) 0; padding-inline: var(--pad);
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.film::-webkit-scrollbar { display: none; }
.film li { flex: none; scroll-snap-align: start; }
.film .ph, .film .clip__frame { height: 300px; width: auto; }
.film figcaption { width: 0; min-width: 100%; font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin-top: 8px; max-width: 26ch; }
.film li:nth-child(1) .clip__frame, .film li:nth-child(3) .clip__frame { aspect-ratio: 9 / 16; }

@media (min-width: 1024px) {
  .negocios__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .negocios__text { grid-column: 1 / 7; }
  .negocios__names { grid-column: 8 / 13; margin-top: 0; }
  .film {
    display: grid; grid-template-columns: 9fr 12.8fr 9fr 12fr; gap: 16px;
    overflow: visible; margin-inline: 0; padding: 0; align-items: start;
  }
  .film .ph, .film .clip__frame { height: auto; width: 100%; }
}

/* ---------- Close ---------- */
.marcar { background: var(--oat); padding-block: var(--sec); }
.marcar__text p { margin-top: var(--s4); max-width: 36ch; }
.marcar__actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.contacts { margin-top: var(--s7); display: grid; gap: var(--s6); }
.contacts dd { margin-left: 0; }
.contacts__big { font: 500 var(--t-big)/1 var(--serif); margin-top: 10px; }
.contacts__mid { font: 500 32px/1.1 var(--serif); margin-top: 8px; }
.contacts__note { font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin-top: 14px; }
.contacts .link--serif { text-underline-offset: .14em; text-decoration-thickness: 1px; }

@media (max-width: 719px) {
  .marcar__actions { flex-direction: column; align-items: stretch; }
  .marcar__actions .link { align-self: center; }
}
@media (min-width: 1024px) {
  .marcar h2 { font-size: 56px; }
  .marcar__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .marcar__text { grid-column: 1 / 7; }
  .contacts { grid-column: 8 / 13; margin-top: 0; }
}

/* ---------- footer ---------- */
.foot {
  background: var(--oat);
  border-top: 1px solid var(--line);
  padding: 24px var(--pad) calc(24px + 80px + env(safe-area-inset-bottom));
  font-size: 14px; line-height: 1.45; color: var(--ink-soft);
}
.foot .link { font-size: 14px; color: var(--ink-soft); font-weight: 400; }
@media (min-width: 720px) { .foot { padding-bottom: 24px; } }
@media (min-width: 1280px) { .foot p { max-width: 1168px; margin-inline: auto; } }

/* ---------- phone bottom bar ---------- */
.bar { display: none; }
@media (max-width: 719px) {
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .bar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    background: rgb(247 239 238 / .96);
    border-top: 1px solid var(--line);
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .bar.is-on {
    transform: translateY(0);
    visibility: visible;
    transition: transform 240ms var(--ease-out), visibility 0s;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .play { transition: background-color 150ms ease; }
  .btn:active, .play:active { transform: none; }
  @media (max-width: 719px) {
    .bar { transform: none; opacity: 0; transition: opacity 150ms ease, visibility 0s linear 150ms; }
    .bar.is-on { opacity: 1; transition: opacity 150ms ease, visibility 0s; }
  }
}
