/* =========================================================
   Ana Clara Melo — Portfolio
   Ajuste cores e fontes aqui ↓
   ========================================================= */
:root {
  --desk: #222222;          /* fundo "mesa" em volta da folha */
  --paper: #F2F0EB;         /* papel */
  --paper-shade: #E7E3DA;   /* placeholders de foto */
  --ink: #161616;           /* texto principal */
  --ink-soft: #55524C;      /* texto secundário */
  --accent: #7A2E5C;        /* vinho: destaques de texto e foco */
  --stitch: #D49CA4;        /* rosa do bordado da "A": quadradinho das etiquetas */
  --tape: rgba(226, 214, 180, 0.72);
  --grain: .32;             /* intensidade do granulado (0 = nenhum) */

  --font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-lettering: "Permanent Marker", cursive; /* placeholder até o seu lettering */
  --font-hand: "Kalam", cursive;   /* manuscrita: só em títulos curtos, bilhetes e etiquetas */

  --sheet-max: 1280px;
  --gutter: clamp(16px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding: clamp(0px, 3vw, 40px);
}

/* granulado de papel sobre o site inteiro (inclui fotos, cards e fundo) */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: var(--grain, .32);
  mix-blend-mode: overlay;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--paper); padding: 8px 12px; z-index: 10;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Folha de papel ---------- */
