/* Wild Boar Barbecue & Kitchen: "Cookout Magazine". A charcoal cover, cream feature pages, an ember spread for the
   collaboration angle. Barlow Condensed for cover lines and labels, Manrope for reading. Phone first (360px). */

:root {
  --char: #191714;          /* cover pages, type on cream */
  --char-2: #24211d;        /* raised charcoal */
  --char-3: #100f0d;        /* footer */
  --cream: #f4ecdf;         /* feature pages, type on charcoal */
  --cream-2: #eadfcc;       /* picks band, notes panels */
  --soft: #d6cbbb;          /* secondary text on charcoal (11:1) */
  --mute: #5a5248;          /* secondary text on cream (7:1) */
  --ember: #ff6b2c;         /* vivid ember: display words, rules and active marks on charcoal only */
  --ember-deep: #b83c0c;    /* ember fields with cream type (4.8:1), ember text on cream */
  --ember-dark: #8f2e08;    /* pressed / hover on ember fields */
  --display: 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  --body: 'Manrope', 'Manrope Fallback', sans-serif;
  --radius: 12px;           /* photo plates: the same everywhere */
  --gut: 16px;
  --frame: min(1320px, 100% - 2 * var(--gut));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hdr: 64px;
}
@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 1000px) { :root { --gut: 40px; --hdr: 78px; } }

/* metric-matched fallbacks so the swap does not shift the page */
@font-face { font-family: 'Barlow Condensed Fallback'; src: local('Arial Narrow'), local('Arial'); size-adjust: 82%; ascent-override: 110%; descent-override: 28%; }
@font-face { font-family: 'Manrope Fallback'; src: local('Arial'); size-adjust: 104%; ascent-override: 102%; descent-override: 29%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); scrollbar-color: var(--ember-deep) var(--char); }
html.is-locked { overflow: hidden; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--char); color: var(--cream); font-family: var(--body); font-size: 1rem; line-height: 1.6; font-feature-settings: 'lnum'; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .22em; }
p, h1, h2, h3, h4, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ember); color: var(--char); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
/* vivid ember is for charcoal only: on cream and on the deep-ember spread the focus ring takes the ink colour */
.cooks :focus-visible, .picks :focus-visible, .faq :focus-visible, .sheet :focus-visible { outline-color: var(--char); }
.collab :focus-visible { outline-color: var(--cream); }
input, textarea, select { caret-color: var(--ember-deep); }
.ic { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ember-deep); color: var(--cream); padding: 12px 18px; border-radius: 8px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.frame { width: var(--frame); margin-inline: auto; }

