/*
 * Skin: Surfline (Pierline Garage Door Co., garagedoorsinorangecounty.com, Huntington Beach / Orange County, 2026-12-04).
 * Huntington Beach at noon: surf teal for the dark parts, sun yellow for calls to action, dry-sand paper.
 * The hero ends in a scalloped wave edge drawn with gradients; section headings sit on pier planks (three short bars
 * of falling width); cards and the form have square corners with a thick "plank" bottom edge; Archivo headings, wide
 * and heavy. Distinct from the other garage looks (panel: navy/amber; bayfront: bay blue + coral, sail corners;
 * grove: citrus green; freeway, mission, foundry, studio, wilshire) and from clinic/tidewater (teal or navy + red).
 * Loaded after style.css when business.json → brand.skin = "surfline". Colors still come from the brand tokens.
 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-var.woff2") format("woff2"); }

:root {
	--sf-font-h: "Archivo", "Segoe UI", system-ui, sans-serif;
	--sf-radius: 6px;
	--sf-card: #fffdf8;
	--sf-line: #e6dcc6;
	--sf-soft: #f2ead6;
	--sf-muted: #4f5d5e;
	--sl-deep: color-mix(in srgb, var(--sf-primary) 60%, #021c1f);
	--sl-foam: color-mix(in srgb, var(--sf-primary) 22%, #ffffff);
	--sl-sun-text: color-mix(in srgb, var(--sf-accent) 45%, #3d2a00);
	/* Sun lines in the sky: soft diagonal bands, no image file. */
	--sl-rays: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 22px, transparent 22px 48px);
	/* The wave edge: a row of half circles in the paper colour along the bottom of the hero. */
	--sl-wave: radial-gradient(circle at 18px 0, transparent 17px, var(--sf-paper) 18px) bottom left / 36px 18px repeat-x;
	--sf-shadow: 0 16px 30px -22px rgba(2, 40, 44, .55), 0 2px 4px rgba(2, 40, 44, .06);
}

body { font-size: 17px; background: var(--sf-paper); }
::selection { background: var(--sf-accent); color: var(--sf-ink); }
:focus-visible { outline-color: var(--sl-deep); }
h1, h2, h3, h4 { font-weight: 850; letter-spacing: -.015em; font-stretch: 112%; }
h1 { line-height: 1.04; }
h3 { font-weight: 750; }
a { color: var(--sl-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sf-accent); }
a:hover { color: var(--sf-primary); }

/* Eyebrow: a sun-yellow tag with a teal edge */
.sf-eyebrow { display: inline-block; font-family: var(--sf-font-h); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; line-height: 1; color: var(--sf-ink); background: var(--sf-accent); padding: 7px 12px; border-radius: 2px; box-shadow: 0 0 0 1px var(--sl-deep); }

