/* Hallmark · shape: Split Studio (draw 19aaeb) · genre: editorial · theme: brand · redesign: full
 * paper: oklch(97.6% 0.003 250) · accent: oklch(81.5% 0.15 75) · display: Archivo Expanded 800 · body: Inter · hero: Index · nav: banner over a retracting bar · footer: index columns · signature: the four live sites on phones, filling the first screen
 * axes: light/grotesk-heavy/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the rings and promises are words-heavy; the rings sit beside a built phone showing the two real automatic texts so the section has a picture of the product */
/* Hallmark · waive 44c · Index posture, the head small above the work list · the four live sites sit under the head by design, so their centre cannot align beside the text */
/* Hallmark · reworded "Our work" to "Our work: four live sites. Open any of them on your phone." · 58, the old lead folded into the Index head */
/* Hallmark · reworded "Three rings, all handled for $297/mo" to "Three rings, all handled" · 69, $297 was printed four times */
/* Hallmark · reworded "We're taking 5 founding clients" to "We’re taking 5 founding clients" · F1, typographic apostrophe */
/* Hallmark · reworded "Free preview site before you pay anything. $297/mo, no contract." out of the hero · 58, the hero is a head, one sentence and its actions; both facts stay in How it works */
@import url("./tokens.css");
@import url("./base.css");

/* Ironbell, ironbellhq.com. Keep the phone ringing.
 * From the Ironbell Brand Kit: slate and near-white, one brass-amber accent (the bell), Inter for text. */

.skip { position: absolute; left: var(--space-md); top: -64px; z-index: var(--z-toast); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-control); font-weight: 600; text-decoration: none; }
.skip:focus-visible { top: var(--space-md); outline-color: var(--color-ink); }

/* Buttons: one primary, one outlined chip */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-control); font-weight: 600; font-size: var(--text-md); text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-paper)); }
.btn--chip { background: transparent; color: inherit; border-color: currentColor; }
.btn--chip:hover { background: color-mix(in oklab, currentColor 8%, transparent); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* Banner over a bar that retracts on scroll */
.banner { background: var(--color-slate-2); color: var(--color-on-slate); font-size: var(--text-sm); font-weight: 600; border-bottom: var(--rule-hair) solid var(--color-slate-line); }
.banner .container { padding-block: var(--space-xs); }
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-slate); color: var(--color-on-slate); transition: transform var(--dur-short) var(--ease-out); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__row { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.bar :focus-visible { outline-color: var(--color-focus-on-slate); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: var(--tracking-display); text-decoration: none; }
.wordmark span { color: var(--color-accent); }
.bar__links { display: flex; gap: var(--space-lg); margin-left: auto; }
.bar__links a { color: var(--color-on-slate-muted); text-decoration: none; font-size: var(--text-sm); padding-block: var(--space-xs); }
.bar__links a:hover { color: var(--color-on-slate); text-decoration: underline; }
.btn--bar { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--bar .short { display: none; }
@media (max-width: 60rem) { .bar__links { display: none; } .btn--bar { margin-left: auto; } }
@media (max-width: 26rem) { .btn--bar .long { display: none; } .btn--bar .short { display: inline; } }

/* Hero: the head small above the work, the four live sites as the visual */
.hero { background: var(--color-slate); color: var(--color-on-slate); padding-block: var(--space-xl) 0; overflow: clip; }
.hero :focus-visible { outline-color: var(--color-focus-on-slate); }
.hero__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; }
.hero h1 { font-size: clamp(2.75rem, 4.2vw + 0.75rem, 4.75rem); max-width: 11ch; }
.hero__side { display: grid; gap: var(--space-lg); padding-bottom: var(--space-xs); }
.hero .lead { color: var(--color-on-slate-muted); }
.work { margin-top: var(--space-xl); }
.work__h { font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); letter-spacing: 0; color: var(--color-on-slate-muted); max-width: none; margin-bottom: var(--space-md); }
.work__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.work__list li { display: grid; gap: var(--space-xs); align-content: start; }
.work__card { display: grid; gap: var(--space-sm); text-decoration: none; }
.work__card .phone { aspect-ratio: 390 / 470; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-width: 0; transition: transform var(--dur-short) var(--ease-out); }
.work__card:hover .phone { transform: translateY(-6px); }
.work__card:hover .work__name { text-decoration: underline; }
.work__name { font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); letter-spacing: 0; line-height: 1.3; }
.work__list p { font-size: var(--text-sm); color: var(--color-on-slate-muted); padding-bottom: var(--space-lg); }
.work__list li { order: 0; }
@media (max-width: 60rem) {
  .hero__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .work__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* A phone: a plain bezel around a real screenshot or the product built in place */
.phone { display: block; overflow: hidden; border: 8px solid var(--color-bezel); border-radius: 28px; background: var(--color-bezel); aspect-ratio: 390 / 844; }
.phone > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Rows: text on the left, proof on the right, every time */
.row { padding-block: var(--section-gap-s); }
.row--slate { background: var(--color-slate); color: var(--color-on-slate); }
.row--slate :focus-visible { outline-color: var(--color-focus-on-slate); }
.row--slate .lead, .row--slate .split__text p { color: var(--color-on-slate-muted); }
.row--grey { background: var(--color-paper-2); }
.split { display: grid; gap: var(--space-3xl); align-items: center; }
.split--even { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.split--lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split__text { display: grid; gap: var(--space-lg); align-content: start; }
.split__text > h2 + .lead { margin-top: calc(var(--space-xs) * -1); }
.split__text p { color: var(--color-muted); }
.split__text .lead { color: var(--color-muted); }
.split__text .sig { color: var(--color-ink); font-weight: 600; }
.split__text--sticky { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); align-self: start; }
.split__proof { margin: 0; min-width: 0; }
@media (max-width: 60rem) {
  .split--even, .split--lead { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split__text--sticky { position: static; }
}

/* The three rings */
.rings { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-lg); counter-reset: ring; }
.rings li { counter-increment: ring; display: grid; grid-template-columns: var(--space-2xl) minmax(0, 1fr); column-gap: var(--space-md); row-gap: var(--space-2xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.rings li::before { content: counter(ring); grid-row: span 2; font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); line-height: 1; color: var(--color-ink); }
.rings h3 { font-size: var(--text-title); }
.rings p { color: var(--color-muted); }
.note { font-size: var(--text-sm); }

/* The two automatic texts, built at full size */
.texts { display: grid; justify-items: center; gap: var(--space-md); }
.texts figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.phone--ui { width: min(100%, 360px); background: var(--color-paper); }
.ui { height: 100%; display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg) var(--space-md); font-size: var(--text-sm); }
.ui__top { font-weight: 600; text-align: center; padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.ui__sys { align-self: center; color: var(--color-muted); font-size: var(--text-xs); margin-top: var(--space-sm); }
.bubble { align-self: flex-end; max-width: 85%; background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); border-radius: 18px 18px 4px 18px; line-height: 1.4; }
.ui__time { align-self: flex-end; color: var(--color-muted); font-size: var(--text-xs); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg) var(--gap-columns); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: var(--space-2xs); padding-top: var(--space-md); border-top: 2px solid var(--color-slate-line); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); line-height: 1; color: var(--color-accent); }
.steps li:last-child { border-top-color: var(--color-accent); }
.steps h3 { font-size: var(--text-lg); }
.row--slate .steps p { color: var(--color-on-slate-muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); }
.price strong { font-family: var(--font-display); font-weight: 800; font-size: var(--text-section); letter-spacing: var(--tracking-display); color: var(--color-on-slate); font-variant-numeric: tabular-nums; }
.shot { display: grid; gap: var(--space-sm); }
.shot img { border-radius: var(--radius-card); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.row--slate .shot figcaption { color: var(--color-on-slate-muted); }
.shot[data-slot] { aspect-ratio: 16 / 10; border-radius: var(--radius-card); }
@media (max-width: 40rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Founding clients: the offer as the object */
.offer { background: var(--color-paper); border: 2px solid var(--color-ink); border-radius: var(--radius-card); padding: var(--space-xl); display: grid; gap: var(--space-md); }
.offer h3 { font-size: var(--text-title); }
.offer ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-sm); }
.offer__return { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); }

