/* ------------------------------------------------------------------
   Priscila Botelho — colagem editorial
   Verde esmeralda, creme quente, blush, mostarda.
------------------------------------------------------------------- */

:root {
  --ink: #1a1612;
  --ink-soft: #4a433a;
  --cream: #f3eadb;
  --cream-deep: #e7d9c4;
  --paper: #faf4ea;
  --emerald: #145544;
  --emerald-deep: #0c3329;
  --emerald-mid: #1c6b56;
  --emerald-soft: #2f8a70;
  --blush: #e4b6b1;
  --blush-deep: #c88883;
  --mustard: #c9a047;
  --mustard-deep: #a07d2c;
  --white: #fffaf3;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", "Segoe Script", cursive;

  --space: clamp(1.25rem, 3vw, 2.5rem);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --max: 1280px;
  --header: 4.75rem;

  --shadow-paper: 0 18px 40px -24px rgba(26, 22, 18, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("../assets/paper.jpg");
  background-size: 1400px;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
}

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

::selection {
  background: var(--emerald);
  color: var(--cream);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--emerald);
  color: var(--cream);
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* grain */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* type */
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald-mid);
}

.display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0;
  overflow-wrap: break-word;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 60, "WONK" 0.35;
}

.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--emerald);
}

.hand {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34rem;
}

h2.display { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }

/* layout */
.wrap {
  width: min(var(--max), calc(100vw - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
  max-width: 40rem;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.7rem var(--gutter);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--emerald) 12%, transparent);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand-role {
  margin-top: 0.22rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--emerald-mid);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] { color: var(--emerald); }

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-open .nav-toggle span:first-child { transform: translateY(7.5px) rotate(40deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-7.5px) rotate(-40deg); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  background: var(--emerald);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover { background: var(--emerald-deep); transform: translateY(-1px); }
.btn-sm { padding: 0.62rem 1rem; font-size: 0.82rem; }
.btn-mustard { background: var(--mustard); color: var(--ink); }
.btn-mustard:hover { background: var(--mustard-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--emerald-deep); }
.btn-cream:hover { background: var(--white); }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding: clamp(2.2rem, 5vw, 4rem) var(--gutter) clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
  max-width: 100vw;
}

.hero-copy { position: relative; z-index: 2; max-width: 38rem; }
.hero-copy .kicker { margin-bottom: 1.3rem; }
.hero-copy .display {
  font-size: clamp(3rem, 6.6vw, 6.1rem);
  margin-bottom: 1.5rem;
}
.hero-copy .lede { margin-bottom: 2rem; }

