/* Hallmark · shape: Catalogue (draw 143eec; swapped from Workbench, no software UI to show, the stock is the content) · genre: modern-minimal · theme: Terrazzo (deal 3/3) · redesign: full · copy: verbatim
 * hero: Banner · nav: search-led bar · footer: index columns · imagery: photographs (the client's own stock photos) · signature: the grades as a specification sheet, starting on the first screen · terrazzo: stone
 * axes: light/geometric-sans/warm · posture: restrained · contrast: pass · fold: pass · draw: 143eec · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, the copy is verbatim and generic in places; the argument is carried by structure instead: the grades as a spec sheet before any marketing line */
/* Hallmark · note: live copy set in capitals is set in sentence case here; the words are unchanged */
/* Hallmark · waive 49b · grade names are table row links in the spec sheet · they are the client's own product titles and wrap only at phone width */
/* Hallmark · waive 59 · the catalog head sits 64px over its product table · the head and the table are one inventory object, split only so the hero measures */
/* Hallmark · dropped tel:%201-800-598-9513, /titanium-products/titanium-bar/, /titanium-products/titanium-plate/, /titanium-products/titanium-sheet/, /titanium-products/titanium-tube/ · the first was a malformed phone link (tel:1-800-598-9513 stays); the intro's old-domain product links now point to the live /titanium-inventory/ pages */
/* Hallmark · dropped "premium titanium products", "titanium bar", "titanium sheet/plate", "titanium tube", "reduce your material costs today!", all-timetal-logo-new.png · the first was an eyebrow (gate 54); the three form names are now card titles, the last line is the band's lead, and the transparent version of the same logo replaces the image */
/* Hallmark · dismissed 77 · inner pages carry only the live site's copy (copy: verbatim); no sections are added to reach six */
/* Hallmark · dismissed F4 · the plate-on-ink primary is Terrazzo's band control, the only button on the ink band */
/* Hallmark · dismissed F15 · hero, in-use and contact grids keep the hero gap (64px) per layout.md; other multi-column sections use 32px */
/* Hallmark · dismissed F25 · the spec sheet drops descriptions and categories on phones; each grade's own page carries them */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--secondary { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-bar) currentColor; }
.btn--secondary:hover { background: var(--color-plate); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.link { color: var(--color-ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
.link:hover, .prose a:hover, .foot a:hover, .crumb a:hover { text-decoration-color: var(--color-accent); }
.link:active { color: var(--color-ink-2); }
.code { font-family: var(--font-outlier); font-weight: 500; font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.more { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); }

/* ---------- nav: search-led bar ---------- */
.nav { border-bottom: var(--rule-bar) solid var(--color-ink); background: var(--color-paper); position: relative; z-index: var(--z-sticky-nav); }
.nav__bar { display: flex; align-items: center; gap: var(--space-lg); min-height: 76px; }
.brand { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; flex: none; }
.brand__mark { display: block; width: 56px; height: 56px; overflow: hidden; background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); }
.brand__mark img { width: 52px; height: 52px; transform: scale(1.6) translateY(-4%); }
.brand__name { font: 700 var(--text-lg)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.nav__links > ul { display: flex; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.nav__links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); font-weight: 500; text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.nav__drop { position: relative; }
.nav__drop > ul { position: absolute; top: 100%; left: 0; z-index: var(--z-dropdown); min-width: 15rem; margin: 0; padding: var(--space-xs) 0; list-style: none; background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transition: opacity var(--dur-micro) var(--ease-out), visibility var(--dur-micro); }
.nav__drop:hover > ul, .nav__drop:focus-within > ul { opacity: 1; visibility: visible; }
.nav__drop > ul a { display: flex; padding: 0 var(--space-md); }
.nav .search { margin-left: auto; width: 15rem; }
.nav__tel { flex: none; text-decoration: none; font-size: var(--text-sm); }
.nav__tel:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav__cta { flex: none; }

/* ---------- search ---------- */
.search { display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-ink); border-right: 0; border-radius: 0; background: var(--color-plate); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.search input::placeholder { color: var(--color-muted); }
.search input:focus-visible { outline-color: var(--color-focus); }
.search__go { min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-ink); color: var(--color-paper); font-weight: 500; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }
.search__go:hover { background: var(--color-ink-2); }
.search__go:active { transform: translateY(1px); }
.search__go:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- layout ---------- */
.section { margin-block: var(--section-gap-s); }
.section--top { margin-top: var(--space-3xl); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; margin-bottom: var(--space-2xl); }
.split > :first-child { grid-column: 1 / span 6; }
.split > :last-child { grid-column: 8 / span 5; }
.split h3 { margin-bottom: var(--space-sm); }
.prose p + p { margin-top: var(--space-md); }
.prose a { text-decoration-thickness: 1px; }
.statement { font: 700 var(--text-2xl)/1.15 var(--font-display); letter-spacing: var(--tracking-display); max-width: 22ch; }
.crumb { margin-bottom: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.crumb a { color: var(--color-ink); }

/* ---------- hero: Banner ---------- */
.hero { display: grid; grid-template-columns: 6fr 5fr; gap: var(--space-2xl); align-items: center; padding-block: var(--space-2xl) 0; }
.hero__text { min-width: 0; }
.hero + .section { margin-top: var(--section-gap-s); }
.hero h1 { max-width: 17ch; font-size: clamp(2.5rem, 3.6vw + 1rem, 4.25rem); }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.hero__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--flag img { object-fit: contain; padding: var(--space-xl); }
.hero--text { display: block; }
.hero--text .lead { max-width: 60ch; }
.hero--page h1 { max-width: 16ch; font-size: var(--text-display-s); }

/* ---------- cards ---------- */
.card { display: block; background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); color: var(--color-ink); text-decoration: none; }
a.card { transition: box-shadow var(--dur-micro) var(--ease-out); }
a.card:hover { box-shadow: var(--shadow-card-hover); }
a.card:active { transform: translate(2px, 2px); }
a.card:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.card__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: grid; gap: var(--space-2xs); padding: var(--space-md) var(--space-lg) var(--space-lg); }
.card__meta { font-size: var(--text-sm); color: var(--color-muted); }
.card__title { font-weight: 500; font-size: var(--text-title); line-height: 1.2; }
.forms, .cards { display: grid; gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0 var(--space-md) var(--space-md) 0; list-style: none; }
.forms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section > h2 + .forms, .section > h2 + .cards { margin-top: var(--space-xl); }
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin-top: var(--space-xl); }
.cards .card__photo { aspect-ratio: 1; }
.cards .card__title { font-size: var(--text-lg); }

