/* site-tokens: the token contract (space, type, layout, image roles, the pen), with the reference brand values.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

:root {
  /* Colour: paper, ink and one pen. Ratios are against --paper. */
  --paper: #fff;
  --ink: #111;              /* 18.9:1 text, headings, primary button, pen rule, focus */
  --ink-2: #595959;         /* 7.0:1 meta, captions, labels */
  --line: #e3e3e3;          /* hairline frame and rules, decorative only */
  --line-strong: #8c8c8c;   /* 3.4:1 form-field borders (non-text needs 3:1) */
  --accent: #ffcc00;        /* the pen only: never text, border, button or fill */
  --footer-band: #595959;   /* the footer band, the --ink-2 grey; white on it 7.0:1, the labels 6.0:1 */

  /* Type: Poppins 400, 400 italic and 500 */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-title: clamp(2rem, 1.4rem + 2.5vw, 3rem);         /* page title, 32-48 */
  --fs-h2: clamp(1.5rem, 1.2rem + 1.25vw, 2rem);         /* section heading, 24-32 */
  --fs-h3: 1.125rem;                                     /* subhead, card title, 18 */
  --fs-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);  /* intro, 18-20 */
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);   /* body, 16-17 */
  --fs-card: 1rem;                                       /* card text, captions, lists, 16 */
  --fs-small: 0.875rem;                                  /* meta only, 14 */
  --fs-label: 0.8125rem;                                 /* uppercase label, 13 */

  /* Space: a 4 px base */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 24px);
  --section: clamp(40px, 6vw, 80px);

  /* Shape: one radius, one hairline, no shadows. 12 px matches the rounded panels inside the drawings. */
  --radius: 12px;
  --frame: 1px solid var(--line);
  --control: 48px;
  --header: 64px;

  /* Layout: .wrap is the size container, so 100cqi is the content width */
  --content: 1120px;
  --measure: 40rem;

  /* Image roles: the size an image takes whatever column it sits in (phone values first) */
  --img-feature: 100cqi;
  --img-tile: 100cqi;
  --img-thumb: 96px;

  /* The pen: an ink rule between sections, a yellow marker behind title words, a drawn quote mark */
  --pen-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M1 7C18 5 34 8.5 52 6.2S84 4.4 99 6.8' fill='none' stroke='%23111' stroke-width='1.25' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pen-marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M2 6C30 3 68 4 98 2L97 16C66 18 32 17 3 19Z' fill='%23ffcc00' fill-opacity='.65'/%3E%3C/svg%3E");
  --pen-underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C18 5.5 34 9.5 52 6.8S84 4.6 98 7.6' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --pen-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 36'%3E%3Cpath d='M19 3C9 6 3 14 3.5 23.5c.3 5 3.4 8.5 7.6 8.5 4 0 6.9-3 6.9-6.8 0-3.9-3-6.7-6.6-6.7-.6 0-1 0-1.5.2C11 13 14.5 9 20.5 6.6ZM43 3C33 6 27 14 27.5 23.5c.3 5 3.4 8.5 7.6 8.5 4 0 6.9-3 6.9-6.8 0-3.9-3-6.7-6.6-6.7-.6 0-1 0-1.5.2C35 13 38.5 9 44.5 6.6Z' fill='%23ffcc00'/%3E%3C/svg%3E");
  --pen-strike: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M2 15C30 11 66 8 98 4' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
/* A feature picture beside text takes at most half the row, so the text keeps the other half below 1024 px. */
@media (min-width: 768px) { :root { --img-feature: min(520px, calc((100cqi - var(--s8)) / 2)); --img-tile: calc((100cqi - var(--gap)) / 2); } }
@media (min-width: 1024px) { :root { --header: 72px; --img-tile: calc((100cqi - 2 * var(--gap)) / 3); --img-thumb: 160px; } }