/* ------------------------------------------------------------------ type */
.sec-h { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 13vw, 6.25rem); line-height: .86; letter-spacing: -.005em; text-wrap: balance; }
.sec-h--long { text-transform: none; font-size: clamp(2.6rem, 9.5vw, 4.75rem); line-height: .92; letter-spacing: -.01em; }
.sec-dek { font-size: 1.0625rem; line-height: 1.6; max-width: 46ch; margin-top: 18px; }
.sec-head { display: grid; gap: 0; margin-bottom: 32px; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 48px; margin-bottom: 44px; }
  .sec-dek { margin-top: 0; justify-self: end; font-size: 1.125rem; }
}
.dateline { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; line-height: 1.25; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 1.1875rem; letter-spacing: .045em; text-transform: uppercase; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ember { background: var(--ember-deep); color: var(--cream); }
.btn--ember:hover { background: var(--ember-dark); }
.btn--char { background: var(--char); color: var(--cream); }
.btn--char:hover { background: var(--ember-deep); }
.btn--cream { background: var(--cream); color: var(--char); }
.btn--cream:hover { background: #fff8ee; }
.btn--line { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--line:hover { background: var(--cream); color: var(--char); }
.btn--line-dark { border-color: var(--char); color: var(--char); background: transparent; }
.btn--line-dark:hover { background: var(--char); color: var(--cream); }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; border: 2px solid rgba(244, 236, 223, .28); background: transparent; color: var(--cream); cursor: pointer; }
.icon-btn:hover { border-color: var(--cream); }
.icon-btn--dark { color: var(--char); border-color: rgba(25, 23, 20, .3); }
.icon-btn--dark:hover { border-color: var(--char); }

/* ------------------------------------------------------------------ wordmark (type only: no logo is drawn) */
.wm { display: inline-grid; line-height: 1; text-transform: uppercase; }
.wm-a { font-family: var(--display); font-weight: 800; font-size: 1.625rem; letter-spacing: .01em; color: var(--cream); }
.wm-b { font-family: var(--display); font-weight: 600; font-size: .8125rem; letter-spacing: .2em; color: var(--ember); margin-top: 2px; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--char); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: rgba(244, 236, 223, .16); box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
.header-in { display: flex; align-items: center; gap: 16px; height: var(--hdr); }
.brand { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.nav { display: none; }
.hdr-cta { gap: 0; padding: 0 14px; font-size: 1rem; }
.hide-sm { display: none; }
@media (max-width: 599px) { .header-in { gap: 10px; } }
@media (min-width: 600px) { .hide-sm { display: inline; } }
@media (min-width: 1000px) {
  .wm-a { font-size: 1.875rem; }
  .wm-b { font-size: .875rem; }
  .nav { display: block; }
  .nav ul { display: flex; gap: 6px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-family: var(--display); font-weight: 700; font-size: 1.1875rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--cream); white-space: nowrap; }
  .nav a:hover { color: var(--ember); }
  .hdr-cta { margin-left: 10px; padding: 0 16px; font-size: 1.0625rem; }
  .menu-btn { display: none; }
}

/* ------------------------------------------------------------------ photo plates: own colour inside a frame, filled caption bar */
.plate { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--char-2); isolation: isolate; }
.plate img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.plate-link { display: block; overflow: hidden; }
.plate-link img { transition: transform .6s var(--ease); }
.plate-link:hover img { transform: scale(1.035); }
.plate-bar { background: var(--ember-deep); color: var(--cream); font-family: var(--display); font-weight: 600; font-size: .9375rem; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; padding: 9px 12px; }
/* an open plate: the photo keeps its corners, a plain caption sits underneath (cover pair, Meet Matt) */
.plate--open { background: none; overflow: visible; border-radius: 0; }
.plate--open img { border-radius: var(--radius); }
.plate-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-top: 10px; font-size: .875rem; line-height: 1.4; color: var(--soft); }
.plate-cap b { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cream); }
/* the badge is a photo of the real mark: always whole, square and never rounded */
.badge img { width: 100%; aspect-ratio: 1 / 1; border-radius: 0; }

/* ------------------------------------------------------------------ cover: "wherever we cook" = the home kitchen beside the campsite */
.cover { padding: 0 0 8px; background: var(--char); }
.cover-in { display: grid; }
.cover-pair { order: -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; margin-inline: calc(-1 * var(--gut)); }
.cover-pair img { aspect-ratio: 4 / 5; border-radius: 0; }      /* edge to edge on phones, so square */
.cover-pair .plate-cap { padding: 8px 10px 0; }
.cover-pair .plate:first-child .plate-cap { padding-left: var(--gut); }
.cover-copy { padding-top: 22px; }
.cover-h { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(3.5rem, 20vw, 6.5rem); line-height: .84; letter-spacing: -.01em; }
.cover-h .ln { display: block; }
.cover-h .ln1, .cover-h .ln2 { color: var(--cream); }
.cover-h .ln3, .cover-h .ln4 { color: var(--ember); }
.cover-dek { margin-top: 20px; font-size: 1.125rem; line-height: 1.55; color: var(--soft); max-width: 34ch; }
.cover-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cover-foot { display: grid; margin-top: 36px; border-top: 2px solid rgba(244, 236, 223, .16); }
.cover-bio { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px 0; }
.badge--cover img { width: 88px; }
.bio-line { display: grid; gap: 4px; }
.bio-line .q { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--cream); }
.bio-src { font-size: .875rem; color: var(--soft); }
.cover-lines { display: grid; border-top: 1px solid rgba(244, 236, 223, .12); }
.cover-lines li + li { border-top: 1px solid rgba(244, 236, 223, .12); }
.cover-lines a { display: grid; gap: 3px; padding: 14px 0 16px; text-decoration: none; }
.cl-t { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; color: var(--cream); transition: color .2s; }
.cl-l { font-size: .9375rem; color: var(--soft); }
.cover-lines a:hover .cl-t { color: var(--ember); }

