/* ReGenPack — site styles. Colours come from the logo: kraft brown, leaf green, charcoal. */
:root {
  --kraft: #a0563a;        /* logo brown */
  --kraft-paper: #d9bc93;  /* the paper itself */
  --kraft-pale: #f3e8d8;
  --leaf: #03a659;         /* logo green, for marks only */
  --leaf-ink: #0f6b3e;     /* accessible green for text and buttons */
  --charcoal: #4f514e;     /* logo grey */
  --ink: #1d1f1c;
  --muted: #5c5f58;
  --line: #e2ddd3;
  --bg: #ffffff;
  --radius: 6px;
  --wrap: 1160px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); font-variation-settings: 'wdth' 100; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-ink); text-underline-offset: 3px; }
a:hover { color: var(--kraft); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 750; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-variation-settings: 'wdth' 112; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); font-variation-settings: 'wdth' 108; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.small { font-size: .9rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: var(--radius); border: 2px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--kraft); border-color: var(--kraft); color: #fff; }
.btn.alt { background: transparent; color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: #fff; }
.btn.green { background: var(--leaf-ink); border-color: var(--leaf-ink); }
.btn.green:hover { background: #0a5230; border-color: #0a5230; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Announcement + header */
.notice { background: var(--ink); color: #fff; font-size: .9rem; text-align: center; padding: 8px 16px; }
.notice a { color: #fff; }
.site-head { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 30; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; font-variation-settings: 'wdth' 115; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; }
.brand sup { font-size: .5em; font-weight: 600; margin-left: -6px; align-self: flex-start; margin-top: 2px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--kraft); }
.head-wa { white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-weight: 650; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .head-wa { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
}

/* Hero: the honeycomb lattice opens up like the paper does when pulled */
.hero { position: relative; overflow: hidden; background: var(--kraft-paper); }
.hero-lattice { position: absolute; inset: 0; width: 100%; height: 100%; color: #b88f5f; opacity: .55; }
.hero-lattice .cells { transform-origin: 50% 50%; transform-box: view-box; animation: expand 1.6s cubic-bezier(.2, .7, .2, 1) .15s both; }
@keyframes expand { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-lattice .cells { animation: none; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { background: rgba(255, 255, 255, .92); padding: 36px; border-radius: var(--radius); }
.hero-copy h1 { margin-bottom: .35em; }
.hero-copy .lede { color: #3d403a; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(60, 35, 15, .28); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 1.2em 0 0; padding: 0; list-style: none; font-weight: 600; font-size: .95rem; }
.facts li::before { content: ''; display: inline-block; width: 10px; height: 11px; margin-right: 8px; background: var(--leaf); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 36px; gap: 24px; }
  .hero-copy { padding: 24px 20px; }
}

/* Sections */
.section { padding: 72px 0; }
.section.tint { background: var(--kraft-pale); }
.section.dark { background: var(--ink); color: #f2efe9; }
.section.dark a { color: #9fe0bd; }
.section-head { max-width: 760px; margin-bottom: 32px; }
@media (max-width: 700px) { .section { padding: 48px 0; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; } }
.split img { border-radius: var(--radius); }

/* Product tiles on home and shop pages */
.rolls { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .rolls { grid-template-columns: 1fr; } }
.roll { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; }
.roll img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.roll-body { padding: 22px 24px 26px; display: flex; flex-direction: column; }
.roll-body h3 { font-size: 1.35rem; margin-bottom: .25em; }
.roll-for { color: var(--muted); margin-bottom: .8em; }
.roll-price { margin-top: auto; font-size: 1.15rem; }
.roll-price strong { font-size: 1.5rem; }
.roll:hover h3 { color: var(--kraft); }
.width-tag { display: inline-block; font-weight: 750; color: var(--kraft); font-variation-settings: 'wdth' 120; font-size: 1rem; margin-bottom: .3em; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.section.dark .ticks li { border-color: #3a3d38; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 15px; width: 14px; height: 16px; background: var(--leaf); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 650; color: var(--muted); }
.spec td { font-weight: 600; }
table.plain { border-collapse: collapse; width: 100%; max-width: 560px; margin: 0 0 1.2em; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
table.plain td.num, table.plain th.num { text-align: right; }

/* Video facade */
.reel { position: relative; max-width: 340px; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; }
.reel button { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000; }
.reel button img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.reel button span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--ink); font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.reel iframe { width: 100%; height: 100%; border: 0; }

/* Gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 32%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; }
.strip figcaption { font-size: .9rem; color: #c9c4ba; margin-top: 6px; }

/* Print stats */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); margin: 28px 0; }
.terms div { padding: 16px 16px 16px 0; }
.terms dt { font-size: 1.35rem; font-weight: 750; font-variation-settings: 'wdth' 112; }
.terms dd { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .terms { grid-template-columns: 1fr 1fr; } }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; } }
.guide { text-decoration: none; color: var(--ink); }
.guide img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; width: 100%; }
.guide h3 { font-size: 1.12rem; }
.guide:hover h3 { color: var(--kraft); }
.guide time { font-size: .88rem; color: var(--muted); }

/* Product page */
.crumbs { font-size: .9rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 24px 0 64px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { max-height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { border: 2px solid var(--line); border-radius: var(--radius); padding: 0; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 90px; }
.buy h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.price-line { font-size: 1.1rem; margin: .2em 0 .2em; }
.price-line strong { font-size: 2rem; font-variation-settings: 'wdth' 110; }
.lengths { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 18px 0; border: 0; padding: 0; }
.lengths legend { font-weight: 650; margin-bottom: 8px; }
.lengths label { position: relative; display: block; cursor: pointer; }
.lengths input { position: absolute; opacity: 0; }
.lengths span { display: block; border: 2px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.lengths b { display: block; font-size: 1.1rem; }
.lengths small { display: block; color: var(--muted); font-size: .82rem; }
.lengths input:checked + span { border-color: var(--ink); background: var(--kraft-pale); }
.lengths input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }
.lengths input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty input { width: 56px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 650; }
.stock-note { min-height: 1.5em; font-weight: 600; margin: 8px 0 0; }
.stock-note.low { color: var(--kraft); }
.stock-note.out { color: #b42318; }
.trust { list-style: none; padding: 16px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); font-size: .95rem; }
.trust li { padding: 3px 0; }
.desc { max-width: 760px; }
.desc h3 { margin-top: 1.6em; }

/* Forms and checkout */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 11px 12px; border: 2px solid #cfc8bb; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field .err { color: #b42318; font-size: .9rem; margin-top: 4px; min-height: 0; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #b42318; }
.hp { position: absolute; left: -5000px; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #e6f4ec; color: #0a5230; }
.form-msg.bad { display: block; background: #fdecea; color: #8a1c12; }
dialog.checkout { width: min(720px, 100vw - 24px); max-height: calc(100vh - 24px); border: 0; border-radius: var(--radius); padding: 0; }
dialog.checkout::backdrop { background: rgba(20, 20, 18, .55); }
.co-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.co-head h2 { font-size: 1.3rem; margin: 0; }
.co-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.co-body { padding: 20px 22px 24px; }
.summary { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.summary td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.summary td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.summary tr.total td { font-weight: 750; font-size: 1.15rem; border-bottom: 0; padding-top: 10px; }

/* Article and policy text */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.page-head { padding: 48px 0 8px; }
.page-head p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 650; padding: 12px 0; font-size: 1.08rem; }
.faq details p { margin: 0 0 14px; color: #33362f; }

/* Footer */
.site-foot { background: var(--ink); color: #d7d3cb; padding: 56px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h2 { font-size: 1rem; color: #fff; margin-bottom: .8em; font-variation-settings: 'wdth' 100; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { padding: 3px 0; }
.foot-legal { border-top: 1px solid #3a3d38; margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #a9a59c; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.wa-float:hover { background: #1da851; color: #fff; }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 700px) { .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float { padding: 14px; } }
