/* MACPAN Standing Bread Order website: the Craftner kit rebuilt for a bakery.
   Parchment page, olive accent, serif display (Libre Caslon Text), slab text (Kameron), split heroes with framed photos,
   an olive band with one large serif line, square photo tiles with a label bar, an olive and parchment carousel. */
@font-face { font-family: "Caslon"; src: url("fonts/LibreCaslonText-Variable.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Kameron"; src: url("fonts/Kameron-Variable.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #f3efe5; --paper-2: #e9e3d3; --card: #fbf9f3; --ink: #2f2e22; --muted: #5e5a3c; --olive: #74704e; --olive-d: #5e5a3c; --olive-dd: #48452e;
  --line: #d8d0bb; --green: #1f6b3f; --focus: #1f6b3f;
  --serif: "Caslon", Georgia, "Times New Roman", serif; --text: "Kameron", Georgia, serif;
  --r: 6px; --wrap: 1180px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-dd); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ft :focus-visible, .band :focus-visible, .addr :focus-visible, .ps-band :focus-visible, .pc.olive :focus-visible { outline-color: var(--paper); }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.small { font-size: .9rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
main, .ft { overflow-x: clip; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50; border-radius: var(--r); }
.skip:focus { top: 12px; }
.label { font: 700 .76rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--olive-d); margin: 0 0 .9em; }
.rule { display: block; width: 64px; height: 2px; background: var(--olive); margin: 1rem 0 1.2rem; transform-origin: left; transition: transform .9s var(--ease); }
.lead { font-size: 1.15rem; color: var(--ink); max-width: 38em; }

/* buttons: the kit's olive rectangles with a sliding arrow */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .7em 1.3em; background: var(--olive-d); color: var(--paper); border: 1.5px solid var(--olive-d);
  border-radius: var(--r); font: 700 .98rem/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--olive-dd); color: var(--paper); }
.btn:hover .ic { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--olive-dd); }
.btn.ghost:hover { background: var(--olive-d); color: var(--paper); }
.btn.light { background: var(--paper); color: var(--olive-dd); border-color: var(--paper); }
.btn.light:hover { background: var(--olive-dd); color: var(--paper); border-color: var(--paper); }
.btn.off, .btn[aria-disabled="true"], .btn:disabled, .round[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.off:hover, .btn[aria-disabled="true"]:hover { background: var(--olive-d); color: var(--paper); }
.btn.ghost.off:hover, .btn.ghost[aria-disabled="true"]:hover { background: transparent; color: var(--olive-dd); }
.btn.small { min-height: 42px; padding: .5em 1em; font-size: .9rem; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0 1rem; }
.ic { width: 22px; height: 22px; flex: none; }
.ic.big { width: 34px; height: 34px; color: var(--olive-d); }

/* header with the serif wordmark */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(243, 239, 229, .94); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hd.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(47, 46, 34, .07); }
.hd-in { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.logo-w { font: 700 1.55rem/1 var(--serif); letter-spacing: .08em; }
.logo-s { font: 400 .72rem/1.4 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--olive-d); margin-top: 4px; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-size: .95rem; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.mm { display: none; position: relative; }
.mm summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--olive-d); border-radius: var(--r); color: var(--olive-dd); }
.mm summary::-webkit-details-marker { display: none; }
.mm-panel { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 18px 18px; box-shadow: 0 18px 40px rgba(47, 46, 34, .16); }
.mm-panel a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--paper-2); }
.mm-h { margin: 14px 0 2px; font: 700 .72rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--olive-d); }