@media (min-width: 600px) {
  .cover-pair img { aspect-ratio: 1 / 1; }
  .cover-h .ln1, .cover-h .ln2 { display: inline; }
  .cover-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .cover-lines li + li { border-top: 0; }
}
@media (min-width: 900px) {
  .cover { padding: 36px 0 0; }
  .cover-in { grid-template-columns: minmax(0, 1fr) min(600px, 46%); column-gap: clamp(40px, 5vw, 80px); align-items: center; }
  .cover-pair { order: 0; margin: 0; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
  .cover-pair .plate { display: flex; flex-direction: column; }
  .cover-pair img { border-radius: var(--radius); }
  .cover-plate--home img { aspect-ratio: 3 / 4; }
  .cover-plate--camp img { flex: 1 1 0; min-height: 0; height: 100%; aspect-ratio: auto; object-position: 78% 50%; }   /* same height as the beef, label kept */
  .cover-pair .plate-cap, .cover-pair .plate:first-child .plate-cap { padding: 10px 0 0; }
  .cover-copy { padding: 0; container-type: inline-size; }
  /* adaptation: BIG FLAVOUR. shares a line here, so the H1 runs three lines and the cover lines stay in the first view */
  .cover-h { font-size: min(20cqi, 8.5rem); }
  .cover-dek { font-size: 1.25rem; margin-top: 26px; }
  .cover-cta { margin-top: 30px; }
  .cover-foot { grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr); column-gap: 40px; margin-top: 32px; }
  .cover-lines { border-top: 0; }
  .cover-lines a { padding: 20px 0; }
  .cl-t { font-size: 1.625rem; }
}

