/*
 * Column Seal: components
 * Needs tokens.css first. Every class starts with "cs-" so it can sit next to any other CSS.
 */

/* Base */
.cs { margin: 0; background: var(--cs-white); color: var(--cs-ink); font-family: var(--cs-serif); font-size: var(--cs-text-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.cs *, .cs *::before, .cs *::after { box-sizing: border-box; }
.cs :where(a) { color: inherit; }
.cs-container { width: min(100% - 40px, var(--cs-container)); margin-inline: auto; }
.cs-narrow { width: min(100% - 40px, var(--cs-narrow)); margin-inline: auto; }
.cs-center { text-align: center; }

/* Labels: tiny tracked sans caps. Section names, bylines, nav */
.cs-label { display: block; margin: 0 0 14px; color: var(--cs-soft); font-family: var(--cs-label); font-size: var(--cs-text-label); font-weight: 500; letter-spacing: var(--cs-track-label); text-transform: uppercase; }
.cs-label--ink { color: var(--cs-ink); }
.cs-byline { margin: 10px 0 0; color: var(--cs-ink); font-family: var(--cs-serif); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.cs-byline em { margin-right: 6px; font-size: 16px; letter-spacing: 0; text-transform: none; }

/* Top utility bar: search field, pipe-separated links, a tiny pill */
.cs-util { border-bottom: var(--cs-hairline); background: var(--cs-paper); font-family: var(--cs-label); font-size: 12px; }
.cs-util__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px; }
.cs-util__links { display: flex; flex-wrap: wrap; gap: 0; }
.cs-util__links a { padding: 0 12px; border-left: var(--cs-hairline); color: var(--cs-soft); text-decoration: none; white-space: nowrap; }
.cs-util__links a:first-child { border-left: 0; }
.cs-util__links a:hover { color: var(--cs-ink); }
.cs-search { width: 220px; max-width: 40%; padding: 4px 8px; border: var(--cs-hairline); background: var(--cs-white); color: var(--cs-ink); font: 13px var(--cs-label); }
.cs-pill { display: inline-block; padding: 2px 10px; border: 1px solid var(--cs-soft); border-radius: var(--cs-radius-tag); color: var(--cs-ink); font: 500 11px var(--cs-label); text-decoration: none; white-space: nowrap; }

/* Masthead: seal, centered letterspaced title stack, a side card */
.cs-masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 22px 18px; border-bottom: var(--cs-double); }
.cs-masthead__title { margin: 0; font-family: var(--cs-serif); font-size: var(--cs-text-masthead); font-weight: 400; letter-spacing: var(--cs-track-masthead); line-height: 1; text-align: center; text-transform: uppercase; }
.cs-masthead__title a { text-decoration: none; }
.cs-masthead__sub { margin: 10px 0 0; font-family: var(--cs-serif); font-size: 12px; letter-spacing: .34em; text-align: center; text-transform: uppercase; }
.cs-masthead__tag { margin: 6px 0 0; color: var(--cs-soft); font-size: 14px; font-style: italic; text-align: center; }
.cs-masthead__side { justify-self: end; }
.cs-masthead__left { justify-self: start; text-align: center; }

/* Seal: the signature move. A tomato circle with an italic line under it */
.cs-seal { display: inline-grid; place-items: center; width: var(--cs-seal); height: var(--cs-seal); border-radius: 50%; background: var(--cs-tomato); color: var(--cs-white); font-family: var(--cs-display); font-size: 30px; line-height: 1; text-align: center; }
.cs-seal svg { width: 58%; height: 58%; }
.cs-seal--sm { width: 56px; height: 56px; font-size: 20px; }
.cs-seal__cap { display: block; margin-top: 6px; color: var(--cs-tomato); font-size: 13px; font-style: italic; }

/* Patron band: pale periwinkle, centered italic copy, one per page */
.cs-band { padding: 22px 20px 24px; background: var(--cs-periwinkle); text-align: center; }
.cs-band .cs-label { color: var(--cs-ink); margin-bottom: 8px; }
.cs-band p { max-width: 560px; margin: 0 auto; font-size: 18px; font-style: italic; font-weight: 500; line-height: 1.4; }
.cs-band a { color: var(--cs-link); }

/* Notice strip: acid yellow, once per page, at the bottom of the fold or above the footer */
.cs-notice { padding: 18px 20px 20px; background: var(--cs-acid); text-align: center; }
.cs-notice__title { margin: 0 0 4px; font-family: var(--cs-serif); font-size: 22px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.cs-notice p { max-width: 820px; margin: 0 auto; font-size: 17px; }

/* Three-column front page: rails split by vertical hairlines */
.cs-front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); background: var(--cs-paper); }
.cs-front > * { padding: 36px var(--cs-gutter); }
.cs-front > * + * { border-left: var(--cs-hairline); }
.cs-front__main { background: var(--cs-paper); }
.cs-front__rail { background: var(--cs-white); }

