/* Feed Stock Manager — "Albarán": barn-red band with a corrugated edge, stencil titles,
   screens on perforated delivery tickets. */

@font-face { font-family: "Stardos Stencil"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/stardos-stencil-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hind"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/hind-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hind"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/hind-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hind"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/hind-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hind"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/hind-latin-700-normal.woff2") format("woff2"); }

:root {
  --brand: #8c2f23;
  --brand-dark: #6e2219;
  --cream: #fbf3e4;
  --cream-soft: #e8c9c2;
  --gold: #e0a526;
  --gold-text: #f2c14e;
  --gold-dark: #8a5d00;
  --ink: #2b2421;
  --soft: #5f5550;
  --floor: #f4f1ee;
  --line: #ddd4cc;
  --white: #ffffff;
  --ok: #3d6620;
  --late: #b3261e;
  --stencil: "Stardos Stencil", Georgia, serif;
  --text: "Hind", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--floor); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; }
.name { hyphens: manual; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--stencil); font-weight: 700; line-height: 1.12; margin: 0; overflow-wrap: anywhere; hyphens: auto; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header on the red band */
.top { background: var(--brand); color: var(--cream); }
.top-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font-family: var(--stencil); font-size: 1.45rem; line-height: 1; }
.brand:hover { color: var(--white); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a { display: inline-block; color: var(--cream); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 4px; min-height: 44px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-dark); color: var(--white); }