.hero-note {
  display: inline-block;
  margin: 0.4rem 0 1.6rem;
  color: var(--blush-deep);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  transform: rotate(-3deg);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-collage {
  position: relative;
  min-height: clamp(28rem, 62vw, 40rem);
}

.frame {
  background: var(--paper);
  box-shadow: var(--shadow-paper);
  padding: 0.55rem;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo {
  position: absolute;
  top: 8%;
  right: 2%;
  width: 68%;
  aspect-ratio: 4 / 5;
  transform: rotate(-2.4deg);
  z-index: 2;
}
.hero-photo img {
  filter: grayscale(1) contrast(1.05);
  object-position: 55% 18%;
}

.cutout { mix-blend-mode: multiply; }

.hero-peony {
  position: absolute;
  left: -4%;
  bottom: -2%;
  width: 36%;
  transform: rotate(-8deg);
  z-index: 3;
}
.hero-butterfly {
  position: absolute;
  right: -3%;
  top: -3%;
  width: 26%;
  transform: rotate(8deg);
  z-index: 4;
}
.hero-bird {
  position: absolute;
  left: 0;
  top: 2%;
  width: 24%;
  transform: rotate(-12deg);
  z-index: 4;
}

.caption-box {
  position: absolute;
  z-index: 5;
  padding: 1rem 1.15rem 1.1rem;
  background: var(--emerald);
  color: var(--cream);
  max-width: 15.5rem;
  box-shadow: var(--shadow-paper);
}
.caption-box p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.caption-box small {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.hero-caption { right: 0; bottom: 8%; transform: rotate(1.5deg); }

.float-fern {
  position: absolute;
  width: 180px;
  opacity: 0.85;
  pointer-events: none;
}
.float-fern.a { left: -40px; top: 40%; transform: rotate(-20deg); }
.float-fern.b { right: -50px; bottom: 20%; transform: rotate(16deg); }

/* symptoms */
.symptoms { background: var(--paper); }
.symptoms .section-head { max-width: 28rem; }

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.symptom {
  padding: 1.4rem 1.35rem 1.5rem;
  min-height: 9.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-paper);
}
.symptom p {
  margin: 0;
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.symptom span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.65;
}

.symptom:nth-child(1) { grid-column: 1 / 5; background: var(--cream); transform: rotate(-1.1deg); }
.symptom:nth-child(2) { grid-column: 5 / 9; background: var(--emerald); color: var(--cream); transform: rotate(1.2deg); }
.symptom:nth-child(3) { grid-column: 9 / 13; background: var(--blush); transform: rotate(-0.6deg); }
.symptom:nth-child(4) { grid-column: 2 / 6; background: var(--mustard); transform: rotate(1deg); }
.symptom:nth-child(5) { grid-column: 6 / 11; background: var(--cream-deep); transform: rotate(-1.4deg); }
.symptom:nth-child(6) { grid-column: 1 / 5; background: var(--emerald-mid); color: var(--cream); transform: rotate(0.8deg); }
.symptom:nth-child(7) { grid-column: 5 / 9; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.symptom:nth-child(8) { grid-column: 9 / 13; background: var(--blush-deep); color: var(--white); transform: rotate(-1deg); }

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.about-collage { position: relative; min-height: 34rem; }
.about-photo {
  width: 78%;
  margin-left: 12%;
  aspect-ratio: 4 / 5;
  transform: rotate(2deg);
  position: relative;
  z-index: 2;
}
.about-hands {
  position: absolute;
  width: 42%;
  left: 0;
  bottom: 4%;
  transform: rotate(-6deg);
  z-index: 3;
}
.about-camellia {
  position: absolute;
  width: 38%;
  right: -4%;
  top: -6%;
  transform: rotate(7deg);
  z-index: 4;
}
.about-label {
  position: absolute;
  left: 4%;
  top: 12%;
  z-index: 5;
  background: var(--mustard);
  color: var(--ink);
  padding: 0.7rem 0.9rem;
  font-family: var(--script);
  font-size: 1.7rem;
  transform: rotate(-8deg);
}

.about-copy { min-width: 0; }
.about-copy .display { margin: 0.4rem 0 1.2rem; overflow-wrap: break-word; }
.about-copy p { color: var(--ink-soft); max-width: 36rem; }
.about-copy p + p { margin-top: 1rem; }
.about-sign {
  margin-top: 1.6rem;
  color: var(--emerald);
  font-size: 2.2rem;
}

/* steps */
.steps { background: var(--emerald-deep); color: var(--cream); overflow: hidden; }
.steps .kicker { color: var(--mustard); }
.steps .section-head p { color: color-mix(in srgb, var(--cream) 78%, transparent); }

.step-list {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.6rem 1.8rem;
  background: color-mix(in srgb, var(--cream) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
}
.step:nth-child(2) { background: var(--emerald); }
.step:nth-child(3) { background: color-mix(in srgb, var(--blush) 18%, transparent); }
.step:nth-child(4) { background: color-mix(in srgb, var(--mustard) 16%, transparent); }

.step-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--mustard);
}
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.step p { margin: 0.45rem 0 0; color: color-mix(in srgb, var(--cream) 80%, transparent); max-width: 36rem; }
.step-fig {
  width: 120px;
  aspect-ratio: 1;
  overflow: hidden;
  transform: rotate(3deg);
}
.step-fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

/* journal */
.journal-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.1rem;
}

.article-card {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  min-height: 18rem;
  background: var(--cream-deep);
  box-shadow: var(--shadow-paper);
}
.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.4s;
}
.article-card:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.08); }

.article-card.featured { min-height: 32rem; }
.article-stack { display: grid; gap: 1.1rem; }
.article-card .card-box {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--emerald);
  color: var(--cream);
}
.article-card.alt .card-box { background: var(--mustard); color: var(--ink); }
.article-card .card-box span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.75;
}
.article-card .card-box h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }

/* instagram */
.ig {
  background: var(--paper);
  padding-bottom: 0;
}
.ig-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.ig-head a { font-weight: 600; color: var(--emerald); }

.ig-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 0.6rem;
}
.ig-tile {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  text-decoration: none;
  color: var(--cream);
}
.ig-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ig-tile p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.15;
}
.ig-1 { background: var(--emerald); }
.ig-2 { background: var(--blush); color: var(--ink); }
.ig-3 { background: var(--mustard); color: var(--ink); }
.ig-4 { background: var(--emerald-deep); }
.ig-5 { background: var(--cream-deep); color: var(--ink); }
.ig-6 { background: var(--blush-deep); }
.ig-tile.photo p {
  background: var(--emerald);
  padding: 0.55rem 0.65rem;
}

