/* Kassie by Swartland CNC. Direction A: quiet and warm. */
:root {
  --paper: #F5F0E6;
  --paper-2: #EEE7D9;
  --card: #FBF8F1;
  --ink: #2B2620;
  --ink-2: #4A4338;
  --dim: #6F665A;
  --line: #D9CFBD;
  --ply: #B89B6B;
  --ok: #3F6B4A;
  --bad: #9B3B2E;
  --pad: max(clamp(18px, 4vw, 56px), calc((100vw - 1320px) / 2));
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
em { font-style: normal; font-weight: 300; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--pad); background: rgba(245,240,230,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.word { font-weight: 800; font-size: 28px; letter-spacing: -0.04em; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.word i { display: inline-block; width: 22px; height: 22px; border-left: 9px solid var(--ink); background: repeating-linear-gradient(180deg, var(--ink) 0 2.44px, transparent 2.44px 4.88px); }
.bar nav { display: flex; gap: clamp(14px, 2.4vw, 30px); font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--dim); }
.bar nav a:hover { color: var(--ink); }
.bar-cta { background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 760px) { .bar nav { display: none; } }

/* ---------- buttons, links ---------- */
.btn { display: inline-block; background: var(--ink); color: var(--paper); font: 600 16px/1 var(--sans); padding: 17px 28px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.wide { width: 100%; padding: 20px 28px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link::after { content: " →"; }

/* ---------- hero ---------- */
.hero { position: relative; margin: 6px max(clamp(10px, 2vw, 28px), calc((100vw - 1500px) / 2)) 0; border-radius: 0 0 18px 18px; overflow: hidden; min-height: min(80vh, 780px); display: flex; align-items: flex-end; background: var(--paper-2); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 62% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,240,230,.95) 0%, rgba(245,240,230,.8) 30%, rgba(245,240,230,0) 58%); }
.hero-copy { position: relative; z-index: 2; padding: clamp(26px, 5vw, 72px); max-width: 640px; }
.hero h1 { font-size: clamp(44px, 6vw, 92px); line-height: .94; letter-spacing: -0.045em; white-space: nowrap; }
.tagline { font-size: clamp(26px, 3vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 0; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); margin: 18px 0 28px; max-width: 44ch; text-wrap: pretty; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.price { font-size: 15px; color: var(--dim); }
.price b { color: var(--ink); font-size: 21px; font-weight: 800; }
.hero-cta .price span { white-space: nowrap; }
.nowrap { white-space: nowrap; }
@media (max-width: 700px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero picture { position: relative; height: 62vw; }
  .hero img { object-position: 70% 55%; }
  .hero::after { display: none; }
  .hero-copy { padding: 26px 20px 30px; }
}

/* ---------- three facts under the hero ---------- */
.facts { list-style: none; margin: 0; padding: 28px var(--pad) 0; font-size: 15px; font-weight: 400; color: var(--ink-2); display: grid; gap: 6px; }
.facts b { font-weight: 600; }
@media (min-width: 700px) { .facts { display: flex; flex-wrap: wrap; gap: 6px 40px; } }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 112px) var(--pad); }
.sec.tint { background: var(--paper-2); }
.sec-head { max-width: 900px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.02; }
.sec-head h2 em { display: block; }

/* ---------- uses ---------- */
.use-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.use-tabs button { font: 400 15px/1 var(--sans); border: 1px solid var(--line); border-radius: 999px; padding: 11px 17px; background: var(--card); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.use-tabs button:hover { border-color: var(--ink); }
.use-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.use-panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.use-img { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.use-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.use-img img.swap { opacity: 0; }
.use-img picture, .made-img picture { display: contents; }
.use-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.use-text .use-plus { font-size: 14px; color: var(--dim); margin: 12px 0 0; text-wrap: balance; }
.use-text h3 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 14px; }
.use-text p { color: var(--ink-2); margin: 0 0 18px; max-width: 44ch; }
.use-note { font-size: 14px; color: var(--dim) !important; }
@media (max-width: 860px) {
  .use-panel { grid-template-columns: 1fr; }
  /* the price sits under the button for every use */
  .use-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- how ---------- */
.how { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 2vw, 24px); }
.how article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.4vw, 30px); }
.how h3 { font-size: 23px; letter-spacing: -0.025em; margin: 0 0 10px; line-height: 1.1; }
.how p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
@media (min-width: 620px) { .how { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .how { grid-template-columns: repeat(4, 1fr); } }

/* ---------- order ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: clamp(22px, 4vw, 56px); align-items: start; }
@media (max-width: 940px) { .order { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
legend { font-weight: 800; font-size: 22px; letter-spacing: -0.025em; padding: 0; margin-bottom: 14px; }
/* Set cards: one shape at every width, square picture left, words right.
   Each card takes four rows of the list's grid (name, second line, price, save line),
   so cards side by side share their name line and their price line. */
.order-form { container-type: inline-size; }
.bundles { display: grid; grid-template-columns: 1fr; column-gap: 12px; row-gap: 0; }
@container (min-width: 600px) { .bundles { grid-template-columns: 1fr 1fr; } }
.bundle { grid-row: span 4; display: grid; grid-template-rows: subgrid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-content: center; margin: 0 0 12px; text-align: left; font-family: var(--sans); background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s; }
.bundle > :not(.bundle-pic) { grid-column: 2; }
.bundle b { grid-row: 1; align-self: end; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.bundle .b-desc { grid-row: 2; font-size: 14px; color: var(--dim); line-height: 1.35; text-wrap: balance; }
.bundle i { grid-row: 3; font-style: normal; font-weight: 800; font-size: 19px; line-height: 1.3; margin-top: 4px; }
.bundle .b-save { grid-row: 4; font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.35; }
.bundle-pic { grid-column: 1; grid-row: 1 / span 4; align-self: center; display: block; overflow: hidden; border-radius: 10px; width: 104px; height: 104px; }
.bundle-pic img { width: 100%; height: 100%; object-fit: cover; }
/* frame each square on its cubes */
.bundle[data-qty="1"] .bundle-pic img { object-position: 56% 50%; transform: scale(1.6); transform-origin: 50% 72%; }
.bundle[data-qty="2"] .bundle-pic img { object-position: 50% 50%; transform: scale(1.2); transform-origin: 50% 85%; }
.bundle[data-qty="3"] .bundle-pic img { object-position: 77% 50%; transform: scale(1.25); transform-origin: 50% 100%; }
.bundle[data-qty="4"] .bundle-pic img { object-position: 56% 50%; transform: scale(1.4); transform-origin: 50% 66%; }
.bundle:hover { border-color: var(--ink); }
.bundle.on { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.stepper label { font-size: 16px; text-wrap: pretty; }
label small { display: block; font-size: 13px; color: var(--dim); font-weight: 400; }
.step { display: inline-flex; align-items: center; border: 1.5px solid #948A78; border-radius: 999px; background: var(--card); flex: 0 0 auto; }
.step button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); border-radius: 999px; }
.step button:hover { background: var(--paper-2); }
.step button[disabled] { opacity: .35; cursor: default; }
.step button[disabled]:hover { background: none; }
.step input { width: 48px; text-align: center; border: 0; background: none; font: 600 17px var(--sans); color: var(--ink); -moz-appearance: textfield; padding: 0; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.extra { margin-top: 16px; }
.extra summary { list-style: none; cursor: pointer; font-size: 16px; font-weight: 400; color: var(--ink); min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.extra summary::-webkit-details-marker { display: none; }
.extra summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--ink-2); padding-right: 6px; }
.extra[open] summary::after { content: "\2212"; }
.extra .stepper { margin-top: 6px; }
.extra .hint { margin: 10px 0 0; }
.order-notes { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.order-notes p { margin: 0 0 8px; text-wrap: pretty; }
.order-notes b { font-weight: 600; }
.order-notes .link { white-space: nowrap; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--card); border: 1.5px solid #948A78; border-radius: 12px; padding: 14px 15px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field .bad, .field .bad:focus { border: 2px solid var(--bad); background: #f6e4df; }
.field-error { font-size: 14px; font-weight: 600; color: var(--bad); margin: 7px 0 0; }
.hint { font-size: 14px; color: var(--dim); margin: 8px 0 0; }
.field-label { font-size: 15px; font-weight: 600; margin: 0 0 7px; }
.field.region { margin: 26px 0 0; }
.field.region .field-label { font-size: 16px; }
/* step 1: add-a-cube link, total line */
.add-cube { display: block; min-height: 44px; text-align: left; margin: 14px 0 0; }
.total-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); margin-top: 12px; padding: 16px 0 0; }
.total-line span { display: block; font-size: 16px; font-weight: 600; }
.total-line small { display: block; font-size: 14px; color: var(--dim); }
.total-line b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
/* Stage A: the closed block in place of the step 1 button */
.closed { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.6vw, 28px); }
.closed:focus { outline: none; }
.closed h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 10px; }
.closed p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.notify { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.notify > p { margin-bottom: 14px; }
.notify .field { margin-bottom: 14px; }
.notify .hint a { color: inherit; text-underline-offset: 3px; }
.notify .btn { white-space: nowrap; }
@media (max-width: 620px) { .notify .btn { display: block; width: 100%; text-align: center; padding-left: 12px; padding-right: 12px; } }
.notify-done { margin-top: 18px !important; font-weight: 600; color: var(--ink) !important; }
.notify-done:focus { outline: none; }
.field .opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 15px; margin-bottom: 8px; background: var(--card); border: 1.5px solid #948A78; border-radius: 12px; font-size: 16px; font-weight: 400; cursor: pointer; }
.field .opt input { width: 20px; height: 20px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; flex: 0 0 auto; accent-color: var(--ink); }
.opt span { flex: 1; }
.opt b { font-weight: 600; white-space: nowrap; }
.field .opt.on { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.opt input:focus-visible { outline: none; }
@media (max-width: 400px) { .field .opt { font-size: 15px; } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; gap: 0; } }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree-line { font-size: 14px; color: var(--dim); margin: 12px 0 0; }
.form-error { background: #f6e4df; color: var(--bad); border-radius: 12px; padding: 13px 16px; font-size: 15px; margin: 0 0 16px; }

.summary { position: sticky; top: 92px; background: var(--card); border-radius: 18px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); }
.summary h3 { font-size: 24px; margin-bottom: 18px; letter-spacing: -0.03em; }
.summary dl { margin: 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.summary dt { color: var(--ink-2); }
.summary dt small { display: block; font-size: 14px; color: var(--dim); }
.summary dd { margin: 0; font-weight: 600; white-space: nowrap; }
.summary .total { border-bottom: 0; padding-top: 16px; font-size: 19px; }
.summary .total dt { color: var(--ink); font-weight: 800; }
.summary .total dd { font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.summary .saving { font-size: 15px; font-weight: 600; color: var(--ok); margin: 0 0 18px; }
button.link { font-family: var(--sans); font-size: 15px; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.promise { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px dashed var(--ply); display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.promise b { color: var(--ink); }
/* Below 941 px the summary belongs inside step 3 (Stage B). Stage A has no step 3, so it is not shown there. */
@media (max-width: 940px) { .summary { position: static; } .order > .summary { display: none; } }
.summary.in-form { margin-bottom: 34px; }
.summary.in-form .promise { display: none; }

/* ---------- box ---------- */
.box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .box { grid-template-columns: 1fr; } }
.list { margin: 0 0 20px; padding: 0; list-style: none; }
.list li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 8px; background: repeating-linear-gradient(90deg, var(--ply) 0 3px, transparent 3px 6px); }
.box p { color: var(--ink-2); }
.links { display: flex; gap: 26px; flex-wrap: wrap; }
.glance { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 16px; overflow: hidden; font-size: 15.5px; }
.glance caption { text-align: left; font-weight: 800; font-size: 22px; letter-spacing: -0.025em; padding: 0 0 14px; }
.glance th, .glance td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.glance tr:last-child th, .glance tr:last-child td { border-bottom: 0; }
.glance th { font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); width: 34%; }

/* ---------- made ---------- */
.made { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.made-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.made-img img { width: 100%; height: 100%; object-fit: cover; }
.made h2 { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.04; margin-bottom: 20px; }
.made p { color: var(--ink-2); max-width: 52ch; }
.made-cta { margin-top: 26px; }
@media (max-width: 860px) { .made { grid-template-columns: 1fr; } }

/* ---------- care, faq ---------- */
.care-head { font-size: 22px; letter-spacing: -0.025em; margin: clamp(36px, 5vw, 60px) 0 14px; }
.care { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(24px, 5vw, 72px); max-width: none; }
.care li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 760px) { .care { grid-template-columns: 1fr; } }
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 19px; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; }
.faq-ask { font-size: 16px; color: var(--ink-2); margin: 26px 0 0; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(40px, 6vw, 72px) var(--pad) 28px; }
.foot .word i { border-left-color: var(--paper); background: repeating-linear-gradient(180deg, var(--paper) 0 2.44px, transparent 2.44px 4.88px); }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(245,240,230,.16); }
.foot-top p { color: #b9b0a2; font-size: 15px; margin: 12px 0 0; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 36px; font-size: 15px; }
.foot-links a { color: #e4dccd; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.legal { font: 400 12px/1.6 var(--mono); letter-spacing: .03em; color: #9a9184; margin: 22px 0 0; }
@media (max-width: 560px) { .foot-links { grid-template-columns: 1fr; } }

/* ---------- policy pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--pad); }
.doc h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; letter-spacing: -0.025em; margin: 38px 0 10px; line-height: 1.15; }
.doc p, .doc li { color: var(--ink-2); }
.doc .updated { font: 400 12px var(--mono); letter-spacing: .06em; color: var(--dim); }

/* tidying (ruling 11, O7): no lone last words in running text */
main p, main li, .glance td { text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
