html { scroll-behavior: smooth; }
body { margin: 0; background: #dcecf2; }
[id] { scroll-margin-top: 24px; }

.r6c-page {
  --ink: #1f292d;
  --muted: #52636b;
  --desk: #dcecf2;
  --desk-deep: #c7dfe8;
  --paper: #fffdf3;
  --tomato: #de493f;
  --tomato-dark: #a9332d;
  --yellow: #f4d34a;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background: var(--desk);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.r6c-page *, .r6c-page *::before, .r6c-page *::after { box-sizing: border-box; }
.r6c-page a { color: inherit; }
.r6c-page img { display: block; max-width: 100%; }

.r6c-nav {
  width: min(1240px, calc(100% - 72px));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(31, 41, 45, 0.24);
}

.r6c-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 19px;
}

.r6c-brand img { width: 36px; height: 36px; object-fit: cover; border: 1px solid rgba(31, 41, 45, 0.28); border-radius: 5px; }
.r6c-nav-links { display: flex; align-items: center; gap: 25px; }
.r6c-nav-links a { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.r6c-nav-links a:hover { color: var(--tomato-dark); }
.r6c-nav-link { justify-self: end; font-size: 14px; font-weight: 750; text-underline-offset: 4px; }

.r6c-hero {
  width: min(1240px, calc(100% - 72px));
  min-height: 770px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(560px, 1.25fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  padding: 68px 0 92px;
}

.r6c-kicker {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tomato-dark);
}

.r6c-hero h1 {
  max-width: 590px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.3vw, 94px);
  line-height: 0.97;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.r6c-intro {
  max-width: 500px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.r6c-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.r6c-button-primary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid var(--tomato-dark);
  background: var(--tomato);
  color: white !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 5px 5px 0 rgba(169, 51, 45, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.r6c-button-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(169, 51, 45, 0.2); }
.r6c-action-note { max-width: 170px; color: var(--muted); font-size: 12px; line-height: 1.45; text-underline-offset: 4px; }

.r6c-worktable {
  position: relative;
  min-height: 580px;
  padding: 50px 24px 30px 30px;
  background-color: var(--desk-deep);
  background-image: linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: inset 0 0 80px rgba(92, 132, 149, 0.16), 18px 24px 48px rgba(64, 97, 110, 0.14);
}

.r6c-table-label {
  position: absolute;
  top: 16px;
  left: 18px;
  color: #617780;
  font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.r6c-photo-sheet {
  position: relative;
  width: min(100%, 700px);
  margin: 0 0 0 auto;
  padding: 14px 14px 80px;
  background: var(--paper);
  box-shadow: 8px 15px 34px rgba(49, 72, 81, 0.25);
  transform: rotate(-1.2deg);
}

.r6c-worktable-link { display: block; color: inherit; text-decoration: none; }
.r6c-photo-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #b7cbd1;
  line-height: 0;
}
.r6c-photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.93); }

.r6c-tracing-sheet {
  position: absolute;
  z-index: 3;
  left: 3%;
  right: 11%;
  bottom: -82px;
  min-height: 178px;
  padding: 18px 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 248, 0.87);
  border: 1px solid rgba(91, 112, 119, 0.27);
  box-shadow: 7px 11px 25px rgba(49, 72, 81, 0.2);
  backdrop-filter: blur(4px);
  transform: rotate(1.8deg);
  animation: r6c-sheet-breathe 7s ease-in-out infinite;
}

