:root {
    --bg: #ffffff; --fg: #141414; --body: #4a4944; --muted: #8a8882; --line: #e7e6e2; --chip: #f3f2ef;
    --sans: "Geist", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --mono-hl: "Geist Pixel", var(--mono);
    --pixel: "Geist Pixel", var(--mono);
    --ease: cubic-bezier(.22, .61, .36, 1);
    color-scheme: light;
  }
  :root[data-theme="dark"] {
    --bg: #111110; --fg: #f1efe9; --body: #bdbbb4; --muted: #84827b; --line: #2a2926; --chip: #1b1b19;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--fg); transition: background-color .35s var(--ease), color .35s var(--ease); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  /* Geist Mono: name + links */
  header.top { display: flex; justify-content: space-between; padding: 28px 0; font-family: var(--mono); font-size: 14px; }
  header.top .name { text-decoration: none; font-family: var(--pixel); font-size: 14px; letter-spacing: .06em; color: var(--muted); font-family: var(--pixel), "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Math", sans-serif; transition: color .2s var(--ease); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
  header.top .name:hover { color: var(--fg); }
  .star { width: 10px; height: 10px; flex: none; }
  .typed::after { content: ""; display: inline-block; width: .55em; height: 1em; background: currentColor; margin-left: 3px; vertical-align: -0.12em; animation: blink 1s steps(1) infinite; display: none; }
  .typing .typed::after { display: inline-block; }
  .caret { display: inline-block; width: .42em; height: .78em; background: currentColor; margin-left: .08em; animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .caret, .typed::after { animation: none; } }
  header.top nav { display: flex; gap: 24px; }
  header.top nav a { text-decoration: none; color: var(--muted); }
  header.top nav a:hover { color: var(--fg); }

  .hero { padding: 110px 0 90px; }
  .hero h1 { font-size: clamp(42px, 8vw, 92px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; margin: 0; max-width: 11em; }

  /* Geist Pixel: small charm accents only (index numbers, years, section labels) */
  .px { font-family: var(--pixel); font-size: 14px; color: var(--muted); letter-spacing: .02em; }

  .project { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
  .project:nth-of-type(even) { grid-template-columns: 1fr 1.25fr; }
  .project:nth-of-type(even) .shot { order: 2; }
  .shot { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #ddd; }
  .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .shot.ph { display: grid; place-items: center; font-family: var(--pixel); color: rgba(255,255,255,.9); font-size: 14px; }
  .g1 { background: linear-gradient(135deg, #9B7BFF, #ff7ac6); }
  .g2 { background: linear-gradient(135deg, #1f6f5c, #b6e36b); }
  .g3 { background: linear-gradient(135deg, #ff9a3c, #ffd36e); }
  .g4 { background: linear-gradient(135deg, #2b2f4a, #3155FF); }
  .g5 { background: linear-gradient(135deg, #d9486b, #f6a6a0); }
  .g6 { background: linear-gradient(135deg, #222, #888); }
  .project h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.1; margin: 10px 0 14px; }
  .project p { color: var(--body); margin: 0 0 28px; max-width: 26em; }
  .btn { display: inline-block; font-family: var(--mono); font-size: 14px; text-decoration: none; padding: 10px 18px; border: 1px solid var(--fg); border-radius: 999px; transition: background .15s, color .15s; }
  .btn:hover { background: var(--fg); color: var(--bg); }

  section.block { padding: 72px 0; border-top: 1px solid var(--line); }
  section.block > h3 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 500; margin: 8px 0 36px; }

  .archive { columns: 3; column-gap: 16px; }
  .archive figure { margin: 0 0 16px; break-inside: avoid; }
  .archive .shot { border-radius: 8px; }
  .archive figcaption { margin-top: 8px; display: flex; justify-content: space-between; }
  .a-tall { aspect-ratio: 3/4; } .a-wide { aspect-ratio: 4/3; } .a-sq { aspect-ratio: 1; }

  .row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .row:first-of-type { border-top: 1px solid var(--line); }
  .row > span:last-child { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
  .row:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }

  .about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .about p { margin: 0 0 16px; max-width: 32em; }
  .about ul { list-style: none; padding: 0; margin: 0; color: var(--body); }

  footer { padding: 90px 0 56px; border-top: 1px solid var(--line); }
  footer a { font-family: var(--mono); font-size: clamp(20px, 4vw, 36px); letter-spacing: -0.02em; text-decoration-color: var(--line); text-underline-offset: 6px; }
  footer a:hover { text-decoration-color: currentColor; }


  .about-grid .lead { max-width: 38em; }
  .about-grid .lead p { color: var(--body); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.015em; margin: 18px 0 0; }
  
  h4.sub { font-family: var(--mono); font-weight: 500; font-size: 14px; margin: 64px 0 20px; }
  .principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .principles li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
  .principles strong { font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
  .principles p { margin: 4px 0 0; color: var(--body); font-size: 16px; }
  .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
    footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
  footer a.mail { font-family: var(--mono); }
  .lastfm { font-family: var(--mono) !important; font-size: 13px !important; letter-spacing: 0 !important; text-decoration: none !important; display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
  .lastfm img { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; flex: none; }
  .lastfm .lf-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lf-dim { opacity: .5; }
  @media (max-width: 760px) {
    .principles { grid-template-columns: 1fr; }
    }
  @media (max-width: 760px) {
    .project, .project:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; }
    .project:nth-of-type(even) .shot { order: 0; }
    .archive { columns: 2; }
    .about { grid-template-columns: 1fr; }
    .hero { padding: 64px 0; }
  }

  /* Project pages */
  .case-head { padding: 72px 0 40px; max-width: 900px; }
  .case-head h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; margin: 14px 0 24px; }
  .case-head .intro { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; letter-spacing: -0.01em; color: var(--body); margin: 0; max-width: 34em; }
  .full { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin: 0 0 8px; }
  .full.ph, .half.ph { display: grid; place-items: center; font-family: var(--pixel); color: rgba(255,255,255,.9); font-size: 14px; }
  .full img, .half img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .halves { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .half { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
  .meta-block { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 56px 0; }
  .meta-block h4 { font-family: var(--mono); font-weight: 500; font-size: 13px; margin: 0 0 10px; color: var(--muted); }
  .meta-block ul { list-style: none; margin: 0; padding: 0; }
  .meta-block li { padding: 3px 0; }
  .meta-block .col + .col { margin-top: 28px; }
  .text-block { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 56px 0 32px; }
  .text-block h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin: 0; }
  .text-block p { margin: 0 0 14px; max-width: 34em; }
  .text-block p, .text-block li { color: var(--body); }
  .text-block ul { margin: 0 0 14px; padding-left: 1.1em; max-width: 34em; }
  .case-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 56px 0; border-top: 1px solid var(--line); margin-top: 56px; }
  .case-nav a { font-family: var(--mono); font-size: 14px; text-decoration: none; }
  .case-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .project h2 a { text-decoration: none; }
  @media (max-width: 760px) {
    .meta-block, .text-block { grid-template-columns: 1fr; gap: 16px; }
    .halves { grid-template-columns: 1fr; }
  }

  /* Theme toggle */
  .theme { background: none; border: 0; padding: 4px; margin: -4px 0 -4px 4px; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center; border-radius: 50%; transition: color .2s var(--ease), transform .5s var(--ease); }
  .theme:hover { color: var(--fg); background: var(--chip); }
  .theme:focus-visible, a:focus-visible, .btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
  .theme svg { width: 18px; height: 18px; }
  .theme .moon { display: none; }
  :root[data-theme="dark"] .theme .sun { display: none; }
  :root[data-theme="dark"] .theme .moon { display: block; }
  header.top nav { align-items: center; }

  /* Micro-interactions */
  header.top nav a:not(.theme) { position: relative; transition: color .2s var(--ease); }
  header.top nav a:not(.theme)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  header.top nav a:not(.theme):hover::after { transform: scaleX(1); }

  .shot { transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
  .project:hover .shot { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }
  .shot img { transition: transform .8s var(--ease); }
  .project:hover .shot img { transform: scale(1.04); }
  .project h2 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
  .project h2 a:hover { background-size: 100% 1px; }

  .btn { position: relative; overflow: hidden; transition: background .25s var(--ease), color .25s var(--ease), padding .3s var(--ease), transform .2s var(--ease); }
  .btn::after { content: "→"; display: inline-block; max-width: 0; opacity: 0; margin-left: 0; transition: max-width .3s var(--ease), opacity .3s var(--ease), margin .3s var(--ease); vertical-align: bottom; }
  .btn:hover::after { max-width: 1.2em; opacity: 1; margin-left: 8px; }
  .btn:active { transform: scale(.96); }

  .archive figure { transition: transform .4s var(--ease); }
  .archive figure .shot { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-radius .5s var(--ease); }
  .archive figure:hover { transform: translateY(-4px); }
  .archive figure:hover .shot { box-shadow: 0 16px 32px -16px rgba(0,0,0,.35); border-radius: 14px; transform: none; }
  .halves .half { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
  .halves .half:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }

  .row { transition: padding .3s var(--ease), border-color .3s var(--ease); }
  .row > span:first-child { transition: transform .3s var(--ease); }
  .row > span:last-child { transition: transform .3s var(--ease), color .3s var(--ease); }
  .row:hover span:first-child { transform: translateX(8px); text-decoration: none; }
  .row:hover span:last-child { transform: translateX(-4px); color: var(--fg); }

  .chips li { background: var(--chip); border-color: transparent; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); cursor: default; }
  .chips li:hover { transform: translateY(-3px) rotate(-1.5deg); background: var(--fg); color: var(--bg); }
  .principles li { transition: border-color .3s var(--ease); }
  .principles li:hover { border-color: var(--fg); }
  .principles li .px { transition: color .3s var(--ease); }
  .principles li:hover .px { color: var(--fg); }
  footer a.mail { transition: letter-spacing .4s var(--ease), text-decoration-color .3s; }
  footer a.mail:hover { letter-spacing: 0; }
  .lastfm img { transition: transform .4s var(--ease); }
  .lastfm:hover img { transform: rotate(-6deg) scale(1.08); }
  .case-nav a { transition: transform .25s var(--ease); display: inline-block; }
  .case-nav a:hover { transform: translateX(4px); }

  /* Scroll reveal (class added by site.js) */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
  }

  /* Full-bleed project images (come in from the page edges) */
  .project { --edge: max(24px, calc(50vw - 516px)); width: 100vw; margin-left: calc(50% - 50vw); grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); padding: 56px var(--edge) 56px 0; }
  .project:nth-of-type(even) { grid-template-columns: 1fr 1.3fr; padding: 56px 0 56px var(--edge); }
  .project .shot { border-radius: 0 14px 14px 0; }
  .project:nth-of-type(even) .shot { border-radius: 14px 0 0 14px; }
  .project .shot.bleed { background: none; border-radius: 0; box-shadow: none !important; }
  .project .shot.bleed img { object-fit: contain; object-position: left center; }
  .project:nth-of-type(even) .shot.bleed img { object-position: right center; }
  .project:hover .shot.bleed img { transform: scale(1.03); }
  @media (max-width: 760px) {
    .project, .project:nth-of-type(even) { grid-template-columns: 1fr; padding: 40px 0; }
    .project .info { padding: 0 24px; }
    .project .shot, .project:nth-of-type(even) .shot { border-radius: 0; }
  }

  .project .tags { display: block; margin: -4px 0 14px; }
  .case-head .tags { display: block; margin-top: 4px; }
  .impact { list-style: none; margin: 0 0 14px; padding: 0; max-width: 34em; }
  .impact li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--body); }
  .impact li:last-child { border-bottom: 1px solid var(--line); }
  .impact strong { display: block; color: var(--fg); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }

  /* Recommendations */
  .feature { margin: 0 0 16px; padding: 40px 0 48px; border-top: 1px solid var(--line); }
  .feature blockquote { margin: 0 0 24px; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; max-width: 24em; text-wrap: balance; }
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
  .quotes figure { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: transform .35s var(--ease), border-color .35s var(--ease); }
  .quotes figure:hover { transform: translateY(-4px); border-color: var(--fg); }
  .quotes blockquote { margin: 0; color: var(--body); font-size: 16px; line-height: 1.5; }
  figcaption strong { display: block; font-weight: 500; margin-bottom: 2px; }
  @media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

  /* Archive mosaic */
  .mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(160px, 24vw, 260px); grid-auto-flow: dense; gap: 12px; margin-top: 36px; }
  .mosaic .tile { overflow: hidden; border-radius: 8px; }
  .mosaic .tile.w2 { grid-column: span 2; }
  .mosaic .tile.h2 { grid-row: span 2; }
  .mosaic .shot { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform .7s var(--ease); }
  .mosaic .shot img { width: 100%; height: 100%; object-fit: cover; }
  .mosaic .tile:hover .shot { transform: scale(1.05); box-shadow: none; }
  @media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }

  .project.private .info h2 { margin-bottom: 0; }


  /* Language switcher */
  html.i18n-wait body { opacity: 0; animation: i18n-reveal 0s 1.2s forwards; }
  @keyframes i18n-reveal { to { opacity: 1; } }
  .lang { position: relative; display: inline-flex; }
  .lang-btn { background: none; border: 0; padding: 4px; margin: -4px 0; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center; border-radius: 50%; transition: color .2s var(--ease), transform .5s var(--ease); }
  .lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--fg); }
  .lang-btn:hover { background: var(--chip); }
  .lang-btn svg { width: 18px; height: 18px; }
  .lang-menu { position: absolute; right: -8px; top: calc(100% + 12px); list-style: none; margin: 0; padding: 6px; min-width: 132px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.35); z-index: 20; }
  .lang-menu[hidden] { display: none; }
  .lang-menu button { width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 8px 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
  .lang-menu button:hover { background: var(--chip); color: var(--fg); }
  .lang-menu button[aria-current="true"] { color: var(--fg); }
  .lang-menu button[aria-current="true"]::after { content: " \2022"; }
  .lang-btn:focus-visible, .lang-menu button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

  .row .tag { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; margin-right: 10px; font-size: 11px; color: var(--muted); }
  @media (max-width: 760px) { .row { flex-wrap: wrap; gap: 6px 16px; } .row > span:last-child { white-space: normal; } }

  /* Hero subline, about, carousel, outside, footer */
  .hero-sub { margin: 28px 0 0; font-size: clamp(18px, 2.2vw, 22px); color: var(--body); letter-spacing: -0.01em; }
  .about-top { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 24px; }
  .about-text .lead p { margin: 0 0 18px; }
  .btn.cv { margin-top: 12px; }
  .carousel { position: relative; }
  .carousel .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
  .carousel .track::-webkit-scrollbar { display: none; }
  .carousel .slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 3 / 4; }
  .carousel .slide .shot { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .carousel .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .carousel .dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
  .carousel .dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease); }
  .carousel .dots button:hover { transform: scale(1.3); }
  .carousel .dots button[aria-current="true"] { background: #fff; transform: scale(1.25); }
  #outside .chips { margin-bottom: 8px; }
  .nowplaying { margin-top: 36px; }
  footer { display: block; }
  footer .cta { margin: 0 0 14px; font-size: clamp(18px, 2.2vw, 22px); color: var(--body); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 760px) { .about-top { grid-template-columns: 1fr; } .carousel { max-width: 340px; } .quotes { grid-template-columns: 1fr; } }

  footer .copy { margin: 56px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }

  .nowplaying:has(.lastfm[hidden]) { display: none; }
  .lastfm[hidden] { display: none; }

  /* Bookshelf: wooden shelf with depth, horizontal scroll */
  :root { --wood-hi: #cf9a62; --wood: #a8733f; --wood-lo: #7a4f27; --wood-back: #e8d7bf; --wood-back-lo: #cfb594; }
  :root[data-theme="dark"] { --wood-hi: #92643a; --wood: #6b4727; --wood-lo: #432919; --wood-back: #33261a; --wood-back-lo: #1f1610; }
  .bookcase { position: relative; margin-top: 8px; }
  .shelf { overflow-x: auto; padding: 26px 12px 26px; margin: 0 -12px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 60%, transparent) transparent; scroll-snap-type: x proximity; outline-offset: 2px; }
  .shelf::-webkit-scrollbar { height: 8px; }
  .shelf::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 55%, transparent); border-radius: 4px; }
  .shelf::-webkit-scrollbar-track { background: var(--chip); border-radius: 4px; }
  .shelf-inner { position: relative; display: flex; gap: 22px; width: max-content; min-width: 100%; }
  /* top surface and front face of the plank (no back panel, no drop shadow) */
  .shelf-inner { padding: 0 56px; box-sizing: border-box; }
  .shelf-inner::before { content: ""; position: absolute; left: 0; right: 0; top: 204px; height: 12px; z-index: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--wood-hi) 82%, #fff) 0, var(--wood-hi) 100%); }
  .shelf-inner::after { content: ""; position: absolute; left: 0; right: 0; top: 216px; height: 24px; z-index: 0;
    background:
      repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 7px, rgba(255,255,255,.05) 7px 8px, transparent 8px 21px),
      repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 4px),
      linear-gradient(180deg, var(--wood-hi) 0, var(--wood) 38%, var(--wood-lo) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
  .book { position: relative; z-index: 1; flex: 0 0 140px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; scroll-snap-align: start; }
  .book .cover { position: relative; display: block; width: 140px; height: 210px; border-radius: 3px 7px 7px 3px; overflow: hidden; background: var(--chip); box-shadow: 2px 4px 8px -4px rgba(0,0,0,.35); margin-bottom: 44px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .book .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22) 0, rgba(255,255,255,.12) 6px, transparent 12px); pointer-events: none; }
  .book .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .book .cover.fb { background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
  .book:hover .cover { transform: translateY(-8px) rotate(-1deg); box-shadow: 4px 10px 12px -6px rgba(0,0,0,.4); }
  .book .t { font-size: 14px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
  .book .a { font-family: var(--mono); font-size: 11px; color: var(--muted); }
  /* Burgundy Moleskine-style notebook */
  .book .cover.mol { background: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 4px), linear-gradient(135deg, #7d2236, #571322); border-radius: 3px 12px 12px 3px; }
  .book .cover.mol::before { content: ""; position: absolute; top: 0; bottom: 0; right: 18%; width: 8px; background: linear-gradient(90deg, #2b0a12, #3c0f1a, #2b0a12); z-index: 2; }
  .book .mol-t { position: absolute; left: 14px; bottom: 16px; z-index: 1; font-family: var(--pixel); font-size: 12px; letter-spacing: .06em; color: rgba(236, 205, 150, .82); text-shadow: 0 1px 0 rgba(0,0,0,.45); }
  /* arrows */
  .shelf-arrow { position: absolute; top: 112px; z-index: 5; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
  .shelf-arrow:hover { background: var(--fg); color: var(--bg); }
  .shelf-arrow[hidden] { display: none; }
  .shelf-arrow svg { width: 18px; height: 18px; }
  .shelf-arrow.prev { left: -8px; } .shelf-arrow.next { right: -8px; }

  .social { display: flex; gap: 24px; margin-top: 32px; font-family: var(--mono); font-size: 14px; }
  .social a { color: var(--muted); text-decoration: none; position: relative; transition: color .2s var(--ease); }
  .social a:hover { color: var(--fg); }
  .social a::after { content: " \2197"; opacity: 0; display: inline-block; transform: translate(-3px, 3px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .social a:hover::after { opacity: 1; transform: none; }
  footer .copy { margin-top: 40px; }

  footer .social a { font-size: 14px; letter-spacing: 0; text-decoration: none; }

  .contact-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px 32px; }
  footer .contact-row .social { margin-top: 0; gap: 20px; }
  footer .social a { font-size: 12px; color: var(--body); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--body) 55%, transparent); text-underline-offset: 3px; }
  footer .social a:hover { color: var(--fg); text-decoration-color: currentColor; }
  footer .social a::after { content: none; }

  /* About: colorful realistic polaroids in a carousel */
  .about-top { grid-template-columns: minmax(0, 380px) 1fr; }
  .carousel .track { border-radius: 0; }
  .carousel .slide { aspect-ratio: 5 / 6; display: grid; place-items: center; padding: 22px 26px; }
  .polaroid::after { background: linear-gradient(115deg, rgba(255,255,255,.22) 0, rgba(255,255,255,0) 38%); }
  .carousel .dots { position: static; margin-top: 10px; }
  .carousel .dots button { background: var(--line); }
  .carousel .dots button[aria-current="true"] { background: var(--fg); }
  .polaroid { --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
    position: relative; width: 66%; margin: 0; padding: 7.4% 7.4% 37%; border-radius: 4px; transform: rotate(var(--tilt)); transition: transform .5s var(--ease);
    background: linear-gradient(180deg, color-mix(in srgb, var(--frame) 88%, #fff) 0, var(--frame) 22%, color-mix(in srgb, var(--frame) 90%, #000) 100%);
    box-shadow: 0 1px 1px rgba(0,0,0,.18), 0 10px 18px -8px rgba(0,0,0,.35), 0 28px 36px -22px rgba(0,0,0,.35); }
  .polaroid::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--noise); opacity: .16; mix-blend-mode: multiply; pointer-events: none; }
  .polaroid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.22) 0, rgba(255,255,255,0) 38%); pointer-events: none; }
  .polaroid .photo { position: relative; aspect-ratio: 46 / 62; overflow: hidden; background: #111; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), inset 0 3px 10px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.25); }
  .polaroid .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.14) 0, rgba(255,255,255,0) 45%), radial-gradient(120% 120% at 50% 40%, transparent 60%, rgba(0,0,0,.18)); pointer-events: none; }
  .polaroid .photo .shot, .polaroid .photo img { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; object-fit: cover; display: grid; place-items: center; }
  .carousel .slide:hover .polaroid { transform: rotate(0deg) translateY(-4px); }
  @media (max-width: 760px) { .about-top { grid-template-columns: 1fr; } .carousel { max-width: 340px; } }

  /* Home cases: bigger images, tighter text (karoliskosas.com proportions) */
  .project { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: 72px var(--edge) 72px 0; min-height: min(78vh, 760px); }
  .project:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); padding: 72px 0 72px var(--edge); }
  .project .shot.bleed img { max-height: 72vh; width: 100%; }
  .project h2 { font-size: clamp(32px, 3.6vw, 48px); }
  .project p { font-size: 17px; line-height: 1.5; max-width: 21em; }
  @media (max-width: 760px) { .project, .project:nth-of-type(even) { min-height: 0; grid-template-columns: 1fr; padding: 40px 0; } .project .shot.bleed img { max-height: none; } }

  /* Home cases: shorter so the next one peeks in; titles 44px */
  .project { min-height: 0; padding: 44px var(--edge) 44px 0; }
  .project:nth-of-type(even) { padding: 44px 0 44px var(--edge); }
  .project .shot.bleed img, .project .shot.bleed video { max-height: 62vh; width: 100%; display: block; }
  .project .shot.bleed img { object-fit: contain; }
  .project .shot.bleed video { object-fit: contain; object-position: center; mix-blend-mode: multiply; filter: brightness(1.08) contrast(1.04); }
  :root[data-theme="dark"] .project .shot.bleed video { mix-blend-mode: normal; border-radius: 14px; filter: none; }
  .project h2 { font-size: clamp(32px, 4.4vw, 44px); }
  .more-work { padding: 8px 0 40px; display: flex; justify-content: center; }
  @media (max-width: 760px) { .project .shot.bleed img, .project .shot.bleed video { max-height: none; } }

  /* Instax mini frame (real frame image on top of the photo) */
  .polaroid { width: 64%; aspect-ratio: 888 / 1386; padding: 0; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)) drop-shadow(0 10px 14px rgba(0,0,0,.22)) drop-shadow(0 26px 30px rgba(0,0,0,.18)); }
  .polaroid::before, .polaroid::after { display: none; }
  .polaroid .photo { position: absolute; left: 7.9%; top: 7.9%; width: 85.2%; height: 74%; aspect-ratio: auto; box-shadow: none; z-index: 1; }
  .polaroid .photo::after { background: linear-gradient(135deg, rgba(255,255,255,.12) 0, rgba(255,255,255,0) 45%), radial-gradient(120% 120% at 50% 40%, transparent 62%, rgba(0,0,0,.16)); }
  .polaroid .frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; user-select: none; }

  /* Bento page */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; padding: 8px 0 72px; }
  .bento-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 22px; overflow: hidden; background: var(--chip); color: var(--fg); text-decoration: none; min-height: 300px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
  a.bento-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.35); }
  .bento-card .shot { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
  .bento-card .shot.bleed { background: none; display: grid; place-items: center; padding: 28px 28px 150px; }
  .bento-card .shot.bleed img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform .6s var(--ease); }
  a.bento-card:hover .shot.bleed img { transform: scale(1.04) rotate(-1deg); }
  .bento-card .b-info { position: relative; padding: 24px 26px 26px; }
  .bento-card .b-info h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.1; margin: 6px 0 8px; }
  .bento-card .b-info p { margin: 8px 0 0; color: var(--body); font-size: 15px; max-width: 24em; }
  .bento-card .b-info .tags { display: block; }
  .bento-card.ph-light { color: #fff; }
  .bento-card:has(.shot.ph) { color: #fff; }
  .bento-card:has(.shot.ph) .px, .bento-card:has(.shot.ph) h2 { color: #fff; }
  .b-a { grid-column: span 3; grid-row: span 2; min-height: 620px; }
  .b-b { grid-column: span 3; }
  .b-c { grid-column: span 3; }
  @media (max-width: 760px) { .bento { grid-template-columns: 1fr; } .b-a, .b-b, .b-c { grid-column: auto; grid-row: auto; } .b-a { min-height: 520px; } }
  .bento-card .shot.bleed { position: relative; inset: auto; flex: 1; min-height: 0; padding: 32px 28px 0; }
  .bento-card .shot.bleed img { max-height: 420px; }
  .b-a { justify-content: flex-start; }

  .hero-sub { font-family: var(--pixel); font-size: clamp(15px, 1.8vw, 18px); letter-spacing: .02em; min-height: 1.5em; }
  .hero-sub .caret { height: .95em; }
  .contact-row { justify-content: space-between; }
  footer .contact-row .social { margin-left: auto; }

  /* Original (neutral) instax frame + placeholder */
  .g.gp, .gp { background: linear-gradient(160deg, #d9dde3, #b9bfc9); color: #6b7280; }
  .carousel .track { cursor: grab; }
  .carousel .track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
  .carousel { position: relative; }
  .car-arrow { position: absolute; top: calc(50% - 20px); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--fg); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease); }
  .car-arrow svg { width: 18px; height: 18px; }
  .car-arrow:hover { background: var(--fg); color: var(--bg); }
  .car-arrow.prev { left: 4px; } .car-arrow.next { right: 4px; }
  .car-arrow[hidden] { display: none; }
  /* soft video edges */
  .project .shot.bleed video { -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
  /* Recommendations: subtle label instead of a big title */

  /* video: real transparency, no blending tricks */
  .project .shot.bleed video { mix-blend-mode: normal !important; filter: none !important; -webkit-mask-image: none !important; mask-image: none !important; border-radius: 0 !important; background: none; }
  .project .shot.bleed { overflow: visible; }
  /* Bento: all projects */
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-card { min-height: 380px; }
  .b-uncover { grid-column: span 4; grid-row: auto; }
  .b-cg { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .b-cr, .b-trezo, .b-web { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .b-cap { grid-column: span 6; min-height: 200px; }
  .bento-card .shot.bleed img, .bento-card .shot.bleed video { max-height: 340px; width: auto; max-width: 100%; object-fit: contain; display: block; }
  .bento-card .shot.bleed video { margin: 0 auto; }
  .bento-card .shot.bleed { display: grid; place-items: center; }
  @media (max-width: 760px) { .b-uncover, .b-cg, .b-cr, .b-trezo, .b-web, .b-cap { grid-column: auto; min-height: 360px; } }

  /* About photos: low-res, not draggable / not openable as image */
  .polaroid .photo img { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

  /* Softer polaroid shadow with room so it never clips */
  .carousel .slide { aspect-ratio: 4 / 5; padding: 44px 40px; }
  .polaroid { width: 76%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.10)) drop-shadow(0 14px 22px rgba(0,0,0,.12)) drop-shadow(0 32px 44px rgba(0,0,0,.09)); }
  /* Draggable design stickers in About */
  .about-top { position: relative; }
  .stickers { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
  .sticker { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)) scale(1); pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
    filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 8px 10px rgba(0,0,0,.18));
    transition: transform .3s var(--ease), filter .3s var(--ease); opacity: 0; }
  .stickers.stk-on .sticker { opacity: 1; animation: stk-in .6s var(--ease) both; }
  .stickers.stk-on .sticker:nth-child(2) { animation-delay: .08s; } .stickers.stk-on .sticker:nth-child(3) { animation-delay: .16s; } .stickers.stk-on .sticker:nth-child(4) { animation-delay: .24s; } .stickers.stk-on .sticker:nth-child(5) { animation-delay: .32s; } .stickers.stk-on .sticker:nth-child(6) { animation-delay: .4s; }
  @keyframes stk-in { from { opacity: 0; transform: rotate(var(--r)) scale(.4); } to { opacity: 1; transform: rotate(var(--r)) scale(1); } }
  .sticker:hover { transform: rotate(calc(var(--r) + 4deg)) scale(1.08); }
  .sticker.drag { cursor: grabbing; transform: rotate(calc(var(--r) - 3deg)) scale(1.14); transition: transform .15s var(--ease); filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 18px 18px rgba(0,0,0,.25)); z-index: 10; }
  @media (prefers-reduced-motion: reduce) { .stickers.stk-on .sticker { animation: none; } }
  @media (max-width: 760px) { .sticker { width: 68px; height: 68px; } .sticker:nth-child(n+5) { display: none; } }
  /* Bento · Uncover: laptop flush to the left edge, never cropped */
  .b-uncover .shot.bleed { padding: 36px 0 0 0; place-items: center start; }
  .b-uncover .shot.bleed img { width: 100%; max-width: 100%; max-height: none; height: auto; object-fit: contain; object-position: left center; }
  a.b-uncover:hover .shot.bleed img { transform: scale(1.02); transform-origin: left center; }
  .carousel .slide { padding: 60px 56px; aspect-ratio: 5 / 6; }
  .polaroid { width: 74%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.09)) drop-shadow(0 12px 18px rgba(0,0,0,.10)) drop-shadow(0 26px 34px rgba(0,0,0,.07)); }

  /* Vintage stickers: small, whole About section is their playground */
  section.block#about { position: relative; }
  .about-top { position: static; }
  .stickers { inset: 0; }
  .sticker { filter: drop-shadow(2.5px 0 0 #fffaf0) drop-shadow(-2.5px 0 0 #fffaf0) drop-shadow(0 2.5px 0 #fffaf0) drop-shadow(0 -2.5px 0 #fffaf0) drop-shadow(0 6px 7px rgba(60,20,20,.22)); }
  .sticker.drag { filter: drop-shadow(2.5px 0 0 #fffaf0) drop-shadow(-2.5px 0 0 #fffaf0) drop-shadow(0 2.5px 0 #fffaf0) drop-shadow(0 -2.5px 0 #fffaf0) drop-shadow(0 14px 14px rgba(60,20,20,.28)); }
  @media (max-width: 760px) { .sticker { width: 54px; height: 54px; } .sticker:nth-child(n+5) { display: none; } }

  /* Bento "all projects": alternating sides, Uncover flush to the left edge */
  .bento { grid-template-columns: repeat(6, 1fr); }
  .b-uncover { grid-column: span 4; } .b-cg { grid-column: span 2; }
  .b-cr { grid-column: span 2; } .b-trezo { grid-column: span 4; }
  .b-web { grid-column: span 3; } .b-cap { grid-column: span 3; }
  .bento-card { min-height: 400px; }
  .bento-card .shot.bleed { position: relative; inset: auto; flex: 1; min-height: 0; display: flex; align-items: center; padding: 28px 0 0; }
  .bento-card.l .shot.bleed { justify-content: flex-start; }
  .bento-card.r .shot.bleed { justify-content: flex-end; }
  .bento-card .shot.bleed img, .bento-card .shot.bleed video { width: auto; height: auto; max-width: 100%; max-height: 330px; object-fit: contain; }
  .b-uncover .shot.bleed img { width: 100%; max-height: none; object-position: left center; }
  .b-trezo .shot.bleed img { max-height: 340px; margin-right: 6%; }
  .b-cr .shot.bleed video { margin-left: 8%; }
  .b-cg .shot.bleed img { margin-right: 2%; }
  a.b-uncover:hover .shot.bleed img { transform: scale(1.02); transform-origin: left center; }
  @media (max-width: 760px) { .b-uncover, .b-cg, .b-cr, .b-trezo, .b-web, .b-cap { grid-column: 1 / -1; min-height: 340px; } }

  /* Recommendations: handwritten letter on stationery + decorated notes */
  .letter { position: relative; max-width: 880px; margin: 28px 0 64px; padding: 64px 150px 84px 64px; color: #7A1F2B; transform: rotate(-.5deg);
    background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(177,34,43,.17) 35px 36px), #FFF4E6; background-clip: padding-box;
    border: 12px solid transparent; border-image: repeating-linear-gradient(135deg, #B1222B 0 14px, #FFF4E6 14px 26px, #F4A6B8 26px 40px, #FFF4E6 40px 52px) 12;
    box-shadow: 0 2px 4px rgba(60,20,20,.12), 0 28px 44px -20px rgba(60,20,20,.38); }
  .letter::after { content: ""; position: absolute; left: 44px; top: 0; bottom: 0; width: 1.5px; background: rgba(177,34,43,.28); }
  .letter .l-hi { font-family: var(--mono); font-weight: 600; font-size: 30px; line-height: 36px; margin: 0 0 20px; position: relative; z-index: 1; }
  .letter .feature { margin: 0; position: relative; z-index: 1; }
  .letter .feature blockquote { font-family: var(--mono); font-weight: 600; font-size: 34px; line-height: 36px; letter-spacing: 0; color: #7A1F2B; margin: 0; max-width: none; }
  .letter .postage { position: absolute; top: 18px; right: 22px; width: 190px; height: 110px; z-index: 2; }
  .letter .stamp { position: absolute; right: 0; top: 0; transform: rotate(4deg); filter: drop-shadow(0 3px 4px rgba(60,20,20,.25)); }
  .letter .postmark { position: absolute; right: 56px; top: 24px; transform: rotate(-9deg); opacity: .8; mix-blend-mode: multiply; }
  .letter .wax { position: absolute; right: 54px; bottom: 16px; transform: rotate(-12deg); filter: drop-shadow(0 4px 5px rgba(60,20,20,.35)); }
  .letter .orn { position: absolute; left: 62px; bottom: 18px; opacity: .9; }
  .quotes { grid-template-columns: repeat(2, 1fr); gap: 34px 28px; margin-bottom: 48px; }
  .quotes figure.note { position: relative; border: 0; border-radius: 3px; padding: 40px 66px 30px 30px; background: #FFF4E6; display: block;
    box-shadow: 0 1px 2px rgba(60,20,20,.12), 0 16px 26px -16px rgba(60,20,20,.35); transform: rotate(var(--t, -1.2deg)); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
  .quotes figure.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; margin-left: -48px; transform: rotate(-3deg);
    background: repeating-linear-gradient(45deg, rgba(244,166,184,.9) 0 7px, rgba(255,241,226,.9) 7px 14px); box-shadow: 0 1px 2px rgba(60,20,20,.15); }
  .quotes figure.note:hover { transform: rotate(0deg) translateY(-5px); border-color: transparent; box-shadow: 0 2px 3px rgba(60,20,20,.12), 0 26px 34px -16px rgba(60,20,20,.4); }
  .quotes figure.note.n1 { --t: -1.4deg; } .quotes figure.note.n2 { --t: 1.2deg; background: #FBD3DC; } .quotes figure.note.n3 { --t: .9deg; background: #FFEFC9; } .quotes figure.note.n4 { --t: -1deg; background: #FADBD8; }
  .quotes figure.note blockquote { font-family: var(--mono); font-weight: 600; font-size: 23px; line-height: 1.22; color: #5E1520; }
  .quotes figure.note .mini { position: absolute; top: 14px; right: 14px; transform: rotate(6deg); filter: drop-shadow(0 2px 3px rgba(60,20,20,.25)); }
  .quotes figure.note.n2 .mini { transform: rotate(-5deg); } .quotes figure.note.n4 .mini { transform: rotate(-7deg); }
  @media (max-width: 760px) {
    .letter { padding: 150px 26px 110px 54px; border-width: 10px; } .letter .l-hi { font-size: 26px; } .letter .feature blockquote { font-size: 27px; line-height: 32px; }
    .letter .postage { transform: scale(.8); transform-origin: top right; } .letter .wax { right: 24px; } .letter .orn { left: 54px; }
    .quotes { grid-template-columns: 1fr; }
  }
  .letter { max-width: none; padding-right: 230px; }
  .letter .postage { right: 34px; }
  .letter .wax { right: 80px; }

  /* draggable affordance */
  .sticker, .sticker * { cursor: grab; }
  .sticker.drag, .sticker.drag * { cursor: grabbing; }
  body.dragging-stk, body.dragging-stk * { cursor: grabbing !important; }

  @media (max-width: 760px) { .sticker { top: calc(var(--y) * .6); } }

  .foot-end { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 56px; }
  .foot-end .copy { margin: 0; }
  .to-top { font-family: var(--mono); font-size: 14px; color: var(--fg); text-decoration: none; display: inline-block; transition: transform .25s var(--ease); }
  .to-top:hover { transform: translateY(-3px); text-decoration: underline; text-underline-offset: 4px; }

  /* Kalam handwriting for the letter and notes */
  .letter .l-hi { font-family: var(--mono); font-weight: 700; font-size: 23px; line-height: 36px; }
  .letter .feature blockquote { font-family: var(--mono); font-weight: 400; font-size: 25px; line-height: 36px; }
  .quotes figure.note blockquote { font-family: var(--mono); font-weight: 400; font-size: 17.5px; line-height: 1.38; }
  @media (max-width: 760px) { .letter .l-hi { font-size: 20px; } .letter .feature blockquote { font-size: 21px; line-height: 32px; } }

  /* Letters: Courier Prime, cleaner details, same flat/outlined sticker style as the About */
  .letter { padding: 56px 150px 72px 60px; border-width: 8px; background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(177,34,43,.09) 35px 36px), #FFF4E6; background-clip: padding-box;
    border-image: repeating-linear-gradient(135deg, #B1222B 0 10px, #FFF4E6 10px 20px, #F4A6B8 20px 30px, #FFF4E6 30px 40px) 8; transform: rotate(-.4deg); }
  .letter::after, .letter .postage, .letter .postmark, .letter .stamp, .letter .orn { display: none; }
  .letter .l-hi { font-family: var(--mono); font-weight: 700; font-size: 17px; line-height: 36px; letter-spacing: .01em; margin: 0 0 16px; }
  .letter .feature blockquote { font-family: var(--mono); font-weight: 400; font-size: 21px; line-height: 36px; color: #7A1F2B; }
  .letter .deco, .letter .wax { position: absolute; filter: drop-shadow(2.5px 0 0 #fffaf0) drop-shadow(-2.5px 0 0 #fffaf0) drop-shadow(0 2.5px 0 #fffaf0) drop-shadow(0 -2.5px 0 #fffaf0) drop-shadow(0 6px 7px rgba(60,20,20,.22)); }
  .letter .deco { top: 24px; right: 40px; transform: rotate(8deg); }
  .letter .wax { right: 54px; bottom: 22px; transform: rotate(-10deg); }
  .quotes figure.note::before { display: none; }
  .quotes figure.note { padding: 30px 74px 28px 28px; }
  .quotes figure.note blockquote { font-family: var(--mono); font-weight: 400; font-size: 14.5px; line-height: 1.55; color: #5E1520; }
  .quotes figure.note .mini { top: 14px; right: 14px; transform: rotate(6deg); filter: drop-shadow(2px 0 0 #fffaf0) drop-shadow(-2px 0 0 #fffaf0) drop-shadow(0 2px 0 #fffaf0) drop-shadow(0 -2px 0 #fffaf0) drop-shadow(0 4px 5px rgba(60,20,20,.2)); }
  .quotes figure.note.n2 .mini { transform: rotate(-6deg); } .quotes figure.note.n4 .mini { transform: rotate(-8deg); }
  @media (max-width: 760px) { .letter { padding: 110px 24px 100px 30px; } .letter .l-hi { font-size: 15px; } .letter .feature blockquote { font-size: 17px; line-height: 32px; } .letter .deco { right: 24px; } }
  /* more air between About and "What guides my work" */
  .about h4.sub:first-of-type, #about h4.sub:first-of-type { margin-top: 144px; }

  /* Bento v3 */
  .bento { grid-auto-flow: dense; }
  .b-uncover { grid-column: 1 / 5; grid-row: 1; }
  .b-cr { grid-column: 5 / 7; grid-row: 1 / 3; }
  .b-trezo { grid-column: 1 / 3; grid-row: 2; }
  .b-cg { grid-column: 3 / 5; grid-row: 2; }
  .b-web { grid-column: 1 / 4; grid-row: 3; }
  .b-cap { grid-column: 4 / 7; grid-row: 3; }
  .b-cr .shot.bleed, .b-trezo .shot.bleed { justify-content: center; }
  .b-cr .shot.bleed video { max-height: 600px; margin: 0 auto; }
  .b-trezo .shot.bleed img { margin: 0 auto; max-height: 300px; }
  .b-cr { min-height: 820px; }
  @media (max-width: 760px) { .b-uncover, .b-cr, .b-trezo, .b-cg, .b-web, .b-cap { grid-column: 1 / -1; grid-row: auto; } .b-cr { min-height: 560px; } .b-cr .shot.bleed video { max-height: 420px; } }

  /* Bento v4: big/small, small/big, big/small */
  .b-uncover { grid-column: 1 / 5; grid-row: 1; }
  .b-cg { grid-column: 5 / 7; grid-row: 1; }
  .b-trezo { grid-column: 1 / 3; grid-row: 2; }
  .b-cr { grid-column: 3 / 7; grid-row: 2; min-height: 400px; }
  .b-web { grid-column: 1 / 5; grid-row: 3; }
  .b-cap { grid-column: 5 / 7; grid-row: 3; }
  .bento-card { min-height: 420px; }
  .b-cr .shot.bleed video { max-height: 340px; }
  .b-cg .shot.bleed { justify-content: center; }
  .b-cg .shot.bleed img { margin: 0 auto; }
  @media (max-width: 760px) { .b-uncover, .b-cg, .b-trezo, .b-cr, .b-web, .b-cap { grid-column: 1 / -1; grid-row: auto; min-height: 360px; } .b-cr .shot.bleed video { max-height: 320px; } }

  /* extra white space between "What guides my work" and Recommendations */
  section.block#about { padding-bottom: 152px; }

  /* static transparent mockup */
  .project .shot.bleed.center { display: flex; justify-content: center; }
  .project .shot.bleed.center img { width: auto; max-width: 100%; margin: 0 auto; }
  .b-cr .shot.bleed img { max-height: 380px; width: auto; margin: 0 auto; }

  /* case images with their natural proportions (no crop) */
  .full.nat { aspect-ratio: auto; background: none; border-radius: 12px; margin: 24px 0 8px; }
  .full.nat img { width: 100%; height: auto; object-fit: contain; display: block; }

  .b-cap .shot.bleed { justify-content: center; padding-top: 20px; }
  .b-cap .shot.bleed img { max-height: 240px; margin: 0 auto; }
  .case-head + .full.nat { background: none; }
  .case-head + .full.nat img { max-height: 560px; width: auto; max-width: 100%; margin: 0 auto; }

  /* ---- Image protection (deterrents) ---- */
  img, video, svg.sticker { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
  img { pointer-events: none; }
  .full, .half, .tile { position: relative; }
  .wm { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .9;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='230' height='150'><text x='115' y='80' text-anchor='middle' transform='rotate(-24 115 75)' font-family='Geist Mono, monospace' font-size='12' letter-spacing='3' fill='rgba(255,255,255,.16)' stroke='rgba(0,0,0,.14)' stroke-width='.6'>© GISELLE ZART</text></svg>"); }
  html.shield img, html.shield video, html.shield .shot, html.shield .wm { filter: blur(30px) brightness(.45) !important; }
  html.shield img { transition: none !important; }
  @media print {
    body * { visibility: hidden !important; }
    body::before { content: "Conteúdo protegido · © Giselle Zart"; visibility: visible !important; display: block; padding: 48px; font: 16px monospace; }
  }

  /* watermark only while the shield (capture attempt) is active */
  .wm { opacity: 0 !important; }
  html.shield .wm { opacity: 1 !important; }
  .text-block p.press { margin: 0; } .text-block p.press a { text-decoration: underline; text-underline-offset: 3px; }

  figure.full.nat { margin: 24px 0 8px; overflow: visible; border-radius: 0; }
  figure.full.nat img { border-radius: 12px; }
  figure.full.nat figcaption { margin: 12px 2px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 52em; }

  /* Text protection: no selecting / copying (email stays selectable) */
  body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  .mail, .mail * { -webkit-user-select: text; user-select: text; }
  input, textarea { -webkit-user-select: text; user-select: text; }

  /* About: shorter text + facts card */
  .facts { list-style: none; margin: 28px 0 0; padding: 0; max-width: 400px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--bg) 92%, var(--fg)); box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); overflow: hidden; }
  .facts li { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line); }
  .facts li:first-child { border-top: 0; }
  .facts .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
  .facts .fi svg { width: 18px; height: 18px; }
  .facts .f-loc .fi { background: #e6edff; color: #3155ff; } .facts .f-prj .fi { background: #e4f5ea; color: #1f9d55; } .facts .f-cli .fi { background: #ffe6f2; color: #d6338a; } .facts .f-cof .fi { background: #ece9e4; color: #6b4a2e; }
  :root[data-theme="dark"] .facts .f-loc .fi { background: #1c2650; color: #8fa4ff; } :root[data-theme="dark"] .facts .f-prj .fi { background: #173525; color: #6fd79b; } :root[data-theme="dark"] .facts .f-cli .fi { background: #3a1830; color: #ff8cc4; } :root[data-theme="dark"] .facts .f-cof .fi { background: #2d2923; color: #d6b08b; }
  .facts .fl { font-weight: 500; letter-spacing: -.01em; }
  .facts .fv { margin-left: auto; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
  .about-text .lead p { max-width: 26em; font-size: 19px; line-height: 1.5; }

   }

  /* ---- Arquivo: a paper folder with tabs, stamp photos and scribbles ---- */
  .f-intro { margin: -20px 0 0; color: var(--body); font-size: 16px; max-width: 34em; }
  .folder { position: relative; margin-top: 64px; --paper: #dcd5f5; }
  .folder[data-tab="2"] { --paper: #fbd9e6; } .folder[data-tab="3"] { --paper: #fbf0cf; } .folder[data-tab="4"] { --paper: #d5e1fb; }
  .f-tabs { position: absolute; top: -33px; right: 26px; display: flex; gap: 3px; z-index: 6; }
  .f-tab { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #2a2530; border: 0; padding: 10px 17px 8px; border-radius: 11px 11px 0 0; cursor: pointer; background: var(--tc); transform: translateY(3px); transition: transform .3s var(--ease), padding .3s var(--ease), background .4s var(--ease); }
  .f-tab.t1 { --tc: #cdc2f0; } .f-tab.t2 { --tc: #f6c2d6; } .f-tab.t3 { --tc: #f3e2a9; } .f-tab.t4 { --tc: #bccdf3; }
  .f-tab:hover { transform: translateY(0); }
  .f-tab[aria-selected="true"] { background: var(--paper); transform: translateY(0); padding-top: 13px; }
  .f-paper { position: relative; background: var(--paper); border-radius: 8px 0 8px 8px; min-height: 480px; padding: 30px 36px 74px; overflow: hidden; color: #1b1a1f; transition: background .5s var(--ease); cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'><path d='M3 23l1.4-5.2L17.8 4.4a2 2 0 0 1 2.8 0l1 1a2 2 0 0 1 0 2.8L8.2 21.6Z' fill='%23fff' stroke='%23111111' stroke-width='1.6' stroke-linejoin='round'/></svg>") 3 23, crosshair; box-shadow: 0 1px 2px rgba(0,0,0,.14), 0 34px 54px -30px rgba(0,0,0,.45); }
  .f-paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(0,0,0,.26) 1.2px, transparent 1.7px); background-size: 96px 96px; background-position: 48px 48px; }
  .f-paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>"); }
  .f-clip { position: absolute; left: 0; top: 0; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: #f4f2ea; color: #3a3540; padding: 11px 18px 11px 38px; box-shadow: 0 2px 6px rgba(0,0,0,.14); }
  .f-clip::before { content: ""; position: absolute; left: 12px; top: -7px; width: 11px; height: 30px; border: 2px solid #8d98a6; border-radius: 8px; }
  .f-panel { position: relative; z-index: 1; animation: fpin .5s var(--ease) both; }
  .f-panel[hidden] { display: none; }
  @keyframes fpin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .f-title { font-family: var(--pixel); font-weight: 400; font-size: clamp(34px, 5.6vw, 66px); line-height: 1; letter-spacing: .01em; margin: 52px 0 0; color: #1b1a1f; }
  .f-row { display: flex; gap: 22px; margin-top: 34px; align-items: flex-start; }
  .stp-wrap { flex: 1 1 0; min-width: 0; margin: 0; transform: rotate(var(--rot)); filter: drop-shadow(0 6px 10px rgba(0,0,0,.22)); transition: transform .45s var(--ease); }
  .stp-wrap:hover { transform: rotate(0deg) translateY(-7px); }
  .stp { aspect-ratio: 4 / 5; background: #fffdf8; padding: 9.5%; -webkit-mask: url("images/stamp-mask.png") center / 100% 100% no-repeat; mask: url("images/stamp-mask.png") center / 100% 100% no-repeat; }
  .stp-img { display: block; width: 100%; height: 100%; font-size: 0; }
  .stp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .stp-wrap figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: #3a3540; text-align: center; }
  .stp-wrap .n { opacity: .55; }
  .doodle { position: absolute; z-index: 2; pointer-events: none; fill: none; stroke: #b1222b; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
  #fp1 .doodle { width: 190px; right: 2%; top: 100px; transform: rotate(-8deg); } #fp2 .doodle { width: 220px; left: 30%; top: 330px; } #fp3 .doodle { width: 150px; right: 5%; top: 120px; } #fp4 .doodle { width: 190px; left: 22%; top: 90px; }
  .f-tools { position: absolute; right: 16px; bottom: 14px; z-index: 5; display: flex; gap: 10px; align-items: center; cursor: default; }
  .f-tools button { font-family: var(--mono); font-size: 12px; color: #1b1a1f; border: 1px solid rgba(0,0,0,.35); background: rgba(255,255,255,.65); border-radius: 99px; padding: 5px 13px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
  .f-tools button:hover, .f-tools .f-pen[aria-pressed="true"] { background: #1b1a1f; color: #fff; }
  .f-hint { font-family: var(--mono); font-size: 12px; color: #3a3540; opacity: .7; }
  .f-draw { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
  @media (max-width: 760px) {
    .f-tabs { right: 8px; top: -31px; } .f-tab { font-size: 9.5px; padding: 9px 9px 7px; letter-spacing: .01em; }
    .f-paper { padding: 26px 20px 70px; } .f-row { flex-wrap: wrap; gap: 20px 16px; } .stp-wrap { flex: 0 0 calc(50% - 8px); } .f-hint { display: none; }
  }

/* Mobile menu (hamburger) */
.menu-btn { display: none; }
@media (max-width: 900px) {
  header.top { position: relative; align-items: center; z-index: 50; }
  .menu-btn { display: inline-grid; place-content: center; gap: 6px; width: 40px; height: 40px; margin: -8px -8px -8px 0; padding: 0; background: none; border: 0; cursor: pointer; color: var(--fg); }
  .menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .menu-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 8px; }
  header.top nav { position: absolute; left: -24px; right: -24px; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  header.top nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  header.top nav > a { font-size: 22px; font-family: var(--sans); color: var(--fg); padding: 14px 0; border-bottom: 1px solid var(--line); }
  header.top nav > a::after { display: none; }
  header.top nav .lang { display: block; margin-top: 18px; }
  header.top nav .lang-btn { display: none; }
  header.top nav .lang-menu, header.top nav .lang-menu[hidden] { display: flex; position: static; gap: 8px; padding: 0; min-width: 0; background: none; border: 0; box-shadow: none; }
  header.top nav .lang-menu li { flex: 1; }
  header.top nav .lang-menu button { border: 1px solid var(--line); text-align: center; padding: 11px 10px; }
  header.top nav .lang-menu button[aria-current="true"] { background: var(--fg); color: var(--bg); }
  header.top nav .lang-menu button[aria-current="true"]::after { content: ""; }
  header.top nav .theme { margin: 14px 0 0; padding: 11px 10px; border: 1px solid var(--line); border-radius: 6px; width: 100%; height: auto; }
  header.top nav .theme svg { width: 18px; height: 18px; }
}

/* Arquivo — mesma identidade das recomendações (papel creme, tinta vinho, Courier Prime) */
.folder, .folder[data-tab] { --paper: #FFF4E6; --ink: #7A1F2B; }
.f-tab { font-family: var(--mono); font-weight: 700; font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.f-tab.t1 { --tc: #F4A6B8; } .f-tab.t2 { --tc: #f3e2a9; } .f-tab.t3 { --tc: #F4A6B8; } .f-tab.t4 { --tc: #f3e2a9; }
.f-tab[aria-selected="true"] { background: #FFF4E6; padding-top: 13px; transform: translateY(7px); position: relative; z-index: 2; }
.f-paper { color: var(--ink); border-radius: 3px; border: 8px solid transparent; border-image: repeating-linear-gradient(135deg, #B1222B 0 10px, #FFF4E6 10px 20px, #F4A6B8 20px 30px, #FFF4E6 30px 40px) 8; background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(177,34,43,.09) 35px 36px), #FFF4E6; background-clip: padding-box; box-shadow: none; filter: drop-shadow(0 1px 2px rgba(60,20,20,.14)) drop-shadow(0 26px 24px rgba(60,20,20,.16)); }
.f-paper::before { display: none; }
.f-paper::after { opacity: .08; }
.f-clip { background: #FFF4E6; color: var(--ink); font-family: var(--mono); text-transform: none; letter-spacing: 0; border: 1px solid rgba(177,34,43,.25); border-left: 0; top: 14px; box-shadow: none; }
.f-clip::before { border-color: #B1222B; }
.f-title { font-family: var(--mono); font-weight: 700; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -.01em; color: var(--ink); margin-top: 70px; }
.stp-wrap figcaption, .f-hint { font-family: var(--mono); color: var(--ink); }
.f-tools button { font-family: var(--mono); color: var(--ink); border: 1px solid var(--ink); background: transparent; }
.f-tools button:hover, .f-tools .f-pen[aria-pressed="true"] { background: var(--ink); color: #FFF4E6; }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 32px; line-height: 1.08; letter-spacing: -.035em; }
  .hero-sub { font-size: 14px; margin-top: 18px; }
  .f-tab { font-size: 10px; padding: 9px 8px 7px; }
  .f-title { font-size: 28px; }
}

/* Arquivo — papel liso e neutro */
.folder, .folder[data-tab] { --paper: #EFEDE8; --ink: #1b1a1f; }
.f-tab.t1, .f-tab.t2, .f-tab.t3, .f-tab.t4 { --tc: #DAD7D0; }
.f-tab[aria-selected="true"] { background: #EFEDE8; }
.f-paper { border: 0; border-image: none; background: #EFEDE8; background-clip: border-box; border-radius: 3px 0 3px 3px; }
.f-paper::after { display: none; }
.f-clip { background: #EFEDE8; border: 0; border-bottom: 1px solid rgba(0,0,0,.12); color: var(--ink); }
.f-clip::before { border-color: #8d8b86; }
.doodle { stroke: #111111; }
.facts .f-exp .fi { background: #fff0d9; color: #c9791b; }
:root[data-theme="dark"] .facts .f-exp .fi { background: #3a2a14; color: #f0b25e; }

@media (max-width: 760px) {
  .project .shot.bleed.center img, .b-cr .shot.bleed img { width: auto; max-width: 62%; max-height: 360px; height: auto; margin: 0 auto; }
}

/* Recomendações — cartões compactos */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 32px; }
.quotes figure.note { margin: 0; padding: 22px 22px 20px; border-radius: 6px; border: 1px solid rgba(122,31,43,.18); background: #FFF4E6; box-shadow: none; transform: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.quotes figure.note.n0 { grid-column: span 2; }
.quotes figure.note.n2 { background: #FBE3E8; } .quotes figure.note.n3 { background: #FFF1CF; } .quotes figure.note.n4 { background: #FBE3E8; }
.quotes figure.note:hover { transform: translateY(-3px); box-shadow: 0 14px 22px -16px rgba(60,20,20,.4); }
.quotes figure.note blockquote { margin: 0; font-family: var(--mono); font-size: 13.5px; line-height: 1.5; color: #5E1520; }
.quotes figure.note.n0 blockquote { font-size: 15px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } .quotes figure.note.n0 { grid-column: 1 / -1; } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* Botões: mesmo formato em todo o site */
.f-tools button { font-family: var(--mono); font-size: 14px; padding: 10px 18px; border: 1px solid var(--fg); border-radius: 999px; color: var(--fg); background: transparent; }
.f-tools button:hover, .f-tools .f-pen[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.folder .f-tools button { color: #111; border-color: #111; } .folder .f-tools button:hover, .folder .f-tools .f-pen[aria-pressed="true"] { background: #111; color: #EFEDE8; }
@media (max-width: 760px) {
  header.top nav .lang-menu button, header.top nav .theme { font-family: var(--mono); font-size: 14px; padding: 10px 18px; border: 1px solid var(--fg); border-radius: 999px; color: var(--fg); background: transparent; transition: background .25s var(--ease), color .25s var(--ease); }
  header.top nav .lang-menu button:hover, header.top nav .theme:hover { background: var(--fg); color: var(--bg); }
  header.top nav .lang-menu button[aria-current="true"] { background: var(--fg); color: var(--bg); }
  header.top nav .theme { margin-top: 10px; }
}

/* Placeholders: xadrez vermelho */
.g1, .g2, .g3, .g4, .g5, .g6, .g.gp, .gp { background: conic-gradient(#d4242b 25%, #fff 0 50%, #d4242b 0 75%, #fff 0) 0 0 / 36px 36px; color: #7a0f14; text-shadow: 0 0 6px #fff, 0 0 6px #fff; }
.shot.ph, .full.ph, .half.ph, .stp-img.ph { color: #7a0f14; font-weight: 600; }
.bento-card:has(.shot.ph), .bento-card:has(.shot.ph) .px, .bento-card:has(.shot.ph) h2 { color: var(--fg); }

/* Sobre mim + recomendações: cartas, junk journal */
.facts { position: relative; max-width: 400px; margin-top: 40px; padding: 26px 22px 10px; border: 0; border-radius: 4px; transform: rotate(-1.2deg); color: #7A1620;
  background: repeating-linear-gradient(to bottom, transparent 0 41px, rgba(122,22,32,.14) 41px 42px), #F0E3D6; box-shadow: 0 1px 2px rgba(60,20,20,.15), 0 20px 28px -18px rgba(60,20,20,.45); }
.facts::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(122,22,32,.45); border-radius: 2px; pointer-events: none; }
.facts::after { content: ""; position: absolute; top: -13px; left: 50%; width: 110px; height: 26px; margin-left: -55px; transform: rotate(-3deg); background: repeating-linear-gradient(45deg, rgba(244,166,184,.92) 0 7px, rgba(255,244,230,.92) 7px 14px); box-shadow: 0 1px 2px rgba(60,20,20,.2); }
.facts li { border-top: 0; padding: 0 12px; height: 42px; gap: 12px; position: relative; z-index: 1; }
.facts li.f-head { display: block; height: auto; padding: 0 12px 6px; font-family: var(--mono); font-size: 34px; line-height: 40px; color: #7A1620; }
.facts .fi, .facts .f-exp .fi, .facts .f-loc .fi, .facts .f-cli .fi, .facts .f-cof .fi { background: none; color: #7A1620; width: 26px; height: 26px; border: 1px solid #7A1620; border-radius: 50%; }
.facts .fi svg { width: 14px; height: 14px; }
:root[data-theme="dark"] .facts .fi { background: none; color: #7A1620; }
.facts .fl { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.facts .fv { font-family: var(--mono); font-size: 14px; color: #7A1620; opacity: .8; }

.quotes figure.note { position: relative; background: #F0E3D6; border: 0; border-radius: 3px; padding: 26px 24px 22px; box-shadow: 0 1px 2px rgba(60,20,20,.14), 0 16px 22px -16px rgba(60,20,20,.4); transform: rotate(var(--t, -1deg)); }
.quotes figure.note::before { display: block; content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(122,22,32,.38); border-radius: 2px; pointer-events: none; }
.quotes figure.note::after { content: ""; position: absolute; top: -11px; left: 50%; width: 84px; height: 22px; margin-left: -42px; transform: rotate(var(--tt, -3deg)); background: repeating-linear-gradient(45deg, rgba(244,166,184,.92) 0 6px, rgba(255,244,230,.92) 6px 12px); box-shadow: 0 1px 2px rgba(60,20,20,.2); }
.quotes figure.note.n0 { --t: -.6deg; --tt: -2deg; } .quotes figure.note.n1 { --t: 1.2deg; --tt: 4deg; } .quotes figure.note.n2 { --t: -1.2deg; --tt: -5deg; } .quotes figure.note.n3 { --t: .8deg; --tt: 2deg; } .quotes figure.note.n4 { --t: -.8deg; --tt: 5deg; }
.quotes figure.note.n2, .quotes figure.note.n3, .quotes figure.note.n4 { background: #F0E3D6; }
.quotes figure.note:nth-child(even)::after { background: repeating-linear-gradient(45deg, rgba(243,226,169,.95) 0 6px, rgba(255,244,230,.95) 6px 12px); }
.quotes figure.note blockquote { position: relative; z-index: 1; color: #7A1620; }
.quotes figure.note:hover { transform: rotate(0deg) translateY(-3px); }
@media (max-width: 760px) { .facts { margin-top: 36px; } }
.facts .f-cof .fv { font-family: var(--sans); font-size: 24px; line-height: 1; opacity: 1; }
.quotes figure.note::before { top: 6px; left: 6px; right: 6px; bottom: 6px; width: auto; height: auto; margin: 0; transform: none; background: none; box-shadow: none; }

/* Placeholder: guingão suave (vetorial) */
.g1, .g2, .g3, .g4, .g5, .g6, .g.gp, .gp {
  background:
    linear-gradient(90deg, rgba(150,35,50,.24) 50%, transparent 50%) 0 0 / 40px 40px,
    linear-gradient(0deg, rgba(150,35,50,.24) 50%, transparent 50%) 0 0 / 40px 40px,
    #F7E4E8;
  color: #8a2a38; text-shadow: none;
}

/* ===== Identidade única: papel creme, tinta vinho, rosa, fita washi, pontilhado, Courier Prime ===== */
:root { --paper: #F0E3D6; --ink: #7A1620; --rose: #F4A6B8; --tape-y: #f3e2a9; }

/* Arquivo — pasta de papel creme */
.folder, .folder[data-tab] { --paper: #F0E3D6; --ink: #7A1620; }
.doodle { display: none !important; }
.f-paper { background: #F0E3D6; color: #7A1620; cursor: default; border-radius: 3px 0 3px 3px; box-shadow: 0 1px 2px rgba(60,20,20,.15), 0 24px 30px -20px rgba(60,20,20,.45); filter: none; }
.f-paper::before { display: block; content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(122,22,32,.4); border-radius: 2px; background: none; pointer-events: none; }
.f-tab { color: #7A1620; font-family: var(--mono); }
.f-tab.t1, .f-tab.t3 { --tc: #F4A6B8; } .f-tab.t2, .f-tab.t4 { --tc: #f3e2a9; }
.f-tab[aria-selected="true"] { background: #F0E3D6; }
.f-clip { background: transparent; border: 0; top: 22px; left: 26px; padding: 0 0 0 0; color: #7A1620; font-size: 12px; }
.f-clip::before { display: none; }
.f-title { font-family: var(--mono); font-weight: 400; color: #7A1620; font-size: clamp(44px, 6vw, 72px); letter-spacing: 0; margin-top: 56px; }
.stp-wrap figcaption { color: #7A1620; }
.f-paper .f-panel { padding: 0 14px; }

/* Estante — madeira vinho, etiquetas de papel */
:root { --wood-hi: #8a3a40; --wood: #6f2a31; --wood-lo: #4e1a21; }
:root[data-theme="dark"] { --wood-hi: #6a2c33; --wood: #54212a; --wood-lo: #36141a; }
.shelf-inner::after { background: repeating-linear-gradient(90deg, rgba(0,0,0,.1) 0 1px, transparent 1px 9px), linear-gradient(180deg, var(--wood-hi) 0, var(--wood) 40%, var(--wood-lo) 100%); }
.book .cover { box-shadow: 2px 4px 8px -4px rgba(60,20,20,.5); outline: 3px solid #F0E3D6; outline-offset: -3px; }
.book .cover img { filter: sepia(.12) saturate(.95); }
.book .t, .book .a { background: #F0E3D6; color: #7A1620; font-family: var(--mono); padding: 0 8px; margin: 0 -4px; position: relative; }
.book .t { font-size: 12.5px; font-weight: 700; padding-top: 7px; border-radius: 3px 3px 0 0; }
.book .a { font-size: 11px; padding-bottom: 7px; border-radius: 0 0 3px 3px; opacity: 1; }
.book .t::before { content: ""; position: absolute; inset: 3px; border: 1px dashed rgba(122,22,32,.35); pointer-events: none; }
.book .a { margin-top: -4px; }
h4.sub, .bookcase + * { font-family: var(--mono); }

/* Interesses (chips) no mesmo papel */
.chips li { background: #F0E3D6; color: #7A1620; border: 1px dashed rgba(122,22,32,.4); font-family: var(--mono); }
.chips li:hover { background: #7A1620; color: #F0E3D6; }
:root[data-theme="dark"] .facts .fi { background: none !important; color: #7A1620 !important; }

/* Títulos craft: máquina de escrever */
.facts li.f-head { font-weight: 700; font-size: 22px; line-height: 30px; letter-spacing: -.01em; }
.f-title { font-weight: 700; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -.01em; margin-top: 60px; }

/* Textos abaixo da estante: como antes, sem etiqueta */
.book .t, .book .a { background: none; padding: 0; margin: 0; border-radius: 0; position: static; }
.book .t { font-family: var(--sans); font-size: 14px; line-height: 1.25; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.book .a { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.book .t::before { display: none; }

/* Fora do trabalho: volta ao minimalista */
:root { --wood-hi: #cf9a62; --wood: #a8733f; --wood-lo: #7a4f27; }
:root[data-theme="dark"] { --wood-hi: #92643a; --wood: #6b4727; --wood-lo: #432919; }
.shelf-inner::after { background: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 7px, rgba(255,255,255,.05) 7px 8px, transparent 8px 21px), repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 4px), linear-gradient(180deg, var(--wood-hi) 0, var(--wood) 38%, var(--wood-lo) 100%); }
.book .cover { outline: 0; box-shadow: 2px 4px 8px -4px rgba(0,0,0,.35); }
.book .cover img { filter: none; }
.chips li { background: var(--chip); color: var(--fg); border: 0; font-family: var(--sans); }
.chips li:hover { background: var(--fg); color: var(--bg); }
.facts { overflow: visible; }

/* Geist Mono nos cartões, cartinhas e arquivo */
.facts li.f-head, .facts .fl, .facts .fv,
.quotes figure.note blockquote,
.f-tab, .f-title, .f-clip, .stp-wrap figcaption { font-family: var(--mono); }
.facts .f-cof .fv { font-family: var(--mono); }
.facts .fl, .facts li.f-head, .f-title, .f-tab { font-weight: 500; }

/* Cartinhas: ilustrações em traço fino */
#recommendations { position: relative; }
.quotes figure.note { padding-bottom: 40px; }
.quotes figure.note .cd { position: absolute; right: 14px; bottom: 8px; z-index: 1; opacity: .9; }
.quotes figure.note.n0 .cd { right: 18px; }
.bundle { position: absolute; right: 28px; bottom: -14px; z-index: 3; transform: rotate(4deg); filter: drop-shadow(0 8px 10px rgba(60,20,20,.22)); pointer-events: none; }
@media (max-width: 760px) { .bundle { width: 110px; height: auto; right: 12px; bottom: -8px; } }
.bundle { width: 190px; height: auto; right: 27%; bottom: 8px; transform: rotate(5deg); }
@media (max-width: 900px) { .bundle { right: 12px; width: 150px; bottom: -10px; } }
@media (max-width: 760px) { .bundle { width: 120px; } }
.bundle { bottom: 46px; } @media (max-width: 900px) { .bundle { bottom: -10px; } }

/* Paleta: Rosewood #70020F + Misty Rose #FFDEE2 */
:root { --rw: #70020F; --mr: #FFDEE2; }
.facts { background: repeating-linear-gradient(to bottom, transparent 0 41px, rgba(112,2,15,.16) 41px 42px), #FFDEE2; color: #70020F; padding-top: 24px; }
.facts::before { border-color: rgba(112,2,15,.45); }
.facts::after, .quotes figure.note::after { background: repeating-linear-gradient(45deg, #70020F 0 6px, #FFDEE2 6px 12px); opacity: .88; }
.facts .fi, .facts .fl, .facts .fv, :root[data-theme="dark"] .facts .fi { color: #70020F !important; border-color: #70020F; }
.quotes figure.note, .quotes figure.note.n2, .quotes figure.note.n3, .quotes figure.note.n4 { background: #FFDEE2; border: 0; }
.quotes figure.note:nth-child(even) { background: #FFE9EC; }
.quotes figure.note:nth-child(even)::after { background: repeating-linear-gradient(45deg, #FFDEE2 0 6px, #70020F 6px 12px); opacity: .85; }
.quotes figure.note::before { border-color: rgba(112,2,15,.4); }
.quotes figure.note blockquote { color: #70020F; }
.quotes figure.note .cd { right: 16px; bottom: 10px; }
.folder, .folder[data-tab] { --ink: #70020F; }
.f-paper { color: #70020F; background: #FFF1F3; }
.f-paper::before { border-color: rgba(112,2,15,.35); }
.f-tab { color: #70020F; } .f-tab.t1, .f-tab.t3 { --tc: #FFDEE2; } .f-tab.t2, .f-tab.t4 { --tc: #F7C8CF; }
.f-tab[aria-selected="true"] { background: #FFF1F3; }
.f-title, .f-clip, .stp-wrap figcaption { color: #70020F; }
.bundle { stroke: #70020F; }

/* ===== Revisão: Arquivo cinza, títulos menores, imagens menores ===== */
.folder, .folder[data-tab] { --paper: #EFEDE8; --ink: #1b1a1f; }
.f-paper { background: #EFEDE8; color: #1b1a1f; border-radius: 3px 0 3px 3px; }
.f-paper::before { display: none; }
.f-tab, .f-tab.t1, .f-tab.t2, .f-tab.t3, .f-tab.t4 { --tc: #DAD7D0; color: #1b1a1f; }
.f-tab[aria-selected="true"] { background: #EFEDE8; }
.f-title { font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin: 36px 0 0; color: #1b1a1f; }
.f-clip, .stp-wrap figcaption { color: #3a3540; }
.f-row { gap: 20px; margin-top: 22px; justify-content: flex-start; }
.stp-wrap { flex: 0 1 190px; }
.stp-wrap figcaption { font-size: 11.5px; }
.f-paper { min-height: 0; padding-bottom: 36px; }
.stp-img img { pointer-events: none; }
@media (max-width: 760px) { .stp-wrap { flex: 0 0 calc(50% - 10px); } }

/* Trezo / crédito */
.halves.sq { grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 24px; }
.halves.sq figure { margin: 0; }
.halves.sq img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.halves.sq figcaption { margin: 10px 2px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
figure.full.nat.narrow img { max-width: 300px; margin: 0 auto; display: block; }
figure.full.nat.narrow figcaption { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== Paleta completa: rubí #7E0F0D, merlot #3D0D11, flamingo #FFBEC5, crudo #FFF4EB ===== */
.facts { background: repeating-linear-gradient(to bottom, transparent 0 41px, rgba(61,13,17,.12) 41px 42px), #FFF4EB; color: #3D0D11; padding-top: 22px; }
.facts::before { border-color: rgba(126,15,13,.5); }
.facts::after { background: repeating-linear-gradient(45deg, #FFBEC5 0 6px, #FFF4EB 6px 12px); opacity: 1; box-shadow: 0 1px 2px rgba(61,13,17,.25); }
.facts .fi, :root[data-theme="dark"] .facts .fi { background: #7E0F0D !important; color: #FFF4EB !important; border: 0; }
.facts .fl { color: #3D0D11; } .facts .fv { color: #7E0F0D; opacity: 1; }

.quotes { max-width: 880px; gap: 22px 18px; }
.quotes figure.note, .quotes figure.note:nth-child(even), .quotes figure.note.n2, .quotes figure.note.n3, .quotes figure.note.n4 { background: transparent; box-shadow: none; padding: 20px 20px 34px; z-index: 0; }
.quotes figure.note::before { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: auto; height: auto; margin: 0; transform: none; z-index: -1; background: #FFF4EB; border: 0; border-radius: 2px; outline: 1px dashed rgba(126,15,13,.45); outline-offset: -6px; box-shadow: 0 1px 2px rgba(61,13,17,.18), 0 14px 18px -14px rgba(61,13,17,.45); }
.quotes figure.note .pi { position: absolute; z-index: -2; top: -6px; left: 8px; right: -10px; bottom: -14px; background: #F7E48B; border-radius: 2px; transform: rotate(var(--pr, 2.5deg)); box-shadow: 0 8px 12px -8px rgba(61,13,17,.4); }
.quotes figure.note .pi::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: linear-gradient(rgba(0,0,0,.06), transparent); }
.quotes figure.note.n0 .pi { background: #F7E48B; --pr: 2deg; } .quotes figure.note.n1 .pi { background: #FFBEC5; --pr: -2.5deg; }
.quotes figure.note.n2 .pi { background: #CDE8D0; --pr: 2.5deg; } .quotes figure.note.n3 .pi { background: #CFE0F1; --pr: -2deg; } .quotes figure.note.n4 .pi { background: #F7E48B; --pr: 2deg; }
.quotes figure.note::after, .quotes figure.note:nth-child(even)::after { width: 64px; height: 17px; margin-left: -32px; top: -9px; background: repeating-linear-gradient(45deg, #FFBEC5 0 5px, #FFF4EB 5px 10px); opacity: .95; z-index: 3; }
.quotes figure.note:nth-child(even)::after { background: repeating-linear-gradient(45deg, #7E0F0D 0 5px, #FFF4EB 5px 10px); }
.quotes figure.note blockquote { font-size: 12.5px; line-height: 1.5; color: #3D0D11; }
.quotes figure.note.n0 blockquote { font-size: 13.5px; }
.quotes figure.note .cd { right: 10px; bottom: 6px; width: 40px; height: 34px; }
.bundle { right: 18%; width: 150px; bottom: 36px; }
@media (max-width: 900px) { .bundle { right: 12px; width: 120px; bottom: -8px; } }

/* Logo em lettering */
header.top .name { gap: 0; }
header.top .name .logo { display: block; height: 30px; width: auto; }
:root[data-theme="dark"] header.top .name .logo { filter: invert(1); }
header.top .name .typed { display: none; }
@media (max-width: 760px) { header.top .name .logo { height: 26px; } }

/* Card com acesso restrito */
.bento-card.locked { cursor: default; }
.bento-card.locked .btn.lock { margin-top: 14px; font-size: 13px; padding: 8px 16px; display: inline-flex; gap: 8px; align-items: center; width: fit-content; }
.bento-card.locked .btn.lock::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>") center/contain no-repeat; }

.btn.lock { display: inline-flex; gap: 8px; align-items: center; }
.btn.lock::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>") center/contain no-repeat; }

/* Trezo: bento de imagens variado */
.tbento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 230px; gap: 14px; margin: 24px 0 8px; }
.tbento figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--chip); }
.tbento img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbento figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: #1b1a1f; }
.tbento .t1 { grid-column: 1 / 3; grid-row: 1 / 3; } .tbento .t2 { grid-column: 3 / 7; grid-row: 1; }
.tbento .t3 { grid-column: 3 / 5; grid-row: 2; } .tbento .t4 { grid-column: 5 / 7; grid-row: 2; }
.tbento .t5 { grid-column: 1 / 4; grid-row: 3; } .tbento .t6 { grid-column: 4 / 7; grid-row: 3; }
.tbento .t2 img { object-position: top center; }
@media (max-width: 760px) { .tbento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; } .tbento .t1 { grid-column: 1 / 3; grid-row: auto; } .tbento .t2, .tbento .t5, .tbento .t6 { grid-column: 1 / 3; grid-row: auto; } .tbento .t3, .tbento .t4 { grid-column: auto; grid-row: auto; } }

/* post-its neutros atrás das cartinhas */
.quotes figure.note .pi, .quotes figure.note.n0 .pi, .quotes figure.note.n1 .pi, .quotes figure.note.n2 .pi, .quotes figure.note.n3 .pi, .quotes figure.note.n4 .pi { background: #ECE6DC; }
.quotes figure.note .pi { display: none; }
.stp-wrap figcaption { display: none; }

/* Mockup de celular (CSS) */
.phone { position: relative; width: 250px; aspect-ratio: 9 / 18.6; margin: 8px auto 0; padding: 9px; border-radius: 42px; background: #17171a; box-shadow: inset 0 0 0 2px #3a3a40, 0 30px 50px -26px rgba(0,0,0,.5); display: flex; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2c2c31; }
.phone::before { left: -3px; top: 96px; height: 52px; box-shadow: 0 66px 0 #2c2c31; }
.phone::after { right: -3px; top: 124px; height: 78px; }
.phone .isl { position: absolute; z-index: 2; top: 18px; left: 50%; width: 72px; height: 20px; margin-left: -36px; border-radius: 12px; background: #000; }
figure.full.nat.narrow .phone img { max-width: none; width: 100%; height: 100%; margin: 0; border-radius: 33px; object-fit: contain; background: #fff; padding-top: 22px; box-sizing: border-box; display: block; }
.phone { aspect-ratio: 9 / 16.6; width: 260px; } figure.full.nat.narrow .phone img { padding-top: 14px; }

/* Celular com câmera aberta + modal em meia tela */
.phone.cam { overflow: hidden; display: block; padding: 0; background: #000; }
.phone.cam .camera-bg { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); border-radius: 33px; object-fit: cover; filter: brightness(.72) saturate(.9); }
.phone.cam .vf { position: absolute; left: 50%; top: 21%; width: 74%; height: 21%; transform: translateX(-50%); z-index: 1; --c: rgba(255,255,255,.9); background:
  linear-gradient(var(--c),var(--c)) 0 0/18px 2px, linear-gradient(var(--c),var(--c)) 0 0/2px 18px,
  linear-gradient(var(--c),var(--c)) 100% 0/18px 2px, linear-gradient(var(--c),var(--c)) 100% 0/2px 18px,
  linear-gradient(var(--c),var(--c)) 0 100%/18px 2px, linear-gradient(var(--c),var(--c)) 0 100%/2px 18px,
  linear-gradient(var(--c),var(--c)) 100% 100%/18px 2px, linear-gradient(var(--c),var(--c)) 100% 100%/2px 18px; background-repeat: no-repeat; }
.phone.cam .cam-top { position: absolute; z-index: 1; top: 52px; left: 24px; right: 24px; display: flex; justify-content: space-between; }
.phone.cam .cam-top i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22); }
.phone.cam .shutter { position: absolute; z-index: 1; left: 50%; bottom: 20px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; border: 3px solid #fff; box-shadow: inset 0 0 0 4px rgba(0,0,0,.0); }
.phone.cam .isl { z-index: 4; }
.phone.cam .sheet { position: absolute; z-index: 3; left: 9px; right: 9px; bottom: 9px; height: 54%; background: #fff; border-radius: 22px 22px 33px 33px; padding: 16px 8px 0; box-sizing: border-box; box-shadow: 0 -10px 30px rgba(0,0,0,.35); display: flex; flex-direction: column; align-items: center; }
.phone.cam .sheet .grab { width: 34px; height: 4px; border-radius: 3px; background: #d6d6da; flex: none; margin-bottom: 10px; }
.phone.cam .sheet img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 0; padding: 0; background: none; }
figure.full.nat.narrow .phone.cam .sheet img { padding-top: 0; border-radius: 0; height: auto; object-fit: contain; }
figure.full.nat.narrow .phone.cam .camera-bg { padding: 0; border-radius: 33px; height: calc(100% - 18px); object-fit: cover; background: none; }
.phone.cam { aspect-ratio: 9 / 18.6; width: 270px; }
.phone.cam .sheet { overflow: hidden; padding-top: 14px; }
.phone.cam .sheet img, figure.full.nat.narrow .phone.cam .sheet img { width: 114%; max-width: none; margin-left: -7%; }
.phone.cam .camera-bg { filter: brightness(.8) saturate(1); }
.phone.cam .sheet { height: 57%; } .phone.cam .camera-bg { filter: brightness(.78); }

/* Celular com mensagens passando */
.phone.slides { overflow: hidden; display: block; padding: 0; background: #000; width: 270px; aspect-ratio: 9 / 18.6; }
.phone.slides .vp { position: absolute; inset: 9px; border-radius: 33px; overflow: hidden; background: #f5f6f8; }
.phone.slides .track { display: flex; width: 400%; height: 100%; transition: transform .7s cubic-bezier(.65,0,.25,1); }
figure.full.nat.narrow .phone.slides img { flex: 0 0 25%; width: 25%; max-width: none; height: 100%; margin: 0; padding: 0; border-radius: 0; object-fit: cover; object-position: center top; background: #f5f6f8; }
.phone.slides .isl { z-index: 3; }
.sl-dots { display: flex; justify-content: center; gap: 8px; margin: 18px 0 2px; }
.sl-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
.sl-dots button[aria-current="true"] { background: var(--fg); transform: scale(1.25); }
.phone.cam .camera-bg { filter: brightness(.9) saturate(1.05); }
.phone.cam .sheet { justify-content: center; padding: 22px 8px 14px; }
.phone.cam .sheet .grab { position: absolute; top: 10px; left: 50%; margin: 0 0 0 -17px; }
.phone.cam .sheet img, figure.full.nat.narrow .phone.cam .sheet img { width: 100%; max-width: 100%; margin: auto 0; }
figure.full.nat.narrow .phone.slides img { height: auto; align-self: flex-start; object-fit: fill; margin-top: 14px; }

/* Câmera: celular completo, modal com bloco maior e centralizado */
.phone.cam { width: 300px; }
figure.full.nat.narrow .phone.cam .camera-bg { width: calc(100% - 18px); height: calc(100% - 18px); left: 9px; top: 9px; inset: 9px; }
.phone.cam .sheet { height: 56%; padding: 20px 6px 12px; overflow: hidden; align-items: center; justify-content: center; }
.phone.cam .sheet img, figure.full.nat.narrow .phone.cam .sheet img { width: 108%; max-width: none; margin: 0; transform: none; }
figure.full.nat.narrow { overflow: visible; }
.phone.cam .sheet { padding: 18px 4px 10px; }
.phone.cam .sheet img, figure.full.nat.narrow .phone.cam .sheet img { width: 100%; max-width: 100%; height: auto; margin: auto 0; }

/* Mensagens do carrossel: telas desenhadas em HTML (nítidas) */
.phone.slides .scr { flex: 0 0 25%; width: 25%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; padding: 48px 18px 20px; background: #f5f6f8; font-family: Roboto, Arial, sans-serif; color: #222; text-align: center; user-select: none; }
.phone.slides .scr .mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.phone.slides .scr .ill { width: 96px; height: auto; margin-bottom: 18px; }
.phone.slides .scr h4 { margin: 0 0 12px; font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.phone.slides .scr p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #55585f; }
.phone.slides .scr .btns { display: grid; gap: 8px; margin-top: 12px; }
.phone.slides .scr .btns span { display: block; padding: 12px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 700; }
.phone.slides .scr .bp { background: #b72c78; color: #fff; }
.phone.slides .scr .bs { background: #fff; color: #b72c78; border: 1px solid #d9dbe0; }
.phone.slides .vp { cursor: grab; touch-action: pan-y; }
.phone.slides .vp.drag { cursor: grabbing; }
.phone.slides .vp.drag .track { transition: none; }
.phone.slides .scr .ill { width: 128px; margin-bottom: 14px; }
.facts { background: #FFF4EB; }

/* ===== Botões — padrão fintech europeia (Klarna): pílula cheia rosa, texto escuro, sans ===== */
:root { --btn-bg: #FFBEC5; --btn-bg-hover: #FFA7B2; --btn-ink: #2a0b10; }
.btn { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -.005em; line-height: 1.2; padding: 13px 26px; border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); box-shadow: none; }
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 999px; }
.btn.lock { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn.lock:hover { background: var(--fg); color: var(--bg); }
.bento-card.locked .btn.lock { font-size: 14px; padding: 10px 20px; }
.more-work .btn, .more-quotes { padding: 14px 30px; }
/* Menu: "Contato" vira botão pequeno em pílula (desktop) */
@media (min-width: 901px) {
  header.top nav a[href$="#contact"] { background: var(--btn-bg); color: var(--btn-ink); padding: 8px 18px; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 500; margin-left: 4px; transition: background .2s var(--ease); }
  header.top nav a[href$="#contact"]:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
  header.top nav a[href$="#contact"]::after { display: none; }
}
/* Mobile: botões do menu seguem o mesmo padrão */
@media (max-width: 900px) {
  header.top nav .lang-menu button, header.top nav .theme { font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 12px 22px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg); }
  header.top nav .lang-menu button[aria-current="true"], header.top nav .lang-menu button:hover, header.top nav .theme:hover { background: var(--btn-bg); color: var(--btn-ink); box-shadow: none; }
}

/* Rosa Klarna */
:root { --btn-bg: #FF9DCC; --btn-bg-hover: #FF86BE; --btn-ink: #17120F; }

/* ===== Passo 2: projetos em painéis arredondados neutros ===== */
.project, .project:nth-of-type(even) { width: auto; margin-left: 0; padding: 20px 0; border-top: 0; min-height: 0; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.project:nth-of-type(even) { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); }
.project:nth-of-type(even) .shot { order: 2; }
.project .shot.bleed, .project:nth-of-type(even) .shot.bleed { background: var(--chip); border-radius: 28px; padding: 44px 36px; min-height: 440px; display: grid; place-items: center; overflow: hidden; margin: 0; }
.project .shot.bleed img, .project .shot.bleed.center img, .project:nth-of-type(even) .shot.bleed img { width: auto; max-width: 100%; max-height: 360px; height: auto; margin: 0 auto; object-fit: contain; object-position: center; }
.project .info { padding: 8px 4px; }
@media (max-width: 760px) {
  .project, .project:nth-of-type(even) { grid-template-columns: 1fr; gap: 22px; padding: 14px 0 28px; }
  .project:nth-of-type(even) .shot { order: 0; }
  .project .shot.bleed, .project:nth-of-type(even) .shot.bleed { min-height: 300px; padding: 28px 20px; border-radius: 24px; }
  .project .shot.bleed img, .project .shot.bleed.center img { max-height: 280px; }
  .project .info { padding: 0 2px; }
}
/* imagens dos cases com cantos maiores */
.full, .half { border-radius: 24px; }
figure.full.nat img { border-radius: 24px; }
.tbento figure { border-radius: 22px; }
:root[data-theme="dark"] header.top .name .logo { filter: brightness(0) invert(1); }

.project .shot, .project .info { min-width: 0; } .project .shot.bleed img { min-width: 0; }
.project .shot.bleed, .project:nth-of-type(even) .shot.bleed { aspect-ratio: auto; width: 100%; }

/* ===== Passo 3: diagramação + motion (Klarna) ===== */
:root { --spring: cubic-bezier(.34,1.56,.64,1); --out: cubic-bezier(.16,1,.3,1); }
/* Hero */
.hero { padding: 150px 0 120px; }
.hero h1 { font-size: clamp(44px, 8.6vw, 108px); line-height: .98; letter-spacing: -.05em; max-width: 10.5em; }
.hero-sub { margin-top: 34px; }
.hero-cta { margin-top: 40px; padding: 16px 34px; font-size: 16px; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--out), transform .9s var(--out), background .25s var(--ease); pointer-events: none; }
.hero.ready .hero-cta { opacity: 1; transform: none; pointer-events: auto; }
/* Respiro entre seções */
section.block { padding: 128px 0; }
section.block > h3 { margin: 8px 0 56px; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.035em; }
.h4.sub, h4.sub { margin-top: 96px; }
#work { padding-bottom: 24px; }
.more-work { margin: 24px 0 8px; }
/* Projetos: painéis empilhados em largura total */
.project, .project:nth-of-type(even) { display: flex; flex-direction: column; gap: 30px; padding: 0; margin: 0 0 88px; grid-template-columns: none; align-items: stretch; }
.project:nth-of-type(even) .shot { order: 0; }
.project .shot.bleed, .project:nth-of-type(even) .shot.bleed { width: 100%; min-height: 560px; padding: 64px; border-radius: 36px; }
.project .shot.bleed img, .project .shot.bleed.center img, .project:nth-of-type(even) .shot.bleed img { max-height: 460px; }
.project .info { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 56px; row-gap: 6px; align-items: start; padding: 0 6px; }
.project .info > .px:first-child { grid-column: 1; grid-row: 1; }
.project .info > h2 { grid-column: 1; grid-row: 2; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.035em; margin: 6px 0 10px; }
.project .info > .px.tags { grid-column: 1; grid-row: 3; }
.project .info > p { grid-column: 2; grid-row: 1 / span 3; margin: 0; max-width: 34em; font-size: 17px; line-height: 1.6; }
.project .info > .btn { grid-column: 2; grid-row: 4; justify-self: start; margin-top: 22px; }
@media (max-width: 760px) {
  .hero { padding: 56px 0 64px; } .hero h1 { font-size: 36px; } .hero-cta { margin-top: 28px; padding: 14px 28px; }
  section.block { padding: 80px 0; } section.block > h3 { margin-bottom: 36px; }
  .project, .project:nth-of-type(even) { margin-bottom: 56px; gap: 22px; }
  .project .shot.bleed, .project:nth-of-type(even) .shot.bleed { min-height: 340px; padding: 28px 18px; border-radius: 26px; }
  .project .shot.bleed img, .project .shot.bleed.center img { max-height: 300px; }
  .project .info { grid-template-columns: 1fr; }
  .project .info > * { grid-column: 1 !important; grid-row: auto !important; }
  .project .info > p { margin-top: 10px; } .project .info > .btn { margin-top: 18px; }
}
/* Motion estilo Klarna: entradas suaves e molas nos botões */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--out), transform 1.1s var(--out); }
.project.reveal .shot img { transform: scale(1.08); }
.project.reveal.in .shot img { transform: scale(1); transition: transform 1.4s var(--out); }
.project .shot.bleed img { transition: transform .9s var(--out); }
.project:hover .shot.bleed img { transform: scale(1.035); }
.btn { transition: background .25s var(--ease), color .25s var(--ease), transform .35s var(--spring), box-shadow .25s var(--ease); }
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(.97); }
header.top nav a[href$="#contact"] { transition: transform .35s var(--spring), background .2s var(--ease); }
header.top nav a[href$="#contact"]:hover { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .reveal, .hero-cta { opacity: 1; transform: none; transition: none; } .btn:hover { transform: none; } }

/* Rosa Klarna também nas ilustrações, cartinhas e washi tape */
:root { --pink: #FF9DCC; --pink-soft: #FFEAF3; }
.facts { background: var(--pink-soft); }
.facts::after, .quotes figure.note::after { background: repeating-linear-gradient(45deg, var(--pink) 0 6px, #FFF4EB 6px 12px); opacity: 1; }
.quotes figure.note:nth-child(even)::after { background: repeating-linear-gradient(45deg, #7E0F0D 0 5px, var(--pink-soft) 5px 10px); }
.quotes figure.note::before { background: var(--pink-soft); }
.facts .fi { background: #7E0F0D !important; }
@media (min-width: 761px) { .project .info > p { grid-row: 1 / span 2; } .project .info > .btn { grid-row: 3; margin-top: 0; align-self: start; } }

/* Projetos: volta a alternar de lado (sem linhas), painéis neutros */
@media (min-width: 761px) {
  .project, .project:nth-of-type(even) { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin: 0 0 72px; padding: 0; }
  .project:nth-of-type(even) { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); }
  .project:nth-of-type(even) .shot { order: 2; }
  .project .shot.bleed, .project:nth-of-type(even) .shot.bleed { min-height: 520px; padding: 48px 40px; }
  .project .shot.bleed img, .project .shot.bleed.center img, .project:nth-of-type(even) .shot.bleed img { max-height: 400px; }
  .project .info { display: block; padding: 0 4px; }
  .project .info > * { grid-column: auto; grid-row: auto; }
  .project .info > h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 8px 0 12px; }
  .project .info > p { max-width: none; margin: 14px 0 0; font-size: 17px; }
  .project .info > .btn { margin-top: 26px; }
}

/* Trezo: imagens misturadas ao texto, janelas de navegador */
.browser { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--chip); box-shadow: 0 30px 50px -36px rgba(0,0,0,.35); }
.browser .bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: var(--chip); border-bottom: 1px solid var(--line); position: relative; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.browser .bar i:nth-child(1) { background: #ff8a80; } .browser .bar i:nth-child(2) { background: #ffd180; } .browser .bar i:nth-child(3) { background: #a5d6a7; }
.browser .url { position: absolute; left: 50%; transform: translateX(-50%); min-width: 38%; text-align: center; font-family: var(--mono); font-size: 12px; padding: 4px 16px; border-radius: 999px; background: var(--bg); color: var(--muted); }
figure.full.nat .browser img { border-radius: 0; width: 100%; display: block; }
.pair { display: grid; gap: 16px; margin: 56px 0; align-items: center; }
.pair.sq { grid-template-columns: 1fr 1fr; }
.pair.wide { grid-template-columns: 1fr 1.6fr; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: auto; display: block; border-radius: 24px; }
.pair figcaption { margin: 12px 4px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .pair.sq, .pair.wide { grid-template-columns: 1fr; } }

/* Karmani: fonte original tem 800px, então a janela não passa disso (evita borrar) */
figure.full.nat:has(img[src$="tb-2.webp"]) { max-width: 800px; margin-left: auto; margin-right: auto; }
/* Uncover: imagem colada na esquerda do painel e maior */
.project.locked .shot.bleed { padding: 0; justify-items: start; place-items: center start; }
.project.locked .shot.bleed img { width: 100%; max-width: none; max-height: none; margin: 0; object-position: left center; transform-origin: left center; }
@media (min-width: 761px) { .project.locked .shot.bleed { padding: 0; } .project.locked .shot.bleed img { max-height: none; } }

/* Princípios: sem linhas, mais limpo */
.principles li, .principles li:hover { border-top: 0; border-bottom: 0; box-shadow: none; }
.principles { row-gap: 8px; }
.project.locked .shot.bleed img { width: 116%; }
@media (min-width: 761px) { .project.locked .shot.bleed { min-height: 460px; } }

/* Proteção de imagens: sem arrastar, selecionar ou salvar por clique */
img, video, canvas { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.shot, .full, .half, .pair figure, .tbento figure, .stp, .polaroid, .book .cover, .phone { -webkit-touch-callout: none; }

/* Cantos: mesmo arredondamento suave (24px) em todas as imagens retangulares */
:root { --r-img: 24px; }
figure.full.nat img, .full img, .half img, .pair img, .halves.sq img, .tbento figure, .tbento img, .browser, .phone.slides .vp img { border-radius: var(--r-img); }
figure.full.nat, .full, .half { border-radius: var(--r-img); overflow: hidden; }
figure.full.nat { overflow: visible; }
.browser { border-radius: var(--r-img); }
figure.full.nat .browser img { border-radius: 0; }
@media (max-width: 760px) { :root { --r-img: 18px; } }
.f-row { flex-wrap: wrap; row-gap: 26px; }
.stp-wrap { flex: 0 0 calc(25% - 15px); max-width: 190px; }
@media (max-width: 760px) { .stp-wrap { flex: 0 0 calc(50% - 10px); max-width: none; } }
.stp-wrap.land .stp { aspect-ratio: 5 / 4; -webkit-mask: url("images/stamp-mask-land.png") center / 100% 100% no-repeat; mask: url("images/stamp-mask-land.png") center / 100% 100% no-repeat; }
.stp-wrap.land { max-width: 240px; }
#archive > h3 { margin-bottom: 72px; }

/* Pasta do Arquivo com altura padrão: todas as abas ocupam o mesmo espaço (o da maior) */
.f-paper { display: grid; align-content: start; }
.f-panel, .f-panel[hidden] { grid-area: 1 / 1; display: block; }
.f-panel[hidden] { visibility: hidden; pointer-events: none; opacity: 0; animation: none; }

/* Pasta com profundidade (mesma ideia da prateleira: tampo + frente) */
.folder { margin-bottom: 40px; }
.f-paper { border-radius: 4px 0 0 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(0,0,0,.06); background-image: linear-gradient(180deg, rgba(255,255,255,.35) 0, rgba(255,255,255,0) 14px); }
.folder::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; z-index: 0; border-radius: 0 0 8px 8px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 9px), linear-gradient(180deg, #d9d6cf 0, #c3c0b8 55%, #aeaba3 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 26px 30px -16px rgba(0,0,0,.5); }
.f-paper { position: relative; z-index: 1; }
.f-tab { box-shadow: inset 0 -1px 0 rgba(0,0,0,.06), 0 -1px 0 rgba(255,255,255,.4); }

/* ===== Superfícies com profundidade (estilo Apple/Klarna, com a minha personalidade) ===== */
:root {
  --lift-1: 0 1px 1px rgba(40,10,30,.05), 0 2px 4px rgba(40,10,30,.05), 0 10px 20px -6px rgba(40,10,30,.12), 0 28px 48px -16px rgba(40,10,30,.22);
  --lift-2: 0 2px 2px rgba(40,10,30,.06), 0 6px 10px rgba(40,10,30,.07), 0 18px 30px -8px rgba(40,10,30,.16), 0 44px 64px -20px rgba(40,10,30,.3);
  --rim: inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,255,255,.35);
}
:root[data-theme="dark"] { --lift-1: 0 1px 1px rgba(0,0,0,.4), 0 6px 14px -4px rgba(0,0,0,.5), 0 28px 48px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); --lift-2: 0 2px 2px rgba(0,0,0,.5), 0 14px 26px -6px rgba(0,0,0,.6), 0 44px 64px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }

/* O que falam sobre mim */
.quotes { gap: 28px 22px; }
.quotes figure.note::before { border-radius: 26px; outline: 0; background: linear-gradient(180deg, #FFF6FA 0%, #FFE4EF 100%); box-shadow: var(--rim), var(--lift-1); transition: box-shadow .5s var(--out); }
.quotes figure.note { padding: 28px 28px 38px; transition: transform .6s var(--spring); }
.quotes figure.note:hover { transform: rotate(0deg) translateY(-8px) scale(1.012); }
.quotes figure.note:hover::before { box-shadow: var(--rim), var(--lift-2); }
.quotes figure.note::after { height: 18px; border-radius: 6px; box-shadow: 0 2px 6px rgba(40,10,30,.18); }
.quotes figure.note .cd { right: 22px; bottom: 14px; }

/* Sobre mim (card) */
.facts { border-radius: 26px; background: linear-gradient(180deg, #FFF6FA 0%, #FFE4EF 100%); box-shadow: var(--rim), var(--lift-1); transition: transform .6s var(--spring), box-shadow .5s var(--out); }
.facts:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--rim), var(--lift-2); }
.facts::before { inset: 9px; border-radius: 18px; border-color: rgba(126,15,13,.22); }
.facts::after { border-radius: 6px; box-shadow: 0 2px 6px rgba(40,10,30,.18); }

/* Arquivo (pasta) */
.f-paper { border-radius: 28px 10px 28px 28px; box-shadow: var(--rim); background-image: linear-gradient(180deg, rgba(255,255,255,.55) 0, rgba(255,255,255,0) 40px); }
.folder::after { border-radius: 0 0 28px 28px; bottom: -20px; height: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), var(--lift-1); }
.f-tab { border-radius: 14px 14px 0 0; transition: transform .45s var(--spring), padding .3s var(--ease), background .4s var(--ease); }
.stp-wrap { transition: transform .6s var(--spring); }

/* Prateleira */
.shelf-inner::before { border-radius: 12px 12px 0 0; }
.shelf-inner::after { border-radius: 0 0 12px 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 26px 34px -16px rgba(40,10,30,.5); }
.book .cover { border-radius: 4px 10px 10px 4px; box-shadow: 0 1px 1px rgba(0,0,0,.2), 3px 6px 10px -4px rgba(0,0,0,.35), 8px 18px 22px -12px rgba(0,0,0,.35); transition: transform .6s var(--spring), box-shadow .5s var(--out); }
.book:hover .cover { transform: translateY(-12px) rotate(-1.5deg); box-shadow: 0 2px 2px rgba(0,0,0,.2), 6px 14px 18px -6px rgba(0,0,0,.4), 14px 34px 34px -16px rgba(0,0,0,.4); }
.shelf-arrow { transition: transform .45s var(--spring), background .25s var(--ease), color .25s var(--ease); }
.shelf-arrow:hover { transform: scale(1.08); }

/* ===== Palco imersivo: aurora + vidro (estilo iPad Pro), com a minha paleta ===== */
:root { --aurora: radial-gradient(38% 42% at 18% 28%, #FF9DCC 0, transparent 70%), radial-gradient(42% 46% at 82% 18%, #9a1b3a 0, transparent 72%), radial-gradient(46% 50% at 72% 88%, #A98BFF 0, transparent 70%), radial-gradient(38% 42% at 12% 86%, #FFB86B 0, transparent 70%), linear-gradient(135deg, #2a0b1c, #3a1230); }
@keyframes auroraMove { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.stage-bg { background: var(--aurora); background-size: 170% 170%; animation: auroraMove 22s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .stage-bg { animation: none; } }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.5)); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border: 1px solid rgba(255,255,255,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 1px rgba(20,0,15,.12), 0 18px 40px -12px rgba(20,0,15,.45); }

/* O que falam sobre mim */
.quotes { position: relative; isolation: isolate; border-radius: 40px; padding: 64px 48px 72px; gap: 34px 26px; margin: 28px 0 40px; max-width: none; }
.quotes::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--aurora); background-size: 170% 170%; animation: auroraMove 22s ease-in-out infinite alternate; }
.quotes figure.note::before { background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55)); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border: 1px solid rgba(255,255,255,.65); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 1px rgba(20,0,15,.14), 0 20px 40px -14px rgba(20,0,15,.5); }
.quotes figure.note:hover::before { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 2px 2px rgba(20,0,15,.16), 0 34px 56px -16px rgba(20,0,15,.6); }
.bundle { z-index: 4; }
@media (max-width: 760px) { .quotes { padding: 44px 18px 52px; border-radius: 28px; } }

/* Sobre mim (card de vidro sobre brilho de aurora) */
.about-text { position: relative; }
.about-text::after { content: ""; position: absolute; right: -8%; bottom: -14%; width: 78%; height: 62%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,157,204,.65), rgba(169,139,255,.35) 60%, transparent 100%); filter: blur(46px); pointer-events: none; }
.facts { position: relative; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,235,244,.55)); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 1px rgba(20,0,15,.12), 0 22px 46px -14px rgba(60,10,45,.45); }

/* Arquivo: pasta de vidro fosco sobre palco de aurora */
.folder { isolation: isolate; margin: 88px 0 112px; }
.folder > .f-tabs { z-index: 6; }
.folder::before { content: ""; position: absolute; inset: -64px -36px -84px; z-index: -1; border-radius: 44px; background: var(--aurora); background-size: 170% 170%; animation: auroraMove 22s ease-in-out infinite alternate; }
.f-paper { background: linear-gradient(180deg, rgba(247,245,241,.82), rgba(240,237,232,.7)); -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); border: 1px solid rgba(255,255,255,.6); }
.f-tab, .f-tab.t1, .f-tab.t2, .f-tab.t3 { --tc: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.5); border-bottom: 0; color: #1b1a1f; }
.f-tab[aria-selected="true"] { background: rgba(247,245,241,.85); }
.folder::after { background: linear-gradient(180deg, rgba(235,232,226,.85), rgba(190,186,178,.75)); }
@media (max-width: 760px) { .folder::before { inset: -44px -14px -64px; border-radius: 30px; } .folder { margin: 70px 0 96px; } }
@media (prefers-reduced-motion: reduce) { .quotes::before, .folder::before { animation: none; } }
:root { --aurora: radial-gradient(48% 52% at 16% 26%, #FF9DCC 0, transparent 72%), radial-gradient(44% 48% at 84% 16%, #c22a58 0, transparent 72%), radial-gradient(50% 54% at 70% 90%, #B79CFF 0, transparent 72%), radial-gradient(42% 46% at 10% 88%, #FFC27A 0, transparent 72%), linear-gradient(135deg, #5a1a46, #7a2a62); }
.quotes figure.note::before { background: linear-gradient(180deg, rgba(255,246,251,.86), rgba(255,232,244,.66)); }
.folder::before { inset: -64px -16px -84px; }

/* ===== Arquivo: pasta de papel com os selos dentro (junk journal), sem aurora ===== */
.folder { isolation: isolate; margin: 84px 0 104px; }
.folder::before { display: none; }
.f-paper { background: linear-gradient(180deg, #ECE7DC 0%, #E4DECF 100%); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 22px 10px 10px 10px; padding: 26px 30px 96px; min-height: 0; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 0 0 1px rgba(120,100,70,.12), 0 1px 1px rgba(40,25,10,.1), 0 24px 40px -18px rgba(40,25,10,.4); background-image: radial-gradient(circle at 18% 12%, rgba(255,255,255,.55), transparent 40%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .28  0 0 0 .09 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
/* bolso da frente: os selos ficam "dentro" da pasta */
.folder::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74px; z-index: 4; border-radius: 0 0 10px 10px; pointer-events: none;
  background: linear-gradient(180deg, #F3EFE6 0%, #E7E1D3 100%); border-top: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 -14px 22px -12px rgba(40,25,10,.35), 0 26px 36px -16px rgba(40,25,10,.45), inset 0 0 0 1px rgba(120,100,70,.1); }
.folder > .f-tabs { z-index: 5; top: -33px; }
.f-tab, .f-tab.t1, .f-tab.t2, .f-tab.t3 { --tc: #D8D1C1; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; color: #2b2620; background: #D8D1C1; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.f-tab[aria-selected="true"] { background: #ECE7DC; }
/* selos soltos, sobrepostos, estilo junk journal */
.f-row { justify-content: center; align-items: flex-start; gap: 0; row-gap: 6px; margin-top: 30px; padding: 0 6px; }
.stp-wrap { position: relative; flex: 0 0 auto; width: clamp(138px, 19%, 190px); margin: 0 -6px; transition: transform .6s var(--spring); }
.stp-wrap.land { width: clamp(168px, 24%, 236px); max-width: none; }
.stp-wrap:nth-child(2n) { margin-top: 30px; }
.stp-wrap:nth-child(3n) { margin-top: 8px; }
.stp-wrap:nth-child(4n+1) { margin-top: -4px; }
.stp-wrap:hover { z-index: 3; transform: rotate(0deg) translateY(-8px) scale(1.04); }
.stp-wrap::before { content: ""; position: absolute; z-index: 2; top: -9px; left: 50%; width: 58px; height: 17px; margin-left: -29px; transform: rotate(var(--tr, -5deg)); background: repeating-linear-gradient(45deg, #FF9DCC 0 5px, #FFF4EB 5px 10px); opacity: .95; border-radius: 2px; box-shadow: 0 2px 5px rgba(40,10,30,.22); filter: none; }
.stp-wrap:nth-child(3n+2)::before { background: repeating-linear-gradient(45deg, #f3e2a9 0 5px, #fffaf0 5px 10px); --tr: 6deg; }
.stp-wrap:nth-child(3n)::before { background: repeating-linear-gradient(45deg, #7E0F0D 0 5px, #FFEAF3 5px 10px); --tr: -3deg; width: 46px; margin-left: -23px; }
.stp-wrap:nth-child(4n)::before { display: none; }
@media (max-width: 760px) { .f-paper { padding: 20px 14px 84px; } .stp-wrap, .stp-wrap.land { width: calc(50% - 14px); margin: 0 -2px; } .folder::after { height: 60px; } }
.stp-wrap { width: clamp(150px, 21.5%, 215px); margin: 0 4px; }
.stp-wrap.land { width: clamp(190px, 26%, 270px); }
.f-row { gap: 6px 10px; margin-top: 34px; }
.f-paper { background-color: #E8E2D5; }
.stp-wrap.land { width: clamp(150px, 22.4%, 224px); margin: 0 3px; }
/* sem bolso da frente */
.folder::after { display: none; }
.f-paper { padding-bottom: 44px; }
@media (max-width: 760px) { .f-paper { padding-bottom: 28px; } }

/* Pasta lisa: um off-white neutro, sem gradiente (abas na mesma cor do papel) */
.folder, .folder[data-tab] { --paper: #E9E5DB; }
.f-paper { background: #E9E5DB !important; background-image: none !important; box-shadow: 0 1px 1px rgba(40,25,10,.1), 0 24px 40px -18px rgba(40,25,10,.4); }
.f-tab, .f-tab.t1, .f-tab.t2, .f-tab.t3 { background: #D6D1C5; box-shadow: none; }
.f-tab[aria-selected="true"] { background: #E9E5DB; }

/* Pasta maior, com mais espaço em branco */
.folder { margin: 96px 0 120px; }
.f-paper { padding: 48px 64px 96px; min-height: 600px; }
.f-title { margin-top: 0; }
.f-row { margin-top: 64px; gap: 28px 18px; padding: 0; }
.stp-wrap { width: clamp(140px, 19%, 200px); margin: 0 6px; }
.stp-wrap.land { width: clamp(150px, 21%, 220px); margin: 0 6px; }
@media (max-width: 1000px) { .f-paper { padding: 40px 36px 72px; min-height: 520px; } }
@media (max-width: 760px) { .f-paper { padding: 28px 18px 48px; min-height: 440px; } .f-row { margin-top: 36px; gap: 20px 10px; } .stp-wrap, .stp-wrap.land { width: calc(50% - 14px); } }

/* ===== Arquivo interativo: mover selos + caneta, lápis e borracha ===== */
.stp-wrap { transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--rot)); touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.stp-wrap:hover { transform: translate(var(--dx, 0px), calc(var(--dy, 0px) - 8px)) rotate(0deg) scale(1.04); }
.stp-wrap.dragging { transition: none; cursor: grabbing; transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(0deg) scale(1.06); filter: drop-shadow(0 18px 22px rgba(40,25,10,.35)); z-index: 20; }
.f-paper.tool-draw .stp-wrap { cursor: inherit; pointer-events: none; }
.f-draw { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; touch-action: none; }
.f-paper.tool-draw .f-draw { pointer-events: auto; }
.f-paper.tool-pen .f-draw { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'><path d='M4 20l1-5L16.5 3.5a2.1 2.1 0 0 1 3 3L8 18z' fill='%23111' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/></svg>") 3 24, crosshair; }
.f-paper.tool-pencil .f-draw { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'><path d='M4 20l1-4 11-11 3 3-11 11z' fill='%23c9a46b' stroke='%23333' stroke-width='1.2' stroke-linejoin='round'/></svg>") 3 24, crosshair; }
.f-paper.tool-eraser .f-draw { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'><path d='M5 15l8-9 6 6-6 8H8z' fill='%23ffb3d1' stroke='%23333' stroke-width='1.2' stroke-linejoin='round'/></svg>") 4 20, cell; }
.f-tools { position: absolute; z-index: 8; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 1px 1px rgba(40,25,10,.12), 0 12px 24px -10px rgba(40,25,10,.4); }
.f-tools .ft { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #2b2620; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .4s var(--spring); }
.f-tools .ft svg { width: 19px; height: 19px; }
.f-tools .ft:hover { background: rgba(40,25,10,.08); transform: translateY(-2px); }
.f-tools .ft[aria-pressed="true"] { background: #2b2620; color: #fff; }
.f-tools .ft::after { content: attr(aria-label); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); padding: 4px 10px; border-radius: 999px; background: #2b2620; color: #fff; font: 500 11.5px var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease); }
.f-tools .ft:hover::after { opacity: 1; transform: translate(-50%, 0); }
.f-tools .ft-sep { width: 1px; height: 22px; background: rgba(40,25,10,.18); margin: 0 4px; }
@media (max-width: 760px) { .f-tools { bottom: 12px; } .f-tools .ft { width: 36px; height: 36px; } }
.more-work { text-align: left; justify-content: flex-start; display: flex; }

/* Cards extras (cases em construção) */
.b-x { grid-column: span 2; grid-row: auto; min-height: 340px; }
.b-x .shot.ph { color: #8a2a38; font-weight: 600; }
@media (max-width: 760px) { .b-x { grid-column: 1 / -1; min-height: 300px; } }

/* Cards extras (cases em construção) */
.b-x { grid-column: span 2; grid-row: auto; min-height: 340px; }
@media (max-width: 760px) { .b-x { grid-column: 1 / -1; min-height: 300px; } }

/* Placeholders: cinza liso com "[image]" */
.g1, .g2, .g3, .g4, .g5, .g6, .g.gp, .gp { background: #e6e4df; color: #8b8880; text-shadow: none; }
:root[data-theme="dark"] .g1, :root[data-theme="dark"] .g2, :root[data-theme="dark"] .g3, :root[data-theme="dark"] .g4, :root[data-theme="dark"] .g5, :root[data-theme="dark"] .g6, :root[data-theme="dark"] .gp { background: #22211f; color: #6f6d67; }
.shot.ph, .full.ph, .half.ph { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: 0; color: #8b8880; display: grid; place-items: center; }
:root[data-theme="dark"] .shot.ph, :root[data-theme="dark"] .full.ph, :root[data-theme="dark"] .half.ph { color: #6f6d67; }
.shot.ph:empty::after { content: "[image]"; }
.bento-card:has(.shot.ph), .bento-card:has(.shot.ph) .px, .bento-card:has(.shot.ph) h2 { color: var(--fg); }
.shot.ph, .shot.ph.g1, .shot.ph.g3, .shot.ph.g5, .full.ph, .half.ph { color: #8b8880 !important; }
:root[data-theme="dark"] .shot.ph, :root[data-theme="dark"] .full.ph, :root[data-theme="dark"] .half.ph { color: #6f6d67 !important; }
/* todos os selos com washi tape */
.stp-wrap:nth-child(4n)::before { display: block; background: repeating-linear-gradient(45deg, #FFC27A 0 5px, #FFF4EB 5px 10px); --tr: 4deg; width: 52px; margin-left: -26px; }
.folder .f-tools .ft { padding: 0; border: 0; width: 40px; height: 40px; border-radius: 50%; background: transparent; color: #2b2620; font: inherit; box-shadow: none; }
.folder .f-tools .ft:hover { background: rgba(40,25,10,.09); color: #2b2620; }
.folder .f-tools .ft[aria-pressed="true"], .folder .f-tools .ft[aria-pressed="true"]:hover { background: #2b2620; color: #fff; }
.folder .f-tools .ft svg { width: 19px; height: 19px; display: block; }
@media (max-width: 760px) { .folder .f-tools .ft { width: 36px; height: 36px; } }

/* ===== Paleta de fundo e texto: off-white quente, quase-preto e cinza quente ===== */
:root { --bg: #F6F2EA; --fg: #16160F; --body: #6E6E66; --muted: #8C8C82; --line: #E4DED2; --chip: #ECE6DA; }
:root[data-theme="dark"] { --bg: #111110; --fg: #f1efe9; --body: #bdbbb4; --muted: #84827b; --line: #2a2926; --chip: #1b1b19; }
body { background: var(--bg); color: var(--fg); }

/* Blocos de tom que quebram o ritmo claro, com bolinhas bem suaves */
section.block#archive, section.block#outside { border-top: 0; border-radius: 40px; padding: 96px 48px; margin: 56px 0; position: relative; }
section.block#archive { background-color: #F1DCE2; background-image: radial-gradient(rgba(126,15,13,.10) 1.4px, transparent 1.7px); background-size: 24px 24px; }
section.block#outside { background-color: #E9E0CD; background-image: radial-gradient(rgba(22,22,15,.09) 1.4px, transparent 1.7px); background-size: 24px 24px; }
:root[data-theme="dark"] section.block#archive { background-color: #281a20; background-image: radial-gradient(rgba(255,157,204,.10) 1.4px, transparent 1.7px); }
:root[data-theme="dark"] section.block#outside { background-color: #211e17; background-image: radial-gradient(rgba(255,244,235,.08) 1.4px, transparent 1.7px); }
section.block#archive > h3, section.block#outside > h3 { margin-top: 0; }

/* Rodapé em merlot, o contraste mais forte da página */
footer#contact { background-color: #3D0D11; background-image: radial-gradient(rgba(255,244,235,.09) 1.4px, transparent 1.7px); background-size: 24px 24px; color: #F6F2EA; border-top: 0; border-radius: 40px; padding: 88px 48px 44px; margin: 56px 0 28px; }
footer#contact .cta { color: rgba(246,242,234,.72); }
footer#contact a, footer#contact .to-top { color: #F6F2EA; text-decoration-color: rgba(246,242,234,.3); }
footer#contact a:hover { text-decoration-color: currentColor; }
footer#contact .copy, footer#contact .social a { color: rgba(246,242,234,.6); }
footer#contact .social a:hover { color: #F6F2EA; }
footer#contact .lastfm, footer#contact .lastfm * { color: inherit; }
@media (max-width: 760px) { section.block#archive, section.block#outside { padding: 56px 20px; border-radius: 28px; } footer#contact { padding: 56px 22px 32px; border-radius: 28px; } }
@media (max-width: 760px) { .f-row { gap: 20px 12px; } .stp-wrap, .stp-wrap.land { width: calc(50% - 6px); margin: 0 !important; } }

/* Fundo um pouco mais claro, puxando para o cinza */
:root { --bg: #F5F4F1; --line: #E2E0DA; --chip: #EBE9E4; }
:root[data-theme="dark"] { --bg: #111110; --line: #2a2926; --chip: #1b1b19; }
section.block#outside { background-color: #E7E4DB; }

/* Sem gradientes coloridos: só tons de cinza e off-white */
:root { --aurora: linear-gradient(135deg, #EFEDE8 0%, #DEDBD4 100%); }
:root[data-theme="dark"] { --aurora: linear-gradient(135deg, #262523 0%, #181816 100%); }
.stage-bg, .quotes::before { animation: none; background-size: 100% 100%; }
.quotes figure.note::before { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,247,243,.78)); }
.facts { background: linear-gradient(180deg, #FFFFFF 0%, #EFEEEA 100%); }
.about-text::after { display: none; }
.quotes figure.note:hover::before { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 2px 2px rgba(20,20,15,.14), 0 34px 56px -16px rgba(20,20,15,.4); }
.quotes figure.note::before { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 1px rgba(20,20,15,.14), 0 20px 40px -14px rgba(20,20,15,.35); }
:root[data-theme="dark"] .quotes figure.note::before { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(240,238,234,.78)); }

/* Arquivo: sem bloco colorido nem bolinhas, direto sobre o fundo da página */
section.block#archive, :root[data-theme="dark"] section.block#archive { background: transparent; background-image: none; border-radius: 0; padding: 128px 0; margin: 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { section.block#archive { padding: 80px 0; border-radius: 0; } }

/* Mais flat: cartinhas e card do Sobre sem degradê, sem brilho */
:root { --aurora: #E8E6E1; }
:root[data-theme="dark"] { --aurora: #1e1d1b; }
.quotes::before { background: var(--aurora); background-image: none; }
.quotes figure.note::before { background: #FBFAF7; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: 0 1px 2px rgba(22,22,15,.08), 0 10px 22px -12px rgba(22,22,15,.22); }
.quotes figure.note:hover::before { box-shadow: 0 2px 4px rgba(22,22,15,.1), 0 18px 32px -14px rgba(22,22,15,.3); }
:root[data-theme="dark"] .quotes figure.note::before { background: #F1EFEA; }
.facts { background: #FBFAF7; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: 0 1px 2px rgba(22,22,15,.08), 0 12px 26px -14px rgba(22,22,15,.25); }
.facts:hover { box-shadow: 0 2px 4px rgba(22,22,15,.1), 0 18px 32px -14px rgba(22,22,15,.3); }

/* "Vamos conversar": sem fundo nem bolinhas */
footer#contact, :root[data-theme="dark"] footer#contact { background: transparent; background-image: none; color: inherit; border-radius: 0; border-top: 1px solid var(--line); padding: 90px 0 56px; margin: 0; }
footer#contact .cta { color: var(--body); }
footer#contact a, footer#contact .to-top { color: var(--fg); text-decoration-color: var(--line); }
footer#contact a:hover { text-decoration-color: currentColor; }
footer#contact .copy, footer#contact .social a { color: var(--muted); }
footer#contact .social a:hover { color: var(--fg); }
@media (max-width: 760px) { footer#contact { padding: 64px 0 40px; border-radius: 0; } }

/* Tipografia: Geist (títulos e corpo), Geist Mono (palavra de destaque dos títulos), JetBrains Mono (micro-legendas) */
.hl { font-family: var(--mono-hl); font-weight: 500; font-size: .9em; letter-spacing: -.05em; }
footer a.mail { font-family: var(--mono-hl); }
.hero-sub { font-family: var(--mono); letter-spacing: 0; }

/* ===== Geist Pixel: palavra de destaque dos títulos + micro-legendas (tudo em minúsculas, cursor _) ===== */
@keyframes cursorBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.hl { font-family: var(--pixel); font-weight: 400; font-size: .86em; letter-spacing: 0; text-transform: lowercase; }
.hero-sub, h4.sub, .facts .fl, .facts .fv, .quotes figure.note blockquote, footer a.mail { font-family: var(--pixel); text-transform: lowercase; letter-spacing: .01em; }
.quotes figure.note blockquote { font-size: 14.5px; line-height: 1.55; }
.quotes figure.note.n0 blockquote { font-size: 16px; }
.facts .fl { font-size: 15px; font-weight: 400; } .facts .fv { font-size: 14px; }
h4.sub::after, .hero.ready .hero-sub::after { content: "_"; margin-left: 2px; animation: cursorBlink 1.1s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { h4.sub::after, .hero.ready .hero-sub::after { animation: none; } }
#hero-title .hl { font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; }

/* ===== Hero: título à esquerda, "still" de produto à direita, 2 toasts do processo ===== */
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 96px 0 80px; }
  .hero h1 { font-size: clamp(42px, 5.6vw, 84px); max-width: 9.5em; }
}
.hero-still { position: relative; width: 100%; max-width: 560px; margin-left: auto; }
.still-frame { border-radius: 32px; overflow: hidden; aspect-ratio: 600 / 680; background: #F3F2EE; box-shadow: 0 1px 2px rgba(22,22,15,.08), 0 30px 60px -28px rgba(22,22,15,.35); }
.still { display: block; width: 100%; height: 100%; pointer-events: none; }
.toast { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 18px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 1px 1px rgba(22,22,15,.1), 0 16px 32px -12px rgba(22,22,15,.35); color: #16160F; font-family: var(--pixel); text-transform: lowercase; font-size: 14px; white-space: nowrap; animation: floaty 6s ease-in-out infinite alternate; }
.toast .td { width: 22px; height: 22px; border-radius: 50%; background: var(--btn-bg, #FF9DCC); flex: none; position: relative; }
.toast .td::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #17120F; border-width: 0 1.8px 1.8px 0; transform: rotate(40deg); }
.toast .tt { display: grid; }
.toast .tx { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.toast .tx.on { opacity: 1; transform: none; }
.toast .tx.on::after { content: "_"; margin-left: 2px; animation: cursorBlink 1.1s steps(1) infinite; }
.toast.t1 { left: -9%; top: 13%; }
.toast.t2 { right: -7%; bottom: 17%; animation-delay: -3s; }
@keyframes floaty { from { transform: translateY(-6px); } to { transform: translateY(7px); } }
@media (max-width: 899px) { .hero-still { margin: 44px auto 0; max-width: 460px; } .toast.t1 { left: -2%; } .toast.t2 { right: -2%; } .toast { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } .toast .tx.on::after { animation: none; } }

/* ===== Navegação: barra fixa e minimalista; CTA visível na quebra tablet ===== */
header.top { position: sticky; top: 0; z-index: 60; padding: 18px 0; transition: padding .3s var(--ease); }
header.top::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
header.top.scrolled { padding: 12px 0; }
header.top.scrolled::before { border-bottom-color: var(--line); }
.nav-cta { display: none; }
@media (max-width: 900px) {
  .nav-cta { display: inline-flex; align-items: center; margin-left: auto; margin-right: 10px; padding: 8px 18px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-family: var(--sans); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s var(--ease), transform .35s var(--spring); }
  .nav-cta:hover { background: var(--btn-bg-hover); transform: scale(1.05); }
  header.top .menu-btn { margin-left: 0; }
  header.top nav a[href$="#contact"] { display: none; }
}

/* Corrige tremor: a barra fixa não muda mais de altura ao rolar */
header.top, header.top.scrolled { padding: 14px 0; transition: none; }
/* Café sempre visível: toast sai de cima dele; fade sutil da imagem para a página */
.toast.t2 { bottom: 31%; }
@media (max-width: 899px) {
  .toast.t2 { left: 3%; right: auto; bottom: 7%; }
  .toast.t1 { left: -1%; top: 6%; }
  .still-frame { border-radius: 0; box-shadow: none; background: transparent; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 86%, transparent 100%); }
  .hero-still { margin-top: 28px; }
}
@media (max-width: 899px) {
  .still-frame { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); mask-composite: intersect; }
}
.toast.t2 { bottom: 22%; right: -7%; }
@media (max-width: 899px) { .toast.t2 { left: 3%; right: auto; bottom: 6%; } .toast.t1 { top: 40%; left: -1%; } }

/* Botão "Contato" do menu: secundário (contorno) */
@media (min-width: 901px) {
  header.top nav a[href$="#contact"] { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
  header.top nav a[href$="#contact"]:hover { background: var(--fg); color: var(--bg); }
}
.nav-cta { background: transparent !important; color: var(--fg) !important; box-shadow: inset 0 0 0 1.5px var(--fg); }
.nav-cta:hover { background: var(--fg) !important; color: var(--bg) !important; }

/* Toasts reposicionados para a composição organizada */
.toast.t1 { left: -9%; top: 52%; }
.toast.t2 { right: -6%; bottom: 5%; left: auto; }
@media (max-width: 899px) { .toast.t1 { left: -1%; top: 47%; } .toast.t2 { right: 1%; left: auto; bottom: 4%; } }

/* Fundo com grade de pontinhos sutil */
body { background-image: radial-gradient(rgba(22,22,15,.075) 1px, transparent 1.3px); background-size: 22px 22px; background-position: 0 0; }
:root[data-theme="dark"] body { background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.3px); }

/* Cantos arredondados em todo o site */
.bento-card, .project .shot.bleed, .polaroid, .carousel, .folder .f-paper, .quotes, .facts { border-radius: var(--r-card, 28px); }
.chips li, .btn, .toast { border-radius: 999px; }
.toast { border-radius: 18px; }
.book .cover { border-radius: 4px 10px 10px 4px; }
.lang-menu, .lang-menu button { border-radius: 12px; }
.case-nav a { border-radius: 10px; }

/* About: revelação progressiva palavra por palavra */
.rv .w { opacity: .16; filter: blur(3px); transform: translateY(5px); display: inline-block; transition: opacity .6s var(--out), filter .6s var(--out), transform .6s var(--out); transition-delay: calc(var(--i) * 26ms); }
.rv.on .w { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv .w { opacity: 1; filter: none; transform: none; transition: none; } }

/* Hover nas superfícies */
.project .info h2 a { transition: letter-spacing .4s var(--out); }
.project:hover .info h2 a { letter-spacing: -.005em; }

/* ===== Fechamento: checklist à esquerda, formulário à direita ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; margin-bottom: 72px; }
.cg-left .cta { margin: 0 0 14px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; color: var(--fg); }
.cg-sub { margin: 0 0 34px; max-width: 30em; color: var(--body); font-size: 17px; line-height: 1.55; }
.cg-title { margin: 0 0 16px; }
.cg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cg-list li { position: relative; padding-left: 36px; color: var(--fg); font-size: 16.5px; line-height: 1.45; }
.cg-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--btn-bg); }
.cg-list li::after { content: ""; position: absolute; left: 7.5px; top: 5.5px; width: 6px; height: 10px; border: solid var(--btn-ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.cg-note { margin: 28px 0 0; font-family: var(--pixel); text-transform: lowercase; color: var(--muted); font-size: 14px; }
.cform { display: grid; gap: 16px; padding: 30px; border-radius: 28px; background: var(--chip); }
.cform label { display: grid; gap: 8px; }
.cform label > span { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; text-transform: lowercase; }
.cform input, .cform select, .cform textarea { width: 100%; padding: 14px 16px; border: 1.5px solid transparent; border-radius: 14px; background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.cform textarea { resize: vertical; min-height: 120px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--btn-bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--btn-bg) 35%, transparent); }
.cform .invalid { border-color: #c2312d; }
.cf-send { justify-self: start; margin-top: 6px; padding: 15px 30px; font-size: 16px; cursor: pointer; border: 0; }
.cf-status { margin: 0; min-height: 1.3em; font-size: 14px; color: var(--body); }
.cf-note { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .cform { padding: 22px; } .cf-send { width: 100%; justify-self: stretch; } }

/* Nome e cargo em maiúsculas */
.hero-sub { text-transform: uppercase; letter-spacing: .06em; }
.toast.t1 { top: 60%; left: -9%; } .toast.t2 { bottom: 8%; right: -6%; }
@media (max-width: 899px) { .toast.t1 { top: 56%; left: -1%; } .toast.t2 { bottom: 5%; right: 1%; } }

/* ===== Vibe das minhas ilustrações: cores chapadas e pastéis, formas suaves, textura de papel ===== */
:root { --i-salmon: #F8C9BE; --i-lav: #DCD0F6; --i-sky: #C8E3FA; --i-mint: #CBEBDD; --i-peach: #FFE0BF; --i-ink: #2d2140; --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .15  0 0 0 0 .3  0 0 0 .11 0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>"); }
/* Card Sobre mim */
.facts { background: var(--i-lav); background-image: var(--grain); border: 0; box-shadow: 6px 7px 0 rgba(45,33,64,.14); }
.facts:hover { box-shadow: 8px 10px 0 rgba(45,33,64,.16); }
.facts::before { border-color: rgba(45,33,64,.28); }
.facts::after { background: repeating-linear-gradient(45deg, #F8A8C8 0 6px, #FFF4EB 6px 12px); }
.facts .fl, .facts .fv { color: var(--i-ink); }
.facts .fi { background: var(--i-ink) !important; color: #fff !important; }
/* O que falam sobre mim */
.quotes::before { background: #EFEAF8; }
:root[data-theme="dark"] .quotes::before { background: #26232f; }
.quotes figure.note::before { background-image: var(--grain); box-shadow: 5px 6px 0 rgba(45,33,64,.14); border: 0; }
.quotes figure.note:hover::before { box-shadow: 7px 9px 0 rgba(45,33,64,.16); }
.quotes figure.note.n0::before { background-color: var(--i-salmon); }
.quotes figure.note.n1::before { background-color: var(--i-sky); }
.quotes figure.note.n2::before { background-color: var(--i-peach); }
.quotes figure.note.n3::before { background-color: var(--i-mint); }
.quotes figure.note.n4::before { background-color: var(--i-lav); }
:root[data-theme="dark"] .quotes figure.note::before { background-color: inherit; }
.quotes figure.note blockquote { color: var(--i-ink); }
.quotes figure.note::after { background: repeating-linear-gradient(45deg, #FFF4EB 0 6px, #F8A8C8 6px 12px); }
/* Prateleira e livros */
:root { --wood-hi: #B9A5EB; --wood: #A892E2; --wood-lo: #8C76D0; }
:root[data-theme="dark"] { --wood-hi: #8d78c9; --wood: #7a66b8; --wood-lo: #5e4b9a; }
.shelf-inner::before, .shelf-inner::after { background-image: none; }
.shelf-inner::before { background: #CDBEF2; border-radius: 12px 12px 0 0; }
.shelf-inner::after { background: #A892E2; border-radius: 0 0 12px 12px; box-shadow: 0 8px 0 rgba(45,33,64,.12); }
.book .cover { border-radius: 4px 12px 12px 4px; box-shadow: 4px 5px 0 rgba(45,33,64,.2); }
.book:hover .cover { box-shadow: 6px 9px 0 rgba(45,33,64,.22); }
section.block#outside { background-color: #F3EDF9; background-image: radial-gradient(rgba(45,33,64,.09) 1.4px, transparent 1.7px); }
:root[data-theme="dark"] section.block#outside { background-color: #241f2e; }
.hero-sub { text-transform: capitalize; letter-spacing: .01em; }

/* ===== Contraste dosado: CTAs principais em rosa, o resto em cinza suave (como os toasts) ===== */
:root { --sec-bg: #E8E6E1; --sec-bg-h: #DDDBD5; --sec-sh: 0 1px 1px rgba(22,22,15,.08), 0 10px 20px -10px rgba(22,22,15,.28); }
:root[data-theme="dark"] { --sec-bg: #2c2b29; --sec-bg-h: #373634; --sec-sh: 0 1px 1px rgba(0,0,0,.4), 0 10px 20px -10px rgba(0,0,0,.6); }
.btn { background: var(--sec-bg); color: var(--fg); box-shadow: var(--sec-sh); }
.btn:hover { background: var(--sec-bg-h); color: var(--fg); }
.btn.lock { background: var(--sec-bg); color: var(--fg); box-shadow: var(--sec-sh); }
.btn.lock:hover { background: var(--sec-bg-h); color: var(--fg); }
.hero-cta, .cf-send { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 1px 1px rgba(22,22,15,.1), 0 14px 26px -12px rgba(229,101,159,.7); }
.hero-cta:hover, .cf-send:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.nav-cta, header.top nav a[href$="#contact"] { background: var(--sec-bg) !important; color: var(--fg) !important; box-shadow: var(--sec-sh) !important; }
.nav-cta:hover, header.top nav a[href$="#contact"]:hover { background: var(--sec-bg-h) !important; color: var(--fg) !important; }
/* números grandes */
.facts .fv { font-family: var(--sans); font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--i-ink, #2d2140); text-transform: none; }
.facts .f-cof .fv { font-size: 30px; }
.facts .fl { font-size: 14px; }
.facts li { height: 46px; }

/* ===== Cards em tons de rosa e cinza, sombras suaves ===== */
.facts { background: #F8DDE6; background-image: var(--grain); box-shadow: 0 1px 2px rgba(22,22,15,.08), 0 16px 30px -16px rgba(22,22,15,.32); }
.facts:hover { box-shadow: 0 2px 4px rgba(22,22,15,.1), 0 22px 38px -16px rgba(22,22,15,.36); }
.facts .fl { color: #3D0D11; } .facts .fv { color: #3D0D11; }
.facts .fi { background: #7E0F0D !important; }
.quotes::before { background: #ECEAE6; }
:root[data-theme="dark"] .quotes::before { background: #242321; }
.quotes figure.note::before { background-image: none; box-shadow: 0 1px 2px rgba(22,22,15,.08), 0 14px 26px -14px rgba(22,22,15,.3); }
.quotes figure.note:hover::before { box-shadow: 0 2px 4px rgba(22,22,15,.1), 0 22px 34px -14px rgba(22,22,15,.36); }
.quotes figure.note.n0::before { background-color: #F8DDE6; }
.quotes figure.note.n1::before { background-color: #FBFAF8; }
.quotes figure.note.n2::before { background-color: #FBE8EF; }
.quotes figure.note.n3::before { background-color: #E3E1DC; }
.quotes figure.note.n4::before { background-color: #F5D2DF; }
:root[data-theme="dark"] .quotes figure.note::before { background-color: inherit; }
.quotes figure.note blockquote { color: #3D0D11; }

/* ===== Washi tapes: só rosa e burgundy ===== */
:root { --tape-pink: repeating-linear-gradient(45deg, #FF9DCC 0 6px, #FFF4EB 6px 12px); --tape-wine: repeating-linear-gradient(45deg, #7E0F0D 0 6px, #FFF4EB 6px 12px); }
.facts::after, .quotes figure.note::after { background: var(--tape-pink); }
.quotes figure.note:nth-child(even)::after { background: var(--tape-wine); }
.stp-wrap::before, .stp-wrap:nth-child(3n+2)::before, .stp-wrap:nth-child(4n)::before { display: block; background: var(--tape-pink); width: 58px; margin-left: -29px; }
.stp-wrap:nth-child(even)::before, .stp-wrap:nth-child(3n)::before { background: var(--tape-wine); }

/* ===== Prateleira: cor da mesa do hero, indo até as laterais do card ===== */
section.block#outside { background-color: #ECEAE6; background-image: none; overflow: hidden; }
.bookcase { margin-left: -48px; margin-right: -48px; }
.shelf-inner { padding: 0 48px; }
.shelf-inner::before { left: 0; right: 0; background: linear-gradient(180deg, #FFFFFF, #F3F1EC); border-radius: 0; }
.shelf-inner::after { left: 0; right: 0; background: linear-gradient(180deg, #E9E7E2, #D9D6CF); border-radius: 0; box-shadow: 0 10px 22px -12px rgba(22,22,15,.35); }
.shelf-arrow.prev { left: 12px; } .shelf-arrow.next { right: 12px; }
:root[data-theme="dark"] section.block#outside { background-color: #232220; }
:root[data-theme="dark"] .shelf-inner::before { background: linear-gradient(180deg, #3a3936, #2f2e2b); }
:root[data-theme="dark"] .shelf-inner::after { background: linear-gradient(180deg, #2a2927, #1f1e1c); }
@media (max-width: 760px) { .bookcase { margin-left: -20px; margin-right: -20px; } .shelf-inner { padding: 0 20px; } }

/* ===== AA (4.5:1): texto de apoio e rótulos mais escuros ===== */
:root { --body: #66665D; --muted: #66665D; }
:root[data-theme="dark"] { --body: #bdbbb4; --muted: #96948d; }
.shot.ph, .full.ph, .half.ph { color: #66665D !important; }
:root[data-theme="dark"] .shot.ph, :root[data-theme="dark"] .full.ph, :root[data-theme="dark"] .half.ph { color: #96948d !important; }

/* ===== Sem selos no About ===== */
.stickers { display: none; }

/* ===== Botões: sem sombra, cinza translúcido estilo Klarna/Airbnb ===== */
.btn, .btn.lock, .nav-cta, header.top nav a[href$="#contact"] { box-shadow: none !important; }
.btn, .btn.lock { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; font-size: 15.5px; font-weight: 500; letter-spacing: -.005em; color: var(--fg); background: rgba(22,22,15,.07); box-shadow: inset 0 0 0 1px rgba(22,22,15,.05) !important; transition: background .25s var(--ease), transform .35s var(--spring); }
.btn:hover, .btn.lock:hover { background: rgba(22,22,15,.12); color: var(--fg); transform: scale(1.02); }
.btn:active { transform: scale(.98); }
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .btn.lock { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06) !important; }
:root[data-theme="dark"] .btn:hover, :root[data-theme="dark"] .btn.lock:hover { background: rgba(255,255,255,.16); }
.nav-cta, header.top nav a[href$="#contact"] { background: rgba(22,22,15,.07) !important; color: var(--fg) !important; min-height: 38px; }
.nav-cta:hover, header.top nav a[href$="#contact"]:hover { background: rgba(22,22,15,.12) !important; }
:root[data-theme="dark"] .nav-cta, :root[data-theme="dark"] header.top nav a[href$="#contact"] { background: rgba(255,255,255,.1) !important; }
.hero-cta, .cf-send { min-height: 52px; padding: 0 30px; background: var(--btn-bg); color: var(--btn-ink); box-shadow: none !important; }
.hero-cta:hover, .cf-send:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }

/* ===== Sombras bem mais suaves em todos os elementos ===== */
:root { --lift-1: 0 1px 2px rgba(22,22,15,.04), 0 14px 28px -20px rgba(22,22,15,.12); --lift-2: 0 1px 3px rgba(22,22,15,.05), 0 20px 36px -22px rgba(22,22,15,.16); }
.toast { box-shadow: 0 1px 2px rgba(22,22,15,.05), 0 12px 24px -16px rgba(22,22,15,.16); }
.still-frame { box-shadow: 0 1px 2px rgba(22,22,15,.04), 0 24px 48px -32px rgba(22,22,15,.18); }
.facts, .facts:hover { box-shadow: 0 1px 2px rgba(22,22,15,.04), 0 14px 26px -20px rgba(22,22,15,.14); }
.quotes figure.note::before, .quotes figure.note:hover::before { box-shadow: 0 1px 2px rgba(22,22,15,.04), 0 12px 22px -18px rgba(22,22,15,.14); }
.f-paper { box-shadow: 0 1px 2px rgba(40,25,10,.05), 0 18px 32px -24px rgba(40,25,10,.16); }
.book .cover, .book:hover .cover { box-shadow: 0 1px 2px rgba(22,22,15,.12), 0 8px 16px -10px rgba(22,22,15,.2); }
.shelf-inner::after { box-shadow: none; }
.stp-wrap { filter: drop-shadow(0 4px 8px rgba(22,22,15,.12)); }
.bundle { filter: drop-shadow(0 4px 8px rgba(22,22,15,.14)); }
.browser { box-shadow: 0 1px 2px rgba(22,22,15,.04), 0 18px 34px -26px rgba(22,22,15,.16); }
.f-tools { box-shadow: 0 1px 2px rgba(40,25,10,.06), 0 8px 18px -12px rgba(40,25,10,.2); }
.phone { box-shadow: inset 0 0 0 2px #3a3a40, 0 18px 30px -22px rgba(0,0,0,.35); }

/* ===== Card "Sobre mim": limpo e proporcional ===== */
.facts { transform: none; max-width: 380px; padding: 8px 22px; border: 0; border-radius: 24px; background: #F8E4EB; background-image: none; }
.facts:hover { transform: none; }
.facts::before { display: none; }
.facts::after { width: 70px; height: 18px; margin-left: -35px; top: -9px; transform: rotate(-2deg); border-radius: 4px; box-shadow: none; }
.facts li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 14px; height: auto; min-height: 56px; padding: 0; border-top: 1px solid rgba(61,13,17,.1); }
.facts li:first-child { border-top: 0; }
.facts .fi { width: 30px; height: 30px; border-radius: 50%; background: #7E0F0D !important; color: #fff !important; border: 0; }
.facts .fi svg { width: 15px; height: 15px; }
.facts .fl { font-family: var(--sans); text-transform: none; font-size: 15px; font-weight: 400; letter-spacing: 0; color: #4a2229; }
.facts .fv { font-family: var(--sans); text-transform: none; font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: #3D0D11; line-height: 1.1; }
.facts .f-cof .fv { font-size: 22px; }

/* O que falam sobre mim: sem ilustrações; cartões claros também no escuro */
.quotes figure.note .cd, .bundle { display: none !important; }
:root[data-theme="dark"] .quotes figure.note.n0::before { background-color: #F8DDE6; }
:root[data-theme="dark"] .quotes figure.note.n1::before { background-color: #FBFAF8; }
:root[data-theme="dark"] .quotes figure.note.n2::before { background-color: #FBE8EF; }
:root[data-theme="dark"] .quotes figure.note.n3::before { background-color: #E3E1DC; }
:root[data-theme="dark"] .quotes figure.note.n4::before { background-color: #F5D2DF; }
:root[data-theme="dark"] .quotes figure.note blockquote { color: #3D0D11; }

/* Palavra de destaque proporcional ao título */
.hl { font-size: 1em; font-weight: 400; letter-spacing: .005em; -webkit-text-stroke: .03em currentColor; vertical-align: baseline; }

/* Hero no modo escuro */
:root[data-theme="dark"] .still-frame { background: #1b1a19; }
:root[data-theme="dark"] .scn-bg { fill: url(#tblD); }
:root[data-theme="dark"] .scn-glow { opacity: .05; }
:root[data-theme="dark"] .toast { background: rgba(255,255,255,.92); }

/* Hero sem "bloco": a mesa se dissolve na página */
.still-frame { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.hero-still { max-width: 600px; }
:root[data-theme="dark"] .still-frame { background: transparent; }
:root[data-theme="dark"] .scn-bg { fill: url(#tblED); }
:root[data-theme="dark"] .hero-cta, :root[data-theme="dark"] .cf-send { background: var(--btn-bg); color: var(--btn-ink); box-shadow: none !important; }
:root[data-theme="dark"] .hero-cta:hover, :root[data-theme="dark"] .cf-send:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }

/* Mesa mais inclinada (perspectiva suave) */
.still-frame { perspective: 1100px; perspective-origin: 50% 0%; }
.still { transform: rotateX(22deg) scale(1.04); transform-origin: 50% 88%; }
@media (max-width: 899px) { .still { transform: rotateX(18deg) scale(1.03); } }
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .btn.lock, :root[data-theme="dark"] .nav-cta, :root[data-theme="dark"] header.top nav a[href$="#contact"] { background: rgba(255,255,255,.14) !important; color: #F5F3EE !important; }
:root[data-theme="dark"] .btn:hover, :root[data-theme="dark"] .btn.lock:hover { background: rgba(255,255,255,.22) !important; }
:root[data-theme="dark"] .hero-cta, :root[data-theme="dark"] .cf-send { background: var(--btn-bg) !important; color: var(--btn-ink) !important; }

/* Sem perspectiva e sem o degradê da mesa: objetos direto sobre o fundo da página */
.still-frame { perspective: none; }
.still { transform: none; }
.scn-bg, .scn-glow { display: none; }
@media (max-width: 899px) { .still { transform: none; } }

/* Títulos sem efeito de zoom/variação ao passar o mouse */
.project .info h2 a, .project:hover .info h2 a, .bento-card h2, .bento-card:hover h2 { transition: none; letter-spacing: inherit; transform: none; }
.project:hover .info h2, .bento-card:hover .b-info h2 { transform: none; letter-spacing: inherit; }
.project .info h2 a { transition: background-size .35s var(--ease); }

/* Títulos de página (Todos os projetos e cases) proporcionais ao hero */
.case-head h1 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.04em; margin: 14px 0 20px; }
@media (max-width: 760px) { .case-head h1 { font-size: 34px; } }

/* Título do hero e títulos de página: mesmo tamanho, entrelinha e espaçamento */
.hero h1, .case-head h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
@media (max-width: 899px) { .hero h1, .case-head h1 { font-size: clamp(36px, 7vw, 52px); } }
/* Títulos dos projetos: só o sublinhado aparece no hover, sem nenhuma mudança de tamanho */
.project .info h2, .project .info h2 a, .project:hover .info h2, .project:hover .info h2 a { letter-spacing: -.03em !important; transform: none !important; }
.project .info h2 a { font-size: inherit; transition: background-size .35s var(--ease) !important; }

/* ===== About: composição alinhada ===== */
@media (min-width: 901px) {
  .about-top { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 96px); align-items: start; }
  .about-top .carousel { max-width: 440px; margin: 8px 0 0; }
}
.about-text { display: flex; flex-direction: column; align-items: flex-start; }
.about-text .lead p { max-width: 31em; font-size: 20px; line-height: 1.5; color: var(--fg); }
.about-text .btn.cv { margin-top: 28px; }
.facts { width: 100%; max-width: 560px; margin-top: 44px; padding: 10px 14px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; }
.facts li { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: start; gap: 4px; min-height: 0; padding: 20px 12px 18px; border-top: 0; }
.facts li:nth-child(n+3) { border-top: 1px solid rgba(61,13,17,.1); }
.facts li:nth-child(odd) { border-right: 1px solid rgba(61,13,17,.1); }
.facts .fi { grid-row: 1; width: 26px; height: 26px; margin-bottom: 10px; }
.facts .fi svg { width: 13px; height: 13px; }
.facts .fv { grid-row: 2; font-size: 34px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; justify-self: start; }
.facts .f-cof .fv { font-size: 38px; }
.facts .fl { grid-row: 3; font-size: 14px; color: #5a3037; }
.facts::after { width: 64px; margin-left: -32px; }
@media (max-width: 560px) { .facts .fv { font-size: 28px; } .facts li { padding: 16px 8px 14px; } }
.facts .fv { margin: 0; text-align: left; justify-self: start; }
@media (min-width: 901px) { .about-top .carousel { margin-top: -36px; } }

/* Card do About sem washi tape; foto centralizada no tablet e no mobile */
.facts::after { display: none; }
@media (max-width: 900px) {
  .about-top .carousel { margin: 0 auto; }
  .about-top .carousel .slide, .about-top .carousel .track { margin-left: auto; margin-right: auto; }
}

/* Card do About: menor, em preto e cinza */
.facts { max-width: 420px; margin-top: 36px; padding: 6px 10px; border-radius: 22px; background: #1B1B18; background-image: none; box-shadow: 0 1px 2px rgba(22,22,15,.06), 0 14px 26px -20px rgba(22,22,15,.25); }
.facts:hover { box-shadow: 0 1px 2px rgba(22,22,15,.06), 0 14px 26px -20px rgba(22,22,15,.25); }
.facts li { padding: 14px 10px 12px; gap: 2px; }
.facts li:nth-child(n+3) { border-top-color: rgba(255,255,255,.1); }
.facts li:nth-child(odd) { border-right-color: rgba(255,255,255,.1); }
.facts .fi { width: 22px; height: 22px; margin-bottom: 8px; background: #3a3a36 !important; color: #E6E4DE !important; }
.facts .fi svg { width: 11px; height: 11px; }
.facts .fv { font-size: 26px; color: #F5F3EE; letter-spacing: -.03em; }
.facts .f-cof .fv { font-size: 30px; }
.facts .fl { font-size: 13px; color: #B4B2AA; }
:root[data-theme="dark"] .facts { background: #2A2A27; }
@media (max-width: 560px) { .facts .fv { font-size: 22px; } .facts .f-cof .fv { font-size: 26px; } }
.facts .fv, .facts li .fv { color: #F5F3EE !important; }
.facts .fl, .facts li .fl { color: #B4B2AA !important; }
.facts .fi, .facts li .fi { background: #3a3a36 !important; color: #E6E4DE !important; }
.facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1) !important; }
.facts li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1) !important; }
.facts .fi, .facts li .fi { border-color: transparent !important; box-shadow: none !important; }
.facts .fi svg, .facts .fi svg * { stroke: #E6E4DE !important; color: #E6E4DE !important; }

/* Arquivo: sem títulos, selos maiores, fita única, abas com profundidade */
.f-title { display: none !important; }
.f-row { margin-top: 28px !important; justify-content: center; align-items: center; gap: 18px 10px; }
.stp-wrap { width: clamp(150px, 22%, 250px) !important; margin: 0 6px !important; }
.stp-wrap.land { width: clamp(190px, 26%, 300px) !important; }
.stp-wrap:nth-child(n) { margin-top: 0 !important; }
.stp-wrap:nth-child(2n) { margin-top: 22px !important; }
.stp-wrap::before, .stp-wrap:nth-child(n)::before { display: block !important; background: var(--tape-pink) !important; width: 58px !important; margin-left: -29px !important; }
.f-paper { min-height: 560px; }
.f-tab, .f-tab.t1, .f-tab.t2, .f-tab.t3 { box-shadow: 0 -2px 8px -2px rgba(22,22,15,.14), inset 0 1px 0 rgba(255,255,255,.6) !important; }
.f-tab[aria-selected="true"] { box-shadow: 0 -4px 12px -3px rgba(22,22,15,.16), inset 0 1px 0 rgba(255,255,255,.7) !important; }
@media (max-width: 760px) { .f-paper { min-height: 0; } .stp-wrap, .stp-wrap.land { width: calc(50% - 14px) !important; margin: 0 !important; } .stp-wrap:nth-child(2n) { margin-top: 14px !important; } }
.f-paper { min-height: 0 !important; padding: 44px 28px 92px !important; }
.f-row { margin-top: 0 !important; gap: 16px 4px; flex-wrap: nowrap; }
.stp-wrap { width: calc(25% - 8px) !important; max-width: 280px; margin: 0 4px !important; }
.stp-wrap.land { width: calc(25% - 8px) !important; max-width: 300px; }
@media (max-width: 760px) { .f-row { flex-wrap: wrap; } .f-paper { padding: 28px 16px 84px !important; } }
.f-panel { width: 100%; min-width: 0; }
.f-row { width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0; }
.stp-wrap { flex: 0 1 auto !important; }

/* Títulos: uma única fonte (sem destaque em outra família) */
.hl, #hero-title .hl, section.block > h3 .hl, .case-head h1 .hl { font-family: inherit !important; font-size: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; text-transform: none !important; -webkit-text-stroke: 0 !important; }

/* Cores de texto padronizadas: títulos = --fg, corpo = --body */
h1, h2, h3, h4, .cta, .cg-title, section.block > h3, .case-head h1 { color: var(--fg); }
footer .cta, footer .cg-sub { opacity: 1; }
footer .cta { color: var(--fg) !important; }
footer .cg-sub { color: var(--body); }

/* Redes: botões com ícone */
footer#contact .social { display: flex; gap: 10px; flex-wrap: wrap; }
footer#contact .social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 13px; border-radius: 999px; background: rgba(22,22,15,.07); color: var(--fg); font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: none; transition: background .25s var(--ease), transform .25s var(--ease); }
footer#contact .social a svg { width: 16px; height: 16px; flex: none; }
footer#contact .social a:hover { background: rgba(22,22,15,.12); color: var(--fg); transform: translateY(-1px); }
:root[data-theme="dark"] footer#contact .social a { background: rgba(255,255,255,.14); color: #F5F3EE; }
:root[data-theme="dark"] footer#contact .social a:hover { background: rgba(255,255,255,.22); color: #F5F3EE; }
footer .contact-row { justify-content: flex-start !important; }
footer .contact-row .social { margin-left: 0 !important; }
.contact-grid { margin-bottom: 40px; }
footer .foot-end { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid var(--line); align-items: center; }
.cg-list li::after { left: 11px; top: 11px; width: 5px; height: 9px; transform: translate(-50%, -62%) rotate(40deg); }

/* Celulares do câmbio (case Conta Global): imagem vertical, sem fundo */
figure img[src$="cg-5.webp"] { width: auto; max-width: min(100%, 520px); height: auto; margin-inline: auto; display: block; }
figure.full img[src*="cg-5.webp"] { width: auto !important; max-width: min(100%, 420px) !important; height: auto !important; margin-inline: auto !important; display: block !important; }

/* Virtual Joias em iMac, mesma proporção do notebook ao lado */
.pair.wide.mac { grid-template-columns: 1fr 1fr; align-items: stretch; }
.pair.mac figure { aspect-ratio: 1 / 1; }
.pair.mac figure > img { height: 100%; object-fit: cover; }
.imac-tile { background: #536670; border-radius: var(--r-img, 24px); display: grid; place-items: center; padding: 6%; overflow: hidden; }
.imac { width: 100%; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 18px 18px rgba(0,0,0,.22)); }
.imac-screen { width: 100%; background: #0d0d0e; border: 6px solid #e9e9ec; border-bottom: 0; border-radius: 10px 10px 0 0; padding: 2.4% 2.4% 0; box-sizing: border-box; }
.imac-screen img { display: block; width: 100%; height: auto; border-radius: 2px !important; }
.imac-chin { width: 100%; height: clamp(22px, 7%, 40px); background: linear-gradient(#ececef, #d9d9dd); border-radius: 0 0 10px 10px; aspect-ratio: auto; }
.imac-neck { width: 16%; height: clamp(26px, 8%, 52px); background: linear-gradient(90deg, #c9c9ce, #e6e6ea 40%, #c4c4c9); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.imac-base { width: 34%; height: 7px; background: linear-gradient(#e2e2e6, #bdbdc2); border-radius: 3px 3px 8px 8px; }
@media (max-width: 760px) { .pair.wide.mac { grid-template-columns: 1fr; } }
.imac > * { flex: none; }
.imac-chin { height: 30px !important; }
.imac-neck { height: 40px !important; width: 15% !important; }
.imac-base { height: 8px !important; width: 32% !important; }
.pair.mac figure { background: #E3E1DB; border-radius: var(--r-img, 24px); overflow: hidden; }
:root[data-theme="dark"] .pair.mac figure, :root[data-theme="dark"] .imac-tile { background: #2C2C2A; }
.imac-tile { background: #E3E1DB; }
.pair.mac figure > img { border-radius: 0 !important; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cf-ts { min-height: 0; }