/* ---------- the specification sheet (signature) ---------- */
.spec-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); }
.spec thead th { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); text-align: left; }
.spec tbody tr { border-top: var(--rule-hair) solid var(--color-rule); transition: background-color var(--dur-micro) var(--ease-out); }
.spec tbody tr:hover { background: var(--color-accent-soft); }
.spec th[scope="row"], .spec td { padding: var(--space-md) var(--space-md) var(--space-md) 0; vertical-align: baseline; text-align: left; }
.spec th[scope="row"] { font-weight: 500; font-size: var(--text-lg); line-height: 1.25; width: 38%; }
.spec td:not(.spec__text) { width: 28%; }
.spec td:empty { padding: 0; }
.spec th[scope="row"] a { text-decoration: none; }
.spec th[scope="row"] a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.spec td { color: var(--color-ink-2); white-space: nowrap; }
.spec .spec__text { white-space: normal; color: var(--color-muted); font-size: var(--text-sm); max-width: 48ch; }
.spec tbody tr:hover td { color: var(--color-ink); }

/* ---------- in use ---------- */
.use { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-2xl); align-items: center; }
.use__photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.use__photo img { width: 100%; height: 100%; object-fit: cover; }
.use .lead { margin: var(--space-lg) 0 var(--space-xl); }

/* ---------- facts (form pages) ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; }
.facts > div { border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-md); }
.facts dt { font-weight: 500; font-size: var(--text-title); line-height: 1.2; margin-bottom: var(--space-sm); }
.facts dd { margin: 0; color: var(--color-ink-2); }

/* ---------- ink band ---------- */
.band { padding-block: var(--space-3xl); }
.band--ink { background: var(--color-ink); color: var(--color-paper); --color-focus: var(--color-focus-on-ink); }
.band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.band__grid > :first-child { grid-column: 1 / span 6; }
.band__grid > :last-child { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); justify-items: start; }
.band .lead { margin-block: var(--space-lg) var(--space-sm); }
.band p:not(.lead) { color: var(--color-paper-2); }
.band--ink .btn--primary { background: var(--color-plate); color: var(--color-ink); }
.band--ink .btn--primary:hover { background: var(--color-paper); }
.band__figure { font: 700 var(--text-display-s)/1 var(--font-display); letter-spacing: -0.04em; color: var(--color-plate); text-decoration: none; white-space: nowrap; }
.band__figure:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--color-focus-on-ink); text-underline-offset: 0.12em; }
.band__figure:focus-visible { outline: 2px solid var(--color-focus-on-ink); outline-offset: 4px; }