/* site-base: the reset, type by role, links, focus and reduced motion.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.7 var(--font); overflow-x: clip; }
img, iframe { max-width: 100%; }
img { display: block; height: auto; }

/* Type: sizes follow the role, not the element */
h1, h2, h3, h4 { font-weight: 500; font-style: normal; margin: 0 0 0.5em; text-wrap: balance; }
main :is(h1, h2, h3), .list-head p { font-size: var(--fs-h2); line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }
main .title { font-size: var(--fs-title); line-height: 1.15; letter-spacing: -0.02em; }
main .title.long { font-size: var(--fs-h2); line-height: 1.25; letter-spacing: -0.01em; }
main h4, .card :is(h2, h3), .product-title { font-size: var(--fs-h3); line-height: 1.4; letter-spacing: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.6; font-weight: 400; letter-spacing: 0; }
.small, .card p, figcaption, .product-info li p { font-size: var(--fs-card); line-height: 1.6; }
p, ul, ol, blockquote { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 500; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
/* One left edge: nothing is centred or right-aligned, whatever the page markup says. */
.center, .right { text-align: start; }
blockquote { margin-left: 0; padding-left: 1em; border-left: 3px solid var(--ink); }
hr { border: 0; border-top: var(--frame); width: 100%; margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

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

/* site-header: the sticky header, text nav and full-width phone menu.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Header and navigation */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 20; background: var(--paper); padding: 8px 12px; }
/* No backdrop-filter here: it would make the header the containing block of the fixed phone menu
   and clip the menu to the header's height. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header-inner { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.logo img { width: auto; height: 32px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-toggle .icon:last-child, .menu-open .menu-toggle .icon:first-child { display: none; }
.menu-open .menu-toggle .icon:last-child { display: block; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; white-space: nowrap; }
.site-nav a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.site-nav a[aria-current="page"] span { background: var(--pen-marker) 0 82% / 100% 62% no-repeat; padding: 0 0.15em; margin: 0 -0.15em; }
.site-nav a[aria-current="page"]:hover span { text-decoration: none; }
.menu-open .site-nav { display: block; position: fixed; inset: var(--header) 0 0; background: var(--paper); padding: var(--s2) var(--gutter); overflow-y: auto; }
.menu-open .site-nav li { border-bottom: var(--frame); }
.menu-open .site-nav a { display: flex; align-items: center; min-height: 56px; font-size: 1.25rem; font-weight: 500; }
.menu-open { overflow: hidden; }
.icon { width: 24px; height: 24px; flex: none; }
@media (min-width: 1024px) {
  .logo img { height: 40px; }
  .menu-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: clamp(14px, 1.5vw, 24px); }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; }
}

/* site-section: white bands separated by the drawn rule, and the one-left-edge row layout.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Sections: white paper, separated by space and one hand-drawn ink rule */
.band { padding: var(--section) 0; }
main > .band + .band { padding-top: 0; }
main > .band + .band::before { content: ""; display: block; height: 12px; max-width: var(--content); margin: 0 max(var(--gutter), (100% - var(--content)) / 2) var(--section); background: var(--pen-rule) 0 50% / 100% 100% no-repeat; }
main .band.grey, main .band.dark { background: none; color: inherit; }
.wrap { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: var(--gap); container-type: inline-size; }
.row, .col { display: contents; }
.b { order: var(--m, 0); min-width: 0; }
.b > :last-child, .card > :last-child, .text > :last-child { margin-bottom: 0; }
.text, .acc, .list-head { max-width: var(--measure); }
.anchor { display: block; }

@media (min-width: 768px) {
  .wrap { display: block; }
  .wrap > * + * { margin-top: var(--s6); }
  /* The author's column spans are ignored: columns share the row equally from the left edge. */
  .row { --media-w: var(--img-tile); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--s8); align-items: start; }
  .row + .row { margin-top: var(--s7); }
  .col { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
  .b { order: 0; }
  /* Text beside media: the media takes its role's width on the side the author put it. */
  .row:has(> .col.feature) { --media-w: var(--img-feature); }
  .row:has(> .col.thumb) { --media-w: var(--img-thumb); column-gap: var(--s5); }
  .row:has(> .col.media):has(> .col:not(.media)) { grid-template-columns: minmax(0, 1fr) var(--media-w); }
  .row:has(> .col.media:first-child):has(> .col:not(.media)) { grid-template-columns: var(--media-w) minmax(0, 1fr); }
}
/* A guest's portrait beside their entry stays a row on a phone, the name set as a card title. */
@media (max-width: 767px) {
  .row:has(> .col.thumb) { display: grid; grid-template-columns: var(--img-thumb) minmax(0, 1fr); column-gap: var(--s4); align-items: start; }
  .row:has(> .col.thumb) + .row:has(> .col.thumb) { margin-top: var(--s4); }
  .row:has(> .col.thumb) > .col { display: block; min-width: 0; }
}
.row:has(> .col.thumb) .text > p:first-child { font-size: var(--fs-h3); line-height: 1.4; font-weight: 500; margin-bottom: var(--s2); }
.row:has(> .col.thumb) .text > p { font-size: var(--fs-card); line-height: 1.6; }

/* site-image: one frame for every content image, sized by its role.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Images: one frame for every content image. Drawings arrive on white paper (images.py). */
.img { margin: 0; }
main img { border: var(--frame); border-radius: var(--radius); background: var(--paper); }
/* A cut-out (transparent corners) keeps its own shape. */
main img.cutout { border: 0; border-radius: 0; background: none; }
.img img { width: 100%; max-width: var(--img-feature); }
/* A drawing beside text sits whole in a square frame, whatever its own shape. */
.col.media img.drawing { aspect-ratio: 1; object-fit: contain; }
/* An image the author placed in a narrow column stays small on a phone. */
.img.narrow img { width: auto; max-width: min(100%, 220px); }
@media (min-width: 768px) { .img.narrow img { width: 100%; max-width: 100%; } }
figcaption { color: var(--ink); margin-top: var(--s3); }

/* site-video: a thumbnail until tapped.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Video: a thumbnail until tapped, as wide as its column */
.video a, .video iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; opacity: 0.92; transition: opacity 0.2s; }
.video a:hover img { opacity: 1; }
.video a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: var(--radius); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") 55% 50% / 28px no-repeat; }