/* ------------------------------------------------------------------ the cooks: a lead feature, then four in a row */
.cooks { background: var(--cream); color: var(--char); padding: 64px 0 72px; }
.cooks .sec-dek { color: var(--mute); }
.cooks .sec-h span, .faq .sec-h span { color: var(--ember-deep); }
.picks .sec-h span { color: var(--ember-dark); }   /* the picks band is a shade darker: deep ember would dip under 4.5:1 */
.filters { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.js .filters { display: flex; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 2px solid var(--char); background: transparent; color: var(--char); cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.chip .n { font-family: var(--body); font-weight: 700; font-size: .8125rem; letter-spacing: 0; min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--cream-2); color: var(--char); }
.chip:hover { background: var(--cream-2); }
.chip[aria-pressed="true"] { background: var(--char); color: var(--cream); }
.chip[aria-pressed="true"] .n { background: var(--ember-deep); color: var(--cream); }
.cook-list { display: grid; border-top: 2px solid var(--char); }
.cook { padding: 24px 0 28px; border-bottom: 2px solid var(--char); }
.cook[hidden] { display: none; }
/* phones: a compact row, the photo beside the title and Matt's words, the rest underneath */
.cook-in { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start; }
.cook-plate { grid-column: 1; grid-row: 1 / span 3; }
.cook-plate .plate-bar { font-size: .8125rem; padding: 7px 9px; }
.cook-text { display: contents; }
.cook-t, .cook .dateline, .cook-q { grid-column: 2; }
.cook-dek, .notes, .notes-fold, .notes-src, .ig-link { grid-column: 1 / -1; }
.cook-t { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 7.6vw, 2.25rem); line-height: .92; text-wrap: balance; }
.cook .dateline { color: var(--ember-deep); margin-top: 8px; font-size: .9375rem; }
.cook-q { margin-top: 12px; }
.cook-q p { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 5.4vw, 1.5rem); line-height: 1.14; color: var(--ember-deep); text-wrap: balance; }
.cook-dek { margin-top: 18px; font-size: 1.0625rem; line-height: 1.6; max-width: 56ch; }
.notes { margin-top: 16px; border-top: 2px solid var(--char); max-width: 620px; }
.notes + .notes-fold > summary { border-top: 0; }
.notes > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(25, 23, 20, .22); }
.notes dt { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.4; }
.notes dd { font-size: .9375rem; line-height: 1.5; padding-top: 1px; }
.notes-fold { max-width: 620px; border-bottom: 1px solid rgba(25, 23, 20, .22); }
.notes-fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; letter-spacing: .05em; text-transform: uppercase; color: var(--char); }
.notes-fold summary::-webkit-details-marker { display: none; }
.notes-fold summary .ic { color: var(--ember-deep); transition: transform .25s var(--ease); }
.notes-fold[open] summary .ic { transform: rotate(180deg); }
.notes-fold summary:hover { color: var(--ember-deep); }
.notes-fold .notes { margin: 0; border-top: 1px solid rgba(25, 23, 20, .22); }
.notes-fold .notes > div:last-child { border-bottom: 0; }
.notes-src { margin-top: 8px; font-size: .8125rem; color: var(--mute); }
.ig-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ember-deep); text-decoration: underline; text-decoration-color: currentColor; width: fit-content; }
.ig-link:hover { color: var(--char); }
/* the lead: the whole reel frame */
.cook--lead .cook-in { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
.cook--lead .cook-plate { grid-row: auto; margin-bottom: 20px; }
.cook--lead .cook-plate img { aspect-ratio: 4 / 5; object-position: 50% 55%; }
.cook--lead .cook-plate .plate-bar { font-size: .9375rem; padding: 9px 12px; }
.cook--lead .cook-t, .cook--lead .dateline, .cook--lead .cook-q { grid-column: 1; }
.cook--lead .cook-t { font-size: clamp(2.75rem, 13vw, 4rem); line-height: .88; }
.cook--lead .cook-q p { font-size: clamp(1.75rem, 7.4vw, 2.25rem); line-height: 1.12; }

@media (min-width: 600px) {
  .cook-text { display: block; }
  .cook-in, .cook--lead .cook-in { grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: none; column-gap: 32px; }
  .cook-plate, .cook--lead .cook-plate { grid-row: auto; margin: 0; }
  .cook--lead .cook-in { grid-template-columns: 280px minmax(0, 1fr); }
  .cook--lead .cook-plate img { aspect-ratio: 9 / 16; }
}
@media (min-width: 900px) {
  .cooks { padding: 96px 0 112px; }
  .cook-t { font-size: 2.5rem; }
}
@media (min-width: 1200px) {
  .cook-list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; border-top: 0; border-bottom: 2px solid var(--char); }
  .cook { border-top: 2px solid var(--char); border-bottom: 0; padding: 28px 0 40px; }
  .cook--lead { grid-column: 1 / -1; padding: 40px 0 64px; }
  .cook:not(.cook--lead) .cook-in, .cook:not(.cook--lead) .cook-text { display: flex; flex-direction: column; }
  .cook:not(.cook--lead) .cook-in { height: 100%; }
  .cook:not(.cook--lead) .cook-text { flex: 1; }
  .cook:not(.cook--lead) .notes-src { margin-top: auto; padding-top: 14px; }   /* the reel links line up along one baseline */
  .cook:not(.cook--lead) .cook-plate { margin-bottom: 20px; }
  .cook:not(.cook--lead) .cook-t { font-size: 2.125rem; }
  .cook:not(.cook--lead) .cook-q p { font-size: 1.375rem; }
  .cook:not(.cook--lead) .cook-dek { font-size: 1rem; margin-top: 14px; }
  .cook:not(.cook--lead) .notes > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cook--lead .cook-in { grid-template-columns: 360px minmax(0, 1fr); column-gap: 64px; align-items: center; }
  .cook--lead .cook-text { max-width: 780px; }
  .cook--lead .cook-t { font-size: clamp(4.5rem, 6.4vw, 6.5rem); }
  .cook--lead .dateline { font-size: 1.0625rem; margin-top: 14px; }
  .cook--lead .cook-q { margin-top: 26px; }
  .cook--lead .cook-q p { font-size: clamp(2.5rem, 3.6vw, 3.25rem); }
  .cook--lead .cook-dek { font-size: 1.1875rem; margin-top: 22px; }
  .cook--lead .notes { margin-top: 24px; }
  .cook--lead .notes > div { grid-template-columns: 150px minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ meet matt: Matt's own line first, then the profile */
.matt { background: var(--char); padding: 72px 0 80px; }
.voice { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 2px solid rgba(244, 236, 223, .16); }
.voice p { font-family: var(--display); font-weight: 700; font-size: clamp(2.125rem, 8.6vw, 5.25rem); line-height: 1.06; letter-spacing: -.005em; color: var(--cream); max-width: 31ch; text-wrap: balance; }
.voice em { font-style: normal; color: var(--ember); }
.voice figcaption { margin-top: 18px; font-size: .9375rem; color: var(--soft); }
.voice figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ember); }
.matt-in { display: grid; gap: 32px; }
.matt-plate { max-width: 560px; }
.matt-plate img { aspect-ratio: 1 / 1; }
.matt-copy { display: grid; gap: 18px; align-content: start; }
.matt-copy > p { font-size: 1.0625rem; line-height: 1.65; color: var(--soft); max-width: 48ch; }
.matt-copy .sec-h { color: var(--cream); margin-bottom: 6px; }
.matt-copy > .bio-note { font-size: .9375rem; color: var(--soft); border-top: 2px solid var(--ember); padding-top: 12px; }
.yt { margin-top: 10px; }
.yt-h { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; color: var(--cream); margin-bottom: 8px; }
.yt-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; border-bottom: 1px solid rgba(244, 236, 223, .14); }
.yt-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; text-decoration: none; font-weight: 700; line-height: 1.35; color: var(--cream); }
.yt-list a .ic { color: var(--ember); }
.yt-list a:hover span { text-decoration: underline; }
.yt-d { font-size: .875rem; color: var(--soft); white-space: nowrap; }
@media (min-width: 900px) {
  .matt { padding: 112px 0 112px; }
  .voice { padding-bottom: 72px; margin-bottom: 80px; }
  .matt-in { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .matt-plate img { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------------ collaboration angle: the deep-ember spread, cream type only */
.collab { background: var(--ember-deep); color: var(--cream); padding: 72px 0 80px; }
.collab .sec-dek { color: var(--cream); }
.angles-q { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 6vw, 2.25rem); line-height: 1.1; margin-bottom: 16px; }
.angle-tabs { display: none; gap: 8px; margin-bottom: 28px; }
.js .angle-tabs { display: grid; }
.angle-tab { position: relative; min-height: 60px; padding: 0 18px; border-radius: 10px; border: 2px solid var(--cream); background: transparent; color: var(--cream); cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.angle-tab:hover { background: rgba(25, 23, 20, .22); }
.angle-tab[aria-selected="true"] { background: var(--char); border-color: var(--char); color: var(--cream); }
.angle-tab[aria-selected="true"]::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--ember); margin-right: 12px; vertical-align: .12em; }
.angle-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.angle { display: grid; gap: 22px; }
.js .angle[data-off] { display: none; }
html:not(.js) .angle + .angle { border-top: 2px solid rgba(244, 236, 223, .4); padding-top: 26px; }
.angle-h { font-family: var(--display); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; color: var(--cream); }
.js .angle-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.angle-pics { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.angle-pics--1 { grid-template-columns: minmax(0, 220px); }
.angle-pics--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; }
.plate--band { background: var(--char); }
.plate--band .plate-bar { background: var(--char); font-size: .8125rem; padding: 7px 9px; }
.angle-text { display: grid; gap: 16px; align-content: start; }
.angle-note { font-size: 1.0625rem; line-height: 1.6; color: var(--cream); max-width: 52ch; }
.refs { border-top: 2px solid rgba(244, 236, 223, .4); }
.refs li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; border-bottom: 1px solid rgba(244, 236, 223, .3); }
.refs a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--cream); }
.refs .ic { width: 18px; height: 18px; }
.ref-d { font-size: .875rem; color: var(--cream); }
.starter { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 6.6vw, 2.75rem); line-height: 1.14; color: var(--cream); text-wrap: pretty; max-width: 26ch; }
.starter-tag { display: inline-block; vertical-align: .3em; margin-right: 6px; padding: 5px 10px 4px; border-radius: 4px; background: var(--char); color: var(--cream); font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
.angle-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-top: 2px solid rgba(244, 236, 223, .4); padding-top: 24px; }
.angle-actions .btn { width: 100%; padding: 0 12px; font-size: 1rem; letter-spacing: .03em; gap: 8px; }
html:not(.js) [data-copy-starter], html:not(.js) [data-copy-code] { display: none; }
.angle-msg { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--cream); }
.angle-msg:hover { color: var(--char); }
.copy-status { flex-basis: 100%; min-height: 1.5em; font-weight: 700; font-size: .9375rem; color: inherit; }
.copy-status:empty { min-height: 0; }
.collab .copy-status { color: var(--cream); }
.angle-fine { font-size: .875rem; color: var(--cream); }
@media (min-width: 600px) {
  .angle-actions .btn { width: auto; padding: 0 20px; font-size: 1.125rem; letter-spacing: .045em; gap: 10px; }
  .angle-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .angle-tab { text-align: center; font-size: 1.375rem; }
}
@media (min-width: 900px) {
  .collab { padding: 104px 0 112px; }
  .angle-tab { min-height: 68px; font-size: 1.75rem; }
}
@media (min-width: 1200px) {
  .angle { grid-template-columns: auto minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .angle-pics--3 { grid-template-columns: repeat(3, 240px); }
  .angle-pics--2 { grid-template-columns: repeat(2, 260px); }
  .angle-pics--1 { grid-template-columns: 300px; }
  html:not(.js) .angle-h { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ picks: a shopping sidebar, kept apart from the editorial */
.picks { background: var(--cream-2); color: var(--char); padding: 64px 0 72px; }
.picks .sec-dek { color: var(--mute); }
.picks .sec-h { font-size: clamp(2.75rem, 11vw, 5rem); }
.pick-list { border-top: 2px dashed var(--char); }
.pick { display: grid; gap: 10px; padding: 22px 0 24px; border-bottom: 2px dashed var(--char); }
.pick-name { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.pick-line { font-size: 1.0625rem; line-height: 1.5; }
.pick .btn { justify-self: start; }
.pick-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.code { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .12em; padding: 2px 10px; border: 2px dashed var(--ember-deep); border-radius: 6px; color: var(--ember-deep); background: var(--cream); line-height: 1.3; }
.picks .copy-status { color: var(--ember-dark); }
@media (min-width: 900px) {
  .picks { padding: 88px 0 96px; }
  .pick { grid-template-columns: 260px minmax(0, 1fr) auto; align-items: center; column-gap: 40px; padding: 26px 0; }
  .pick .btn { justify-self: end; }
  .pick-acts { justify-content: flex-end; }
  .pick--code .copy-status { grid-column: 2 / -1; text-align: right; }
}

/* ------------------------------------------------------------------ quick answers */
.faq { background: var(--cream); color: var(--char); padding: 64px 0 72px; }
.faq-in { display: grid; gap: 28px; }
.faq .sec-h { font-size: clamp(2.75rem, 11vw, 5rem); }
.qa { padding: 20px 0 22px; border-top: 2px solid var(--char); }
.qa:last-child { border-bottom: 2px solid var(--char); }
.qa dt { font-family: var(--display); font-weight: 800; font-size: 1.625rem; line-height: 1.12; text-transform: uppercase; margin-bottom: 10px; }
.qa dd p { font-size: 1.0625rem; line-height: 1.6; max-width: 62ch; }
.qa a { color: var(--ember-deep); font-weight: 700; padding-block: 11px; }
@media (min-width: 900px) {
  .faq { padding: 96px 0 104px; }
  .faq-in { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .faq .sec-h { position: sticky; top: calc(var(--hdr) + 32px); }
  .qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 40px; }
  .qa dt { margin: 0; }
}

/* ------------------------------------------------------------------ close */
.close { background: var(--char); padding: 80px 0 88px; }
.close-in { display: grid; gap: 40px; }
.close-copy { display: grid; gap: 22px; justify-items: start; align-content: start; }
.close-side { display: grid; gap: 28px; align-content: start; }
.badge--close { max-width: 160px; }
.find { display: grid; border-top: 2px solid var(--ember); }
.find a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(244, 236, 223, .14); text-decoration: none; color: var(--cream); }
.find .ic { width: 26px; height: 26px; color: var(--ember); }
.find-k { font-size: .875rem; color: var(--soft); grid-column: 2; }
.find-v { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 8vw, 2.75rem); line-height: 1; text-transform: uppercase; grid-column: 2; overflow-wrap: anywhere; transition: color .2s; }
.find a .ic { grid-row: 1 / span 2; }
.find a:hover .find-v { color: var(--ember); }
.find-v--handle { text-transform: none; letter-spacing: -.005em; }
.close-h { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 13vw, 7rem); line-height: .86; letter-spacing: -.005em; max-width: 14ch; text-wrap: balance; color: var(--cream); }
.close-h span { color: var(--ember); }
.close-dek { font-size: 1.125rem; line-height: 1.6; color: var(--soft); max-width: 44ch; }
.close-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (min-width: 900px) { .close { padding: 120px 0 128px; } .close-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 72px; align-items: start; } .close-side { padding-top: 10px; } .badge--close { max-width: 200px; } }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--char-3); color: var(--soft); padding: 56px 0 28px; border-top: 2px solid var(--ember-deep); }
.footer-in { display: grid; gap: 32px; }
.foot-id { display: grid; gap: 14px; align-content: start; }
.foot-id > p:not(.foot-wm) { max-width: 36ch; line-height: 1.55; }
.wm--foot .wm-a { font-size: 2.25rem; }
.wm--foot .wm-b { font-size: .9375rem; }
.soc-list { display: flex; gap: 8px; }
.soc { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; border: 2px solid rgba(244, 236, 223, .22); color: var(--cream); }
.soc:hover { border-color: var(--ember); color: var(--ember); }
.foot-nav ul { display: grid; gap: 0; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 1.1875rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.foot-nav a:hover { color: var(--ember); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(244, 236, 223, .14); font-size: .875rem; }
.foot-base a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); }
.kcredit { gap: 8px; text-decoration: none; }
.kcredit:hover { text-decoration: underline; }
.kcredit__logo { display: block; height: 15px; width: auto; flex: none; }
@media (min-width: 900px) {
  .footer-in { grid-template-columns: minmax(0, 1fr) auto; }
  .foot-nav ul { grid-template-columns: repeat(2, auto); column-gap: 48px; }
}

