/* Penanto Enterprises – styles for the static pages.
   Carries over the original look from site.css and vanilla.css. */

:root {
  --primary: hsl(210 33% 5%);
  --primary-hover: hsl(210 33% 12%);
  --gold: hsl(45 67% 47%);
  --gold-hover: hsl(45 67% 42%);
  --muted-fg: hsl(210 15% 40%);
  --line: hsl(206 18% 88%);
  --light-bg: #f7f9fa;
  --white: #fff;
  --font-body: 'Inter', Arial, sans-serif;
  --font-heading: 'Rajdhani', Arial, sans-serif;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 16px/1.55 var(--font-body);
  color: var(--primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; letter-spacing: .01em; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--primary); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border: 0; border-radius: 8px; font-weight: 600; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.gold-btn { background: var(--gold); color: var(--primary); } /* dark text on gold: 7.9:1 contrast (white was 2.5:1) */
.gold-btn:hover { background: var(--gold-hover); }
.dark-btn { background: var(--primary); color: var(--white); }
.dark-btn:hover { background: var(--primary-hover); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* Header */
.nav { position: fixed; top: 0; width: 100%; z-index: 50; background: var(--white); box-shadow: 0 4px 24px #0001; padding: 14px 0; }
.nav-inner, .links { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.links a { font-size: .9rem; }
.links a.btn { font-size: 1rem; }
.brand img { height: 40px; width: auto; }
.brand .logo-on-dark { display: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; line-height: 1; padding: 6px 10px; color: inherit; cursor: pointer; }
.mobile { display: none; }
.mobile.open { display: grid; gap: 16px; background: var(--white); color: var(--primary); padding: 20px 24px; }

/* Home: transparent header over the hero (only when JavaScript is running, so it can turn solid on scroll) */
.js .page-home .nav:not(.scrolled) { background: transparent; box-shadow: none; color: var(--white); }
.js .page-home .nav:not(.scrolled) .logo-on-dark { display: block; }
.js .page-home .nav:not(.scrolled) .logo-on-light { display: none; }
.js .page-home .nav:not(.scrolled) .dark-btn { background: var(--white); color: var(--primary); }

/* Hero */
.hero {
  min-height: 100vh; padding: 140px 24px 80px; display: grid; place-items: center; text-align: center; color: var(--white);
  background: linear-gradient(#07111dcc, #07111d99 55%, #07111d), url('/assets/images/hero-port.png') center / cover;
  background-color: var(--primary);
}
.hero-inner { max-width: 800px; }
.hero h1, .page-hero h1 { font: 700 clamp(2.4rem, 5vw, 4.2rem) / 1.1 var(--font-heading); margin: 0; }
.hero p { max-width: 650px; margin: 24px auto 36px; color: #fffd; font-size: 1.15rem; }
.hero .tag { margin: 0 0 8px; font-size: 1rem; color: var(--white); }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.actions .btn:not(.gold-btn) { color: var(--white); }

/* Sections */
.section { padding: 84px 0; }
.light { background: var(--light-bg); }
.dark { background: var(--primary); color: var(--white); }
.heading { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.heading h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.tag { margin: 0 0 6px; }
.section-heading { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.15; margin-bottom: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.dark .card { background: #ffffff08; border-color: #ffffff24; }
.card-link { font-weight: 600; }
.dark .card-link { color: var(--gold); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.two img { width: 100%; border-radius: 18px; object-fit: cover; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { margin: 0 0 6px; }
.checks span[aria-hidden] { margin-right: 6px; }

blockquote { margin: 16px 0 0; }
blockquote p { margin: 0; }
blockquote footer { margin-top: 4px; }

.step-label { margin: 0 0 6px; font-weight: 600; color: var(--muted-fg); }

.quote-card { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.quote-card blockquote { margin: 0; }
.quote-card figcaption { color: var(--muted-fg); }
.quote-card figcaption strong { color: var(--primary); }
.section-cta { text-align: center; margin-top: 36px; }

/* Contact */
.office { margin-top: 16px; }
.office h3 { font-size: 1.1rem; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: grid; gap: 6px; margin: 12px 0; }
.field label { font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--primary); }
.field textarea { resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted-fg); margin: 0 0 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 20px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.consent a { text-decoration: underline; }

/* Inner page banner (thank-you, 404, How It Works, Why Penanto) */
.page-hero { background: var(--primary); color: var(--white); padding: 145px 0 62px; }
.page-body { max-width: 720px; }
.page-body .actions { justify-content: flex-start; }

/* Footer */
.footer { background: var(--primary); color: #fffd; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer img { height: 36px; width: auto; margin-bottom: 12px; }
.footer-heading { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 6px; }
.footer a:hover { text-decoration: underline; }
.copyright { padding-top: 22px; margin: 0; }

/* Scroll reveal (added by main.js only, so content is always visible without JavaScript) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Additions in the same style: industries closing line, inner-page layouts ---------- */
.section-foot { text-align: center; margin-top: 36px; }
.section-foot p { font-weight: 600; margin-bottom: 16px; }
.page-hero .page-intro { max-width: 720px; margin: 20px 0 28px; color: #fffd; font-size: 1.1rem; }
.page-hero .tag { color: var(--white); }
.page-hero .actions { justify-content: flex-start; }
.step-row { display: grid; grid-template-columns: 240px 1fr; gap: 40px; max-width: 980px; margin: 0 auto; }
.step-row h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.step-body { max-width: 680px; }
.step-body h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 1.2em 0 .5em; letter-spacing: 0; }
.step-body ul { padding-left: 1.2rem; margin: 0 0 1em; }
.step-body li { margin-bottom: .35em; }
.step-body a { text-decoration: underline; }
.cta-band { padding: 48px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.cta-band p { margin: 0; font-size: 1.35rem; }
.plain-list { padding-left: 1.2rem; max-width: 820px; }
.plain-list li { margin-bottom: .6em; }
.closing { text-align: center; }

@media (max-width: 860px) {
  .links { display: none; }
  .nav-toggle { display: block; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .step-row { grid-template-columns: 1fr; gap: 8px; }
  /* Without JavaScript the menu button can't work, so show the menu links instead */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .mobile { display: grid; gap: 12px; padding: 12px 24px 4px; }
  html:not(.js) .nav { position: relative; }
}
@media (max-width: 600px) {
  .grid, .grid-2, .footer-grid, .contact-form .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.risks p { max-width: 820px; }

/* =====================================================================
   Home: Knowledge Hub (approved icon-card design, original look)
   ===================================================================== */
.kh-tag { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 700; }
.heading .kh-heading { font-size: clamp(2.2rem, 4vw, 3rem); }
.kh-intro { color: #ffffffd9; }
.kh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.kh-card { display: flex; flex-direction: column; background: #16191e; border: 1px solid #2a2e35; border-radius: 12px; padding: 24px; transition: border-color .2s ease, transform .2s ease; }
.kh-card:hover, .kh-card:focus-within { border-color: hsl(45 67% 47% / .55); transform: translateY(-2px); }
.kh-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: hsl(45 67% 47% / .19); color: var(--gold); margin-bottom: 18px; }
.kh-icon svg { width: 24px; height: 24px; }
.kh-card h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; letter-spacing: 0; color: var(--white); margin-bottom: .5em; }
.kh-card p { color: #ffffffbf; }
.kh-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; }
.kh-link svg { width: 16px; height: 16px; flex: none; }
.kh-link:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .kh-card, .kh-card:hover, .kh-card:focus-within { transition: none; transform: none; } }
@media (max-width: 1100px) { .kh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kh-grid { grid-template-columns: 1fr; gap: 20px; } }

/* =====================================================================
   S03 design system: resource pages (content area only).
   Tokens are scoped to .s03 so the shared header, contact section and
   footer keep the original look until S03 is applied site-wide.
   ===================================================================== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/open-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/open-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/open-sans-400-italic.woff2") format("woff2"); }

.s03 {
  /* Colour */
  --navy: #0F2A44;
  --navy-light: #1D4268;
  --gold: #C9A227;
  --gold-dark: #A78620;
  --charcoal: #1F2328;
  --off-white: #F5F4F0;
  --cool-grey: #E6E9ED;
  --mid-grey: #5B6470;
  --light-grey: #D5D9DE;
  --steel-blue: #4A6880;
  --on-navy-muted: #D4DBE3;
  --white: #FFFFFF;
  /* Type */
  --font-head: "Montserrat", Arial, Helvetica, sans-serif;
  --font-body: "Open Sans", Arial, Helvetica, sans-serif;
  --fs-h1: clamp(2rem, 4.5vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.375rem);
  --fs-h3: 1.625rem;
  --fs-h4: 1.25rem;
  --fs-h5: 1.125rem;
  --fs-label: 0.875rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --lh-body: 1.6;
  /* Shape and space */
  --radius: 4px;
  --container: 1200px;
  --section-pad: clamp(3rem, 8vw, 6rem);

  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--charcoal);
  background: var(--white);
}
.s03 h1, .s03 h2, .s03 h3, .s03 h4 { font-family: var(--font-head); color: var(--navy); letter-spacing: 0; line-height: 1.2; }
.s03 h1 { font-size: var(--fs-h1); font-weight: 700; margin: 0 0 .5em; }
.s03 h2 { font-size: var(--fs-h2); font-weight: 700; margin: 0 0 .6em; }
.s03 h3 { font-size: var(--fs-h4); font-weight: 600; margin: 0 0 .4em; }
.s03 a:not(.r-btn) { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.s03 :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.s03 ul, .s03 ol { margin: 0 0 1em; }
.s03 strong { font-weight: 600; color: var(--navy); }
.s03 [hidden] { display: none !important; }

.r-section { padding: var(--section-pad) 0; }
.r-section--off { background: var(--off-white); }
.r-section--grey { background: var(--cool-grey); }
.r-flush-bottom { padding-bottom: 0; }
.r-first { padding-top: calc(var(--nav-height) + clamp(2.5rem, 6vw, 4.5rem)); }
.r-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.r-measure { max-width: 68ch; }
.r-center { text-align: center; }
.r-center .r-measure { margin-left: auto; margin-right: auto; }

/* Small label: navy text with a short gold rule (gold text is never used on light backgrounds) */
.r-label { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-head); font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.r-label::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.r-on-navy .r-label { color: var(--gold); }
.r-lead { font-size: var(--fs-lead); max-width: 62ch; }
.r-small { font-size: var(--fs-small); color: var(--mid-grey); }
.r-draft { font-size: var(--fs-small); color: var(--mid-grey); font-style: italic; }

/* Buttons */
.r-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.r-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.r-btn svg { width: 18px; height: 18px; flex: none; }
.r-btn--primary { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.r-btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.r-btn--secondary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.r-btn--secondary:hover { background: var(--navy-light); border-color: var(--navy-light); }
.s03 .r-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.r-on-navy .r-btn:focus-visible { outline-color: var(--white); }
@media (prefers-reduced-motion: reduce) { .r-btn { transition: none; } }

/* Icon tiles */
.r-tile { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.r-tile svg { width: 24px; height: 24px; }
.r-tile--soft { background: var(--cool-grey); color: var(--navy); }
.r-section--grey .r-tile--soft { background: var(--white); }
.r-acc .r-tile--soft { background: var(--cool-grey); }

/* Split hero (checklist, custom packaging) */
.r-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.r-split--image-first { grid-template-columns: 1fr 1.05fr; }
.r-split img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

/* Photo hero with navy panel (Product Development Guide) */
.r-photo-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 62vh, 600px); border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.r-photo-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-photo-hero::after { content: ""; position: absolute; inset: 0; background: rgb(15 42 68 / .3); }
.r-photo-hero .r-panel-navy { position: relative; z-index: 1; max-width: 620px; margin: clamp(1rem, 4vw, 2.5rem); padding: clamp(1.75rem, 4vw, 3rem); background: rgb(15 42 68 / .9); border-radius: var(--radius); }
.r-on-navy, .r-on-navy p { color: var(--on-navy-muted); }
.r-on-navy h1, .r-on-navy h2, .r-on-navy h3 { color: var(--white); }

/* Highlight panel (red flags, rules) */
.r-flag { border-left: 4px solid var(--gold); background: var(--cool-grey); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); }
.r-section--grey .r-flag { background: var(--white); }
.r-flag-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.r-flag-head h2, .r-flag-head h3 { margin: 0; font-size: var(--fs-h4); font-weight: 700; }
.r-flag ul { margin: 0; padding-left: 1.25rem; }
.r-flag li { margin-bottom: .45em; }
.r-flag li:last-child { margin-bottom: 0; }
.r-flag p:last-child { margin-bottom: 0; }

/* Checklist accordion (native details, one group open at a time) */
.r-acc { display: grid; gap: 14px; margin-top: 28px; counter-reset: check; }
.r-acc details { background: var(--white); border: 1px solid var(--light-grey); border-radius: var(--radius); }
.r-acc details[open] { border-color: var(--steel-blue); }
.r-acc summary { display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.r-acc summary::-webkit-details-marker { display: none; }
.r-acc summary h3 { margin: 0; flex: 1; font-size: var(--fs-h5); font-weight: 600; }
.r-acc summary .r-count { font-size: var(--fs-small); color: var(--mid-grey); white-space: nowrap; }
.r-chevron { width: 20px; height: 20px; flex: none; color: var(--navy); transition: transform .2s ease; }
.r-acc details[open] .r-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .r-chevron { transition: none; } }
.r-checks { list-style: none; margin: 0; padding: 4px 20px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.r-checks li { counter-increment: check; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.r-checks li::before { content: counter(check); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .8125rem; line-height: 1; }

/* Navy call-to-action box */
.r-cta { background: var(--navy); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; border-top: 3px solid var(--gold); }
.r-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.r-cta p { color: var(--on-navy-muted); max-width: 56ch; margin-left: auto; margin-right: auto; }
.r-cta .r-actions { justify-content: center; margin-top: 20px; }

/* Grey call-out box */
.r-callout { background: var(--cool-grey); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.r-callout h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.r-callout p { max-width: 56ch; margin-left: auto; margin-right: auto; }
.r-callout .r-actions { justify-content: center; margin-top: 20px; }

/* Numbered guide sections (Product Development Guide) */
.r-guide-section + .r-guide-section { margin-top: clamp(3rem, 7vw, 4.5rem); }
.r-num-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.r-num-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.r-box { border: 1px solid var(--light-grey); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); margin-top: 22px; }
.r-box h3 { font-size: var(--fs-h5); margin-bottom: 14px; }
.r-two-col { columns: 2; column-gap: 40px; margin: 0; padding-left: 1.2rem; }
.s03 .r-box ul { margin-bottom: 0; }
.r-two-col li { break-inside: avoid; margin-bottom: .5em; }
.r-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
.r-info > div { background: var(--cool-grey); border-radius: var(--radius); padding: 24px; }
.r-info h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h5); }
.r-info h3 svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.r-info p:last-child { margin-bottom: 0; }
.r-moq { margin: 18px 0; display: grid; gap: 0; border-top: 1px solid var(--light-grey); }
.r-moq div { display: grid; grid-template-columns: minmax(200px, 1fr) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--light-grey); }
.r-moq dt { font-weight: 600; color: var(--navy); }
.r-moq dd { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--charcoal); }

/* Timeline strip and total-time bar */
.r-timeline { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--light-grey); border-radius: var(--radius) var(--radius) 0 0; background: var(--white); }
.r-timeline li { padding: 22px 14px; text-align: center; border-left: 1px solid var(--light-grey); }
.r-timeline li:first-child { border-left: 0; }
.r-timeline .r-time { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: var(--navy); line-height: 1.2; white-space: nowrap; }
.r-timeline .r-stage { display: block; margin-top: 6px; font-size: var(--fs-small); color: var(--mid-grey); }
.r-total { background: var(--navy); color: var(--white); border-radius: 0 0 var(--radius) var(--radius); padding: 16px 20px; text-align: center; font-family: var(--font-head); font-weight: 600; }

/* Feature rows (Custom Packaging) */
.r-features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 22px; }
.r-features li { display: flex; gap: 16px; align-items: flex-start; }
.r-features h2, .r-features h3 { font-size: var(--fs-h5); margin: 0 0 4px; }
.r-features p { margin: 0; }

/* Payment term cards and tables */
.r-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.r-card { background: var(--white); border: 1px solid var(--light-grey); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.r-section--grey .r-card { border-color: var(--white); }
.r-risk { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: var(--radius); font-family: var(--font-head); font-size: var(--fs-small); font-weight: 600; background: var(--cool-grey); color: var(--navy); }
.r-section--grey .r-risk { background: var(--off-white); }
.r-risk--high { background: var(--navy); color: var(--white); }
.r-section--grey .r-risk--high { background: var(--navy); }
.r-card p:last-child { margin-bottom: 0; }
.r-table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--light-grey); border-radius: var(--radius); background: var(--white); }
.r-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.r-table caption { text-align: left; padding: 14px 18px; font-size: var(--fs-small); color: var(--mid-grey); caption-side: bottom; border-top: 1px solid var(--light-grey); }
.r-table th, .r-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--light-grey); }
.r-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; }
.r-table tbody th { font-family: var(--font-head); font-weight: 600; color: var(--navy); white-space: nowrap; }
.r-table tbody tr:last-child th, .r-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 960px) {
  .r-split, .r-split--image-first { grid-template-columns: 1fr; }
  .r-split--image-first .r-split-media { order: -1; }
  .r-cards { grid-template-columns: 1fr; }
  .r-timeline { grid-template-columns: repeat(2, 1fr); }
  .r-timeline li { border-left: 0; border-top: 1px solid var(--light-grey); }
  .r-timeline li:nth-child(even) { border-left: 1px solid var(--light-grey); }
  .r-timeline li:nth-child(-n+2) { border-top: 0; }
  .r-timeline li:last-child { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 640px) {
  .r-checks, .r-info { grid-template-columns: 1fr; }
  .r-two-col { columns: 1; }
  .r-moq div { grid-template-columns: 1fr; gap: 2px; }
  .r-photo-hero { display: block; min-height: 0; }
  .r-photo-hero img { position: relative; height: 220px; }
  .r-photo-hero::after { display: none; }
  .r-photo-hero .r-panel-navy { margin: 0; max-width: none; background: var(--navy); border-radius: 0; }
  .r-acc summary { padding: 16px; gap: 12px; }
  .r-acc summary .r-tile { width: 40px; height: 40px; }
  .r-acc summary .r-count { display: none; }
  .r-checks { padding: 4px 16px 20px; }
}

/* Print: the checklist only */
@media print {
  .nav, .skip-link, .footer, #contact, .r-no-print { display: none !important; }
  body, .s03 { background: #fff; }
  .r-flush-bottom { padding-bottom: 0; }
.r-first { padding-top: 0; }
  .r-section { padding: 16px 0; }
  .r-acc details { border-color: #999; break-inside: avoid; }
  .r-checks li::before { border: 1px solid #000; }
  .r-flag { border: 1px solid #999; border-left: 4px solid #999; background: #fff; }
  .s03 a { text-decoration: none; }
  .r-chevron { display: none; }
}
.r-mt { margin-top: 28px; }

/* PDF download form (guide pages) and download pages */
.r-download { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; background: var(--white); border: 1px solid var(--light-grey); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.r-download-text { display: flex; gap: 16px; align-items: flex-start; }
.r-download-text h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); margin-bottom: .35em; }
.r-download-text p { margin: 0; }
.r-field { display: grid; gap: 6px; margin-bottom: 16px; }
.r-field label { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.r-field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--mid-grey); border-radius: var(--radius); background: var(--white); color: var(--charcoal); font: inherit; }
.r-field input::placeholder { color: var(--mid-grey); }
.r-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: 20px; font-size: var(--fs-small); }
.r-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.r-btn-meta { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-small); }
@media (max-width: 760px) { .r-download { grid-template-columns: 1fr; } }