.r6c-proof-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.r6c-pencil-mark { display: inline-block; flex: 0 0 auto; color: var(--tomato); font: 700 24px/1 Georgia, serif; transform: rotate(-7deg); }
.r6c-proof-label { margin: 0; color: #66767b; font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.r6c-proof-en { margin-bottom: 3px; color: #627176; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-style: italic; }
.r6c-tracing-sheet strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.r6c-context { width: fit-content; margin-top: 11px; padding-top: 6px; border-top: 2px solid var(--tomato); color: var(--tomato-dark); font-size: 11px; font-weight: 800; }
.r6c-open-note { position: absolute; right: 22px; bottom: 17px; color: var(--tomato-dark); font-size: 10px; font-weight: 800; }

.r6c-samples {
  background: var(--paper);
  border-top: 1px solid rgba(31, 41, 45, .13);
  border-bottom: 1px solid rgba(31, 41, 45, .13);
  padding: 118px max(36px, calc((100vw - 1240px) / 2)) 126px;
}

.r6c-samples-heading { display: grid; grid-template-columns: .55fr 1fr .65fr; gap: 48px; align-items: end; margin-bottom: 76px; }
.r6c-samples-heading .r6c-kicker { align-self: start; }
.r6c-samples-heading h2, .r6c-final h2 { margin: 0; font: 500 clamp(39px, 5vw, 70px)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.r6c-samples-heading > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.r6c-sample-board {
  position: relative;
  min-height: 670px;
  background-color: #d7e7eb;
  background-image: linear-gradient(rgba(255,255,255,.42) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.42) 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow: inset 0 0 55px rgba(87, 119, 131, .1);
}

.r6c-number { color: var(--tomato-dark); font: 750 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; text-transform: uppercase; }
.r6c-sample-board h3 { margin: 8px 0 5px; font: 500 27px/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.r6c-sample-board > a { color: inherit; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.r6c-sample-board > a:focus-visible { outline: 3px solid var(--tomato); outline-offset: 5px; }
.r6c-sample-board > a p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.r6c-card-link { display: inline-block; margin-top: 14px; color: var(--tomato-dark); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.r6c-image-crop { overflow: hidden; background: #b7cbd1; }
.r6c-image-crop img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.94); }

.r6c-motion-note {
  position: absolute;
  left: 4.5%;
  top: 10%;
  width: 56%;
  display: grid;
  grid-template-columns: 1.45fr .8fr;
  gap: 24px;
  align-items: end;
  padding: 16px 18px 20px;
  background: #fffef8;
  box-shadow: 10px 14px 27px rgba(47, 71, 81, .2);
  transform: rotate(-1.4deg);
}

.r6c-motion-note .r6c-image-crop { aspect-ratio: 16 / 9; }
.r6c-motion-note:hover { transform: rotate(-.5deg) translateY(-4px); box-shadow: 13px 18px 31px rgba(47, 71, 81, .22); }
.r6c-idiom-note {
  position: absolute;
  z-index: 2;
  right: 5%;
  top: 17%;
  width: 30%;
  padding: 20px 20px 25px;
  background: #f6d653;
  box-shadow: 8px 12px 25px rgba(74, 71, 37, .18);
  transform: rotate(2deg);
}

.r6c-idiom-note .r6c-image-crop { aspect-ratio: 1.18 / 1; margin: 15px 0 20px; }
.r6c-idiom-note:hover { transform: rotate(1deg) translateY(-4px); box-shadow: 11px 16px 29px rgba(74, 71, 37, .2); }
.r6c-phrase-note {
  position: absolute;
  z-index: 3;
  left: 18%;
  bottom: 7%;
  width: 43%;
  min-height: 240px;
  padding: 30px 38px;
  background: rgba(255, 253, 243, .93);
  border: 1px solid rgba(50, 65, 70, .18);
  box-shadow: 8px 12px 28px rgba(47, 71, 81, .18);
  backdrop-filter: blur(5px);
  transform: rotate(.8deg);
}

.r6c-phrase-note .r6c-phrase-en { margin: 26px 0 4px; font: italic 17px/1.2 Georgia, serif; color: #607075; }
.r6c-phrase-note .r6c-phrase-ru { font: 500 32px/1.12 Georgia, "Times New Roman", serif; color: var(--ink); }
.r6c-pencil-line { display: block; width: 58%; height: 2px; margin: 14px 0; background: var(--tomato); transform: rotate(-1deg); }
.r6c-phrase-note .r6c-phrase-caption { max-width: 260px; font-size: 12px; }
.r6c-phrase-note:hover { transform: rotate(.2deg) translateY(-4px); box-shadow: 11px 16px 31px rgba(47, 71, 81, .2); }

.r6c-final {
  width: min(1240px, calc(100% - 72px));
  min-height: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
}

.r6c-final h2 { max-width: 690px; }
.r6c-final-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.r6c-button-light { background: var(--paper); color: var(--ink) !important; border-color: rgba(31, 41, 45, .55); box-shadow: 5px 5px 0 rgba(54, 79, 89, .15); }
.r6c-patreon { font-size: 14px; font-weight: 750; text-underline-offset: 5px; }
.r6c-footer { min-height: 78px; padding: 0 max(36px, calc((100vw - 1240px) / 2)); display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #eaf3f5; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.r6c-footer nav { display: flex; gap: 24px; }
.r6c-footer a { text-decoration: underline; text-underline-offset: 4px; }

@keyframes r6c-sheet-breathe {
  0%, 100% { transform: rotate(1.8deg) translateY(0); }
  50% { transform: rotate(1.3deg) translateY(-5px); }
}

@media (max-width: 980px) {
  .r6c-nav { width: min(100% - 40px, 760px); grid-template-columns: 1fr 1fr; }
  .r6c-nav-links { display: none; }
  .r6c-hero { width: min(100% - 40px, 760px); min-height: auto; grid-template-columns: 1fr; gap: 52px; padding: 56px 0 96px; }
  .r6c-hero-copy { max-width: 650px; }
  .r6c-hero h1 { font-size: clamp(52px, 11vw, 82px); }
  .r6c-worktable { min-height: 560px; }
  .r6c-samples { padding: 90px 32px 100px; }
  .r6c-samples-heading { grid-template-columns: 1fr 1.4fr; }
  .r6c-samples-heading > p:last-child { grid-column: 2; }
  .r6c-sample-board { min-height: 980px; }
  .r6c-motion-note { width: 77%; grid-template-columns: 1.25fr .75fr; }
  .r6c-idiom-note { top: 36%; width: 42%; }
  .r6c-phrase-note { left: 9%; bottom: 6%; width: 58%; }
  .r6c-final { width: min(100% - 40px, 760px); grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 620px) {
  .r6c-nav { width: calc(100% - 32px); height: 72px; }
  .r6c-brand { font-size: 17px; }
  .r6c-brand img { width: 32px; height: 32px; }
  .r6c-nav-link { font-size: 12px; }
  .r6c-hero { width: calc(100% - 32px); gap: 36px; padding: 44px 0 70px; }
  .r6c-kicker { margin-bottom: 14px; font-size: 10px; }
  .r6c-hero h1 { max-width: 390px; font-size: clamp(46px, 15vw, 66px); line-height: .98; }
  .r6c-intro { margin: 22px 0 26px; font-size: 16px; line-height: 1.55; }
  .r6c-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .r6c-button-primary { width: 100%; min-height: 52px; }
  .r6c-action-note { max-width: none; }
  .r6c-worktable { min-height: 462px; margin: 0 -16px; padding: 42px 8px 20px 24px; }
  .r6c-photo-sheet { padding: 9px 9px 68px; transform: rotate(-.8deg); }
  .r6c-tracing-sheet { left: 2%; right: 4%; bottom: -98px; min-height: 172px; padding: 15px 15px 20px; }
  .r6c-proof-heading { gap: 8px; margin-bottom: 6px; }
  .r6c-proof-label { font-size: 8px; }
  .r6c-proof-en { font-size: 16px; }
  .r6c-tracing-sheet strong { font-size: clamp(27px, 8vw, 37px); }
  .r6c-pencil-mark { font-size: 22px; }
  .r6c-open-note { right: 15px; bottom: 14px; font-size: 9px; }
  .r6c-samples { padding: 76px 16px 82px; }
  .r6c-samples-heading { display: block; margin: 0 8px 45px; }
  .r6c-samples-heading h2 { font-size: 42px; }
  .r6c-samples-heading > p:last-child { margin-top: 20px; font-size: 16px; }
  .r6c-sample-board { min-height: 1060px; }
  .r6c-motion-note, .r6c-idiom-note, .r6c-phrase-note { position: absolute; transform: none; }
  .r6c-motion-note { top: 42px; left: 7%; width: 86%; display: block; padding: 12px 12px 20px; }
  .r6c-image-crop img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .r6c-motion-note .r6c-image-crop { margin-bottom: 18px; aspect-ratio: auto; }
  .r6c-idiom-note { top: 397px; left: 22%; right: auto; width: 72%; padding: 15px 15px 22px; }
  .r6c-idiom-note .r6c-image-crop { aspect-ratio: auto; }
  .r6c-phrase-note { left: 6%; bottom: 42px; width: 81%; min-height: 228px; padding: 25px 26px; }
  .r6c-phrase-note .r6c-phrase-en { margin-top: 21px; }
  .r6c-final { width: calc(100% - 32px); min-height: 520px; padding: 72px 0; }
  .r6c-final h2 { font-size: 45px; }
  .r6c-final-actions { width: 100%; }
  .r6c-footer { min-height: 112px; padding: 20px 16px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 18px; }
  .r6c-footer nav { width: 100%; justify-content: space-between; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .r6c-tracing-sheet { animation: none; }
  .r6c-button-primary { transition: none; }
  .r6c-sample-board > a { transition: none; }
}
