/* kawikalopez.com
   Hand written. No build step, no framework. Sections are numbered; add new ones at the end.

   01 Tokens
   02 Fonts
   03 Base
   04 Layout
   05 Type
   06 Header and menu
   07 Buttons, links, chips
   08 Pictures and the justified grid
   09 Home
   10 Store and collections
   11 Product
   12 Room preview
   13 Tables and lists
   14 Footer
   15 Small screens
   16 Reduced motion
   17 Sizes page
   18 About, contact, thanks
   19 Places and posts
*/

/* 01 Tokens ---------------------------------------------------------------- */
:root {
  --paper: #f4f2ed;
  --paper-2: #ebe7df;
  --ink: #1b1a18;
  --ink-2: #57534c;
  --rule: #d8d3c9;
  --accent: #0e5566;
  --accent-2: #0a4250;
  --on-accent: #ffffff;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --step-3: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);

  --gutter: 16px;
  --max: 1280px;
  --space: clamp(56px, 8vw, 104px);
  --radius: 2px;
}

/* 02 Fonts ----------------------------------------------------------------- */
/* Latin plus Latin Extended-A (kahakō) and U+02BB (ʻokina). Instrument Serif draws the
   ʻokina with its opening quote glyph. Licenses in assets/fonts/. */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* 03 Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 8px; color: var(--paper); }
::selection { background: var(--accent); color: var(--on-accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* 04 Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }
.section { padding-block: var(--space) 0; }
.section-tight { padding-block: 24px 0; }
main { padding-bottom: var(--space); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.cols2, .cols3 { display: grid; gap: 28px 48px; }
@media (min-width: 800px) {
  .cols2 { grid-template-columns: 1fr 1fr; }
  .cols3 { grid-template-columns: repeat(3, 1fr); }
}
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.band { background: var(--paper-2); padding-block: var(--space); margin-top: var(--space); }
.band + .section { padding-top: var(--space); }

/* 05 Type ------------------------------------------------------------------ */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-synthesis: none; line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 0.4em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); margin-bottom: 0.3em; }
p { margin: 0 0 1em; }
.eyebrow { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; font-weight: 500; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 38em; }
.fine { font-size: var(--step--1); color: var(--ink-2); line-height: 1.5; margin-top: 14px; max-width: 60ch; }
.prose { font-size: 1.0625rem; line-height: 1.75; max-width: 65ch; }
.prose p:last-child { margin-bottom: 0; }
.place { color: var(--ink-2); font-size: var(--step--1); letter-spacing: 0.02em; }
.count { font-size: var(--step--1); color: var(--ink-2); margin: 0 0 16px; }

/* 06 Header and menu ------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-row { display: flex; align-items: center; min-height: 72px; gap: 24px; }
/* The logo is traced vector art (tools/logo.py). The header uses the side-by-side version:
   signature, then KAWIKA LOPEZ over PHOTOGRAPHY. */