/* ---------- catalog ---------- */
.hero--catalog { display: block; }
.hero--catalog + .section { margin-top: var(--space-2xl); }

.catalog__grid { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.catalog__side { display: grid; gap: var(--space-lg); position: sticky; top: var(--space-lg); }
.catalog__side-head { font: 500 var(--text-md)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.catalog__count { margin-bottom: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.filter ul { margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); }
.filter li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.filter a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.filter a:hover { color: var(--color-accent); }
.filter a[aria-current] { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.filter a[aria-current] .code { color: var(--color-accent); }
.filter .code { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: var(--space-2xl); align-items: start; margin-top: var(--space-3xl); }
.contact h1 { font-size: var(--text-display-s); }
.contact .lead { margin: var(--space-md) 0 var(--space-2xl); }
.contact__sub { font: 500 var(--text-title)/1.2 var(--font-body); letter-spacing: 0; margin-bottom: var(--space-2xs); }
.contact__list { margin: var(--space-lg) 0 0; border-top: var(--rule-bar) solid var(--color-ink); }
.contact__list > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.contact__list dt { font-weight: 500; }
.contact__list dd { margin: 0; }
.request { display: grid; gap: var(--space-xs); padding: var(--space-xl); }
.request h2 { font-size: var(--text-2xl); }
.request > p:first-of-type { margin-bottom: var(--space-md); color: var(--color-ink-2); }
.request label { margin-top: var(--space-sm); font-weight: 500; }
.request input, .request textarea { min-height: 48px; padding: var(--space-sm); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-plate); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.request input:focus-visible, .request textarea:focus-visible { outline-color: var(--color-focus); }
.request [aria-invalid] { border-color: var(--color-error); box-shadow: inset 0 0 0 1px var(--color-error); }
.request .btn { margin-top: var(--space-lg); justify-self: start; }
.request__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---------- footer: index columns ---------- */
.foot { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-ink); }
.foot__statement { font: 700 var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-display); max-width: 18ch; margin-bottom: var(--space-2xl); }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gap-columns); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__head { font: 500 var(--text-md)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-muted); margin-bottom: var(--space-sm); }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot address { font-style: normal; display: grid; gap: var(--space-2xs); }
.foot__legal { margin-top: var(--space-2xl); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- fallback pages ---------- */
.prose-page h1 { font-size: var(--text-display-s); margin-bottom: var(--space-xl); }

/* ---------- responsive ---------- */
@media (max-width: 80rem) {
	.brand__name { display: none; }
	.nav .search { width: 15rem; }
	.nav__bar { gap: var(--space-md); }
}
@media (max-width: 68rem) {
	.nav__tel { display: none; }
	.nav__bar { flex-wrap: wrap; gap: var(--space-sm) var(--space-md); padding-block: var(--space-sm); }
	.nav__links { order: 3; width: 100%; overflow-x: auto; }
	.nav__links a { padding-left: 0; padding-right: var(--space-md); }
	.nav .search { order: 4; width: 100%; margin-left: 0; }
	.nav__cta { margin-left: auto; }
	.nav__drop > ul { display: none; }
}
@media (max-width: 60rem) {
	.hero, .use, .contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
	.split > :first-child, .split > :last-child, .band__grid > :first-child, .band__grid > :last-child { grid-column: 1 / -1; }
	.forms, .facts { grid-template-columns: minmax(0, 1fr); }
	.catalog__grid { grid-template-columns: minmax(0, 1fr); }
	.catalog__side { position: static; }
	.foot__cols { grid-template-columns: 1fr 1fr; }
	.foot__cols > :last-child { grid-column: 1 / -1; }
	.spec .spec__text { display: none; }
}
@media (max-width: 40rem) {
	.brand__name { display: none; }
	.contact__list > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.spec th[scope="row"] { min-width: 0; font-size: var(--text-md); }
	.spec td:not(.spec__text), .spec thead th:nth-child(2) { display: none; }
	.band__figure { font-size: var(--text-2xl); }
}
@media (prefers-reduced-motion: reduce) {
	.btn, a.card, .spec tbody tr, .nav__drop > ul { transition: none; }
}
.card--product .card__body { min-height: 9rem; align-content: space-between; }