.sheet {
  position: relative;
  max-width: var(--sheet-max);
  margin: 0 auto;
  background-color: var(--paper);
  /* grão de papel */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.28  0 0 0 0 0.24  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  overflow: clip; /* clip (e não hidden) para o menu sticky funcionar */
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  font-size: 13px;
  position: sticky; top: 0; z-index: 5;
  background-color: var(--paper);
  background-image: inherit; /* mesma textura de papel */
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-stuck { border-bottom-color: rgba(0,0,0,.12); }
.nav__logo { display: block; text-decoration: none; }
/* "A" em ponto-cruz (o mesmo da capa do caderno no contato) */
.nav__logo img {
  width: auto; height: 42px;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.nav__logo:hover img { transform: rotate(-6deg) scale(1.06); }
.nav__links {
  display: flex; gap: clamp(16px, 4vw, 48px);
  list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.nav__links a { text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }

/* círculo rabiscado: aparece no hover e fica no item ativo */
.nav__item { position: relative; display: inline-block; padding: 8px 14px; }
.scribble-circle {
  position: absolute; inset: -4px -10px; width: calc(100% + 20px); height: calc(100% + 8px);
  fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round;
  filter: url(#pencil); pointer-events: none;
  overflow: visible;
}
.scribble-circle path {
  stroke-dasharray: 1 2;              /* traço + espaço maior: a ponta redonda não aparece como um pontinho */
  stroke-dashoffset: 1.05;            /* escondido */
  transition: stroke-dashoffset .45s ease-out;
}
.nav__item:hover .scribble-circle path,
.nav__item:focus-visible .scribble-circle path,
.nav__item.is-active .scribble-circle path {
  stroke-dashoffset: 0;               /* "desenha" o círculo */
}
.nav__item:focus-visible { outline: none; }

.lang { display: flex; gap: 10px; }
.lang__btn {
  font: inherit; font-family: var(--font-hand); font-size: 22px; line-height: 1;
  background: none; border: 0; padding: 2px 2px 4px; cursor: pointer; color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.lang__btn[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  padding: 40px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__kicker {
  margin: 12px 0 2px;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 500; text-transform: uppercase; letter-spacing: -.01em;
}
.hero__role {
  margin: 0 0 20px;
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
}

/* foto selo */
.stamp {
  margin: 0;
  padding: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transform: rotate(-2deg);
  /* bordinha picotada de selo */
  padding: 8px;
  background: radial-gradient(circle at 4px 4px, var(--paper) 2.4px, #fff 2.8px) -4px -4px / 8px 8px;
}
.stamp .photo-slot { width: 96px; height: 120px; }

.photo-slot {
  position: relative;
  background: var(--paper-shade);
  overflow: hidden;
  display: grid; place-items: center;
}
.photo-slot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: grayscale(1) contrast(1.05);
}
.photo-slot__hint {
  font-family: var(--font-hand); font-size: 18px; color: var(--ink-soft);
  padding: 4px; text-align: center;
}

/* lettering */
.lettering {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  margin: clamp(20px, 4vw, 44px) 0 clamp(20px, 3vw, 36px);
  font-family: var(--font-lettering);
  font-weight: 400;
  font-size: clamp(56px, 10.5vw, 156px);
  line-height: .9;
  white-space: nowrap;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lettering__text { filter: url(#pencil); }
.lettering__img { height: clamp(70px, 14vw, 190px); width: auto; }
.asterisk {
  width: clamp(34px, 6vw, 80px); height: auto; flex-shrink: 0;
  fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round;
  filter: url(#pencil);
}
.asterisk--r { transform: rotate(12deg); }

/* notas manuscritas */
.note {
  position: absolute; margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
  color: var(--ink);
}
.note--left  { left: var(--gutter);  top: 30%; transform: rotate(-4deg); text-align: left; }
.note--right { right: var(--gutter); top: 64%; transform: rotate(3deg);  text-align: right; }

/* etiquetas */
.tags { list-style: none; margin: 0; padding: 0; }
.tag {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: rotate(var(--r));
  padding: 4px 10px;
  font-size: 12.5px; font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--ink);
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: default;
}
.tag::before {
  content: ""; position: absolute; left: -5px; top: -5px;
  width: 9px; height: 9px; background: var(--stitch); border: 1px solid var(--ink);
}
.tag:hover {
  transform: rotate(calc(var(--r) * -1.5)) translateY(-4px);
  box-shadow: 3px 5px 0 rgba(0,0,0,.12);
}

.hero__footer {
  margin-top: auto;
  font-size: 13px; font-weight: 500;
}
.hero__footer p { margin: 0; }

/* ---------- Títulos manuscritos ---------- */
.hand-title {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  margin: 0 0 28px;
}

/* ---------- Duas portas ---------- */
.doors {
  padding: 72px var(--gutter);
  border-top: 1px dashed rgba(0,0,0,.25);
}
.doors__grid {
  display: grid;
  grid-template-columns: 1fr;   /* uma pasta embaixo da outra */
  gap: clamp(40px, 5vw, 64px);
}
.folder {
  position: relative;
  background: #EAE5D9;
  border: 1px solid var(--ink);
  padding: 44px clamp(24px, 3.5vw, 44px) 40px;
  margin-top: 22px;
  transition: transform .3s ease;
  /* texto à esquerda, trabalhos à direita */
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "title thumbs"
    "desc  thumbs"
    "link  thumbs";
  column-gap: clamp(32px, 5vw, 72px);
}
.folder__title  { grid-area: title; }
.folder__desc   { grid-area: desc; }
.folder .thumbs { grid-area: thumbs; margin-bottom: 0; }
.folder__link   { grid-area: link; align-self: end; justify-self: start; }
.folder--alt { background: #E4E0DA; }
.folder:hover { transform: translateY(-4px) rotate(-.4deg); }
.folder__tab {
  position: absolute; top: -24px; left: -1px;
  padding: 3px 18px;
  background: inherit;
  border: 1px solid var(--ink); border-bottom: 0;
  font-size: 12px; font-weight: 600;
}
.folder__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 500;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1;
}
.folder__desc { margin: 0 0 28px; color: var(--ink-soft); max-width: 42ch; }

.thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 28px;
}
.thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #fff;
  padding: 6px 6px 24px;
  box-shadow: 0 2px 5px rgba(0,0,0,.15);
  transform: rotate(var(--r));
  transition: transform .25s ease;
}
.thumb::before {
  content: ""; display: block; width: 100%; height: 100%;
  background: var(--paper-shade);
}
.thumb:hover { transform: rotate(0) scale(1.04); z-index: 1; }
.thumb__label {
  position: absolute; bottom: 3px; left: 0; right: 0; text-align: center;
  font-family: var(--font-hand); font-size: 17px; line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px;
}

.tape {
  position: absolute; top: -9px; left: 50%;
  width: min(54px, 60%); height: 18px;
  background: var(--tape);
  transform: translateX(-50%) rotate(-4deg);
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
  z-index: 1;
}
.clip {
  position: absolute; top: -12px; left: 16px;
  width: 14px; height: 38px;
  border: 2px solid #8C1D1D; border-radius: 8px;
  transform: rotate(8deg); z-index: 1;
}

/* cards de case (links pro Behance) */
.thumbs--cases { grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 620px; }
.thumb--link {
  display: block; aspect-ratio: auto;
  padding: 8px 8px 12px;
  text-decoration: none; color: var(--ink);
}
.thumb--link::before { display: none; }
.thumb--link img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: var(--paper-shade);
}
.thumb--link .thumb__label {
  position: static; display: block; margin-top: 8px;
  font-size: 22px; text-align: left; padding: 0 2px;
}
.thumb__meta {
  display: block; padding: 0 2px;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-soft);
}
.thumb--link:hover { transform: rotate(0) translateY(-4px) scale(1.03); box-shadow: 4px 8px 0 rgba(0,0,0,.12); }
.thumb--link:hover .thumb__label { text-decoration: underline; text-underline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.folder__link {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: underline; text-underline-offset: 4px;
}
.folder__link:hover { text-decoration-thickness: 2px; }

/* ---------- Sobre ---------- */
.about {
  padding: 72px var(--gutter) 88px;
  border-top: 1px dashed rgba(0,0,0,.25);
}
.about__intro {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.about__text p { max-width: 60ch; margin: 0 0 16px; font-size: 16px; }

/* sketchbook (fichário) com colagem */
.sketchbook {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  aspect-ratio: 1176 / 756;
  background: url("assets/skectchbook.jpg") center / 100% 100% no-repeat;
  border-radius: 10px;
  box-shadow: 0 24px 40px rgba(0,0,0,.25);
  container-type: inline-size;
}
/* áreas das folhas dentro da foto do fichário */
.sketchbook__page { position: absolute; top: 7%; bottom: 7%; }
.sketchbook__page--left  { left: 9%;  right: 55%; }
.sketchbook__page--right { left: 54.5%; right: 9.5%; }

.sketchbook h3 {
  margin: 0 0 .6em;
  font-size: max(13px, 1.5cqw); font-weight: 600; letter-spacing: -.01em;
}

/* renda + foto (colagem) */
.lace-collage {
  position: absolute; left: 0; top: 0;
  width: 23cqw; margin: 0;
  rotate: -3deg;
  z-index: 1;
}
.lace-collage__lace {
  aspect-ratio: 736 / 1104;
  background: url("assets/lace.jpeg") center / 100% 100% no-repeat;
  /* filtro #lace-cut (no index.html): o fundo escuro da foto some, a renda fica */
  filter: url(#lace-cut) drop-shadow(1px 2px 2px rgba(0,0,0,.18));
}
.lace-collage__photo {
  position: absolute; left: 19%; top: 23%; width: 62%;
  background: #fff; padding: 5px;
  rotate: 5deg;
  box-shadow: 1px 3px 6px rgba(0,0,0,.22);
}
.lace-collage__photo .photo-slot { aspect-ratio: 4 / 5; }
.lace-collage__photo .tape { width: 46%; height: 16px; top: -9px; }

/* textos escritos à mão nos papéis */
.sketchbook .hand-h {
  margin: 0 0 .25em;
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 3cqw;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.hand-list {
  list-style: none; margin: 0; padding: 0;
  font-family: var(--font-hand);
  font-size: 1.9cqw;
  line-height: 1.2;
}
.hand-list li { white-space: nowrap; }
.hand-list li::before { content: "– "; }
.hand-list--cols { columns: 2; column-gap: 10px; }
.hand-entries {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .55em;
  font-family: var(--font-hand);
  line-height: 1.05;
}
.hand-entries strong { display: block; font-weight: 400; font-size: 2.05cqw; }
.hand-entries span { display: block; font-size: 1.8cqw; color: var(--ink-soft); }

/* papel com fita (recorte de assets/paper.jpeg, sem o fundo preto) */
.paper-note {
  position: absolute; right: 0; bottom: 2%;
  width: 22cqw;
  aspect-ratio: 407 / 445;
  background: url("assets/paper.jpeg") 50.15% 41.2% / 180.8% auto no-repeat;
  clip-path: polygon(0 12.4%, 30.5% 12.4%, 30.5% 1.5%, 68.8% 1.5%, 68.8% 12.4%, 100% 12.4%, 100% 100%, 0 100%);
  rotate: 2deg;
  z-index: 2;
}
.paper-note__content { position: absolute; top: 19%; left: 10%; right: 6%; }

/* papel com clipe (recorte de assets/paper and clips.jpeg, sem o fundo branco) */
.clip-paper {
  position: absolute; left: 0; top: 0;
  width: 21cqw;
  aspect-ratio: 577 / 927;
  background: url("assets/paper%20and%20clips.jpeg") 71.5% 37.3% / 127.4% auto no-repeat;
  rotate: 1.5deg;
  filter: drop-shadow(1px 3px 4px rgba(0,0,0,.18));
}
.clip-paper__content { position: absolute; top: 9%; left: 10%; right: 12%; }

/* pasta (imagem) */
.folder-img {
  position: absolute; right: 0; bottom: 0;
  width: 21cqw;
  rotate: -3deg;
  filter: drop-shadow(1px 3px 4px rgba(0,0,0,.25));
  z-index: 2;
}
.folder-img__bg {
  width: 100%;
  /* recorta só a pasta, sem o fundo preto da foto */
  clip-path: polygon(7.6% 18.5%, 9.5% 17%, 34.5% 17%, 37.5% 20.6%, 89.5% 20.6%, 91.6% 23%, 91.6% 85%, 7.6% 85%);
}
.folder-img__content {
  position: absolute; top: 29%; left: 15%; right: 14%;
}

.entry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9em; }
.entry-list strong { display: block; font-size: max(12px, 1.15cqw); font-weight: 600; }
.entry-list span { display: block; font-size: max(11.5px, 1.1cqw); color: var(--ink-soft); }
.folder-img .entry-list span { color: #4a443b; }

/* telas menores: as folhas viram blocos empilhados (até 1100px, para o texto não ficar espremido) */
@media (max-width: 1100px) {
  .sketchbook {
    aspect-ratio: auto;
    background: #FBFAF7;
    border: 10px solid #1f1d1c;
    border-radius: 14px;
    padding: 40px 20px 32px;
    display: grid; gap: 48px;
  }
  .sketchbook__page {
    position: static;
    display: flex; flex-direction: column; align-items: center; gap: 40px;
  }
  .lace-collage, .paper-note, .clip-paper, .folder-img { position: relative; inset: auto; }
  .lace-collage { width: min(300px, 78%); }
  .paper-note { width: min(300px, 88%); }
  .clip-paper { width: min(330px, 96%); }
  .folder-img { width: min(330px, 96%); }
  .hand-h { font-size: 34px; }
  .hand-list, .hand-entries strong { font-size: 25px; }
  .hand-entries span { font-size: 22px; }
}

/* ---------- Contato ---------- */
.contact {
  padding: 80px var(--gutter) 64px;
  text-align: center;
  border-top: 1px dashed rgba(0,0,0,.25);
}
.contact__title {
  font-family: var(--font-lettering);
  font-weight: 400;
  font-size: clamp(36px, 7vw, 96px);
  line-height: 1; margin: 0;
  filter: url(#pencil);
}
.underline-scribble {
  display: block; margin: 8px auto 36px;
  width: min(420px, 70%); height: 20px;
  fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round;
  filter: url(#pencil);
}
.contact__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px;
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
}
.contact__links a { text-underline-offset: 4px; }

.footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 20px var(--gutter);
  font-size: 12px; color: var(--ink-soft);
  border-top: 1px solid rgba(0,0,0,.15);
}
.footer p { margin: 0; }
/* asteriscos rabiscados da capa, repetidos no rodapé */
.footer { position: relative; align-items: center; }
.footer__ast { width: 26px; height: auto; flex: none; }
.footer__ast--mid { width: 22px; rotate: 18deg; }
.footer__ast--l { position: absolute; left: max(8px, calc(var(--gutter) - 46px)); top: -22px; width: 40px; rotate: -12deg; }
.footer__ast--r { position: absolute; right: max(8px, calc(var(--gutter) - 40px)); top: -30px; width: 52px; rotate: 22deg; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.folder.reveal.is-visible:hover { transform: translateY(-4px) rotate(-.4deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tag, .thumb, .folder, .scribble-circle path { transition: none; }
}

/* ---------- Tablet / Mobile ---------- */
@media (max-width: 860px) {
  body { padding: 0; }
  .nav { flex-wrap: wrap; padding-top: 14px; padding-bottom: 10px; row-gap: 8px; }
  section[id] { scroll-margin-top: 120px; }
  .nav > nav { order: 3; width: 100%; }
  .nav__links { justify-content: space-between; }

  .lettering {
    flex-wrap: wrap; white-space: normal; text-align: center;
    font-size: clamp(56px, 17vw, 128px);
  }

  .hero { min-height: auto; }
  .note { position: static; transform: none; margin: 6px 0; }
  .note--left { order: -1; align-self: flex-start; transform: rotate(-3deg); }
  .note--right { align-self: flex-end; transform: rotate(2deg); }
  .note br { display: none; }

  .tags {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 14px 12px; margin: 8px 0 32px; max-width: 520px;
  }
  .tag { position: relative; left: auto; top: auto; }

  .folder { display: block; }
  .folder .thumbs { margin-bottom: 28px; }
  .about__intro { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .lettering { gap: 4px; font-size: 64px; }
  .lettering .asterisk { width: 28px; }
  .thumbs { gap: 10px; }
  .footer { flex-direction: column; }
}

/* =========================================================
   KALAM LIGHT — manuscrita só em pontos específicos
   (é mais larga que a Reenie: tamanhos ~25% menores)
   ========================================================= */
.note, .hand-title, .thumb__label { font-weight: 300; }
.note { font-size: clamp(17px, 1.8vw, 24px); line-height: 1.15; }
.hand-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; }
.thumb__label { font-size: 14px; }
/* o resto volta para a fonte de texto */
.lang__btn { font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.photo-slot__hint { font-family: var(--font-sans); font-size: 12px; }
.sketchbook .hand-h, .hand-list, .hand-entries { font-family: var(--font-sans); }

/* =========================================================
   CONTATO — caderno com o ticket guardado dentro
   (caderno 615 × 733 e ticket 786 × 342 no Figma "Contact me")
   ========================================================= */
.contact { padding-top: clamp(120px, 14vw, 180px); }
.cbook {
  position: relative;
  width: clamp(260px, 34vw, 440px);
  margin: 0 auto;
  container-type: inline-size;          /* 1cqw = 1% da largura do caderno */
}
.cbook__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 615 / 733;
  padding: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit;
}
.cbook__btn:focus-visible { outline: 2px dashed var(--accent); outline-offset: 10px; }
.cbook__cover { position: absolute; inset: 0; z-index: 2; filter: drop-shadow(0 12px 18px rgba(0,0,0,.28)); }
.cbook__cover img { position: absolute; }
.cbook__bg    { inset: 0; width: 100%; height: 100%; }
.cbook__booth { left: 12%;    top: 3.27%;  width: 35.7%;  height: 84.8%; }
.cbook__note  { left: 42.42%; top: 29.09%; width: 40.99%; height: 24.69%; }
.cbook__a     { left: 51.56%; top: 58.74%; width: 38.55%; height: 32.99%; }
.cbook__note, .cbook__a { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.cbook__btn:hover .cbook__note { transform: rotate(-2.5deg); }
.cbook__btn:hover .cbook__a { transform: scale(1.04) rotate(2deg); }

/* ticket em pé atrás da capa: só o canhoto aparece em cima */
/* a caixa tem o tamanho do ticket EM PÉ (assim nada passa da largura da tela);
   dentro dela o ticket deitado é girado −90° */
.cbook__slot {
  position: absolute; z-index: 1;
  left: 35.1cqw; top: -15.4cqw; width: 55.6cqw; height: 127.8cqw;
  transition: translate .5s cubic-bezier(.34, 1.3, .64, 1);
}
.cbook__slot .cticket {
  position: absolute; left: 50%; top: 50%;
  width: 127.8cqw; height: 55.6cqw;
  translate: -50% -50%; rotate: -90deg;
}
.cbook__btn:hover .cbook__slot, .cbook__btn:focus-visible .cbook__slot { translate: 0 -5cqw; }
.cbook__btn.is-out .cbook__slot { translate: 0 -34cqw; transition-duration: .32s; }
.cbook__btn.is-hidden .cbook__slot { visibility: hidden; }

.contact__insta { margin: 36px 0 0; font-size: 14px; color: var(--ink-soft); }
.contact__insta a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; }

/* ---------- o ticket (mesmo desenho no caderno e no overlay) ---------- */
.cticket {
  --u: calc(100cqw / 786);
  position: relative; display: block;
  aspect-ratio: 786 / 342;
  container-type: inline-size;
  color: var(--ink);
}
.cticket > img, .cticket > ul, .cticket > span { position: absolute; }
.cticket__bg    { inset: 0; width: 100%; height: 100%; }
.cticket__foil  { left: calc(562 * var(--u)); top: calc(25.4 * var(--u)); width: calc(142 * var(--u)); }
.cticket__paper { left: calc(609.9 * var(--u)); top: calc(91.7 * var(--u)); width: calc(108.6 * var(--u)); }
.cticket__stamp { left: calc(616.9 * var(--u)); top: calc(98.3 * var(--u)); width: calc(96.8 * var(--u)); }
.cticket__photo { display: none; }
.cticket__stub-text {
  left: calc(725.5 * var(--u)); top: calc(80 * var(--u)); width: calc(31 * var(--u)); height: calc(158 * var(--u));
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  font-weight: 800; font-size: calc(24 * var(--u)); line-height: 1; text-transform: uppercase; white-space: nowrap;
}
.cticket__table {
  left: calc(25.9 * var(--u)); top: calc(60.6 * var(--u)); width: calc(490.5 * var(--u));
  list-style: none; margin: 0; padding: 0;
}
.cticket__table li {
  display: grid; grid-template-columns: calc(90.1 * var(--u)) 1fr;
  height: calc(43.6 * var(--u)); border: 1px solid var(--ink);
}
.cticket__table li + li { border-top: 0; }
.cticket__table li > span {
  display: flex; align-items: center; padding-left: calc(6.6 * var(--u));
  border-right: 1px solid var(--ink);
  font-weight: 800; font-size: calc(14.8 * var(--u)); text-transform: uppercase;
}
.cticket__table a, .cticket__copy {
  display: flex; align-items: center; width: 100%; padding: 0 0 0 calc(17.7 * var(--u));
  border: 0; font: inherit; font-size: calc(14.8 * var(--u)); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer;
  background: linear-gradient(rgba(122, 46, 92, .14), rgba(122, 46, 92, .14)) left / 0 100% no-repeat;
  transition: background-size .35s ease;
}
.cticket__table a:hover, .cticket__table a:focus-visible,
.cticket__copy:hover, .cticket__copy:focus-visible { background-size: 100% 100%; outline: none; }
.cticket__copy-hint {
  margin-left: auto; padding-right: calc(12 * var(--u));
  font-style: normal; font-family: var(--font-hand); font-weight: 300; font-size: max(calc(17 * var(--u)), 12px); color: var(--accent);
}
.cticket__phrase { left: calc(73.6 * var(--u)); top: calc(213.9 * var(--u)); width: calc(303 * var(--u)); }
.cticket__sign   { left: calc(430 * var(--u)); top: calc(261 * var(--u)); width: calc(63 * var(--u)); rotate: -4.47deg; }
.cticket__close {
  position: absolute; right: 0; bottom: 100%; margin-bottom: 8px;
  padding: 4px 6px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-hand); font-weight: 300; font-size: 20px; color: #fff;
}
.cticket__close:hover { text-decoration: underline; text-underline-offset: .2em; }
.cticket--peek .cticket__close { display: none; }

/* ---------- overlay ---------- */
.contact-card {
  width: min(860px, 92vw); max-width: none; max-height: none;
  padding: 0; border: 0; background: none; overflow: visible;
}
.contact-card::backdrop { background: rgba(22, 22, 22, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.contact-card[open]::backdrop { animation: card-fade .4s ease both; }
.contact-card.is-closing::backdrop { animation: card-fade .35s ease reverse both; }
@keyframes card-fade { from { opacity: 0; } }
.cticket--full { width: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }

/* celular: o ticket deitado ficaria ilegível → cartão em pé, entra subindo */
@media (max-width: 600px) {
  .contact-card { width: min(380px, 92vw); }
  .cticket--full {
    aspect-ratio: auto; container-type: normal;
    display: flex; flex-direction: column; gap: 16px;
    padding: 24px 18px 22px; border-radius: 14px; background: #f3ece4;
    filter: none; box-shadow: 0 14px 30px rgba(0,0,0,.3);
  }
  .cticket--full > img, .cticket--full > ul, .cticket--full > span { position: static; width: auto; rotate: none; }
  .cticket--full .cticket__bg, .cticket--full .cticket__foil, .cticket--full .cticket__paper,
  .cticket--full .cticket__stamp, .cticket--full .cticket__stub-text { display: none; }
  .cticket--full .cticket__photo { display: block; width: 44%; align-self: center; order: -1; }
  .cticket--full .cticket__table li { grid-template-columns: 82px 1fr; height: auto; min-height: 46px; }
  .cticket--full .cticket__table li > span { font-size: 12px; padding-left: 8px; }
  .cticket--full .cticket__table a, .cticket--full .cticket__copy { font-size: 13px; padding: 8px 10px; word-break: break-all; flex-wrap: wrap; }
  .cticket--full .cticket__copy-hint { font-size: 16px; padding-right: 0; }
  .cticket--full .cticket__phrase { width: 80%; align-self: center; }
  .cticket--full .cticket__sign { width: 90px; align-self: flex-end; }
  .contact-card[open] .cticket--full { animation: card-up .5s cubic-bezier(.2, .9, .3, 1) both; }
  @keyframes card-up { from { opacity: 0; transform: translateY(40vh) rotate(-4deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .cbook__slot { transition: none; }
}

/* =========================================================
   ABOUT — colagem ao lado do texto (Figma "v1 · about + my experiences")
   caixa de 697×618 do Figma (colagem + renda que avança sobre o texto),
   escalada com unidades de container: 1cqw = 6.97px no tamanho cheio
   ========================================================= */
.about { position: relative; }
.about__intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 697px);
  gap: 0;
  align-items: start;
}
.about__words { position: relative; z-index: 1; }
.about__words .hand-title { margin-bottom: 20px; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.35; white-space: nowrap; }
.about__text p { margin: 0 0 20px; line-height: 1.5; }
.about__p1 { max-width: 322px; }
.about__p2 { max-width: 367px; }

/* elemento rotacionado: o wrapper guarda a caixa do Figma e o filho gira dentro dela */
.rot { display: flex; align-items: center; justify-content: center; }
.rot > * { flex: none; position: relative; max-width: none; }
/* rabiscos: o traço vaza da caixa; o img é deslocado pelos insets de cada um */
.doodle { display: block; }
.doodle > img { position: absolute; max-width: none; }

.about-collage {
  position: relative; width: 100%; justify-self: end;
  aspect-ratio: 697 / 618;
  container-type: inline-size;
}
.about-collage > * { position: absolute; margin: 0; }
.about-collage__photo {
  left: 36.94cqw; top: 7.94cqw; width: 52.55cqw; height: 35.11cqw; object-fit: cover;
  box-shadow: 2px 4px 6px rgba(0,0,0,.25);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.about-collage__photo:hover { transform: rotate(1deg) scale(1.01); }
.about-collage__clip { left: 38.31cqw; top: 3.30cqw; width: 10.13cqw; height: 8.22cqw; z-index: 2; }
.about-collage__clip > img { width: 9.81cqw; height: 7.82cqw; rotate: 2.36deg; }
.about-collage__stamp { z-index: 2; filter: drop-shadow(1px 2px 2px rgba(0,0,0,.2)); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.about-collage__stamp:hover { transform: rotate(-6deg) scale(1.06); }
.about-collage__stamp--1 { left: 81.49cqw; top: 28.26cqw; width: 14.11cqw; height: 16.13cqw; }
.about-collage__stamp--2 { left: 75.61cqw; top: 38.16cqw; width: 13.98cqw; height: 15.74cqw; }
.about-collage__lace { left: 0; top: 36.30cqw; width: 68.76cqw; height: 47.40cqw; z-index: 3; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.about-collage__lace img {
  position: absolute; left: 50%; top: 50%;
  width: 45.62cqw; height: 67.58cqw; max-width: none; object-fit: cover;
  translate: -50% -50%; rotate: -91.52deg;
}
.about-collage__text {
  left: 14.35cqw; top: 49.64cqw; width: 39.45cqw; z-index: 4;
  font-family: var(--font-hand); font-weight: 300; font-size: max(11px, 2.94cqw); line-height: 1.3;
  rotate: -2deg;
}

.about-collage__ana { left: 23.39cqw; top: 17.93cqw; width: 7.89cqw; height: 4.46cqw; }
.about-collage__ana > img { left: -3.18%; top: -4.54%; width: 104.04%; height: 109.39%; }
.about-collage__arrow-shaft { left: 29.27cqw; top: 10.17cqw; width: 5.32cqw; height: 6.38cqw; }
.about-collage__arrow-shaft > .doodle { width: 2.50cqw; height: 5.98cqw; rotate: 32.55deg; }
.about-collage__arrow-shaft img { left: 0; top: -4.86%; width: 111.58%; height: 104.86%; }
.about-collage__arrow-head { left: 28.26cqw; top: 12.86cqw; width: 3.46cqw; height: 3.40cqw; }
.about-collage__arrow-head > .doodle { width: 2.59cqw; height: 2.38cqw; rotate: 32.55deg; }
.about-collage__arrow-head img { left: -10.18%; top: -11.59%; width: 123.80%; height: 125.34%; }
.about-collage__year { left: 86.37cqw; top: 1.15cqw; width: 9.79cqw; height: 8.92cqw; }
.about-collage__year > .doodle { width: 8.03cqw; height: 5.68cqw; rotate: 29.86deg; }
.about-collage__year img { left: -2.26%; top: -3.63%; width: 104.16%; height: 106.05%; }
.about-collage__ast { left: 77.76cqw; top: 59.30cqw; width: 15.60cqw; height: 16.25cqw; }
.about-collage__ast > img { left: -5.88%; top: -4.76%; width: 108.37%; height: 108.58%; }

/* asteriscos soltos nas bordas da folha */
.about__ast { position: absolute; width: 106px; height: auto; pointer-events: none; }
.about__ast--left { left: -50px; top: 521px; }
.about__ast--right { right: -100px; bottom: -150px; }

@media (max-width: 860px) {
  .about__intro { grid-template-columns: 1fr; gap: 32px; }
  .about__words .hand-title { white-space: normal; }
  .about-collage { max-width: 560px; justify-self: center; }
  .about__ast { display: none; }
}

/* marca-texto: a faixa rosa "pinta" a frase quando o about aparece */
.about__text mark {
  color: inherit; padding: 0 .2em; border-radius: .3em;
  background: linear-gradient(rgba(243, 181, 181, .7), rgba(243, 181, 181, .7)) left center / 0% 100% no-repeat;
  -webkit-box-decoration-break: slice; box-decoration-break: slice;
}
.about__intro.is-visible .about__text mark {
  background-size: 100% 100%;
  transition: background-size 1.4s cubic-bezier(.45, .05, .35, 1) .7s;
}

@media (max-width: 860px) {
  .about__intro { grid-template-columns: 1fr; gap: 40px; }
  .about-collage { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .about__text mark { background-size: 100% 100%; }
}

/* =========================================================
   SKETCHBOOK = resumo profissional
   (esquerda: currículo para baixar + ferramentas; direita: por onde passei + formação)
   ========================================================= */
.cv-card {
  position: absolute; left: 2%; top: 4%; z-index: 1;
  width: 27cqw; display: block;
  color: var(--ink); text-decoration: none;
  rotate: -3deg;
  transition: rotate .35s cubic-bezier(.34, 1.56, .64, 1), translate .35s cubic-bezier(.34, 1.56, .64, 1);
}
.cv-card img {
  display: block; width: 100%; aspect-ratio: 297 / 210; object-fit: cover; object-position: top;
  background: #fff; box-shadow: 1px 4px 10px rgba(0,0,0,.22);
}
.cv-card .tape { width: 42%; height: 16px; top: -8px; left: 29%; }
.cv-card__label {
  display: block; margin-top: 10px;
  font-family: var(--font-hand); font-weight: 300; font-size: max(15px, 1.75cqw); line-height: 1.1;
}
.cv-card__label span { background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat; }
.cv-card__meta { display: block; margin-top: 2px; font-size: max(11.5px, 1cqw); color: var(--ink-soft); }
.cv-card:hover, .cv-card:focus-visible { rotate: -1deg; translate: 0 -4px; }
.cv-card:focus-visible { outline: 2px dashed var(--accent); outline-offset: 6px; }

/* títulos dos papéis: rótulo em caixa alta (mesmo estilo do ticket de contato) */
.sketchbook .hand-h, .folder-img__content h3 {
  margin: 0 0 .7em; text-decoration: none;
  font-family: var(--font-sans); font-weight: 800; font-size: max(11.5px, 1.05cqw);
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.hand-list { font-size: max(12px, 1.3cqw); line-height: 1.55; }
.hand-list li::before { content: "· "; color: var(--accent); }
.hand-entries { gap: .9em; line-height: 1.25; }
.hand-entries strong { font-weight: 600; font-size: max(12px, 1.2cqw); }
.hand-entries span { font-size: max(11.5px, 1.05cqw); color: var(--ink-soft); }
.entry-list { gap: .7em; }
.entry-list .award { display: block; font-style: normal; color: var(--accent); }

@media (max-width: 1100px) {
  .cv-card { position: relative; left: auto; top: auto; width: min(300px, 86%); }
  .cv-card__label { font-size: 20px; }
  .cv-card__meta { font-size: 12px; }
  .sketchbook .hand-h, .folder-img__content h3 { font-size: 12px; }
  .hand-list { font-size: 15px; }
  .hand-entries strong { font-size: 15px; }
  .hand-entries span { font-size: 13px; }
}

/* papéis um pouco maiores para o texto caber; mínimos de 12px */
.clip-paper { width: 23cqw; }
.clip-paper__content { right: 17%; }
.folder-img { width: 28cqw; }
.folder-img__content { top: 26%; }
.hand-entries span, .cv-card__meta, .entry-list span { font-size: max(12px, 1.05cqw); }
.sketchbook .hand-h, .folder-img__content h3 { font-size: max(12px, 1.05cqw); }
.entry-list { gap: .45em; }
.entry-list strong { font-size: max(12px, 1.15cqw); }
.entry-list .award { font-size: max(12px, 1.05cqw); }
@media (max-width: 1100px) {
  .clip-paper { width: min(330px, 96%); }
  .folder-img { width: min(340px, 96%); }
}

/* correção (já existia na v1): no celular a coluna dos cartões ficava mais larga que a tela */
@media (max-width: 860px) {
  .doors__grid { grid-template-columns: minmax(0, 1fr); }
  .folder { min-width: 0; }
  .thumbs, .thumbs--cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .thumbs:not(.thumbs--cases) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .thumbs--cases .thumb__label { font-size: 12.5px; letter-spacing: -.01em; }
}

/* =========================================================
   "EXPERIENCE" — pasta com aba (Figma "Frame 373")
   ========================================================= */
.xp {
  position: relative;
  max-width: 1129px; margin: 0 auto;
  font-size: 14px; line-height: 1.45; color: var(--ink);
}
.xp__tab {
  position: relative; z-index: 1;
  width: 190px; height: 43px; margin: 0 0 -1px; padding: 17px 0 0 28px;
  background: #E7E2DD; border: 1px solid var(--ink); border-bottom: 0;
  font-family: var(--font-sans); font-size: 21px; font-weight: 500; line-height: 1.1; text-transform: uppercase;
}
.xp__box {
  position: relative;
  min-height: 481px;
  padding: 64px 53px 48px;
  background: #E7E2DD; border: 1px solid var(--ink);
}

.xp__grid { display: flex; align-items: flex-start; }
.xp__col { display: flex; flex-direction: column; gap: 26px; }
.xp__col--1 { width: 407px; }
.xp__col--2 { width: 294px; }
.xp section { margin: 0; }

/* rótulo em fita de papel */
.xp-tape {
  display: inline-block; margin: 0 0 12px; padding: 5px 14px 4px;
  background: #DBD8D3; color: #3a3630;
  font-family: var(--font-hand); font-size: 21px; font-weight: 400; line-height: 1.1;
  box-shadow: inset 0 0 6px rgba(120, 99, 69, .25);
}
.xp-tape--tilt { rotate: .8deg; }
.xp-list { list-style: none; margin: 0; padding: 0; }
.xp-skills { display: flex; gap: 16px; }
.xp-skills .xp-list:first-child { width: 102.5px; }
.xp-skills .xp-list:last-child { width: 167px; }
.xp-entry { margin: 0 0 12px; }
.xp-entry b { font-weight: 600; }
.xp-when { color: var(--ink-soft); white-space: nowrap; }
.xp__col--2 .xp-entry { margin-bottom: 32px; }

/* bloco de notas rasgado com clipe (papel recortado pela máscara do Figma) */
.xp-tools {
  position: absolute; right: 9px; top: -2px;
  width: 252px; height: 181px;
}
.xp-tools__paper {
  position: absolute; inset: 0;
  /* papel já recortado (borda rasgada com transparência) — funciona em qualquer navegador */
  background: url("assets/figma-about/papel-tools-recortado.webp") 0 0 / 100% 100% no-repeat;
}
.xp-tools__dot { position: absolute; left: 224.75px; top: 54.53px; width: 2.67px; height: 2.84px; }
.xp-tools__clip { position: absolute; left: 109px; top: -30px; width: 70.58px; height: 57.28px; }
.xp-tools__clip > img { width: 68.39px; height: 54.51px; rotate: 2.36deg; }
.xp-tools__content { position: absolute; left: 64.5px; top: 9.88px; width: 123px; }
.xp-tools__title {
  margin: 0; padding-top: 2.65px;
  font-family: "Caveat", var(--font-hand); font-size: 25.45px; font-weight: 400; line-height: 1.1; color: #3a3630;
  rotate: .8deg; transform-origin: left center;
}
.xp-tools__cols { display: flex; gap: 8.48px; margin-top: 3px; font-size: 10.6px; line-height: 1.73; }
.xp-tools__cols .xp-list { flex: 1 1 0; }

/* selo serrilhado: baixar o CV completo */
.xp-stamp {
  position: absolute; right: 50px; top: 287px;
  width: 235px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 14px 18px; text-align: center;
  color: var(--ink); text-decoration: none;
  background: #D4CFC3; border: 4px dashed #E7E2DD;
  rotate: 1.5deg;
  transition: rotate .35s cubic-bezier(.34, 1.56, .64, 1), translate .35s cubic-bezier(.34, 1.56, .64, 1);
}
.xp-stamp__oval {
  padding: 2px 22px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: 20px; font-weight: 500; line-height: 1.45;
}
.xp-stamp__text { font-size: 14px; text-decoration: underline; }
.xp-stamp__meta { font-size: 12px; color: var(--ink-soft); }
.xp-stamp:hover, .xp-stamp:focus-visible { rotate: -1deg; translate: 0 -3px; }
.xp-stamp:focus-visible { outline: 2px dashed var(--accent); outline-offset: 6px; }

/* tablet: colunas empilham à esquerda, notas e selo ficam na direita */
@media (max-width: 1100px) {
  .xp__grid { flex-direction: column; gap: 26px; max-width: calc(100% - 260px); }
  .xp__col--1, .xp__col--2 { width: 100%; max-width: 407px; }
  .xp-stamp { top: auto; bottom: 48px; }
}
/* celular: tudo em uma coluna */
@media (max-width: 700px) {
  .xp__box { display: flex; flex-direction: column; gap: 40px; padding: 40px 20px 32px; }
  .xp__grid { max-width: none; }
  .xp-tools, .xp-stamp { position: relative; inset: auto; align-self: center; }
  .xp-tools { margin-top: 12px; }
  .xp-skills { gap: 12px; }
}

/* =========================================================
   CAPA — lettering PORTFOLIO + tira de fotos (Figma "cover element")
   posições em % da caixa de 2599×1978 do Figma (.cover__art);
   a .cover é maior para caber o que vaza da moldura (asteriscos, F, T e a tira)
   sem nada ficar cortado: 112.40% de largura × 106.04% de altura
   ========================================================= */
.cover {
  position: relative;
  width: min(100%, 966px);
  aspect-ratio: 2921.5 / 2097.6;
  margin: clamp(12px, 3vw, 32px) 0 clamp(20px, 3vw, 36px);
  font-size: inherit;
}
.cover__art {
  position: absolute;
  left: 6.12%; top: 0;
  width: 88.97%; height: 94.30%;
}
.cover__art img { position: absolute; max-width: none; }
.cover__booth { left: 33.90%; top: 1.45%; width: 26.78%; height: 100%; }
.cover__p   { left: 19.44%; top: 19.63%; width: 14.96%; height: 28.09%; }
.cover__o1  { left: 58.78%; top: 18.91%; width: 14.37%; height: 28.84%; }
.cover__r   { left: 73.60%; top: 15.47%; width: 14.74%; height: 33.25%; }
.cover__t   { left: 86.34%; top: 12.16%; width: 15.56%; height: 33.60%; }
.cover__f   { left: -2.53%; top: 55.13%; width: 14.86%; height: 33.13%; }
.cover__o2  { left: 9.30%;  top: 60.85%; width: 13.87%; height: 27.25%; }
.cover__l   { left: 21.85%; top: 51.92%; width: 14.79%; height: 35.71%; }
.cover__i   { left: 60.72%; top: 48.78%; width: 5.97%;  height: 38.78%; }
.cover__o3  { left: 68.40%; top: 55.68%; width: 14.15%; height: 30.98%; }
.cover__ast1 { left: -6.88%; top: 13.67%; width: 16.10%; height: 23.17%; }
.cover__ast2 { left: 89.42%; top: 82.87%; width: 16.10%; height: 23.17%; }

/* "welcome to my" — bilhete à mão em cima do P, fora do alcance do asterisco
   (posição em % da .cover; vale em todos os tamanhos de tela) */
.cover .cover__hi {
  position: absolute; z-index: 1;
  left: 16.5%; top: 3.5%;
  margin: 0; text-align: left; white-space: nowrap;
  font-size: clamp(14px, 2.6vw, 26px); line-height: 1.1;
  transform: rotate(-5deg); order: 0; align-self: auto;
}
.cover .cover__hi br { display: inline; }

/* nota da direita com o nome: fica no vão entre o "RT" e o asterisco de baixo */
@media (min-width: 861px) {
  .note--right { top: 52%; }
}
/* telas médias: a capa ocupa quase toda a largura, então as etiquetas
   saem de cima do lettering e ficam em fileira embaixo dela (igual ao celular) */
@media (max-width: 1200px) {
  .tags {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 14px 12px; margin: 8px 0 32px; max-width: 620px;
  }
  .tag { position: relative; left: auto; top: auto; }
}
/* telas menores: a nota com o nome fica centralizada entre a capa e as etiquetas */
@media (max-width: 860px) {
  .note--right { align-self: center; text-align: center; margin: 0 0 18px; transform: rotate(-1.5deg); }
}

/* seta desenhada à mão (mesmos traços da seta do about), em em para acompanhar o título */
.hand-arrow {
  position: relative; display: inline-block; vertical-align: -0.12em;
  width: .88em; height: 1em; margin-left: .05em;
  /* espelhada: a ponta fica levemente inclinada para a esquerda */
  scale: -1 1; rotate: 45deg;
}
.hand-arrow > .rot { position: absolute; }
.hand-arrow__shaft { left: .14em; top: .077em; width: .742em; height: .89em; }
.hand-arrow__shaft > .doodle { width: .348em; height: .833em; rotate: 32.55deg; }
.hand-arrow__shaft img { left: 0; top: -4.86%; width: 111.58%; height: 104.86%; }
.hand-arrow__head { left: 0; top: .453em; width: .482em; height: .473em; }
.hand-arrow__head > .doodle { width: .361em; height: .332em; rotate: 32.55deg; }
.hand-arrow__head img { left: -10.18%; top: -11.59%; width: 123.80%; height: 125.34%; }

/* bilhete do caderno: papel em branco com o "let's talk!" por cima */
.cbook__cover .cbook__note { position: absolute; display: block; }
.cbook__note .cbook__note-paper { inset: 0; width: 100%; height: 100%; }
.cbook__note .cbook__note-text { left: 27%; top: 5%; width: 58%; height: auto; rotate: -3deg; }

/* =========================================================
   WORK — cases um embaixo do outro (texto à esquerda, mockup à direita)
   ========================================================= */
.cases { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 112px); }
.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.case__text { text-align: center; max-width: 360px; justify-self: center; }
.case__tags { margin: 0 0 10px; font-size: 12px; color: var(--ink-soft); }
.case__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 600;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05;
}
.case__desc { margin: 0 0 22px; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
/* mesmo rótulo de fita de papel da seção Experience (Education, Skills…) */
.case__link {
  display: inline-block; padding: 5px 14px 4px;
  background: #DBD8D3; color: #3a3630;
  font-family: var(--font-hand); font-size: 21px; font-weight: 400; line-height: 1.1;
  text-decoration: none;
  box-shadow: inset 0 0 6px rgba(120, 99, 69, .25);
  rotate: .8deg;
  transition: rotate .35s cubic-bezier(.34, 1.56, .64, 1), translate .35s cubic-bezier(.34, 1.56, .64, 1);
}
.case__link:hover, .case__link:focus-visible { rotate: -1deg; translate: 0 -2px; }

/* moldura do mockup: papel com fita/clipe, igual às fotos do resto do site */
.case__media {
  position: relative; display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper-shade);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__media .tape { width: 88px; height: 22px; top: -11px; }
/* mesmo clipe de metal da foto do about */
.case__media .case__clip {
  position: absolute; z-index: 1;
  right: 8%; top: -30px; width: 76px; height: auto;
  rotate: 2.36deg; object-fit: contain;
}
.case:hover .case__media { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 16px 30px rgba(0,0,0,.18); }
.cases__more { align-self: center; }

@media (max-width: 860px) {
  .case { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .case__media { order: -1; }
  .case__text { max-width: 480px; }
}

/* =========================================================
   ETIQUETAS — o mesmo rótulo da capa (caixinha com borda + quadradinho rosa)
   usado nos títulos da Experience e no "View case study"
   ========================================================= */
.xp-tape, .case__link {
  position: relative; display: inline-block;
  padding: 4px 12px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink); box-shadow: none;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; line-height: 1.5;
  text-decoration: none; white-space: nowrap;
  rotate: -1.5deg;
  transition: rotate .25s ease, translate .25s ease, box-shadow .25s ease;
}
.xp-tape::before, .case__link::before {
  content: ""; position: absolute; left: -5px; top: -5px;
  width: 9px; height: 9px; background: var(--stitch); border: 1px solid var(--ink);
}
.xp-tape--tilt { rotate: 1.5deg; }
.xp-tape { margin: 0 0 14px 5px; }
.case__link:hover, .case__link:focus-visible {
  rotate: 2deg; translate: 0 -4px;
  box-shadow: 3px 5px 0 rgba(0,0,0,.12);
}

/* Work: etiqueta reta (0°), só levanta no hover */
.case__link { rotate: 0deg; }
.case__link:hover, .case__link:focus-visible { rotate: 0deg; }

/* "see all on Behance": sem sublinhado/negrito, circula no hover como o menu
   (classe própria: o script do menu usa .nav__item para achar as seções) */
.scribble-link { position: relative; display: inline-block; padding: 8px 14px; }
.scribble-link:hover .scribble-circle path,
.scribble-link:focus-visible .scribble-circle path { stroke-dashoffset: 0; }
.scribble-link:focus-visible { outline: none; }
.cases__more {
  align-self: center; text-decoration: none;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