/* ------------------------------------------------------------------ dialogs */
dialog { border: 0; padding: 0; color: var(--char); background: var(--cream); border-radius: 14px; max-width: min(560px, 100vw - 24px); width: 100%; max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(12, 11, 9, .76); }
html:not(.js) dialog#contact:target { display: block; position: fixed; inset: 0; margin: auto; z-index: 60; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sheet { padding: 22px 20px 24px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sheet-title { font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; text-transform: uppercase; }
.sheet-lede { margin: 10px 0 18px; line-height: 1.55; }
.sheet-lede a { color: var(--ember-deep); font-weight: 700; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } .sheet { padding: 26px 28px 28px; } }
.field label { font-weight: 700; font-size: .9375rem; }
.opt { font-weight: 500; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 2px solid #8c8174; background: #fffaf2; color: var(--char); font-size: 1rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--char) 50%), linear-gradient(135deg, var(--char) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember-deep); box-shadow: 0 0 0 3px rgba(184, 60, 12, .25); }
.form .btn { margin-top: 4px; }
.kf-sent { padding: 22px; border-radius: 10px; background: var(--char); color: var(--cream); }
.kf-sent:focus { outline: 3px solid var(--char); outline-offset: 3px; }   /* the ring sits on the cream dialog */
.kf-sent p { margin: 0; }
.kf-sent-h { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; margin-bottom: 8px !important; color: var(--ember); }
.kf-error { margin: 0; padding: 12px 14px; border-radius: 8px; background: #fbe1d4; color: #7a2405; font-weight: 700; border: 2px solid #7a2405; }
.kf-error a { color: inherit; }

.menu-sheet { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; max-width: min(420px, 100vw); border-radius: 0; background: var(--char); color: var(--cream); padding: 12px var(--gut) 24px; display: none; }
.menu-sheet[open] { display: flex; flex-direction: column; }
.menu-sheet .sheet-head { min-height: calc(var(--hdr) - 12px); }
.menu-list { margin-top: 18px; border-top: 2px solid var(--ember); }
.menu-list a { display: flex; align-items: center; min-height: 60px; font-family: var(--display); font-weight: 800; font-size: 2rem; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(244, 236, 223, .14); }
.menu-list a:hover { color: var(--ember); }
.menu-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }

/* ------------------------------------------------------------------ 404 */
.cover--404 { padding: 64px 0 96px; }
.nf-in { max-width: 900px; }

/* ------------------------------------------------------------------ motion: the cover lines rise once; later bands settle */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translate3d(0, .32em, 0); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }
  @keyframes plate-in { from { opacity: 0; transform: translate3d(0, 28px, 0) rotate(1.2deg); } to { opacity: 1; transform: none; } }
  @keyframes fade-up { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
  .motion .cover-h .ln { animation: rise .9s var(--ease) both; }
  .motion .cover-h .ln2 { animation-delay: .08s; }
  .motion .cover-h .ln3 { animation-delay: .16s; }
  .motion .cover-h .ln4 { animation-delay: .24s; }
  .motion .cover-dek, .motion .cover-cta { animation: fade-up .8s var(--ease) .36s both; }
  .motion .cover-plate { animation: plate-in 1s var(--ease) .12s both; }
  .motion .cover-plate--camp { animation-delay: .3s; }
  .motion .cover-foot { animation: fade-up .8s var(--ease) .5s both; }
  .motion .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .motion .reveal:not(.in) { opacity: 0; transform: translate3d(0, 28px, 0); }
  .motion .angle.is-entering { animation: fade-up .45s var(--ease) both; }
}