/* Headlines */
.cs-hero-title, .cs-h2, .cs-h3, .cs-story__title { margin: 0; font-family: var(--cs-display); font-weight: 400; letter-spacing: -.01em; }
.cs-hero-title { font-size: var(--cs-text-hero); line-height: 1; }
.cs-h2 { font-size: var(--cs-text-h2); line-height: 1.04; }
.cs-h3 { font-size: var(--cs-text-h3); line-height: 1.1; }
.cs-caps { margin: 0; font-family: var(--cs-serif); font-size: var(--cs-text-caps); font-weight: 400; letter-spacing: var(--cs-track-caps); line-height: 1.18; text-align: center; text-transform: uppercase; }
.cs-caps em { font-style: italic; }
.cs-deck { max-width: 600px; margin: 18px auto 0; color: var(--cs-ink); font-size: var(--cs-text-deck); font-style: italic; line-height: 1.45; }
.cs-lead { margin: 14px 0 0; color: var(--cs-soft); font-size: var(--cs-text-small); }
.cs-accent { color: var(--cs-tomato); }

/* Story list item: headline, byline, hairline under, optional round thumb on the right */
.cs-story { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-block: 0 20px; margin-bottom: 20px; border-bottom: var(--cs-hairline); }
.cs-story:last-child { border-bottom: 0; margin-bottom: 0; }
.cs-story__title { font-size: 30px; line-height: 1.02; }
.cs-story__title a { text-decoration: none; }
.cs-story__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cs-story--quiet .cs-story__title { font-family: var(--cs-serif); font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.cs-thumb { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }

/* Buttons: square, ruled, quiet. Ink for the main action, outline for the rest */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid var(--cs-ink); border-radius: var(--cs-radius); background: var(--cs-ink); color: var(--cs-white); font: 500 12px var(--cs-label); letter-spacing: var(--cs-track-label); text-decoration: none; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.cs-btn:hover { background: var(--cs-tomato-dark); border-color: var(--cs-tomato-dark); }
.cs-btn--line { background: transparent; color: var(--cs-ink); }
.cs-btn--line:hover { background: var(--cs-paper-2); border-color: var(--cs-ink); color: var(--cs-ink); }
.cs-btn--tomato { background: var(--cs-tomato); border-color: var(--cs-tomato); }
.cs-btn--block { width: 100%; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cs-center .cs-actions { justify-content: center; }

/* Section: a label over a double rule, then content */
.cs-section { padding-block: var(--cs-section); }
.cs-section--paper { background: var(--cs-paper); }
.cs-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 28px; border-bottom: var(--cs-double); }

/* Card grid: hairline-ruled cells, no boxes or shadows */
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--cs-hairline); border-left: var(--cs-hairline); }
.cs-cell { padding: 26px 24px 28px; border-right: var(--cs-hairline); border-bottom: var(--cs-hairline); background: var(--cs-white); }
.cs-cell p { margin: 10px 0 0; color: var(--cs-soft); font-size: 17px; }
.cs-num { display: block; margin-bottom: 10px; color: var(--cs-tomato); font-family: var(--cs-display); font-size: 44px; font-style: italic; line-height: 1; }

/* Pull quote: centered italic between two short rules */
.cs-quote { max-width: 720px; margin: 0 auto; text-align: center; }
.cs-quote blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-style: italic; line-height: 1.35; }
.cs-quote::before, .cs-quote::after { content: ""; display: block; width: 60px; height: 1px; margin: 0 auto 24px; background: var(--cs-ink); }
.cs-quote::after { margin: 24px auto 0; }

/* Pricing: three ruled columns, the picked one gets a seal */
.cs-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--cs-double); border-bottom: var(--cs-hairline); }
.cs-plan { position: relative; padding: 32px var(--cs-gutter) 34px; background: var(--cs-white); }
.cs-plan + .cs-plan { border-left: var(--cs-hairline); }
.cs-plan--pick { background: var(--cs-paper); }
.cs-plan__seal { position: absolute; top: -26px; right: 18px; }
.cs-plan__price { margin: 18px 0 4px; font-family: var(--cs-display); font-size: 64px; line-height: 1; }
.cs-plan__price small { font-family: var(--cs-serif); font-size: 18px; font-style: italic; color: var(--cs-soft); }
.cs-plan ul { margin: 20px 0 26px; padding: 0; list-style: none; }
.cs-plan li { padding: 8px 0; border-bottom: var(--cs-hairline); font-size: 17px; }
.cs-plan li::before { content: "\2766"; margin-right: 10px; color: var(--cs-tomato); }

