@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both rt-vt-out; }
::view-transition-new(root) { animation: 0.45s ease both rt-vt-in; }
@keyframes rt-vt-out { to { opacity: 0; } }
@keyframes rt-vt-in { from { opacity: 0; } }

:root {
  --ration-bg: #0D1117;
  --ration-surface: #161D2A;
  --ration-band: #1E2A1F;
  --ration-tone: #E3B448;
  --ration-tone-hover: #F4CB6A;
  --ration-on-tone: #0D1117;
  --ration-ink: #F3F1EA;
  --ration-muted: #C3C9D4;
  --ration-mint: #7FD1AE;
  --ration-sky: #7FB6E6;
  --ration-coral: #F08A6B;
  --ration-line: rgba(227, 180, 72, 0.25);
  --ration-gradient: linear-gradient(125deg, #1E2A1F 0%, #0D1117 60%, #2A2312 100%);
  --ration-radius: 16px;
  --ration-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --ration-pad: 10dvh;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Lato', sans-serif;
}

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

body {
  margin: 0;
  background: var(--ration-bg);
  color: var(--ration-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--ration-ink); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); color: var(--ration-ink); }
h3 { font-size: 1.4rem; color: var(--ration-ink); }

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

.rt-ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- HEADER ---------- */
.rt-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ration-tone);
  color: var(--ration-on-tone);
  box-shadow: var(--ration-shadow);
}
.rt-top-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 5vw;
}
.rt-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rt-brand svg { width: 40px; height: 40px; flex: none; }
.rt-nav { display: flex; gap: 2rem; }
.rt-nav a {
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.rt-nav a:hover, .rt-nav a:focus-visible { border-bottom-color: var(--ration-on-tone); }
.rt-burger-chk {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.rt-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.rt-burger span:not(.rt-sr) {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--ration-on-tone);
  border-radius: 2px;
}
.rt-burger span:nth-child(1) { top: 13px; }
.rt-burger span:nth-child(2) { top: 20px; }
.rt-burger span:nth-child(3) { top: 27px; }
.rt-burger-chk:focus-visible ~ .rt-burger { outline: 3px solid var(--ration-on-tone); outline-offset: 2px; }

.rt-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--ration-on-tone);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .rt-progress {
    animation: rt-grow linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes rt-grow { to { transform: scaleX(1); } }

@media (max-width: 820px) {
  .rt-burger { display: block; }
  .rt-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    display: none;
    background: var(--ration-tone);
    padding: 0 5vw 1rem;
    box-shadow: var(--ration-shadow);
  }
  .rt-nav a { padding: 0.9rem 0; border-bottom: 1px solid rgba(13, 17, 23, 0.2); }
  .rt-burger-chk:checked ~ .rt-nav { display: flex; }
}

/* ---------- HERO ---------- */
.rt-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 10dvh 8vw;
  overflow: clip;
  background: var(--ration-gradient);
}
.rt-hero-short { min-height: 46vh; }
.rt-hero-tone { background: var(--ration-tone); }
.rt-hero-tone .rt-h1 { color: var(--ration-on-tone); }
.rt-hero-tone .rt-sub { color: var(--ration-on-tone); }
.rt-hero-copy { position: relative; z-index: 1; max-width: 980px; }
.rt-hero-ring {
  position: absolute;
  right: -12%;
  top: 50%;
  width: min(60vw, 640px);
  height: auto;
  transform: translateY(-50%);
  color: var(--ration-tone);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  stroke-width: 1.2;
}
.rt-h1 { font-size: clamp(3rem, 6vw, 6rem); margin-bottom: 0.4em; }
.rt-line {
  display: block;
  animation: rt-line-in 0.7s ease both;
}
.rt-line:nth-child(1) { animation-delay: 0.1s; }
.rt-line:nth-child(2) { animation-delay: 0.25s; }
.rt-line:nth-child(3) { animation-delay: 0.4s; }
@keyframes rt-line-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.rt-sub {
  font-size: 1.2rem;
  color: var(--ration-muted);
  max-width: 640px;
  margin: 1rem 0 2rem;
}

/* ---------- BUTTONS ---------- */
.rt-pill {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  background: var(--ration-tone);
  color: var(--ration-on-tone);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.6s ease;
}
.rt-pill:hover, .rt-pill:focus-visible { background: var(--ration-tone-hover); }
.rt-pill:hover { box-shadow: 0 0 0 6px rgba(227, 180, 72, 0.15); }
.rt-pill-dark { background: var(--ration-bg); color: var(--ration-ink); }
.rt-pill-dark:hover, .rt-pill-dark:focus-visible { background: var(--ration-surface); box-shadow: 0 0 0 6px rgba(13, 17, 23, 0.25); }
.rt-submit { display: block; width: 100%; text-align: center; font-size: 1rem; margin-top: 0.4rem; }