/* Promises */
.promises { list-style: none; padding: 0; counter-reset: promise; }
.promises li { counter-increment: promise; display: grid; grid-template-columns: var(--space-xl) minmax(0, 1fr); column-gap: var(--space-md); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.promises li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.promises li::before { grid-row: span 2; content: counter(promise); font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); line-height: 1.1; }
.promises h3 { font-size: var(--text-lg); margin-bottom: var(--space-2xs); grid-column: 2; }
.promises li > p { grid-column: 2; }
.promises p { color: var(--color-muted); }

/* Contact and form */
.contact { margin: 0; display: grid; gap: var(--space-md); }
.contact div { display: grid; gap: var(--space-3xs); }
.contact dt { font-size: var(--text-sm); color: var(--color-on-slate-muted); }
.contact dd { margin: 0; font-weight: 600; }
.fill { color: var(--color-on-slate-muted); font-weight: 400; border-bottom: 2px dashed var(--color-slate-line); }
.preview-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-card); padding: var(--space-xl); }
.preview-form :focus-visible { outline-color: var(--color-focus); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field input { min-height: 52px; padding: 0 var(--space-md); color: var(--color-ink); background: var(--color-paper); border: 2px solid var(--color-field); border-radius: var(--radius-control); transition: border-color var(--dur-micro) var(--ease-out); }
.field input:hover { border-color: var(--color-ink-2); }
.field input:focus-visible { border-color: var(--color-ink); outline: 3px solid var(--color-focus); outline-offset: 1px; }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }
.field input[aria-invalid] { border-color: var(--color-error); }
.form-actions, .form-help { grid-column: 1 / -1; }
.form-actions .btn { width: 100%; }
.form-help { min-height: 1.6em; font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 40rem) { .preview-form { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); } }

/* Footer: index columns */
.footer { background: var(--color-slate); color: var(--color-on-slate-muted); padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-slate-line); font-size: var(--text-sm); }
.footer :focus-visible { outline-color: var(--color-focus-on-slate); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--space-xl) var(--gap-columns); }
.footer__brand .wordmark { color: var(--color-on-slate); font-size: var(--text-2xl); }
.footer__brand p { margin-top: var(--space-xs); }
.footer__h { color: var(--color-on-slate); font-weight: 600; margin-bottom: var(--space-sm); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.footer a { text-decoration: none; white-space: nowrap; }
.footer a:hover { color: var(--color-on-slate); text-decoration: underline; }
.footer__legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-slate-line); }
@media (max-width: 60rem) { .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer__brand { grid-column: 1 / -1; } }