/* Buttons: squared, heavy, with a short plank shadow */
.sf-btn, .wp-block-button__link { border-radius: 4px; font-family: var(--sf-font-h); font-weight: 800; letter-spacing: .01em; font-size: 1.04em; transition: transform .15s ease-out, background-color .15s, box-shadow .15s; }
.sf-btn:active, .wp-block-button__link:active { transform: translateY(2px); box-shadow: none; }
.sf-btn--accent, .wp-block-button__link { background: var(--sf-accent); color: var(--sf-ink); box-shadow: 0 4px 0 var(--sl-sun-text); }
.sf-btn--accent:hover, .wp-block-button__link:hover { background: color-mix(in srgb, var(--sf-accent) 85%, #fff); color: var(--sf-ink); }
.sf-btn--accent .sf-i { color: var(--sf-ink); }
.sf-btn--primary { background: var(--sf-primary); color: #fff; box-shadow: 0 4px 0 var(--sl-deep); }

/* Top bar and header */
.sf-topbar { background: var(--sl-deep); color: #d9eeee; }
.sf-topbar .sf-i { color: var(--sf-accent); }
.sf-topbar a { color: #fff; }
.sf-header { background: var(--sf-card); border-bottom: 4px solid var(--sf-primary); }
.sf-nav a { font-family: var(--sf-font-h); font-weight: 700; font-size: 16px; border-radius: 3px; }
.sf-nav a:hover, .sf-nav .is-current > a { background: var(--sl-foam); color: var(--sl-deep); }
.sf-nav .sf-sub, .sf-mnav__panel { background: var(--sf-card); border: 1px solid var(--sf-line); border-top: 4px solid var(--sf-accent); border-radius: 0 0 var(--sf-radius) var(--sf-radius); }
.sf-header__call.sf-btn--accent { background: var(--sf-accent); color: var(--sf-ink); }

/* Hero and page heads: surf teal with sun lines, ending in a scalloped wave edge */
.sf-hero, .sf-pagehead {
	position: relative;
	isolation: isolate;
	background: var(--sl-wave), var(--sl-rays), linear-gradient(160deg, var(--sf-primary) 0%, var(--sl-deep) 100%);
	color: #e8f5f4;
}
.sf-hero { padding-block: 62px 92px; }
.sf-pagehead { padding-top: 34px; padding-bottom: 66px; }
.sf-hero h1, .sf-pagehead h1 { color: #fff; }
.sf-hero h1::after, .sf-pagehead h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 16px; background: var(--sf-accent); border-radius: 1px; }
.sf-lead { color: #dcefee; opacity: 1; font-size: 19px; line-height: 1.55; }
.sf-checks li { color: #e8f5f4; }
.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, .75); border-radius: 4px; }
.sf-hero .sf-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.sf-crumbs, .sf-pagehead .sf-crumbs a { color: #cbe6e4; }

/* Photos and the form: square corners, a thick plank edge underneath */
.sf-split figure img, .sf-section .wp-block-image img { border-radius: 0; border-bottom: 8px solid var(--sf-accent); box-shadow: var(--sf-shadow); }
.sf-form { background: var(--sf-card); color: var(--sf-ink); border-radius: 0; border-bottom: 8px solid var(--sf-primary); box-shadow: 0 28px 56px -28px rgba(2, 30, 34, .6); }
.sf-form__title { font-family: var(--sf-font-h); font-weight: 850; }
.sf-form input, .sf-form select, .sf-form textarea { border-radius: 4px; 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) 45%, transparent); }

/* Quick facts */
.sf-quickfacts { background: var(--sl-foam); border-bottom: 1px solid color-mix(in srgb, var(--sf-primary) 20%, 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; text-transform: uppercase; letter-spacing: .06em; font-size: .9em; color: var(--sl-deep); margin-right: 4px; }

/* Trust strip, pills, jump links */
.sf-trust { border-radius: 0; border: 1px solid var(--sf-line); border-top: 5px solid var(--sf-accent); background: var(--sf-card); }
.sf-trust__item { font-family: var(--sf-font-h); font-weight: 700; font-size: 16px; }
.sf-trust__item .sf-i { color: var(--sf-primary); }
.sf-jump a, .sf-pill { border-radius: 3px; border: 1px solid var(--sf-line); border-bottom-width: 3px; background: var(--sf-card); font-weight: 600; }
.sf-jump a:hover, .sf-pill:hover { border-color: var(--sf-primary); color: var(--sl-deep); }
.sf-pill .sf-i { color: var(--sf-primary); }

/* Section headings: pier planks, three bars of falling width */
.sf-section h2 { position: relative; padding-top: 22px; }
.sf-section h2::before { content: ""; position: absolute; top: 0; left: 0; width: 84px; height: 12px; background: linear-gradient(90deg, var(--sf-primary) 0 84px) 0 0 / 84px 3px no-repeat, linear-gradient(90deg, var(--sf-accent) 0 58px) 0 5px / 58px 3px no-repeat, linear-gradient(90deg, var(--sf-primary) 0 30px) 0 10px / 30px 2px no-repeat; }
.sf-section--center h2::before { left: 50%; transform: translateX(-50%); }

/* Cards: square, a plank edge at the bottom */
.sf-card { background: var(--sf-card); border: 1px solid var(--sf-line); border-bottom: 5px solid var(--sl-foam); border-radius: 0; transition: transform .16s ease-out, box-shadow .16s, border-color .16s; }
.sf-card:hover { transform: translateY(-2px); box-shadow: var(--sf-shadow); border-bottom-color: var(--sf-accent); }
.sf-card__icon { background: var(--sf-primary); color: #fff; border-radius: 4px; }
.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-bottom: 5px solid var(--sl-foam); border-radius: 0; }

/* Steps: square sun tiles */
.sf-steps li::before, .sf-steps .sf-step__n { background: var(--sf-accent); color: var(--sf-ink); font-family: var(--sf-font-h); font-weight: 850; border-radius: 4px; box-shadow: 3px 3px 0 var(--sl-deep); }

/* Price tables: teal header, sand stripes, tabular figures */
.sf-table { border-radius: 4px; 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(--sl-deep); 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: #f7f0df; }

/* Reviews and FAQ */
.sf-review { background: var(--sf-card); border: 1px solid var(--sf-line); border-top: 5px solid var(--sf-primary); border-radius: 0; }
.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: 18px; }
.sf-faq details[open] { border-color: var(--sf-accent); background: color-mix(in srgb, var(--sf-accent) 10%, var(--sf-card)); }
.sf-faq details[open] summary { color: var(--sl-deep); }

/* Call band, call bar, footer: deep surf with sun lines and a yellow top edge */
.sf-cta { background: linear-gradient(180deg, var(--sf-accent) 0 6px, transparent 6px), var(--sl-rays), var(--sl-deep); color: #d8eceb; }
.sf-cta h2 { color: #fff; }
.sf-callbar, .sf-callstrip { background: var(--sl-deep); }
.sf-footer { background: linear-gradient(180deg, var(--sf-accent) 0 4px, transparent 4px), #04282b; color: #c3dbd9; padding-top: 30px; }
.sf-footer a { color: #fff; }
.sf-footer h2, .sf-footer h3 { color: #fff; }

@media (max-width: 600px) {
	.sf-hero { padding-block: 44px 70px; }
	.sf-pagehead { padding-bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	.sf-card, .sf-btn { transition: none; }
}