/* cta */
.cta {
  position: relative;
  background: var(--emerald);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
.cta .display { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.cta .lede { margin: 1.2rem auto 2rem; color: color-mix(in srgb, var(--cream) 82%, transparent); }
.cta-deco {
  position: absolute;
  width: min(280px, 36vw);
  opacity: 0.9;
  pointer-events: none;
}
.cta-deco.left { left: -2%; bottom: -8%; transform: rotate(-12deg); }
.cta-deco.right { right: -3%; top: -10%; transform: rotate(14deg); }

/* footer */
.site-footer {
  background: var(--emerald-deep);
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  padding: 3.2rem var(--gutter) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
}
.site-footer .brand-name { color: var(--cream); font-size: 1.6rem; }
.site-footer .brand-role { color: var(--mustard); }
.site-footer h4 {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  font-size: 0.8rem;
}

/* page hero (inner) */
.page-hero {
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) 2rem;
  max-width: 48rem;
}
.page-hero .display { font-size: clamp(2.8rem, 6vw, 5.4rem); margin: 0.6rem 0 1.1rem; }

.prose {
  max-width: 40rem;
  color: var(--ink-soft);
}
.prose p + p { margin-top: 1rem; }
.prose img,
.article-figure img {
  width: 100%;
  margin: 1.6rem 0;
  filter: grayscale(0.15) contrast(1.04);
}
.prose h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 2.4rem 0 0.8rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.portrait-frame {
  position: relative;
  isolation: isolate;
}
.portrait-frame .frame { transform: rotate(-1.5deg); }
.portrait-frame .float {
  position: absolute;
  width: min(42%, 12rem);
  left: -4%;
  bottom: -8%;
  transform: rotate(-7deg);
  z-index: 2;
  pointer-events: none;
}

/* form */
.form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}
.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--emerald);
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.9rem 1rem;
  font: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--emerald) 18%, transparent);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}
.field textarea { min-height: 8.5rem; resize: vertical; }

.contact-aside {
  background: var(--emerald);
  color: var(--cream);
  padding: 1.8rem 1.6rem;
  transform: rotate(1deg);
}
.contact-aside h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.contact-aside p { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.contact-aside a { color: var(--mustard); }

/* content index */
.content-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.content-list .article-card { min-height: 22rem; }
.content-list.is-turning .article-card {
  animation: turn-leaf 0.7s var(--ease) both;
}
.content-list.is-turning .article-card:nth-child(1) { animation-delay: 0.02s; }
.content-list.is-turning .article-card:nth-child(2) { animation-delay: 0.08s; }
.content-list.is-turning .article-card:nth-child(3) { animation-delay: 0.14s; }
.content-list.is-turning .article-card:nth-child(4) { animation-delay: 0.2s; }
.content-list.is-turning .article-card:nth-child(5) { animation-delay: 0.26s; }
.content-list.is-turning .article-card:nth-child(6) { animation-delay: 0.32s; }

@keyframes turn-leaf {
  from { opacity: 0; transform: translateY(18px) rotate(-0.8deg); }
  to { opacity: 1; transform: none; }
}

.caderno-continue {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.35rem 1.6rem;
  margin-top: 1.6rem;
  padding: 1.35rem 1.5rem 1.45rem;
  text-decoration: none;
  background: var(--emerald);
  color: var(--cream);
  box-shadow: var(--shadow-paper);
  transform: rotate(-0.5deg);
  transition: transform 0.4s var(--ease), background 0.25s;
}
.caderno-continue:hover {
  background: var(--emerald-deep);
  transform: rotate(0deg) translateY(-2px);
}
.caderno-continue .kicker { color: var(--mustard); }
.caderno-continue .hand {
  grid-column: 1 / -1;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--cream);
  line-height: 0.9;
}
.caderno-continue-meta {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mustard);
  justify-self: end;
}