/* Table: ruled rows, label header */
.cs-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.cs-table th { padding: 10px 8px; border-bottom: var(--cs-double); font: 500 var(--cs-text-label) var(--cs-label); letter-spacing: var(--cs-track-label); text-align: left; text-transform: uppercase; }
.cs-table td { padding: 12px 8px; border-bottom: var(--cs-hairline); }
.cs-table-wrap { overflow-x: auto; }

/* FAQ */
.cs-faq details { padding: 16px 0; border-bottom: var(--cs-hairline); }
.cs-faq summary { cursor: pointer; font-family: var(--cs-display); font-size: 24px; list-style: none; }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after { content: "+"; float: right; color: var(--cs-tomato); }
.cs-faq details[open] summary::after { content: "\2013"; }
.cs-faq p { margin: 10px 0 0; color: var(--cs-soft); }

/* Article */
.cs-article { padding-block: 48px var(--cs-section); background: var(--cs-paper); }
.cs-article__head { padding-bottom: 28px; margin-bottom: 34px; border-bottom: var(--cs-hairline); text-align: center; }
.cs-prose { font-size: var(--cs-text-body); line-height: 1.65; }
.cs-prose p { margin: 0 0 1.1em; }
.cs-prose > p:first-of-type::first-letter { float: left; margin: 6px 10px 0 0; color: var(--cs-tomato); font-family: var(--cs-display); font-size: 74px; line-height: .8; }
.cs-prose h2 { margin: 1.8em 0 .5em; font-family: var(--cs-serif); font-size: 15px; font-weight: 500; letter-spacing: .22em; text-align: center; text-transform: uppercase; }
.cs-prose a { color: var(--cs-link); font-style: italic; }
.cs-prose blockquote { margin: 1.6em 0; padding: 0 0 0 20px; border-left: 2px solid var(--cs-tomato); font-size: 22px; font-style: italic; }
.cs-prose ul { padding-left: 1.2em; }
.cs-fleuron { margin: 2em 0; color: var(--cs-tomato); font-size: 22px; letter-spacing: .6em; text-align: center; }
.cs-aside { margin: 2em 0; padding: 20px 22px; border-top: var(--cs-double); border-bottom: var(--cs-hairline); background: var(--cs-white); }

/* Forms: ruled fields, labels in tracked caps */
.cs-form { display: grid; gap: 18px; }
.cs-field label { display: block; margin-bottom: 6px; font: 500 var(--cs-text-label) var(--cs-label); letter-spacing: var(--cs-track-label); text-transform: uppercase; }
.cs-input, .cs-select { width: 100%; padding: 11px 12px; border: 1px solid var(--cs-soft); border-radius: var(--cs-radius); background: var(--cs-white); color: var(--cs-ink); font: 18px var(--cs-serif); }
.cs-input:focus, .cs-select:focus { outline: 2px solid var(--cs-tomato); outline-offset: 1px; }
.cs-hint { margin: 6px 0 0; color: var(--cs-faint); font-size: 14px; font-style: italic; }
.cs-check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.cs-check input { margin-top: 5px; accent-color: var(--cs-tomato); }
.cs-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--cs-soft); }
.cs-choice label { padding: 12px 8px; text-align: center; cursor: pointer; font-size: 16px; }
.cs-choice label + label { border-left: 1px solid var(--cs-soft); }
.cs-choice input { position: absolute; opacity: 0; }
.cs-choice label:has(input:checked) { background: var(--cs-ink); color: var(--cs-white); }

/* Footer */
.cs-footer { padding-block: 40px 28px; border-top: var(--cs-double); background: var(--cs-white); font-size: 16px; }
.cs-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--cs-gutter); }
.cs-footer ul { margin: 0; padding: 0; list-style: none; }
.cs-footer li { margin-bottom: 6px; }
.cs-footer a { text-decoration: none; }
.cs-footer a:hover { text-decoration: underline; }
.cs-wordmark { margin: 0 0 8px; text-align: left; }
.cs-footer__fine { margin-top: 32px; padding-top: 14px; border-top: var(--cs-hairline); color: var(--cs-faint); font-size: 14px; font-style: italic; text-align: center; }

/* Phone */
@media (max-width: 900px) {
  .cs-front, .cs-grid, .cs-plans, .cs-footer__cols { grid-template-columns: 1fr; }
  .cs-front > * + * { border-left: 0; border-top: var(--cs-hairline); }
  .cs-plan + .cs-plan { border-left: 0; border-top: var(--cs-hairline); }
  .cs-masthead { grid-template-columns: 1fr; }
  .cs-masthead__left, .cs-masthead__side { display: none; }
  .cs-util__links a:nth-child(n+3) { display: none; }
}
@media (max-width: 480px) {
  .cs-masthead__title { letter-spacing: .2em; }
  .cs-masthead__sub { letter-spacing: .22em; }
  .cs-plan__price { font-size: 52px; }
}
