@charset "UTF-8";
:root {
  color-scheme: dark;
  --stage: #0d0d0e;
  --paper: #171719;
  --ink: #fcf7ec;
  --muted: #c0b7a7;
  --accent: #ffc64b;
  --line: #575145;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--stage);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: default; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.reader {
  display: grid;
  justify-items: center;
  align-items: center;
  height: 100dvh;
  padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: radial-gradient(ellipse at 48% 33%, #2a2827 0%, #151518 54%, #09090a 100%);
}
.book {
  --page-ratio: calc(2 / 3);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 1160px, calc((100dvh - max(14px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom))) * var(--page-ratio)));
  aspect-ratio: var(--page-ratio);
  background: var(--paper);
  box-shadow: 0 3px 0 #3a3122, 0 6px 0 -1px #211d15, 0 14px 40px #0009, 0 0 0 1px #fff2;
}
.book.is-spread { --page-ratio: calc(4 / 3); }
.book.is-spread::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  inset: 0 auto 0 50%;
  width: clamp(16px, 4%, 46px);
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #07050360 48%, #000b 50%, #20180d73 53%, transparent);
}
.spread { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.paper { position: relative; min-width: 0; height: 100%; margin: 0; background: var(--paper); }

.catalog-paper {
  container-type: inline-size;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 16%, #39332a8c 0%, transparent 48%),
    linear-gradient(149deg, #242425 0%, #171719 47%, #101011 100%);
}
:is(.index-paper, .about-paper, .product-paper)::before {
  content: "";
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  opacity: .51;
  background:
    linear-gradient(110deg, #110f11dd 0%, #110f1194 50%, #110f1150 100%),
    url("/assets/reader/campo-colheita.webp") center 61% / cover no-repeat;
  mask-image: linear-gradient(180deg, #0002, #000 33% 90%, #000b);
}
.index-paper::before { opacity: .31; }
.about-paper::before { opacity: .37; }
.paper-head { padding: 5.3cqw 6.2cqw 3.6cqw; }
.product-paper .paper-head { position: relative; }
.product-paper .paper-head::after {
  content: "";
  position: absolute; right: 6.2cqw; bottom: 0; height: 1px; width: 14cqw;
  background: linear-gradient(90deg, transparent, #f8bc4b);
}
.paper-brand {
  display: flex; justify-content: space-between; align-items: center; gap: 4cqw;
  padding-bottom: 3cqw; border-bottom: 1px solid #af8b4f7c;
}
.paper-logo { display: block; width: 31cqw; height: 8cqw; object-fit: contain; object-position: left; transform: scale(1.27); transform-origin: left center; }
.paper-brand span {
  font-size: clamp(8px, 2.05cqw, 12px); font-weight: 700; text-align: right;
  text-transform: uppercase; color: #d7c9ac; letter-spacing: .095em;
}
.paper-head h2 {
  margin: 3.4cqw 0 1.2cqw; font: 900 clamp(24px, 8.5cqw, 52px)/1 "Arial Black", Arial, sans-serif;
  letter-spacing: -.055em; text-transform: uppercase; color: #fff7e5;
}
.paper-head p {
  margin: 0; color: #eed56f; font-size: clamp(9px, 2.6cqw, 15px);
  font-weight: 700; letter-spacing: .02em;
}
.piece-list {
  display: grid; grid-template-rows: repeat(var(--rows), minmax(0, 1fr));
  min-height: 0; margin: 0 6.2cqw;
}
.piece-link {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 2.1cqw; position: relative; width: 100%; min-width: 0; min-height: 0;
  padding: 0; border: 0; border-top: 1px solid #c5b58447;
  color: inherit; background: transparent; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.piece-link:focus-visible { outline-offset: -2px; z-index: 2; }
.piece-copy {
  display: grid; gap: 1.45cqw;
  padding: 1.65cqw 0 1.65cqw 2.4cqw;
  border-left: 1px solid #a9894f;
}
.piece-sku {
  font-size: clamp(9px, 2.55cqw, 15px); color: #ffd76d; font-weight: 700;
  letter-spacing: .065em; font-variant-numeric: tabular-nums;
}
.piece-name {
  font-family: "Bahnschrift", Arial, sans-serif;
  font-size: clamp(14px, 5.38cqw, 33px); font-weight: 700;
  line-height: 1.05; text-wrap: balance; letter-spacing: -.025em;
}
.piece-caption { color: #dbcfb7; font-size: clamp(9px, 2.72cqw, 16px); line-height: 1.25; text-wrap: pretty; }
.piece-visual { position: relative; display: block; height: 100%; min-height: 0; }
.piece-visual::before, .piece-visual::after {
  content: "";
  position: absolute; pointer-events: none;
}
.piece-visual::before {
  inset: 6% 0;
  background:
    repeating-linear-gradient(125deg, #dbc17b13 0 1px, transparent 1px 7px),
    linear-gradient(145deg, #70552631 8%, #bd87323a 60%, #9c6c2020);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%, 0 42%);
  opacity: .85; transition: opacity 230ms ease;
}
.piece-visual::after {
  inset: 8% 0;
  background: radial-gradient(ellipse at 52% 49%, #ffdda15e, transparent 64%);
}
.piece-link:nth-child(even) .piece-visual::before {
  clip-path: polygon(0 0, 100% 0, 100% 53%, 72% 100%, 0 100%);
}

.piece-visual img {
  position: absolute; top: 7%; left: 4%; z-index: 1; width: 92%; height: 86%; object-fit: contain;
  display: block; user-select: none; pointer-events: none;
  filter: drop-shadow(8px 10px 8px #000a);
  transition: transform 270ms cubic-bezier(.2,.68,.25,1), filter 240ms ease;
}
@media (hover: hover) {
  button.piece-link:hover .piece-name { color: #ffe180; }
  button.piece-link:hover .piece-visual img { transform: translateY(-3px) scale(1.06); filter: drop-shadow(10px 13px 10px #000c); }
  button.piece-link:hover .piece-visual::before { opacity: 1; }
}
button.piece-link:focus-visible .piece-name { color: #ffe180; }
.paper-foot {
  margin: 0 6.2cqw; padding: 2.15cqw 0 2.5cqw;
  display: flex; align-items: center; justify-content: center;
  color: #f3ca54; font-size: clamp(9px, 2.3cqw, 13px);
  font-weight: 700; font-variant-numeric: tabular-nums;
  border-top: 1px solid #ae8a4a61;
}
.spread.is-opening .paper-head h2,
.spread.is-opening .piece-copy { animation: sheet-text-in 320ms cubic-bezier(.24,.68,.29,1) both; }
.spread.is-opening .piece-visual img { animation: sheet-model-in 480ms cubic-bezier(.2,.72,.3,1) both; }
.spread.is-opening .piece-link:nth-child(2) > .piece-copy,
.spread.is-opening .piece-link:nth-child(2) img { animation-delay: 65ms; }
.spread.is-opening .piece-link:nth-child(3) > .piece-copy,
.spread.is-opening .piece-link:nth-child(3) img { animation-delay: 120ms; }
@keyframes sheet-text-in { from { opacity: .28; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes sheet-model-in { from { opacity: .32; transform: translateX(8px) scale(.96); } to { opacity: 1; transform: none; } }

.corner {
  position: absolute; z-index: 5; bottom: 0; width: clamp(48px, 11%, 72px);
  aspect-ratio: 1; height: auto; border: 0; padding: 0; background: transparent;
  touch-action: none; -webkit-tap-highlight-color: transparent; cursor: grab;
}
.corner:active { cursor: grabbing; }
.corner--previous { left: 0; }
.corner--next { right: 0; }
.corner::after {
  content: "";
  position: absolute; pointer-events: none; right: 0; bottom: 0;
  width: 24px; height: 24px;
  background: linear-gradient(135deg, transparent 49%, #b99b4b 50%, #593d1f 79%, #9e713b 100%);
  opacity: .8;
  transition: transform 180ms ease, opacity 180ms ease;
}
.corner--previous::after { right: auto; left: 0; scale: -1 1; }
.corner:hover::after, .corner:focus-visible::after { transform: scale(1.22); opacity: 1; }
.corner:focus-visible { outline-offset: -5px; }
.corner:disabled { visibility: hidden; }
.is-turning .corner::after { opacity: 0; }
.is-turning .piece-link { pointer-events: none; }
.fold, .fold__front, .fold__shadow, .fold__back, .fold__light {
  position: absolute; inset: 0; pointer-events: none;
}
.fold { z-index: 4; }
.fold__front > .paper, .fold__back-content {
  position: absolute; top: 0; height: 100%; width: var(--leaf-width);
}
.fold__front > .paper { left: var(--leaf-left); }
.fold__back-content { left: 0; transform-origin: 0 0; }
.fold__back { background: #382b1a; }
.fold__shadow > div, .fold__light > div {
  position: absolute; top: 0; left: 0; height: 120px; width: 4000px;
  transform-origin: 0 0;
}
.fold__shadow > div { background: linear-gradient(to bottom, #0008 0%, transparent 66%); }
.fold__light > div { background: linear-gradient(to bottom, #1b100b8c 0%, #fff3d249 13%, #ffeac216 40%, transparent 72%); }
.fold__shadow { opacity: .7; }

.book { transition: translate 250ms cubic-bezier(.2,.72,.3,1); }
.book.is-cover-spread { translate: -25% 0; background: transparent; box-shadow: none; }
.book.is-cover-spread::after { display: none; }
.empty-paper { background: linear-gradient(145deg, #27231b, #150f0c); }
.is-cover-spread .empty-paper { background: transparent; }

.cover-paper {
  grid-template-rows: 1fr;
  place-items: center;
  background:
    radial-gradient(ellipse at 48% 47%, #2d2925, transparent 69%),
    linear-gradient(148deg, #232324, #141415 53%, #09090a);
  box-shadow: inset 0 0 0 1px #ffebc928, inset 6px 0 26px #0006;
}
.cover-paper::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(145deg, #f6dabd09 0 1px, transparent 1px 7px),
    linear-gradient(145deg, #1a1a1c 0%, #211f1e 15%, #88724b24 15.1%, transparent 31% 69%,
      #af7b35a8 69.1%, #6e4a21 69.4%, #3c2d1c 79%, #211c16 93%);
}
.cover-paper::after {
  content: "";
  position: absolute; z-index: 1; inset: 3%;
  pointer-events: none;
  border: 1px solid #d8b36c64;
}
.cover-paper .paper-logo {
  width: 88cqw; height: auto; position: relative;
  transform: translateY(-1.5cqw);
  filter: drop-shadow(0 2.2cqw 3.2cqw #050505ba);
}
.spread.is-opening .cover-paper .paper-logo {
  animation: cover-logo-in 460ms cubic-bezier(.24,.68,.29,1) both;
}
@keyframes cover-logo-in {
  from { opacity: .4; transform: translateY(-.5cqw) scale(.979); }
  to { opacity: 1; transform: translateY(-1.5cqw) scale(1); }
}
.index-paper .paper-head h2, .about-paper .paper-head h2 { text-wrap: balance; }

.index-list {
  display: grid; grid-template-rows: auto repeat(var(--index-rows), minmax(0, 1fr));
  min-height: 0; margin: 0 6.2cqw 3.5cqw;
}
.index-labels, .index-entry {
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.67fr);
  align-items: center; gap: 2.2cqw;
}
.index-labels {
  padding: 1.45cqw 1.8cqw; color: #19140b; background: #dfb44f;
  font-size: clamp(9px, 2.5cqw, 13px); font-weight: 700;
}
.index-entry {
  width: 100%; min-height: 0;
  border: 0; border-top: 1px solid #c5b58447; padding: .62cqw 1.8cqw;
  text-align: left; background: transparent;
  font-family: "Bahnschrift", Arial, sans-serif; font-variant-numeric: tabular-nums;
}
.index-entry:nth-child(even) { background: #f2dfbd0a; }
.index-code { color: #ffd46d; font-size: clamp(10px, 3.1cqw, 18px); line-height: 1.1; }
.index-originals { color: #fff0d3; font-size: clamp(9px, 2.8cqw, 15px); line-height: 1.18; }
button.index-entry:hover, button.index-entry:focus-visible { background: #f8ce5d14; }
button.index-entry:focus-visible { outline-offset: 0; position: relative; z-index: 1; }

.about-layout {
  min-height: 0; margin: 1.3cqw 6.2cqw 2.5cqw;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  gap: 3cqw;
}
.chopper-shot {
  position: relative; min-height: 0; margin: 0; overflow: hidden;
  container-type: size;
  border: 1px solid #b8975b7c;
  background:
    linear-gradient(90deg, #131111df, #18141195 28% 72%, #131111dc),
    url("/assets/reader/campo-colheita.webp") center 54% / cover no-repeat;
}
.chopper-graphic {
  position: absolute; top: 50%; left: 50%;
  width: min(100%, 205cqh); aspect-ratio: 2.05;
  translate: -50% -50%;
  --detail-stroke: #f9d98b;
}
.chopper-machine {
  position: absolute; inset: 0 auto 0 0;
  display: block; width: 73%; height: 100%; object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, #000 6% 92%, transparent);
}
.chopper-graphic::before, .chopper-graphic::after {
  content: "";
  position: absolute; z-index: 1; pointer-events: none;
}
.chopper-graphic::before {
  top: 53.6%; left: 50.2%;
  width: 18%; height: 1.5px; rotate: -10deg; transform-origin: left center;
  background: var(--detail-stroke);
  box-shadow: 0 1px 3px #241405;
}
.chopper-graphic::after {
  top: 55%; left: 46.7%; width: 8.1%; aspect-ratio: 1;
  translate: -50% -50%; border: 1.5px solid var(--detail-stroke); border-radius: 50%;
  box-shadow: 0 0 0 1px #1d100886, inset 0 0 0 1px #1d100886;
}
.chopper-detail {
  position: absolute; top: 46.5%; left: 81%; z-index: 2;
  translate: -50% -50%; width: 31.5%; aspect-ratio: 1;
  border: 2px solid var(--detail-stroke); border-radius: 50%; overflow: hidden;
  background: #251e16; box-shadow: 0 6px 18px #000b;
}
.chopper-detail img {
  position: absolute; top: -50%; left: -121%;
  display: block; width: 272%; height: auto;
}
.about-copy {
  padding: 0 1.2cqw 0 3.8cqw;
  border-left: .75cqw solid #d8a645;
}
.about-copy strong {
  display: block; color: #f3cf73;
  font: 650 clamp(14px, 4.8cqw, 28px)/1.1 "Bahnschrift", Arial, sans-serif;
}
.about-copy p {
  margin: 2.6cqw 0 0; color: #f2e5c9; text-wrap: pretty;
  font-size: clamp(10px, 3.15cqw, 18px); line-height: 1.42;
}

.about-copy .about-location { color: #e7be5d; font-weight: 700; font-size: .83em; }
.product-dialog {
  width: min(860px, calc(100% - 36px)); max-height: calc(100dvh - 36px); max-width: none;
  padding: 0; border: 1px solid #705937; border-radius: 5px;
  background: #1a1610; color: var(--ink); overscroll-behavior: contain;
  box-shadow: 0 16px 75px #000a;
}
.product-dialog::backdrop { background: #080704de; }
.product-sheet { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: stretch; }
.close-detail {
  position: sticky; top: 8px; grid-column: 2; grid-row: 1; z-index: 2;
  align-self: start; justify-self: end; margin: 8px 8px 0 0;
  width: 44px; height: 44px; border: 1px solid #b9ab9840; border-radius: 50%;
  background: #211b12; font-size: 26px; line-height: 1; display: grid; place-content: center; padding: 0 0 3px;
}
.close-detail:hover { border-color: var(--accent); color: var(--accent); }
.product-figure {
  --light-x: 48%; --light-y: 36%;
  grid-column: 1; grid-row: 1; min-width: 0;
  position: relative; display: grid; align-items: center; justify-items: center; margin: 0;
  min-height: 400px;
  background: radial-gradient(ellipse at var(--light-x) var(--light-y), #69553d 0%, #3c342c 33%, #252426 66%, #131315 100%);
  border-right: 1px solid #674d2a75;
}
.model-frame { position: absolute; inset: 14px 14px 38px; }
.model-poster, .product-model {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.model-poster { object-fit: contain; padding: 6%; }
.product-model { touch-action: none; cursor: grab; }
.product-model:active { cursor: grabbing; }
.product-model:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.model-caption, .model-status {
  position: absolute; bottom: 12px; margin: 0;
  font-size: 12px; line-height: 1.25; color: #f2dec0;
}
.model-caption { right: 14px; text-align: right; pointer-events: none; }
.model-status { left: 14px; right: 14px; bottom: 30px; }
.model-status:empty { display: none; }
.product-dialog.is-opening .model-frame { animation: spec-in 280ms both; }

.product-info { position: relative; grid-column: 2; grid-row: 1; min-width: 0; padding: 50px 34px 30px; }
.product-family { color: var(--accent); font-size: 12px; margin: 0 0 8px; letter-spacing: .08em; font-weight: 700; }
.product-info h2 { font-size: clamp(24px, 3.1vw, 41px); letter-spacing: -.035em; line-height: 1.06; margin: 0; text-wrap: balance; }
.product-code { font-size: 14px; font-weight: 700; color: #ffe998; letter-spacing: .045em; margin: 12px 0 19px; }
.product-info dl { margin: 0; }
.product-info dl div { padding: 11px 0; border-top: 1px solid var(--line); }
.product-info dt { font-size: 12px; font-weight: 700; color: #f2d477; margin-bottom: 4px; }
.product-info dd { font-size: 14px; line-height: 1.45; text-wrap: pretty; margin: 0; }
.product-dialog.is-opening::backdrop { animation: shade-in 210ms ease-out both; }
.product-dialog.is-opening .product-info dl div { animation: spec-in 280ms both; }
.product-dialog.is-opening .product-info dl div:nth-child(2) { animation-delay: 55ms; }
.product-dialog.is-opening .product-info dl div:nth-child(3) { animation-delay: 110ms; }
@keyframes shade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spec-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 660px) {
  .product-dialog { width: min(450px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
  .product-sheet { grid-template-columns: 1fr; }
  .product-figure { min-height: 0; height: clamp(220px, 43dvh, 310px); border-right: 0; border-bottom: 1px solid #674d2a75; }
  .close-detail { grid-column: 1; }
  .product-info { grid-column: 1; grid-row: 2; padding: 18px 20px 13px; }
  .product-code { margin: 8px 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