/* the split hero with framed photos */
.hero { padding: 56px 0 72px; }
.hero-in, .ph.with-pic { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-note { max-width: 34em; }
.frames { position: relative; padding: 0 0 56px 0; }
.fr { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--paper-2); box-shadow: 0 22px 50px rgba(47, 46, 34, .14); }
.fr img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fr:hover img { transform: scale(1.04); }
.frames .big { width: 82%; margin-left: auto; aspect-ratio: 4 / 5; }
.frames .small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--paper); }
.frnote { position: absolute; right: 6%; bottom: 14px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); font-size: .88rem; color: var(--olive-dd); box-shadow: 0 8px 20px rgba(47, 46, 34, .1); }
.frnote .ic { width: 18px; height: 18px; }
.page-hero { padding: 36px 0 52px; border-bottom: 1px solid var(--line); }
.ph-tx h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.ph .frames .big { aspect-ratio: 5 / 4; width: 88%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; margin-bottom: 1.2rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* sections */
.sec { padding: 72px 0; }
.sec.tint { background: var(--paper-2); }
.sec-hd { max-width: 720px; margin-bottom: 34px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* the olive band */
.band { background: var(--olive); color: #fff; padding: 64px 0; }
.band-in { max-width: 900px; }
.band-line { font: 400 clamp(1.6rem, 3.6vw, 2.7rem)/1.25 var(--serif); margin: 0 0 .5em; color: #fff; }
.band-sub { font: 700 .78rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 0 0 1.2em; }

/* numbered steps */
.steps, .feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feats { grid-template-columns: repeat(3, 1fr); }
.steps li, .feats li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.steps li + li, .feats li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.no { display: block; font: 400 2.4rem/1 var(--serif); color: var(--olive); margin-bottom: 12px; }

/* the carousel: olive and parchment cards, scroll-snap, arrows */
.carousel { position: relative; }
.car-hd { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.car-hd h2 { margin: 0; }
.car-btns { display: none; gap: 10px; }
.carousel.armed .car-btns { display: flex; }
.round { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--olive-d); background: transparent; color: var(--olive-dd); cursor: pointer;
  transition: background .25s, color .25s; }
.round:hover:not(:disabled) { background: var(--olive-d); color: var(--paper); }
.round:disabled { opacity: .35; cursor: default; }
.round[aria-disabled="true"]:hover { background: transparent; color: var(--olive-dd); }
.track { list-style: none; margin: 0; padding: 0 0 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; }
.pc { scroll-snap-align: start; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pc.olive { background: var(--olive); color: #fff; }
.pc.paper { background: var(--card); border: 1px solid var(--line); }
.pc figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: #fff; }
.pc figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc:hover figure img { transform: scale(1.05); }
.pc-tx { padding: 18px 18px 20px; }
.pc h3 { font-size: 1.2rem; }
.pc.olive h3, .pc.olive p { color: #fff; }
.pc-pack { font-size: .9rem; }
.pc-price { font: 700 .95rem/1.3 var(--text); }
.pc.paper .pc-pack { color: var(--olive-d); }

/* square tiles with a label bar */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; background: var(--paper-2); }
.tile figure { margin: 0; height: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 12px 14px; background: var(--card);
  border-radius: var(--r); transition: background .3s; }
.tile-bar b { font: 400 1.1rem/1.2 var(--serif); }
.tile-bar small { grid-column: 1; font-size: .82rem; color: var(--muted); }
.tile-bar .ic { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--olive-d); transition: transform .3s var(--ease); }
.tile:hover .tile-bar .ic { transform: translateX(4px); }

/* holiday list, tables, notes */
.hlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
html:not(.js) .hlist li:nth-child(n+5) { display: none; }
.hlist li { display: flex; gap: 16px; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.hd-d { font: 400 2rem/1 var(--serif); color: var(--olive); min-width: 2.2ch; text-align: center; }
.hlist b { display: block; font-weight: 700; }
.hlist small { color: var(--muted); }
.tbl { position: relative; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 14px 16px 0; font: 700 .76rem/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--olive-d); }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
thead th { font-size: .82rem; color: var(--muted); font-weight: 700; }
tbody th { font-weight: 400; }
.num { text-align: right; white-space: nowrap; }
.note { background: var(--card); border-left: 4px solid var(--olive); padding: 18px 22px; border-radius: var(--r); margin-top: 28px; }
.rules { columns: 2 360px; column-gap: 28px; }
article.law { break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin: 0 0 22px; }
.src { font-size: .85rem; color: var(--muted); margin: 0; }

/* zig-zag steps (how it works) */
.zig { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.zig li { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zig li.rev .fr { order: 2; }
.zig .fr { aspect-ratio: 3 / 2; }

/* product grid, facts, occasions, contact */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding-bottom: 6px; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(47, 46, 34, .12); }
.pcard figure { margin: 0 0 14px; aspect-ratio: 1; background: #fff; overflow: hidden; }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; }
.pcard > :not(figure) { margin-inline: 18px; }
.facts3, .cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fact, .ccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.ccard { color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), border-color .3s; }
.ccard:hover { transform: translateY(-4px); border-color: var(--olive); color: var(--ink); }
.mail { overflow-wrap: anywhere; }
.addr { margin-top: 36px; padding: 28px; background: var(--olive); color: #fff; border-radius: var(--r); }
.addr h2, .addr p, .addr .label, .addr .small { color: #fff; }
.occs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.occ { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--olive); border-radius: var(--r); padding: 22px 24px; }
.occ-d { font: 400 1.15rem/1.3 var(--serif); color: var(--olive-dd); }
.facts-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.facts-card dl { margin: 0; display: grid; gap: 12px; }
.facts-card dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-d); }
.facts-card dd { margin: 0; }
details.qa { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.qa summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative; font: 400 1.2rem/1.35 var(--serif); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+" / ""; position: absolute; right: 6px; top: 12px; font: 400 1.6rem/1 var(--serif); color: var(--olive); transition: transform .3s var(--ease); }
details.qa[open] summary::after { transform: rotate(45deg); }

/* the call-to-action box */
.box { display: grid; grid-template-columns: 1.2fr .8fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.box-in { padding: 40px; }
.box-pic { margin: 0; min-height: 260px; }
.box-pic img { width: 100%; height: 100%; object-fit: cover; }

/* privacy: an index and five rotating layouts */
.pwrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.pidx { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; }
.pidx ol { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.pidx li a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; }
.pidx li a span { color: var(--olive-d); margin-right: 6px; }
.plist { display: grid; gap: 30px; }
.policy-section { scroll-margin-top: 96px; }
.ps-pic { margin: 0; overflow: hidden; border-radius: var(--r); background: #fff; }
.ps-pic img { width: 100%; height: 100%; object-fit: cover; }
.ps-no { font: 400 2rem/1 var(--serif); color: var(--olive); margin: 0 0 .3em; }
.ps-tx h2 { font-size: 1.5rem; }
.ps-split { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.ps-split .ps-pic { aspect-ratio: 1; }
.ps-band { background: var(--olive); color: #fff; border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.ps-band .ps-tx { padding: 26px; }
.ps-band h2, .ps-band p, .ps-band .ps-no { color: #fff; }
.ps-band .ps-pic { border-radius: 0; order: 2; }
.ps-tile { display: grid; grid-template-columns: 1fr 160px; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.ps-tile .ps-pic { aspect-ratio: 1; order: 2; }
.ps-rule { border-top: 2px solid var(--olive); padding-top: 22px; }
.ps-rule .ps-pic { display: none; }
.ps-card .ps-pic { aspect-ratio: 3 / 1; margin-bottom: 18px; }
.ps-card { background: var(--paper-2); border-radius: var(--r); padding: 18px; }

/* footer */
.ft { background: var(--olive-dd); color: var(--paper); padding: 60px 0 36px; margin-top: 20px; }
.ft a { color: var(--paper); }
.ft-top { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr) 1.3fr; gap: 28px; }
.ft-word { font: 700 2.2rem/1 var(--serif); letter-spacing: .08em; margin: 0 0 .4em; }
.ft .small { color: #e9e3d3; }
.fh { font: 700 .74rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .8em; color: #e9e3d3; }
.ft-top > div a { display: block; padding: 4px 0; text-decoration: none; font-size: .93rem; }
.ft-top > div a:hover { text-decoration: underline; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc a { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.svc b { display: block; font-size: .95rem; }
.svc small { display: block; font-size: .85rem; color: #e9e3d3; }
.ft-legal { margin: 40px 0 0; padding-top: 22px; border-top: 1px solid rgba(243, 239, 229, .25); font-size: .82rem; color: #e9e3d3; }

/* the planner */
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 0; min-width: 0; }
.card.wide { grid-column: 1 / -1; }
.pl-col { display: grid; gap: 22px; align-content: start; min-width: 0; }
legend { font: 400 1.35rem/1.2 var(--serif); padding: 0 6px; }
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld span { font-size: .88rem; color: var(--muted); font-weight: 700; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--olive); border-radius: var(--r); padding: 10px 12px; min-height: 46px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--olive-dd); }
.addrow { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.addrow .fld { flex: 1 1 220px; margin: 0; }
.addrow { margin-bottom: 16px; }
table.grid input { width: 4.4em; min-height: 40px; padding: 6px; text-align: right; }
table.grid td.off input { background: var(--paper-2); color: var(--muted); }
table.grid th[scope="row"] { min-width: 10em; position: sticky; left: 0; z-index: 1; background: var(--card); }
table.grid .del { border: 0; background: transparent; color: var(--olive-dd); cursor: pointer; min-width: 40px; min-height: 40px; font-size: 1.2rem; }
.segs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--olive-d); border-radius: 999px; cursor: pointer; font-size: .92rem; }
.seg input:checked + span { background: var(--olive-d); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.hol { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.hol li { padding: 8px 0; border-bottom: 1px solid var(--paper-2); }
.issues p { margin: 8px 0 0; padding: 10px 14px; border-radius: var(--r); font-size: .93rem; }
.issues .block { background: #f6e1dc; color: #6e1d10; }
.issues .warn { background: #f7ecd2; color: #5b3d00; }
.issues .info { background: #e7ecd9; color: var(--olive-dd); }
.sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.sum div { background: var(--paper); border-radius: var(--r); padding: 12px 14px; }
.sum b { display: block; font: 400 1.4rem/1.2 var(--serif); }
.sum small { color: var(--muted); }
.req { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font: .88rem/1.5 ui-monospace, Menlo, Consolas, monospace; max-height: 420px; overflow: auto; }

/* motion: reveal on scroll, only when the script runs (html.js); everything is visible without it */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js [data-reveal] .rule { transform: scaleX(0); }
html.js [data-reveal].in .rule { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal] .rule { transform: none; }
  .fr:hover img, .tile:hover img, .pc:hover figure img, .pcard:hover, .ccard:hover { transform: none; }
}

/* print: every section shows, the header stops following */
@media print {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hd { position: static; }
  .mm, .skip, .car-btns { display: none; }
}

/* narrow screens */
@media (max-width: 1080px) {
  .nav { display: none; }
  .mm { display: block; }
  .hd-in > .btn { margin-left: auto; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-in, .ph.with-pic, .split, .two, .zig li, .box, .pl-grid, .pwrap, .facts3, .cards3, .ps-band { grid-template-columns: 1fr; }
  .zig li.rev .fr { order: 0; }
  .feats { grid-template-columns: 1fr; }
  .feats li, .feats li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .pidx { position: static; }
  .ps-split, .ps-tile { grid-template-columns: 1fr; }
  .ps-split .ps-pic, .ps-tile .ps-pic { aspect-ratio: 3 / 2; order: 0; }
  .box-pic { min-height: 200px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hd-in > .btn { display: none; }
  .mm { margin-left: auto; }
  .sec { padding: 52px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; }
  .tiles { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .box-in { padding: 26px; }
  .card { padding: 16px; }
  .frames .big { width: 88%; }
  .frnote { right: 0; }
  table.grid th[scope="row"] { min-width: 7em; }
}
