/*
 * Skin: Foundry (Seventh Street Garage Door Co., garagedoorrepairscalifornia.com, downtown Los Angeles, 2026-12-03).
 * Downtown LA loft and Arts District: oxblood brick for the dark parts, a cool aqua like a shop's neon sign for calls
 * to action, poured-concrete paper, a riveted steel beam rule along the hero and footer, square corners with a hard
 * offset shadow like a stencilled crate, and Schibsted Grotesk headings in caps for the eyebrows.
 * Distinct from the other LA garage looks (wilshire: Art Deco violet; freeway: road-sign green; mission: redwood + tiles).
 * Loaded after style.css when business.json → brand.skin = "foundry". Colors still come from the brand tokens.
 */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("fonts/schibsted-grotesk-latin-var.woff2") format("woff2"); }

:root {
	--sf-font-h: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
	--sf-radius: 3px;
	--sf-card: #fbfaf8;
	--sf-line: #d9d4cd;
	--sf-soft: #ebe7e1;
	--sf-muted: #5c5452;
	--fd-deep: color-mix(in srgb, var(--sf-primary) 70%, #0c0507);
	--fd-steel: #3a3f45;
	--fd-aqua-text: color-mix(in srgb, var(--sf-accent) 45%, #06292d);
	/* A steel beam: a dark flange with a row of rivets, drawn with gradients, no image file. */
	--fd-rivet: radial-gradient(circle at 50% 50%, #9aa3ab 0 2.6px, #5d646b 3px, transparent 3.6px);
	--fd-bar: linear-gradient(#2b3035, #2b3035);
	--fd-hard: 5px 5px 0 0 color-mix(in srgb, var(--sf-primary) 85%, #000);
	--sf-shadow: 0 14px 28px -20px rgba(30, 10, 14, .5), 0 2px 4px rgba(30, 10, 14, .07);
}

body { font-size: 17px; background: var(--sf-paper); }
::selection { background: var(--sf-accent); color: var(--sf-ink); }
:focus-visible { outline-color: var(--sf-primary); }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; }
h1 { line-height: 1.04; font-weight: 900; }
h3 { font-weight: 700; letter-spacing: -.01em; }
a { color: var(--sf-primary); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--sf-accent) 80%, transparent); }
a:hover { color: var(--fd-deep); }

/* Eyebrow: a stencilled tag */
.sf-eyebrow { display: inline-block; font-family: var(--sf-font-h); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; line-height: 1; color: var(--sf-ink); background: var(--sf-accent); padding: 7px 10px 6px; border-radius: 2px; box-shadow: 3px 3px 0 0 var(--fd-deep); }

/* Buttons: square, hard shadow that closes on press */
.sf-btn, .wp-block-button__link { border-radius: 3px; font-family: var(--sf-font-h); font-weight: 800; letter-spacing: .01em; transition: transform .14s ease-out, box-shadow .14s ease-out, background-color .14s; }
.sf-btn--accent, .wp-block-button__link { background: var(--sf-accent); color: var(--sf-ink); box-shadow: 4px 4px 0 0 var(--fd-deep); }
.sf-btn--accent:hover, .wp-block-button__link:hover { background: color-mix(in srgb, var(--sf-accent) 82%, #fff); color: var(--sf-ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 0 var(--fd-deep); }
.sf-btn--accent:active, .wp-block-button__link:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 0 var(--fd-deep); }
.sf-btn--accent .sf-i { color: var(--sf-ink); }
.sf-btn--primary { background: var(--sf-primary); color: #fff; }

/* Top bar and header */
.sf-topbar { background: var(--fd-steel); color: #dfe3e6; }
.sf-topbar .sf-i { color: var(--sf-accent); }
.sf-topbar a { color: #fff; }
.sf-header { background: var(--sf-card); border-bottom: 3px solid var(--sf-primary); }
.sf-nav a { font-family: var(--sf-font-h); font-weight: 700; font-size: 16.5px; border-radius: 2px; }
.sf-nav a:hover, .sf-nav .is-current > a { background: var(--sf-soft); color: var(--fd-deep); box-shadow: inset 0 -3px 0 var(--sf-accent); }
.sf-nav .sf-sub, .sf-mnav__panel { background: var(--sf-card); border: 1px solid var(--sf-line); border-top: 3px solid var(--sf-primary); border-radius: 0 0 var(--sf-radius) var(--sf-radius); }
.sf-header__call.sf-btn--accent { background: var(--sf-primary); color: #fff; box-shadow: 4px 4px 0 0 var(--fd-steel); }
.sf-header__call .sf-i { color: var(--sf-accent); }

/* Hero and page heads: brick oxblood with a faint brick course, steel beam along the bottom */
.sf-hero, .sf-pagehead {
	position: relative;
	isolation: isolate;
	background:
		var(--fd-rivet) 0 100% / 22px 12px repeat-x,
		var(--fd-bar) 0 100% / 100% 12px no-repeat,
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 26px),
		radial-gradient(55% 75% at 90% 8%, color-mix(in srgb, var(--sf-accent) 18%, transparent), transparent 70%),
		linear-gradient(160deg, var(--sf-primary), var(--fd-deep));
	color: #f2e9ea;
}
.sf-hero { padding-block: 60px 76px; }
.sf-pagehead { padding-top: 34px; padding-bottom: 52px; }
.sf-hero h1, .sf-pagehead h1 { color: #fff; }
.sf-lead { color: #eddcde; opacity: 1; font-size: 19px; line-height: 1.55; }
.sf-checks li { color: #f2e9ea; }
.sf-checks li::before { background-color: var(--sf-accent); }
.sf-section .sf-checks li { color: inherit; }
.sf-hero .sf-btn--ghost, .sf-pagehead .sf-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); border-radius: 3px; }
.sf-hero .sf-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.sf-crumbs, .sf-pagehead .sf-crumbs a { color: #e3c9cc; }

/* Photos and the form: square with a hard offset shadow */
.sf-split figure img, .sf-section .wp-block-image img { border-radius: var(--sf-radius); box-shadow: 8px 8px 0 0 var(--sf-soft), 8px 8px 0 1px var(--sf-line); }
.sf-form { background: var(--sf-card); color: var(--sf-ink); border-radius: var(--sf-radius); border-top: 6px solid var(--sf-accent); box-shadow: 8px 8px 0 0 color-mix(in srgb, var(--fd-deep) 85%, #000); }
.sf-form__title { font-family: var(--sf-font-h); font-weight: 800; }
.sf-form input, .sf-form select, .sf-form textarea { border-radius: 2px; border: 1.5px solid var(--sf-line); background: #fff; }
.sf-form input:focus, .sf-form select:focus, .sf-form textarea:focus { border-color: var(--sf-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-accent) 40%, transparent); }

/* Quick facts */
.sf-quickfacts { background: var(--sf-soft); border-bottom: 1px solid var(--sf-line); }
.sf-quickfacts p { max-width: 1180px; margin: 0 auto; padding: 13px 20px; font-size: 15.5px; line-height: 1.6; color: var(--sf-ink); }
.sf-quickfacts strong { font-family: var(--sf-font-h); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--sf-primary); margin-right: 6px; }

/* Trust strip, pills, jump links */
.sf-trust { border-radius: var(--sf-radius); border: 1px solid var(--sf-line); border-left: 6px solid var(--sf-primary); background: var(--sf-card); }
.sf-trust__item { font-family: var(--sf-font-h); font-weight: 700; font-size: 16.5px; }
.sf-trust__item .sf-i { color: var(--sf-primary); }
.sf-jump a, .sf-pill { border-radius: 2px; border: 1px solid var(--sf-line); background: var(--sf-card); font-weight: 600; }
.sf-jump a:hover, .sf-pill:hover { border-color: var(--sf-primary); color: var(--sf-primary); box-shadow: 3px 3px 0 0 var(--sf-accent); }
.sf-pill .sf-i { color: var(--fd-aqua-text); }

/* Section headings: a short beam with three rivets above */
.sf-section h2 { position: relative; padding-top: 20px; }
.sf-section h2::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 9px; background: radial-gradient(circle at 50% 50%, #c9ced2 0 2px, transparent 2.6px) 0 50% / 24px 9px repeat-x, var(--sf-primary); }
.sf-section--center h2::before { left: 50%; transform: translateX(-50%); }

/* Cards: square, a hard shadow appears on hover */
.sf-card { background: var(--sf-card); border: 1px solid var(--sf-line); border-top: 4px solid var(--sf-primary); border-radius: var(--sf-radius); transition: transform .16s ease-out, box-shadow .16s ease-out, border-color .16s; }
.sf-card:hover { transform: translate(-2px, -2px); box-shadow: var(--fd-hard); border-color: var(--sf-primary); }
.sf-card__icon { background: var(--sf-primary); color: #fff; border-radius: 2px; }
.sf-card__body strong { font-family: var(--sf-font-h); font-size: 19px; font-weight: 800; }
.sf-features > .wp-block-group, .sf-feature { background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: var(--sf-radius); }

/* Steps: stencil numbers */
.sf-steps li::before, .sf-steps .sf-step__n { background: var(--sf-ink); color: var(--sf-accent); font-family: var(--sf-font-h); font-weight: 900; border-radius: 2px; }

/* Price tables: steel header, tabular figures */
.sf-table { border-radius: var(--sf-radius); overflow: hidden; border: 1px solid var(--sf-line); font-variant-numeric: tabular-nums; background: var(--sf-card); }
.sf-table th, .sf-table thead td { background: var(--fd-steel); color: #fff; font-family: var(--sf-font-h); font-weight: 800; border-bottom: 3px solid var(--sf-accent); }
.sf-table tr:nth-child(even) td { background: #f3f0ec; }

/* Reviews and FAQ */
.sf-review { background: var(--sf-card); border: 1px solid var(--sf-line); border-left: 5px solid var(--sf-accent); border-radius: var(--sf-radius); }
.sf-faq details { border-radius: var(--sf-radius); border: 1px solid var(--sf-line); background: var(--sf-card); }
.sf-faq summary { font-family: var(--sf-font-h); font-weight: 800; font-size: 18.5px; }
.sf-faq details[open] { border-left: 4px solid var(--sf-primary); }
.sf-faq details[open] summary { color: var(--sf-primary); }

/* Call band, call bar, footer: deep oxblood and steel, a beam on top */
.sf-cta { background: var(--fd-rivet) 0 0 / 22px 12px repeat-x, var(--fd-bar) 0 0 / 100% 12px no-repeat, var(--fd-deep); color: #f0e2e4; padding-top: calc(var(--sf-cta-pad, 48px) + 12px); }
.sf-cta h2 { color: #fff; }
.sf-callbar, .sf-callstrip { background: var(--fd-deep); }
.sf-footer { background: var(--fd-rivet) 0 0 / 22px 12px repeat-x, var(--fd-bar) 0 0 / 100% 12px no-repeat, #1f2226; color: #cfd3d6; padding-top: 34px; }
.sf-footer a { color: #fff; }
.sf-footer h2, .sf-footer h3 { color: #fff; }

@media (max-width: 600px) {
	.sf-hero { padding-block: 44px 58px; }
	.sf-split figure img, .sf-section .wp-block-image img { box-shadow: 5px 5px 0 0 var(--sf-soft), 5px 5px 0 1px var(--sf-line); }
	.sf-form { box-shadow: 5px 5px 0 0 color-mix(in srgb, var(--fd-deep) 85%, #000); }
}
@media (prefers-reduced-motion: reduce) {
	.sf-card, .sf-btn, .wp-block-button__link { transition: none; }
}
