/* Stonecutter Supply Co. - site styles */
:root {
  --red: #aa0000;
  --red-dark: #870000;
  --ink: #212121;
  --ink-2: #2b2b2b;
  --text: #2a2a2a;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --radius: 6px;
  --container: 1180px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3, .h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 32px; } }
.container--narrow { max-width: 860px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--muted); margin: 0 0 .4em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.4em; border-radius: var(--radius); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eee; }
.btn--outline { border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--red); }
.link-arrow::after { content: " \2192"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }
.link-back { display: inline-block; margin: 1.5rem 0 1rem; text-decoration: none; font-weight: 600; color: var(--muted); }
.link-back:hover { color: var(--red); }

/* Top bar + header */
.topbar { background: var(--ink); color: #cfcfcf; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 16px; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 700px) { .topbar__inner > span:first-child { display: none; } .topbar__inner { justify-content: center; } .topbar a { margin: 0 8px; } }

.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.header__logo img { width: 230px; height: auto; }
@media (max-width: 500px) { .header__logo img { width: 180px; } .header__inner { min-height: 70px; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.nav a { display: block; padding: 8px 14px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--radius); }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); content: ""; transition: transform .2s, top .2s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; }
}

/* Hero + banner */
.hero, .banner { position: relative; color: #fff; overflow: hidden; background: #333; }
.hero__bg, .banner__bg, .hero picture, .banner picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img, .banner img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.15) 100%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 40%); }
.hero__content { position: relative; z-index: 1; padding-top: clamp(90px, 14vw, 170px); padding-bottom: clamp(90px, 14vw, 170px); max-width: var(--container); }
.hero h1 { color: #fff; max-width: 13ch; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.hero p { font-size: 1.2rem; max-width: 34rem; color: #f1f1f1; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%); }
.banner__content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.banner h2 { color: #fff; max-width: 16ch; font-size: clamp(2rem, 4vw, 3rem); }
.banner p { max-width: 28rem; font-size: 1.1rem; }
@media (max-width: 700px) { .banner__content { align-items: flex-start; text-align: left; padding-top: 80px; padding-bottom: 80px; } .banner::after { background: rgba(0,0,0,.55); } }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.container { padding-left: 16px; padding-right: 16px; }
@media (min-width: 700px) { .section.container { padding-left: 32px; padding-right: 32px; } }
.section--alt { background: var(--bg-alt); }
.split-head { display: grid; gap: 16px 48px; align-items: end; margin-bottom: 40px; }
@media (min-width: 860px) { .split-head { grid-template-columns: 1fr 1fr; } }
.split-head h2 { margin: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Tiles (numbered) */
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; padding: 32px; background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.18); }
.tile__num { font-size: 2.2rem; font-weight: 800; }
.tile__title { font-size: 1.9rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin: auto 0 12px; position: relative; z-index: 1; }
.tile__text { color: #cfcfcf; max-width: calc(100% - 90px); position: relative; z-index: 1; font-size: .98rem; }
.tile__shape { position: absolute; right: -2px; bottom: -2px; width: 80px; height: 80px; border: 6px solid rgba(255,255,255,.9); transition: border-color .2s; }
.tile:hover .tile__shape { border-color: var(--red); }
.tile__shape--arc { border-radius: 80px 0 0 0; border-right: 0; border-bottom: 0; }
.tile__shape--sq { border-right: 0; border-bottom: 0; }
.tile__shape--tri { border: 0; width: 0; height: 0; right: 20px; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 66px solid rgba(255,255,255,.12); }
.tile:hover .tile__shape--tri { border-bottom-color: var(--red); }

/* Cards */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 4; background: var(--bg-alt); overflow: hidden; }
.card__media--wide { aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: #fff; }
.card__placeholder img { width: 72px; height: auto; opacity: .5; object-fit: contain; }
.card__placeholder--lg { aspect-ratio: 1; border-radius: var(--radius); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.2rem; margin-bottom: .4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--red); }
.card__text { color: var(--muted); font-size: .96rem; }
.card__body .link-arrow { margin-top: auto; }
.badge { position: absolute; top: 12px; left: 12px; background: #f2c200; color: #000; font-size: .75rem; font-weight: 800; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }

/* Support block */
.support { display: grid; background: var(--ink); color: #eee; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .support { grid-template-columns: 5fr 7fr; } }
.support__photo { background: #2e2e2e; min-height: 300px; display: grid; place-items: center; }
.support__photo img:not(.support__placeholder) { width: 100%; height: 100%; object-fit: cover; }
.support__placeholder { width: 120px; opacity: .85; }
.support__body { padding: clamp(32px, 5vw, 64px); }
.support h2 { color: #fff; }
.support__sig + .btn { display: table; margin-top: 8px; }
.support__sig { border-top: 2px solid var(--red); padding-top: 12px; display: flex; flex-direction: column; width: fit-content; margin-top: 8px; }
.support__sig strong { color: #fff; }

/* CTA band */
.cta { background: var(--red); color: #fff; }
.cta__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.cta h2 { color: #fff; margin-bottom: .2em; font-size: 1.8rem; }
.cta p { margin: 0; color: #ffe1e1; max-width: 40rem; }
.cta .btn--red { background: #fff; color: var(--red); }
.cta .btn--red:hover { background: var(--ink); color: #fff; }

/* Page head */
.page-head { background: var(--bg-alt); padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin: 0; }

/* Prose */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: .5em 0 .5em 1.2em; border-left: 4px solid var(--red); font-size: 1.15rem; color: var(--ink); }

/* Project post */
.post__head { padding-bottom: 24px; }
.post__head h1 { margin-bottom: .3em; }
.post__cover { margin: 0 auto 40px; }
.post__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.post__layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .post__layout { grid-template-columns: 1fr 240px; max-width: 1100px; } }
.used { align-self: start; background: var(--bg-alt); border-left: 4px solid var(--red); padding: 20px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
@media (min-width: 900px) { .used { position: sticky; top: 110px; } }
.used__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.used__list { list-style: none; margin: 0; padding: 0; }
.used__list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.used__list a { font-weight: 600; text-decoration: none; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); padding-top: 48px; padding-bottom: 72px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 24px; cursor: zoom-out; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; height: auto; object-fit: contain; }

/* Product detail */
.product { padding-bottom: 72px; }
.product__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .product__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.product__media img { width: 100%; border-radius: var(--radius); }
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.specs { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: .97rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.specs tr:nth-child(odd) { background: var(--bg-alt); }
.product__info .prose { margin-top: 32px; }
.product-group + .product-group { margin-top: 56px; }
.product-group__title { border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 24px; }

/* Contact form */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 2fr 1fr; } }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.form input:not([type=radio]):not([type=checkbox]), .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: var(--radius); background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__type { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form__type legend { font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.form__type label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.form__type input { accent-color: var(--red); width: 18px; height: 18px; }
.form__referral { display: grid; gap: 16px; padding: 20px; background: var(--bg-alt); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.form__referral[hidden] { display: none; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-error { color: var(--red); }
.form__status.is-ok { color: #1d6b2a; }
.contact__info ul { list-style: none; padding: 0; margin: 0; }
.contact__info li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; }
.contact__info li span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: #bdbdbd; padding-top: 64px; font-size: .95rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand img { width: 240px; margin-bottom: 16px; }
.footer__brand p { max-width: 30rem; }
.footer__heading { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { padding: 4px 0; }
.footer a { color: #e8e8e8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; gap: 14px; margin-top: 16px; }
.footer__legal { border-top: 1px solid #3a3a3a; margin-top: 48px; padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; position: sticky; top: 85px; z-index: 5; background: #fff; padding: 12px 0; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; background: #fff; }
.chip:hover { border-color: var(--red); color: var(--red); }
.product-group { scroll-margin-top: 170px; }

/* Feature list (about) */
.features { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feature__icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero picture, .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero .container { position: relative; padding-top: 110px; padding-bottom: 110px; }
.page-hero h1 { color: #fff; max-width: 14ch; }
.page-hero p { max-width: 34rem; font-size: 1.15rem; color: #eee; }

/* Product catalog additions */
.card__media--product { background: #fff; aspect-ratio: 4 / 3; }
.card__media--product img { object-fit: contain; padding: 12px; }
.product-group__head { display: grid; gap: 4px 32px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px; }
@media (min-width: 860px) { .product-group__head { grid-template-columns: auto 1fr; align-items: end; } }
.product-group__head h2 { font-size: 1.5rem; margin: 0; }
.product-group__head p { margin: 0; color: var(--muted); font-size: .97rem; max-width: 48rem; }
.product-group__title { border: 0; padding: 0; }
.crumbs { margin: 1.5rem 0 1rem; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.product__hero { background: #fff; border-radius: var(--radius); padding: 24px; }
.product__hero img { width: 100%; }
.product__tagline { color: var(--red); font-weight: 700; margin-top: -.2em; }
.product__section { margin-top: 64px; }
.product__section > h2 { font-size: 1.6rem; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 20px; }
.product__section .prose { max-width: 820px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 32px; }
@media (min-width: 800px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; }
.data-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.muted { color: var(--muted); }
.badge--inline { position: static; vertical-align: middle; font-size: .7rem; margin-left: 8px; }
.gallery--product { padding: 0; }
.gallery--product img { aspect-ratio: auto; max-height: 320px; object-fit: contain; background: #f3f3f3; }

/* Home: product lines */
.lines { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.line { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.line:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.line__img { background: #fff; aspect-ratio: 4/3; }
.line__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.line__body { padding: 16px 18px 20px; }
.line__body h3 { font-size: 1.05rem; margin-bottom: .3em; }
.line__body p { font-size: .9rem; color: var(--muted); margin: 0; }
.card__media picture, .line__img picture { display: block; width: 100%; height: 100%; }
.card__media--product img { padding: 0; }
.card__media--photo img { object-fit: cover; }
.support__photo { position: relative; overflow: hidden; }
.support__photo picture { position: absolute; inset: 0; }
.support__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero img { object-position: 30% 50%; }
.card__media--product, .line__img { border-bottom: 1px solid var(--line); }
.card__media--product img { padding: 8px; }
.product__hero { border: 1px solid var(--line); }
.card__media--photo img { padding: 0; }

/* Home tiles: logo shield watermark, centered text */
.tile { align-items: center; justify-content: center; text-align: center; min-height: 320px; padding: 40px 32px; }
.tile__title { margin: 0 0 12px; font-size: 1.8rem; }
.tile__text { max-width: 30ch; margin: 0 auto; }
.tile__shield { position: absolute; left: 50%; top: 50%; width: 72%; aspect-ratio: 1060 / 1095; transform: translate(-50%, -50%); background-color: #fff; opacity: .14; -webkit-mask: url(/images/logo/mark-mono.svg) center / contain no-repeat; mask: url(/images/logo/mark-mono.svg) center / contain no-repeat; transition: opacity .25s, background-color .25s, transform .25s; pointer-events: none; }
.tile:hover .tile__shield { background-color: var(--red); opacity: .55; transform: translate(-50%, -50%) scale(1.04); }
.tile__title, .tile__text { position: relative; z-index: 1; }

/* Home: shield tiles (replaces dark boxes) */
.shields { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); justify-items: center; }
.shield-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; width: 100%; max-width: 340px; aspect-ratio: 200 / 220; padding: 22% 15% 0; background: url(/images/logo/shield-plain.svg) center / contain no-repeat; color: #fff; text-decoration: none; filter: drop-shadow(0 8px 16px rgba(0,0,0,.18)); transition: transform .2s, filter .2s; }
.shield-tile:hover { transform: translateY(-4px) scale(1.02); filter: drop-shadow(0 14px 24px rgba(0,0,0,.28)) brightness(1.08); }
.shield-tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.shield-tile__title { font-size: 1.55rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 12px; }
.shield-tile__text { font-size: .95rem; line-height: 1.45; color: #ffe9e9; max-width: 24ch; }
@media (max-width: 400px) { .shield-tile__title { font-size: 1.35rem; } .shield-tile__text { font-size: .9rem; } }
.shield-tile { justify-content: center; padding: 8% 15% 16%; }
@media (max-width: 700px) { .shield-tile { max-width: 290px; } }