/* Hero */
.hero { background: var(--brand); color: var(--cream); padding: 28px 0 24px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.kicker { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-soft); margin-bottom: 14px; }
.kicker.dark { color: var(--brand); }
.hero h1 { font-size: clamp(2.3rem, 7.4vw, 4.1rem); color: var(--cream); }
.hero h1 span { display: block; }
.gold { color: var(--gold-text); }
.lead { font-size: 1.15rem; margin-top: 18px; max-width: 36em; }
.lead.dark { color: var(--soft); }
.hero .lead strong { color: var(--white); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.text-link { color: var(--cream); font-weight: 600; }
.text-link:hover { color: var(--white); }
.text-link.light { color: var(--gold-text); }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { border: 1.5px solid var(--cream-soft); color: var(--cream); padding: 3px 10px 1px; border-radius: 3px; font-weight: 600; font-size: 0.92rem; }

.play { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 6px 20px 4px; border-radius: 4px; background: var(--gold); color: var(--ink); text-decoration: none; border: 2px solid var(--ink); line-height: 1.15; }
.play:hover { background: var(--gold-text); color: var(--ink); }
.play-small { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.play-big { font-family: var(--stencil); font-size: 1.35rem; }
.play-soon { background: transparent; color: var(--cream); border-color: var(--cream-soft); border-style: dashed; cursor: default; }
.closing .play-soon { color: var(--ink); border-color: var(--ink); }

.hero-shots { position: relative; display: flex; justify-content: center; min-height: 0; }
.hero-shots .ticket-back { display: none; }
.hero-shots .ticket-front { width: min(78vw, 340px); }

/* Tickets: white paper with a perforated top edge */
.ticket { margin: 0; background: var(--white); border: 2px solid var(--ink); padding: 26px 10px 10px; position: relative; box-shadow: 6px 6px 0 rgba(43, 36, 33, 0.18); }
.ticket::before { content: ""; position: absolute; left: 10px; right: 10px; top: 8px; height: 10px; background: radial-gradient(circle, var(--floor) 4px, transparent 4.5px) 0 0 / 18px 10px repeat-x; }
.hero .ticket::before { background-image: radial-gradient(circle, var(--brand) 4px, transparent 4.5px); }
.ticket img { width: 100%; border: 1px solid var(--line); }

/* Corrugated lower edge of the red band */
.scallop { height: 18px; background: radial-gradient(circle at 50% 0, var(--brand) 13px, transparent 13.5px) 0 0 / 30px 18px repeat-x; }

/* Delivery note: one line per tool */
.note { padding: 56px 0 24px; }
.note-head { max-width: 760px; margin-bottom: 30px; }
.stamp { display: inline-block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 4px 10px 2px; border-radius: 3px; margin-bottom: 14px; }
.note h2, .scope h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.note-sub { color: var(--soft); margin-top: 12px; font-size: 1.1rem; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.line { display: grid; gap: 18px; padding: 34px 0; border-bottom: 1.5px solid var(--line); }
.line-no { font-family: var(--stencil); font-size: 3.4rem; line-height: 0.9; color: var(--brand); }
.line-label { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.line h3 { font-size: clamp(1.45rem, 4vw, 1.9rem); margin-bottom: 10px; }
.ticks { margin: 14px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 9px; border-radius: 2px; background: var(--gold); }
.line-shot .ticket { width: min(78vw, 320px); margin: 4px auto 0; }

/* Scope table */
.scope { padding: 40px 0 56px; }
.scope-grid { display: grid; gap: 18px; margin-top: 24px; }
.scope-col { background: var(--white); border: 2px solid var(--ink); border-top-width: 6px; padding: 20px 20px 16px; }
.scope-no { border-top-color: var(--brand); }
.scope-col h3 { font-size: 1.6rem; margin-bottom: 8px; }
.scope-col ul { margin: 0; padding: 0; list-style: none; }
.scope-col li { padding: 9px 0 7px 30px; border-bottom: 1px dashed var(--line); position: relative; }
.scope-col li:last-child { border-bottom: 0; }
.yes li::before, .no li::before { position: absolute; left: 0; top: 7px; font-weight: 700; font-size: 1.1rem; }
.yes li::before { content: ""; left: 3px; top: 0.62em; width: 13px; height: 7px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.no li::before { content: "×"; color: var(--late); font-size: 1.35rem; top: 2px; }

.privacy-band { background: var(--ink); color: var(--cream); padding: 44px 0; }
.privacy-inner { display: grid; gap: 14px; max-width: 820px; }
.privacy-band h2 { font-size: clamp(1.6rem, 4.6vw, 2.2rem); color: var(--cream); }

.closing { padding: 44px 0 52px; }
.closing-inner { display: grid; gap: 20px; align-items: center; }
.closing h2 { font-size: clamp(1.6rem, 4.6vw, 2.2rem); margin-bottom: 8px; }

/* Inner pages */
.page { padding: 40px 0 60px; }
.page h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 8px; }
.faq { margin-top: 28px; border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.12rem; padding: 16px 32px 14px 0; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-family: var(--stencil); font-size: 1.6rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--soft); }
.contact-box { margin-top: 36px; background: var(--white); border: 2px solid var(--ink); border-top: 6px solid var(--brand); padding: 20px; }
.contact-box h2 { font-size: 1.6rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.45rem; margin: 30px 0 10px; }
.legal p, .legal ul { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.meta { color: var(--soft); font-size: 0.95rem; margin-top: 6px; }

/* Footer */
.foot { background: var(--brand); color: var(--cream); padding: 26px 0; }
.foot-inner { display: grid; gap: 18px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-name { font-family: var(--stencil); font-size: 1.25rem; }
.foot-small { font-size: 0.92rem; color: var(--cream-soft); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--cream); display: inline-block; padding: 8px 0; }
.foot-links a:hover { color: var(--white); }

@media (min-width: 760px) {
  .scope-grid { grid-template-columns: 1.3fr 1fr; }
  .closing-inner { grid-template-columns: 1fr auto; }
  .foot-inner { grid-template-columns: 1fr auto; align-items: center; }
  .line { grid-template-columns: 90px 1fr 280px; align-items: start; gap: 28px; }
  .line-flip .line-shot { order: 2; }
  .line-shot .ticket { width: 100%; margin: 0; }
}

@media (min-width: 960px) {
  .hero { padding: 44px 0 30px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .hero-shots { min-height: 640px; }
  .hero-shots .ticket-back { display: block; position: absolute; width: 270px; left: 0; top: 60px; transform: rotate(-3deg); }
  .hero-shots .ticket-front { position: absolute; width: 310px; right: 10px; top: 0; }
  .line { grid-template-columns: 110px 1fr 320px; }
  .line-no { font-size: 4.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