/* ---------- MARQUEE ---------- */
.rt-marquee {
  overflow: hidden;
  background: var(--ration-surface);
  border-top: 1px solid var(--ration-line);
  border-bottom: 1px solid var(--ration-line);
  padding: 1.1rem 0;
}
.rt-marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--ration-tone);
  animation: rt-marq 36s linear infinite;
}
.rt-marquee-track span { padding-right: 3rem; }
.rt-marquee:hover .rt-marquee-track { animation-play-state: paused; }
@keyframes rt-marq { to { transform: translateX(-50%); } }

/* ---------- BANDS ---------- */
.rt-sec {
  position: relative;
  padding: var(--ration-pad) 8vw;
  overflow: clip;
}
.rt-band-dark { background: var(--ration-bg); }
.rt-band-alt { background: var(--ration-surface); }
.rt-band-green { background: var(--ration-band); }
.rt-band-tone { background: var(--ration-tone); color: var(--ration-on-tone); }
.rt-band-tone h2 { color: var(--ration-on-tone); }
.rt-band-tone p { color: var(--ration-on-tone); }

@supports (animation-timeline: view()) {
  .rt-sec {
    animation: rt-sec-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}
@keyframes rt-sec-in {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

.rt-photo-band { margin: 0; height: 40vh; min-height: 220px; overflow: hidden; }
.rt-photo-band img { width: 100%; height: 100%; object-fit: cover; }

.rt-kicker {
  font-family: var(--font-display);
  color: var(--ration-tone);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.rt-quote-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: center;
}
.rt-quote-text {
  margin: 0 0 1.2rem;
  padding-left: 1.5rem;
  border-left: 6px solid var(--ration-tone);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ration-ink);
}
.rt-quote-note { color: var(--ration-muted); max-width: 56ch; }
.rt-quote-media { margin: 0; }
.rt-quote-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--ration-radius);
  box-shadow: var(--ration-shadow);
}

/* ---------- FEATURE BANDS ---------- */
.rt-feat-band {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5dvh 8vw;
}
.rt-feat-icon {
  flex: none;
  width: 64px;
  height: 64px;
  color: var(--ration-tone);
}
.rt-feat-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.4em; }
.rt-feat-body p { color: var(--ration-muted); max-width: 60ch; margin: 0; }

/* ---------- STEPS ---------- */
.rt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rt-step {
  border-top: 3px solid var(--ration-tone);
  padding-top: 1.4rem;
}
.rt-step h3 { font-size: 1.5rem; }
.rt-step p { color: var(--ration-muted); margin: 0; }
.rt-step-no {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--ration-tone);
  margin-bottom: 0.4rem;
}
.rt-band-tone .rt-step-no { color: var(--ration-on-tone); }

.rt-cta-strip {
  text-align: center;
  padding: 12dvh 8vw;
}
.rt-cta-strip h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.rt-cta-strip p { max-width: 640px; margin: 0 auto 2rem; }

/* ---------- ABOUT ---------- */
.rt-intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.rt-intro-split p { color: var(--ration-muted); }
.rt-fig-frame { margin: 0; }
.rt-fig-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ration-radius);
  box-shadow: var(--ration-shadow);
}

.rt-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.rt-card {
  background: var(--ration-surface);
  border: 1px solid var(--ration-line);
  border-radius: var(--ration-radius);
  padding: 2rem;
  box-shadow: var(--ration-shadow);
}
.rt-band-alt .rt-card { background: var(--ration-bg); }
.rt-card-ico { width: 56px; height: 56px; color: var(--ration-tone); margin-bottom: 1rem; }
.rt-card p { color: var(--ration-muted); margin: 0; }
.rt-card-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.6rem;
}
.rt-card-list li { display: flex; gap: 0.8rem; align-items: center; color: var(--ration-muted); }

.rt-dot {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ration-on-tone);
}
.rt-dot-1 { background: var(--ration-tone); }
.rt-dot-2 { background: var(--ration-mint); }
.rt-dot-3 { background: var(--ration-sky); }
.rt-dot-4 { background: var(--ration-coral); }

.rt-principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.rt-principle {
  background: var(--ration-surface);
  border-left: 4px solid var(--ration-tone);
  border-radius: 0 var(--ration-radius) var(--ration-radius) 0;
  padding: 1.4rem 1.6rem;
}
.rt-principle p { color: var(--ration-muted); margin: 0; }