/* site-button: one control height, one radius.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Buttons and fields: one control height, one radius */
.btns { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--control); padding: 0 var(--s5); border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font: 500 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn:hover { background: #333; border-color: #333; }
.btn.secondary { background: var(--paper); color: var(--ink); }
.btn[disabled] { background: var(--paper); color: var(--ink-2); border: 1px dashed var(--line-strong); cursor: not-allowed; }

/* site-card: a framed square picture with the words underneath, no box around the card.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Cards: a framed square picture with the words underneath on the paper; no box around the
   whole card. Photos, portraits and covers fill the square; drawings sit whole inside it. */
.list-head p { margin: 0; }
.card, .gallery.slides > figure, .gallery.reel > figure { position: relative; display: flex; flex-direction: column; gap: var(--s3); margin: 0; }
.card img, .gallery.slides img, .gallery.reel img, .carousel > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
main img.drawing { object-fit: contain; }
.card h2, .card p, .gallery figcaption p { margin: 0; }
.gallery figcaption { margin-top: 0; }
/* The card's link covers the whole card; hovering darkens the frame. */
.card p:not(.btns) a:first-of-type::after, .gallery.slides figcaption a::after { content: ""; position: absolute; inset: 0; }
:is(.card, .gallery.slides > figure):hover img { border-color: var(--ink-2); }
/* A card's button reads as its title, with an arrow. */
.card .btns .btn { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); font-size: var(--fs-h3); }
.card .btns .btn::after { content: "\2192"; font-weight: 400; }
.card .btns .btn::before { content: ""; position: absolute; inset: 0; }
.card .btns .btn:hover { background: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.cards { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
/* On a phone a list of cards becomes rows: the thumbnail beside the words. */
@media (max-width: 767px) {
  .cards .card { display: grid; grid-template-columns: var(--img-thumb) minmax(0, 1fr); align-items: center; column-gap: var(--s4); }
}
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* site-testimonial: a framed quote tile with the drawn quote mark.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Testimonial: the quote is the framed tile, with the drawn quote mark; the name sits below as a label. */
.card h2.quote { flex: 1; padding: var(--s5); border: var(--frame); border-radius: var(--radius); font-size: var(--fs-card); font-weight: 400; line-height: 1.6; letter-spacing: 0; text-wrap: wrap; }
.card h2.quote::before { content: ""; display: block; width: 40px; height: 30px; margin-bottom: var(--s3); background: var(--pen-quote) 0 0 / contain no-repeat; }
.card:has(> .quote) > p { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; color: var(--ink-2); }

/* site-carousel: whole cards only, arrows centred underneath.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Carousels: whole cards. A phone shows one card and the edge of the next, bleeding to the
   screen edge; two from 640 px; three from 1024 px. The arrows sit centred underneath. */
.carousel, .gallery.slides, .gallery.reel { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 1px var(--gutter); scroll-padding-inline: var(--gutter); }
.carousel::-webkit-scrollbar, .gallery.slides::-webkit-scrollbar, .gallery.reel::-webkit-scrollbar { display: none; }
.carousel > *, .gallery.slides > *, .gallery.reel > * { scroll-snap-align: start; }
.swipe-nav { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s4); }
.swipe-nav[hidden] { display: none; }
.swipe-nav button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: var(--frame); border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer; }
.swipe-nav button:hover { border-color: var(--ink); }
.swipe-nav button[disabled] { opacity: 0.3; cursor: default; }
@media (min-width: 640px) { .carousel, .gallery.slides, .gallery.reel { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1024px) {
  .carousel, .gallery.slides, .gallery.reel { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
  /* The six testimonials all show on a desktop: a 3 x 2 grid, nothing to scroll. */
  .carousel:has(> .card > .quote) { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
}

/* site-product: product grid and the product page with its sticky picture.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Shop */
.products { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; gap: var(--s2); text-decoration: none; }
.product-title { margin: var(--s1) 0 0; }
.price { color: var(--ink-2); margin: 0; }
/* Product page: the picture beside the text, staying in view while the description scrolls;
   the Buy button sits directly under the price. */
.product { display: grid; gap: var(--s5); }
.product-media { display: grid; gap: var(--gap); }
.product-media img { width: 100%; }
.product-info { max-width: var(--measure); }
.product-info .price { font-size: var(--fs-lead); color: var(--ink); font-weight: 500; margin-bottom: var(--s4); }
.product-info .btns { margin-bottom: var(--s6); }
@media (min-width: 768px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product { grid-template-columns: minmax(0, var(--img-feature)) minmax(0, 1fr); gap: var(--s8); align-items: start; }
  /* Centred in the space under the header, so no tall blank stretch opens above or below it;
     at most 160 px down, so on a tall narrow window it still starts near the title. */
  .product-media { position: sticky; top: clamp(calc(var(--header) + var(--s5)), calc(50svh + var(--header) / 2 - var(--img-feature) / 2), calc(var(--header) + 160px)); }
}

/* site-pen: the hand-drawn marker, underline and strike behind words.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Pen highlights: strokes behind the words, repeated on each line they wrap to.
   The marker is for title words; the underline for one phrase in running text; the
   circle is retired and draws the underline. */
.hl { background: none; color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-repeat: no-repeat; }
.hl-underline, .hl-circle { padding-bottom: 0.12em; background-image: var(--pen-underline); background-size: 100% 0.42em; background-position: 0 100%; transition: background-size 0.15s; }
.hl-marker { padding: 0 0.15em; margin: 0 -0.15em; background-image: var(--pen-marker); background-size: 100% 62%; background-position: 0 82%; transition: background-size 0.15s; }
.hl-strike { background-image: var(--pen-strike); background-size: 100% 100%; }
/* A highlighted link is shown by its pen stroke alone; hovering thickens the stroke. */
.hl a, a .hl { text-decoration: none; }
.hl-marker:has(a:hover), a:hover .hl-marker { background-size: 100% 86%; }
:is(.hl-underline, .hl-circle):has(a:hover), a:hover :is(.hl-underline, .hl-circle) { background-size: 100% 0.6em; }

/* site-footer: the dark band that ends every page.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Footer: the dark band that ends every page */
.site-footer .band { padding: var(--s8) 0; background: var(--footer-band); color: var(--paper); }
.site-footer :is(h1, h2, h3) { font-size: var(--fs-h3); line-height: 1.4; }
.site-footer p { font-size: var(--fs-small); }
.site-footer strong { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #ededed; }
.site-footer a { text-decoration-color: rgba(255, 255, 255, 0.5); }
.site-footer .col:not(:first-child) a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer .col:not(:first-child) a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .site-footer .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); }
  .site-footer .col { display: flex; flex-direction: column; gap: var(--s4); }
  .site-footer .col:first-child { grid-column: 1 / -1; }
  /* Both link columns' heads take two lines, so their links start level. */
  .site-footer .col:not(:first-child) .text > p:first-child { min-height: 2lh; }
}
@media (min-width: 768px) {
  .site-footer .row { grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; }
}

/* site-consent: the non-modal consent bar.
 *
 * VENDORED VERBATIM from project-scaffolding (app/site/static/_vendored/). Do NOT edit
 * this file per-site: a site's brand is token values in its own stylesheet, loaded
 * after this one. Contract: README.md beside this file.
 */

/* Consent: a bar fixed to the bottom edge. Nothing is dimmed, disabled or trapped. */
.site-consent { position: fixed; inset: auto 0 0; z-index: 50; padding: var(--s4) var(--gutter); background: var(--paper); color: var(--ink); border-top: 1px solid var(--line-strong); }
.site-consent[hidden] { display: none; }
.site-consent:focus { outline: none; }
.site-consent .consent-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); max-width: var(--content); margin: 0 auto; }
.site-consent p { flex: 1 1 24rem; max-width: var(--measure); margin: 0; font-size: var(--fs-card); line-height: 1.5; }
.site-consent .consent-actions { display: flex; gap: var(--s3); }
/* Accept and Reject are one style: neither is the louder choice. */
.site-consent button { min-height: var(--control); min-width: 7rem; padding: 0 var(--s5); border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 500 1rem/1.2 var(--font); cursor: pointer; }
.site-consent button:hover { background: var(--line); }
.site-consent :is(a, button):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* A control focused behind the bar scrolls clear of it, and the page end stays reachable. */
html:has(.site-consent:not([hidden])) { scroll-padding-bottom: var(--consent-h, 8rem); }
html:has(.site-consent:not([hidden])) body { padding-bottom: var(--consent-h, 8rem); }
@media (max-width: 479px) {
  .site-consent .consent-actions { width: 100%; }
  .site-consent button { flex: 1; }
}

