/* CreatorKit showcase. Palette: mist, ink, petrol, case yellow. */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --mist: #edf1f0;
  --paper: #ffffff;
  --ink: #10231f;
  --soft: #4a5d58;
  --petrol: #0e4f4a;
  --petrol-deep: #0a3a36;
  --yellow: #f5b80c;
  --line: #c9d3d0;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--petrol); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 44rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--mist); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: .55rem; font: 700 1.3rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: .3rem; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 1.6rem; }
.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: .95rem 1.35rem; border-radius: 10px; text-decoration: none; border: 2px solid transparent; }
.btn-solid { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-solid:hover { background: #ffc92e; border-color: #ffc92e; color: var(--ink); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-off { border: 2px dashed currentColor; opacity: .7; cursor: default; }
.plain { font-weight: 600; color: inherit; }

/* hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lead { font-size: 1.22rem; line-height: 1.5; color: var(--soft); margin-top: 1.4rem; max-width: 34em; }
.hero-shot { margin: 0; }
.frame { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .55rem; box-shadow: 0 1.6rem 3rem -1.4rem rgba(14, 79, 74, .45); }
.frame img { border-radius: 8px; border: 1px solid #e3e8e6; }
.hero-shot .frame { transform: rotate(1.4deg); }
figcaption { font-size: .92rem; color: var(--soft); margin-top: 1rem; }
.crumb { font-size: .95rem; color: var(--soft); margin-bottom: 2rem; }
.hero-product h1 + .lead { color: var(--ink); }

/* the kit tray: a lined case with one compartment per product */
.tray { background: var(--petrol); color: #eaf3f1; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.tray h2 { color: #fff; }
.tray-lead { color: #b9d2ce; margin-top: .8rem; max-width: 60ch; }
.slots { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 1.1rem; margin-top: 2.4rem; background: var(--petrol-deep); padding: 1.1rem; border-radius: 22px; box-shadow: inset 0 3px 10px rgba(0, 0, 0, .35); }
.slot { border-radius: 14px; }
.slot-full { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; }
.slot-img { background: var(--mist); display: block; overflow: hidden; border-right: 1px solid var(--line); }
.slot-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; min-height: 16rem; }
.slot-body { padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.slot-body h3 { font-size: 2rem; margin-bottom: .7rem; }
.slot-body h3 a { color: inherit; text-decoration: none; }
.slot-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.kind { font-size: .92rem; font-weight: 600; color: var(--petrol); margin-bottom: .5rem; }
.slot-empty { border: 2px dashed #3f7f79; padding: 1.6rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 14rem; color: #b9d2ce; }
.slot-empty .kind { color: var(--yellow); }
.slot-empty h3 { color: #fff; margin-bottom: .6rem; }
.slot-empty p:last-child { margin-bottom: 0; font-size: .98rem; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.4rem; margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.facts dt { font-size: .86rem; color: var(--soft); }
.facts dd { margin: 0; font-weight: 600; line-height: 1.35; }
.facts-light { margin-top: 2rem; }

.price { margin: 1.4rem 0 0; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.price strong { font: 700 2.2rem/1 var(--display); letter-spacing: -.02em; }
.price span { color: var(--soft); }
.price + .actions { margin-top: 1rem; }
.doc ul, .doc ol { padding-left: 1.2rem; max-width: 68ch; }
.doc li { margin-bottom: .5rem; }

/* plain sections */
.plain-sec { padding-block: clamp(3.2rem, 6.5vw, 5.2rem); }
.plain-sec.alt { background: var(--paper); border-block: 1px solid var(--line); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.includes { list-style: none; margin: 0; padding: 0; }
.includes li { padding: 1rem 0 1rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.includes li:first-child { padding-top: 0; }
.includes li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: .6rem; height: .6rem; background: var(--yellow); border-radius: 2px; }
.includes li:first-child::before { top: .55rem; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.8rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 1.1rem; }
.steps li::before { content: counter(step); grid-row: span 2; font: 700 2.6rem/1 var(--display); color: var(--petrol); }
.steps h3 { margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--soft); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.15rem/1.35 var(--display); padding: 1.05rem 2rem 1.05rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .85rem; font-size: 1.5rem; font-weight: 400; color: var(--petrol); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--soft); padding-bottom: .6rem; }
.faq details:first-child summary { padding-top: 0; }
.faq details:first-child summary::after { top: -.2rem; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin: 2.2rem 0 0; }
.features > div { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.features dt { font: 650 1.25rem/1.25 var(--display); margin-bottom: .45rem; }
.features dd { margin: 0; color: var(--soft); max-width: 46ch; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.4rem; }
.shots figure { margin: 0; }
.shots .frame { box-shadow: none; border-color: transparent; }
.shots figcaption { color: #b9d2ce; }

.doc h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1.4rem; }
.doc h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }

/* footer */
.foot { background: var(--ink); color: #c5d2ce; padding-block: 3rem; font-size: .98rem; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; }
.foot-brand { font: 700 1.3rem/1 var(--display); color: #fff; margin-bottom: .8rem; }
.foot nav { display: grid; gap: .5rem; align-content: start; }
.foot .small { grid-column: 1 / -1; font-size: .88rem; color: #93a6a1; border-top: 1px solid #2a403b; padding-top: 1.4rem; margin: 0; max-width: none; }

@media (max-width: 60rem) {
  .hero-in, .two, .slots, .slot-full { grid-template-columns: minmax(0, 1fr); }
  .slot-img { border-right: 0; border-bottom: 1px solid var(--line); }
  .slot-img img { min-height: 0; max-height: 15rem; }
  .slot-empty { min-height: 0; }
  .hero-shot .frame { transform: none; }
  .shots { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .features, .facts, .foot-in { grid-template-columns: minmax(0, 1fr); }
  .top nav { gap: 1rem; font-size: .92rem; }
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