/* ---------- FORM ---------- */
.rt-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--ration-bg);
  padding: 2.5rem;
  border-radius: var(--ration-radius);
  box-shadow: var(--ration-shadow);
  border: 1px solid var(--ration-line);
}
.rt-form-wrap h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.rt-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}
.rt-field label { font-weight: 700; letter-spacing: 0.03em; }
.rt-field input, .rt-field textarea {
  font: inherit;
  color: var(--ration-ink);
  background: var(--ration-surface);
  border: 1px solid rgba(195, 201, 212, 0.4);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  min-height: 48px;
}
.rt-field textarea { resize: vertical; }
.rt-field input:focus, .rt-field textarea:focus {
  outline: 3px solid var(--ration-tone);
  outline-offset: 2px;
}
.rt-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ration-muted);
  margin: 1rem 0 1.6rem;
}
.rt-consent input {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  accent-color: var(--ration-tone);
  flex: none;
}
.rt-consent a { color: var(--ration-tone); }

/* ---------- FAQ ---------- */
.rt-faq { max-width: 820px; margin: 2rem auto 0; }
.rt-faq-item {
  background: var(--ration-surface);
  border: 1px solid var(--ration-line);
  border-radius: var(--ration-radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
}
.rt-faq-item summary {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--ration-tone);
  cursor: pointer;
  list-style: none;
}
.rt-faq-item p { color: var(--ration-muted); margin: 0.8rem 0 0; }

/* ---------- LEGAL / THANK ---------- */
.rt-legal-page {
  min-height: 100vh;
  padding: 8dvh 8vw;
}
.rt-legal { max-width: 820px; margin: 0 auto; }
.rt-legal h1 { margin-bottom: 1rem; }
.rt-legal h2 {
  font-size: 1.8rem;
  color: var(--ration-tone);
  margin-top: 2.4rem;
  scroll-margin-top: 90px;
}
.rt-legal p { color: var(--ration-muted); }

.rt-thank-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 10dvh 8vw;
}
.rt-thank-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.rt-thank-title { font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--ration-tone); }
.rt-thank-box p { color: var(--ration-muted); max-width: 60ch; margin: 0 auto 1.6rem; }
.rt-thank-fig { margin: 2rem auto; max-width: 520px; }
.rt-thank-fig img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ration-radius);
  box-shadow: var(--ration-shadow);
}

/* ---------- FOOTER ---------- */
.rt-foot {
  background: var(--ration-surface);
  border-top: 1px solid var(--ration-line);
  padding: 4dvh 8vw 3dvh;
}
.rt-foot .rt-brand { color: var(--ration-ink); }
.rt-foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.rt-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rt-foot-links a {
  color: var(--ration-ink);
  text-underline-offset: 4px;
}
.rt-disclaimer { color: var(--ration-muted); font-size: 0.92rem; margin: 1.5rem 0 0.4rem; }
.rt-copy { color: var(--ration-muted); font-size: 0.9rem; margin: 0; }

/* ---------- COOKIE BANNER ---------- */
.rt-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 5vw;
  background: var(--ration-surface);
  color: var(--ration-ink);
  border-top: 2px solid var(--ration-tone);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.rt-cookie[hidden] { display: none; }
.rt-cookie p { margin: 0; }
.rt-cookie-btns { display: flex; gap: 0.8rem; }
.rt-cookie-btns button {
  font: inherit;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid var(--ration-tone);
}
#accept-cookie { background: var(--ration-tone); color: var(--ration-on-tone); }
#decline-cookie { background: transparent; color: var(--ration-ink); }
#accept-cookie:hover, #decline-cookie:hover { background: var(--ration-tone-hover); color: var(--ration-on-tone); }

#cookies { scroll-margin-top: 90px; }

/* ---------- STAGGER REVEAL (JS) ---------- */
.js .rt-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .rt-stagger.is-in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 820px) {
  .rt-sec { padding: 8dvh 5vw; }
  .rt-quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .rt-feat-band { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 5dvh 5vw; }
  .rt-intro-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .rt-cards { grid-template-columns: 1fr; }
  .rt-principle-grid { grid-template-columns: 1fr; }
  .rt-form-wrap { padding: 1.6rem; }
  .rt-hero { padding: 8dvh 5vw; }
  .rt-cta-strip { padding: 10dvh 5vw; }
  .rt-feat-band { padding: 5dvh 5vw; }
  .rt-cookie { padding: 1rem 5vw; }
}
@media (max-width: 380px) {
  .rt-pill { padding: 0.85rem 1.4rem; }
  .rt-nav a { font-size: 0.85rem; }
}

/* ---------- REDUCED MOTION & VIEW TRANSITIONS ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
  .js .rt-stagger { opacity: 1; transform: none; }
}