.folio {
  margin-top: 2.8rem;
}
.folio[hidden] { display: none; }
.folio-sheet {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.7rem 1.8rem 1.6rem 2.2rem;
  background: var(--paper);
  box-shadow: var(--shadow-paper);
  transform: rotate(-0.45deg);
}
.folio-sheet::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  bottom: 0.85rem;
  border-left: 1.5px dashed color-mix(in srgb, var(--blush-deep) 70%, var(--mustard));
}
.folio-sheet::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 1.35rem 1.35rem 0;
  border-color: var(--cream-deep) var(--cream);
}
.folio-label { margin: 0; }
.folio-count {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.folio-count em {
  font-style: italic;
  font-weight: 500;
  color: var(--emerald);
}
.folio-count span {
  font-size: 0.42em;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
.folio-range {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.folio-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--emerald) 14%, transparent);
}
.folio-dir {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.2rem 0.15rem;
  font-family: var(--script);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: var(--emerald);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.folio-dir:hover { color: var(--mustard-deep); }
.folio-dir.is-off {
  opacity: 0.28;
  pointer-events: none;
}
.folio-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.folio-page,
.folio-gap {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--cream-deep);
  border: 0;
  cursor: pointer;
}
.folio-page:nth-child(3n + 1) { transform: rotate(-2.2deg); }
.folio-page:nth-child(3n + 2) { transform: rotate(1.8deg); background: var(--blush); }
.folio-page:nth-child(3n) { transform: rotate(-0.8deg); background: var(--mustard); }
.folio-page:hover {
  background: var(--emerald-mid);
  color: var(--cream);
}
.folio-page[aria-current="page"] {
  background: var(--emerald);
  color: var(--cream);
  transform: rotate(0deg) scale(1.08);
}
.folio-gap {
  background: transparent;
  color: var(--ink-soft);
  cursor: default;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.desk {
  width: min(42rem, calc(100% - var(--gutter) * 2));
  margin: 0 auto 4.5rem;
  padding-top: clamp(2.4rem, 6vw, 4rem);
}
.desk .display { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0.45rem 0 0.9rem; }
.desk .form { max-width: none; }
.desk textarea { min-height: 16rem; }
.desk select,
.desk input[type="file"],
.desk input[type="date"] {
  width: 100%;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.9rem 1rem;
  font: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--emerald) 18%, transparent);
}
.desk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.desk-heading {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 2.2rem 0 0.8rem;
}
.desk-list { list-style: none; padding: 0; margin: 0 0 2.4rem; display: grid; gap: 0.55rem; }
.desk-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  padding: 0.85rem 1rem;
}
.desk-list a { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; }
.desk-list button {
  border: 0;
  background: transparent;
  color: var(--blush-deep);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.desk-hint { margin: 0.35rem 0 0; font-size: 0.88rem; color: var(--ink-soft); }
.desk-flash {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  background: var(--blush);
}
.desk-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
@media (max-width: 640px) {
  .desk-row { grid-template-columns: 1fr; }
}

/* article */
.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  filter: grayscale(0.25);
}
.article-body {
  width: min(42rem, calc(100% - var(--gutter) * 2));
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 2.2rem 1.6rem 4rem;
}
.article-body .display { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0.4rem 0 1.2rem; }

/* motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
}
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.42s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .content-list.is-turning .article-card { animation: none; }
  .caderno-continue:hover { transform: none; }
}

/* mobile */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-header { backdrop-filter: none; background: var(--cream); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .site-nav a:not(.btn) {
    font-family: var(--serif);
    font-size: 2.1rem;
    letter-spacing: -0.03em;
  }

  .hero,
  .about-grid,
  .journal-grid,
  .split,
  .footer-grid,
  .content-list {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 1.4rem; }
  .hero-copy,
  .about-copy,
  .page-hero { min-width: 0; }
  .hero-collage {
    min-height: 24rem;
    margin-top: 0.5rem;
  }
  .hero-photo { width: 72%; right: 4%; top: 8%; }
  .hero-peony { width: 32%; left: -2%; bottom: -4%; }
  .hero-butterfly { width: 26%; right: -2%; top: -2%; }
  .hero-bird { display: none; }
  .hero-caption {
    right: 2%;
    bottom: 4%;
    max-width: 11.5rem;
    padding: 0.75rem 0.85rem;
  }
  .hero-caption p { font-size: 1rem; }
  .hero-copy .display { font-size: clamp(2.6rem, 12vw, 3.6rem); }

  .symptom-grid { grid-template-columns: 1fr 1fr; }
  .symptom {
    grid-column: auto !important;
    min-height: 0;
    padding: 1.1rem 1rem 1.15rem;
  }
  .symptom p { font-size: 1.08rem; }
  .symptom:nth-child(n) { transform: none; }
  .symptom:nth-child(odd) { transform: rotate(-0.6deg); }
  .symptom:nth-child(even) { transform: rotate(0.6deg); }

  .portrait-frame .float {
    left: auto;
    right: 4%;
    width: 40%;
  }

  .about-collage { min-height: 26rem; }
  .step {
    grid-template-columns: auto 1fr;
    padding: 1.2rem;
  }
  .step-fig { display: none; }
  .article-card.featured { min-height: 22rem; }
  .ig-rail {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-deco { width: 140px; }
  .footer-bottom { flex-direction: column; }
  .article-body { margin-top: -1.5rem; }

  .caderno-continue {
    grid-template-columns: 1fr;
    transform: none;
  }
  .caderno-continue .hand { grid-column: auto; }
  .caderno-continue-meta { justify-self: start; }
  .folio-row { grid-template-columns: 1fr; justify-items: center; gap: 0.85rem; }
  .folio-dir { font-size: 1.7rem; }
}

@media (max-width: 540px) {
  .symptom-grid { grid-template-columns: 1fr; }
  .ig-rail { grid-auto-flow: column; grid-template-columns: repeat(6, 78vw); overflow-x: auto; padding-bottom: 1rem; }
  .hero-collage { min-height: 22rem; }
  .hero-caption { max-width: 12.5rem; }
}