.logo { display: block; }
.brand { display: inline-flex; align-items: center; padding-block: 10px; }
.brand .logo-horizontal { height: 50px; width: auto; }
.brand:hover .logo { opacity: 0.75; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.brand { margin-right: auto; }
.cart-link { font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.cart-link:hover, .cart-link[aria-current="page"] { text-decoration: underline; }
.nav-list a, .menu-list a { text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"] { text-decoration: underline; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 0 10px 12px; font-size: 0.9375rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu-label::after { content: ""; display: inline-block; width: 14px; height: 8px; margin-left: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; vertical-align: middle; }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 12px 0; min-width: 220px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.menu-list a { display: block; padding: 10px 20px; }

/* 07 Buttons, links, chips ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: var(--radius);
  font: 500 0.9375rem/1.2 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-buy { width: 100%; background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-size: 1rem; min-height: 54px; }
.btn-buy:hover { background: var(--accent-2); border-color: var(--accent-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.more { font-size: 0.9375rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { display: inline-block; text-decoration: none; font-size: 0.875rem; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag { display: inline-block; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--rule); padding: 1px 7px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }

/* 08 Pictures and the justified grid ---------------------------------------- */
/* Rows keep every photograph at its true shape: each card grows in proportion to its aspect
   ratio (--r), so every image in a row ends up the same height. The ::after spacer stops the
   last row from stretching. */
.jgrid { --rowh: 260px; display: flex; flex-wrap: wrap; gap: 40px 20px; }
.jgrid-small { --rowh: 220px; }
.jgrid::after { content: ""; flex: 999 1 0; }
.card { flex: var(--r) 1 calc(var(--r) * var(--rowh)); min-width: 0; text-decoration: none; display: flex; flex-direction: column; }
.card picture { overflow: hidden; }
.card img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; transition: transform .5s ease, opacity .2s ease; }
.card:hover img { transform: scale(1.015); }
.card:hover { color: var(--ink); }
.card-text { display: flex; flex-direction: column; gap: 1px; padding-top: 12px; }
.card-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.card-sub { font-size: 0.875rem; color: var(--ink-2); }
.card-price { font-size: 0.875rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* 09 Home ------------------------------------------------------------------ */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero-text { display: grid; gap: 8px 64px; align-items: end; }
.hero-text h1 { margin-bottom: 0; max-width: 13em; }
.hero-side .lede { margin-bottom: 18px; }
@media (min-width: 960px) {
  .hero-text { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .hero-text .eyebrow { grid-column: 1 / -1; }
}
.hero-media { margin: clamp(32px, 5vw, 56px) 0 0; }
.hero-media img { width: 100%; }
@media (min-width: 900px) { .hero-media img { aspect-ratio: 16 / 7.4; object-fit: cover; object-position: 50% 38%; } }
.hero-media figcaption { font-size: var(--step--1); color: var(--ink-2); padding-top: 12px; }
.tiles { display: grid; gap: 20px; }
@media (min-width: 800px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.02); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.tile-label, .tile-count { position: absolute; left: 20px; z-index: 1; }
.tile-label { bottom: 38px; font-family: var(--serif); font-size: 2.25rem; line-height: 1; }
.tile-count { bottom: 16px; font-size: 0.875rem; letter-spacing: 0.04em; }
.tile:hover { color: #fff; }
.about-teaser p:not(.more-link) { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; max-width: 30em; }

/* 10 Store and collections ------------------------------------------------- */
.page-head { padding-top: clamp(24px, 4vw, 48px); padding-bottom: 32px; }
.page-head h1 { max-width: 14em; }
.crumbs { padding-top: 18px; font-size: var(--step--1); color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--rule); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* 11 Product --------------------------------------------------------------- */
.product-grid { display: grid; gap: 32px; padding-top: 24px; align-items: start; }
.product-media { margin: 0; }
.product-img { width: 100%; }
.product-info { display: grid; gap: 28px; }
.info-head h1 { font-size: var(--step-4); margin-bottom: 6px; }
.subtitle { font-size: var(--step-1); color: var(--ink-2); margin-bottom: 18px; }
.from { font-size: 0.9375rem; margin-bottom: 18px; }
.facts { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; color: var(--ink-2); display: grid; gap: 6px; }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: currentColor; }
.picker { border-top: 1px solid var(--rule); padding-top: 22px; }
.opt { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.opt legend { font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; padding: 0; font-weight: 500; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: var(--radius); font-size: 0.9375rem; font-variant-numeric: tabular-nums; background: transparent; transition: border-color .15s ease, background-color .15s ease; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 16px; }
.price [data-price] { font-family: var(--serif); font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price-note { font-size: var(--step--1); color: var(--ink-2); }
.prose-grid { display: grid; gap: 8px 64px; }
@media (min-width: 960px) {
  .product-grid { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 56px; }
  .product--vertical .product-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
  .product--vertical .product-img { max-height: 84vh; width: auto; margin-inline: auto; }
  .product--panoramic .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .product--panoramic .product-info { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 64px; align-items: start; }
  .product--panoramic .picker { border-top: 0; padding-top: 0; }
  .product-info { position: sticky; top: 24px; }
  .product--panoramic .product-info { position: static; }
  .prose-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .prose-grid h2 { font-size: var(--step-2); }
}
.materials { margin-top: 40px; }
.materials h3 { font-size: 1.75rem; }

/* 12 Room preview ---------------------------------------------------------- */
/* The print is placed in percentages of the room photo, computed from the wall's measured
   pixels per inch (tools/build.py viz_rect, mirrored in site.js). Shadows use container
   units so they scale with the room. */
.room { position: relative; container-type: inline-size; overflow: hidden; background: #2b2a28; }
.room > picture img { width: 100%; }
.room-print { position: absolute; transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; }
.room-print picture, .room-print img { width: 100%; height: 100%; }
.room-print img { object-fit: cover; }
.is-canvas .room-print { box-shadow: 0.28cqw 0.22cqw 0 rgba(12, 12, 12, .55), 0.9cqw 1.4cqw 1.6cqw rgba(0, 0, 0, .5); }
.is-canvas .room-print::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); pointer-events: none; }
.is-metal .room-print { box-shadow: 1.1cqw 1.6cqw 2cqw rgba(0, 0, 0, .55); }
.is-metal .room-print::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); background: linear-gradient(118deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 38%); }
.room-section .section-head { margin-bottom: 18px; }
.room-caption { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }

/* 13 Tables and lists ------------------------------------------------------ */
.table-wrap { overflow-x: auto; }
.sizes { width: 100%; max-width: 720px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sizes th, .sizes td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.sizes thead th { font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.sizes tbody th { font-weight: 500; }

/* 14 Footer ---------------------------------------------------------------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding-top: 56px; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo .logo-stacked { width: 210px; height: auto; }
.footer-logo:hover .logo { opacity: 0.75; }
.footer-brand p { color: var(--ink-2); max-width: 32em; }
.footer-h { font-family: var(--sans); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-base { margin-top: 48px; padding-block: 20px 28px; background: linear-gradient(var(--rule), var(--rule)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; font-size: var(--step--1); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 32px; justify-content: space-between; }
.footer-base p { margin: 0; }

/* 15 Small screens --------------------------------------------------------- */
@media (max-width: 859px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand .logo-horizontal { height: 44px; }
}
@media (max-width: 639px) {
  .jgrid { gap: 32px; }
  .card { flex: 1 1 100%; }
  .tile-label { font-size: 1.875rem; }
  .price [data-price] { font-size: 2.125rem; }
}

/* 16 Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card:hover img, .tile:hover img { transform: none; }
}

/* 17 Sizes page ------------------------------------------------------------ */
.h-note { font-family: var(--sans); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); vertical-align: middle; margin-left: 10px; }
.size-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .size-grid { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 48px; } }
.size-group .sizes { max-width: none; }
.room-ghost { position: absolute; border: 1.5px solid rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .04); }
.room-ghost.is-largest { border-style: solid; background: rgba(255, 255, 255, .07); }
.room-ghost span { position: absolute; left: 0; top: 0; transform: translateY(-100%); font-size: clamp(0.625rem, 1.1cqw, 0.8125rem); line-height: 1.6; letter-spacing: 0.04em; color: #fff; white-space: nowrap; padding: 0 4px; font-variant-numeric: tabular-nums; }

/* 18 About, contact, thanks ------------------------------------------------- */
.about-row, .contact-grid { display: grid; gap: 32px; align-items: center; }
.about-row + .about-row { margin-top: clamp(40px, 7vw, 88px); }
@media (min-width: 960px) {
  .about-row { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
  .about-row--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 72px; align-items: start; }
}
@media (max-width: 959px) {
  .about-row--flip .about-media { order: -1; }
}
.about-media { margin: 0; }
.about-media figcaption { font-size: var(--step--1); color: var(--ink-2); padding-top: 10px; }
.signoff { width: 180px; height: auto; margin: 28px 0 8px; }
.thanks { max-width: 760px; }
.thanks .signoff { width: 150px; margin: 0 0 24px; }
.form { display: grid; gap: 20px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-2); font-size: var(--step--1); margin-left: 6px; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fbfaf7;
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn { justify-self: start; min-width: 160px; }
.form-status { min-height: 1.6em; margin: 0; font-size: 0.9375rem; }
.form-status.is-error { color: #8a1c1c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside p { color: var(--ink-2); }
.contact-aside .footer-h { margin-top: 8px; }
.ask { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.9375rem; margin: 14px 0 0; }

/* 19 Places and posts ------------------------------------------------------ */
.draft-note { margin: 0; padding: 10px var(--gutter); background: #f3e2b3; color: #4a3a0c; font-size: var(--step--1); text-align: center; }
.place-hero, .post-hero { margin-top: 0; margin-bottom: 0; }
.place-hero img, .post-hero img { width: 100%; }
.place-hero figcaption, .post-hero figcaption { font-size: var(--step--1); color: var(--ink-2); padding-top: 10px; }
.post-hero { max-width: calc(1040px + 2 * var(--gutter)); }
.post-head { max-width: calc(820px + 2 * var(--gutter)); }
.place-body, .post-body { margin-inline: auto; padding-top: 16px; }
.post-body h2, .place-body h2 { font-size: var(--step-2); margin-top: 1.6em; }
.post-body h3 { font-size: 1.75rem; margin-top: 1.2em; }
.post-body ul, .post-body ol, .place-body ul { padding-left: 1.2em; }
.post-body li + li { margin-top: 0.4em; }
.inline-prints { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0; }
.inline-print { flex: var(--r) 1 calc(var(--r) * 200px); min-width: 0; text-decoration: none; display: flex; flex-direction: column; }
.inline-prints.is-one .inline-print { flex-basis: 100%; }
.inline-print img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; }
.inline-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding-top: 8px; font-size: 0.9375rem; line-height: 1.4; }
.inline-cap .card-title { font-size: 1.25rem; }
.inline-print:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; }
.chips-lg { list-style: none; padding: 0; margin: 0; }
.chips-lg a { font-size: 0.9375rem; padding: 9px 16px; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 1.0625rem; }
.more-place { margin-top: 20px; font-size: 0.9375rem; }
.tiles-places { gap: 20px; }
@media (min-width: 640px) and (max-width: 799px) { .tiles-places { grid-template-columns: 1fr 1fr; } }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.post-item { display: grid; gap: 16px 32px; text-decoration: none; align-items: center; }
@media (min-width: 800px) { .post-item { grid-template-columns: 360px minmax(0, 1fr); } }
.post-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-item-text { display: grid; gap: 6px; }
.post-item-text .eyebrow { margin: 0; }
.post-item-title { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; }
.post-item-desc { color: var(--ink-2); }
.post-item:hover .post-item-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

/* 20 Cart ------------------------------------------------------------------ */
html:not(.js) .js-only { display: none; }
.btn[hidden] { display: none; }
.added { margin: 10px 0 0; font-size: 0.9375rem; min-height: 1.4em; }
.cart { padding-top: 8px; }
.cart-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .cart-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.cart-thumb { width: 96px; height: 96px; object-fit: cover; background: var(--paper-2); }
.cart-title { font-family: var(--serif); font-size: 1.375rem; line-height: 1.15; text-decoration: none; }
.cart-title:hover { text-decoration: underline; }
.cart-meta { margin: 4px 0 10px; color: var(--ink-2); font-size: 0.9375rem; }
.cart-row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 0.9375rem; }
.cart-qty select { font: inherit; padding: 6px 8px; margin-left: 6px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); min-height: 40px; }
.cart-remove { font: inherit; background: none; border: 0; padding: 8px 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; min-height: 40px; }
.cart-remove:hover { color: var(--ink); }
.cart-line { margin: 0; font-variant-numeric: tabular-nums; }
.cart-summary { border: 1px solid var(--rule); padding: 24px; background: var(--paper); }
.cart-h { font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin: 20px 0 8px; }
.cart-totals { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.cart-totals dt { margin: 0; }
.cart-totals dd { margin: 0; text-align: right; }
.cart-summary .btn-buy { margin-top: 18px; }
.cart-status { margin: 12px 0 0; font-size: 0.9375rem; min-height: 1.4em; }
.cart-status.is-error { color: #8a1c1c; }
.cart-empty { font-size: 1.0625rem; }
@media (max-width: 639px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-thumb { width: 72px; height: 72px; }
  .cart-line { grid-column: 2; }
}
.checkout-wrap { margin-top: 48px; max-width: 760px; scroll-margin-top: 24px; }
.checkout-form { margin-top: 20px; min-height: 200px; }
.cart-ack { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 0.875rem; line-height: 1.45; cursor: pointer; }
.cart-ack input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.btn-buy:disabled { opacity: 0.45; cursor: not-allowed; }