/* robertoferraro.net: the rules only this site has, loaded after the vendored site components
 * (content/static/_vendored/, in the order render.py links them). The brand is the components'
 * own token values; this file adds the Poppins @font-face rules, the embeds, the accordion,
 * the social links, the galleries and the forms. Design rules: docs/design.md.
 */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/poppins-400-latin.7d93459d86.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/poppins-400-latin-ext.0b1fcab42c.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/poppins-400i-latin.50d0c1742d.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/poppins-400i-latin-ext.1e91b430eb.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/poppins-500-latin.93861180f8.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/poppins-500-latin-ext.20c98a003e.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* A heading set at the size of a card heading, whatever its outline level, so the outline has no skipped level */
main :is(h2, h3).minor, main h3.quote { font-size: var(--fs-h3); line-height: 1.4; letter-spacing: 0; }
/* Embeds */
.embed iframe { display: block; width: 100%; border: 0; }
/* Accordion */
.acc details { border-top: var(--frame); }
.acc details:last-child { border-bottom: var(--frame); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 56px; font-weight: 500; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h4 { margin: 0; font-size: var(--fs-body); font-weight: 500; letter-spacing: 0; }
.acc summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.acc details[open] summary::after { content: "\2212"; }
.acc details > :not(summary) { margin-top: 0; }
.acc details[open] { padding-bottom: var(--s3); }

/* Social links */
.social { display: flex; flex-wrap: wrap; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: var(--frame); border-radius: var(--radius); }
.social a:hover { border-color: var(--ink); }
/* Galleries */
.gallery { margin: 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; }
.gallery.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.strips { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery.strips figure { flex: var(--r) 1 calc(var(--r) * 150px); }
.gallery.strips img { height: 100%; object-fit: cover; }
.gallery.strips::after { content: ""; flex: 10 1 0; }
@media (min-width: 768px) {
  .gallery.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery.strips figure { flex-basis: calc(var(--r) * 240px); }
}
/* Forms: 16 px text so iOS does not zoom into a field */
.form { display: flex; flex-direction: column; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: var(--s2); font-size: var(--fs-small); font-weight: 500; }
.field small.req { color: var(--ink-2); font-weight: 400; }
.field input, .field select { height: var(--control); }
.field input, .field textarea, .field select { width: 100%; padding: 0 var(--s4); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--font); }
.field textarea { padding: var(--s3) var(--s4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field-row { display: grid; gap: var(--s4); }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: var(--s2); }
.scale { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.scale label { display: flex; align-items: center; gap: var(--s2); font-weight: 400; }
.scale input { width: auto; height: auto; }
.form-note { font-size: var(--fs-small); color: var(--ink-2); margin: 0; }
.form-status { margin: 0; font-weight: 500; }
/* Newsletter: field and button on one row, the same height, radius and text size. */
.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--s2); max-width: var(--measure); }
.subscribe .btn { height: var(--control); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Conversation cards: a wrapped card title keeps the 1.5 running-text leading, and card paragraphs stop below 75 characters (Poppins runs about 80 characters in the 40rem measure). */
.row:has(> .col.thumb) .text > p:first-child { line-height: 1.5; }
.text > p { max-width: 35rem; }
