/*
Theme Name: Rabitat: Leap
Theme URI: https://rabitat.net/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Block theme for Rabitat, premium raw rabbit products from Saint Jo, Texas (rebuild 2026-11, Sierra direction). The logo's hare leaps along three arcs: photos get one large quarter-circle corner, thin arcs run behind the hero, and section labels end in the logo's arrow. Bricolage Grotesque + Mulish, logo amber for marks, spruce green for actions and the one dark band (the footer). Only the home banner moves.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: rab-leap
*/

/* ---------- fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: 'Bricolage Grotesque'; src: url(assets/fonts/bricolage-grotesque-latin-var.woff2) format('woff2'); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url(assets/fonts/mulish-latin-var.woff2) format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url(assets/fonts/mulish-latin-var-italic.woff2) format('woff2'); font-weight: 400 800; font-style: italic; font-display: swap; }

:root {
	--ink: #241A0E;          /* headings */
	--text: #3A2E20;         /* body (12:1 on white) */
	--muted: #655944;        /* small print (6:1 on oat) */
	--bronze: #855807;       /* labels, links on light (5.9:1 on white, 5.3:1 on oat) */
	--amber: #F0A020;        /* the logo's orange: marks, rules, arrows (never small text on light) */
	--oat: #F7F0E3;          /* alternate bands */
	--sand: #E6D8BD;         /* rules */
	--spruce: #1E4B3A;       /* buttons, links (9.7:1 on white) */
	--spruce-d: #14342A;     /* the footer band */
	--white: #fff;
	--head: 'Bricolage Grotesque', 'Avenir Next', 'Trebuchet MS', system-ui, sans-serif;
	--body: 'Mulish', 'Avenir', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--w: 1200px;
	--gut: clamp(16px, 4vw, 40px);
	--corner: clamp(48px, 9vw, 96px);   /* the one big quarter-circle corner on photos */
	--bar-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--spruce); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; border-radius: 2px; }
.rab-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--spruce); color: #fff; padding: 10px 16px; font-weight: 700; }
.rab-skip:focus { top: 8px; }
.rab-ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header ---------- */
.rab-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--sand); }
.rab-header.is-scrolled { box-shadow: 0 2px 14px rgba(36, 26, 14, .1); }
.rab-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--amber) 0 72px, transparent 72px); }
.rab-bar__in { max-width: 1320px; margin: 0 auto; padding: 6px var(--gut); min-height: var(--bar-h); display: flex; align-items: center; gap: 22px; }
.rab-brand { display: block; flex: none; line-height: 0; }
.rab-brand img { width: 94px; height: auto; }
.rab-nav { display: none; margin-left: auto; }
.rab-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.rab-menu__link { display: block; padding: 10px 12px; color: var(--ink); font: 700 .9375rem var(--head); text-decoration: none; border-bottom: 3px solid transparent; }
.rab-menu__link:hover, .rab-menu__item.is-in > .rab-menu__link, .rab-menu__link[aria-current="page"] { border-bottom-color: var(--amber); }
.rab-bar__cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.rab-bar__tel { display: none; align-items: center; gap: 8px; font: 800 1rem var(--head); color: var(--ink); text-decoration: none; white-space: nowrap; }
.rab-bar__tel .rab-ico { color: var(--bronze); }
.rab-bar .rab-bar__quote { display: none; }
.rab-bar__menu { display: inline-flex; align-items: center; gap: 8px; background: none; border: 2px solid var(--ink); border-radius: 4px; padding: 8px 12px; font: 800 .9375rem var(--head); color: var(--ink); cursor: pointer; }
.rab-bar__menu .rab-ico--close, .rab-bar__menu[aria-expanded="true"] .rab-ico--menu { display: none; }
.rab-bar__menu[aria-expanded="true"] .rab-ico--close { display: block; }
.rab-panel { border-top: 1px solid var(--sand); background: #fff; padding: 8px var(--gut) 20px; max-height: calc(100vh - var(--bar-h)); overflow: auto; }
.rab-panel[hidden] { display: none; }
.rab-panel .rab-menu { flex-direction: column; gap: 0; }
.rab-panel .rab-menu__link { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--sand); }
.rab-panel__contact { display: grid; gap: 10px; margin: 18px 0 0; }
.rab-panel__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
@media (min-width: 768px) { .rab-bar__tel { display: inline-flex; } .rab-bar .rab-bar__quote { display: inline-flex; } }
@media (min-width: 1180px) { .rab-nav { display: block; } .rab-bar__cta { margin-left: 0; } .rab-bar__menu, .rab-panel { display: none !important; } }

/* ---------- buttons: spruce rectangle, small radius, arrow ---------- */
.rab-btn, .wp-block-button__link, .rab-nf input[type=submit], .rab-nf .nf-form-content input[type=button] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 22px;
	background: var(--spruce); color: #fff !important; border: 2px solid var(--spruce); border-radius: 4px;
	font: 800 1rem/1.2 var(--head); letter-spacing: .005em; text-decoration: none; cursor: pointer; box-shadow: inset 0 -3px 0 var(--amber);
}
.rab-btn:hover, .wp-block-button__link:hover, .rab-nf input[type=submit]:hover { background: var(--spruce-d); border-color: var(--spruce-d); color: #fff !important; }
.rab-btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.rab-btn--line, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--spruce) !important; box-shadow: none; }
.rab-btn--line:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--spruce); color: #fff !important; }
.rab-btn--amber { background: var(--amber); border-color: var(--amber); color: var(--ink) !important; box-shadow: none; }
.rab-btn--amber:hover { background: #fff; border-color: #fff; color: var(--ink) !important; }
.rab-cta .rab-btn--line { border-color: #fff; color: #fff !important; }
.rab-cta .rab-btn--line:hover { background: #fff; color: var(--spruce-d) !important; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }
.wp-block-button { margin: 0; }

/* ---------- sections ---------- */
.rab-main { display: block; }
.rab-sec { padding: clamp(44px, 7vw, 88px) var(--gut); }
.rab-sec > * { max-width: var(--w); margin-left: auto; margin-right: auto; }
.rab-sec--oat { background: var(--oat); }
.rab-sec--line { border-top: 1px solid var(--sand); }
.rab-sec--tight { padding-top: clamp(24px, 4vw, 48px); }
.rab-sec__intro { margin-bottom: clamp(24px, 4vw, 40px); max-width: 760px !important; margin-left: auto; margin-right: auto; }
.rab-sec__intro > *:last-child { margin-bottom: 0; }
.rab-kicker { display: flex; align-items: center; gap: 12px; font: 800 .8125rem/1.3 var(--body); letter-spacing: .13em; text-transform: uppercase; color: var(--bronze); margin: 0 0 14px; }
.rab-kicker::after { content: ''; width: 46px; height: 10px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 10'%3E%3Cpath d='M0 5h42M37 1l5 4-5 4' fill='none' stroke='%23F0A020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.rab-lead { font-size: 1.1875rem; line-height: 1.6; max-width: 62ch; }
.rab-head { padding-bottom: clamp(24px, 4vw, 44px); background: var(--oat); position: relative; overflow: hidden; }
.rab-head > * { position: relative; }
.rab-head::before { content: ''; position: absolute; right: -40px; top: -20px; width: 340px; height: 188px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' fill='none' stroke='%23F0A020' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M392 8C392 124 296 212 164 212'/%3E%3Cpath d='M360 8C360 106 274 180 164 180'/%3E%3Cpath d='M328 8C328 88 254 148 164 148'/%3E%3C/svg%3E") no-repeat; opacity: .55; }
.rab-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.rab-crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--amber); }
.rab-crumbs a { color: var(--muted); }
.rab-prose > * { max-width: 720px; }
.rab-prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.rab-prose h2:first-child { margin-top: 0; }
.rab-checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.rab-checks li { padding-left: 30px; position: relative; }
.rab-checks li::before { content: ''; position: absolute; left: 0; top: .4em; width: 18px; height: 10px; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg) scale(.8); transform-origin: left top; top: .85em; }
.rab-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rab-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.rab-links--big { display: grid; gap: 10px; font-size: 1.2rem; }

/* ---------- photos: one big quarter-circle corner ---------- */
.rab-photo, .wp-block-image.rab-photo { margin: 0; }
.rab-photo img, .rab-prod__ph img, .rab-aud__ph img, .rab-hero__photo { border-radius: 6px; border-top-left-radius: var(--corner); }
.wp-block-image figcaption, .rab-photo figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; text-align: left; }

/* ---------- home hero ---------- */
.rab-hero { display: grid; gap: 22px; padding: clamp(24px, 5vw, 60px) var(--gut) clamp(32px, 5vw, 64px); max-width: 1320px; margin: 0 auto; position: relative; }
.rab-hero::before { content: ''; position: absolute; left: -10px; top: 0; width: min(520px, 60%); aspect-ratio: 400 / 220; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' fill='none' stroke='%23F0A020' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M8 212C8 96 104 8 236 8'/%3E%3Cpath d='M40 212C40 114 126 40 236 40'/%3E%3Cpath d='M72 212C72 132 146 72 236 72'/%3E%3C/svg%3E") no-repeat; opacity: .5; pointer-events: none; }
.rab-hero > * { position: relative; max-width: none !important; }
.rab-hero__photo { overflow: hidden; background: var(--oat); aspect-ratio: 3 / 2; order: 2; }
.rab-hero__title { order: 1; }
.rab-hero__bar { order: 3; }
.rab-hero__title h1 { margin-bottom: .35em; }
.rab-hero__title .rab-lead { margin-bottom: 0; }
.rab-banner { position: relative; width: 100%; height: 100%; }
.rab-banner__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.rab-banner__slide.is-on { opacity: 1; }
.rab-banner__slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
html:not(.rab-js) .rab-banner__slide:not(:first-child) { display: none; }
.rab-banner-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 2px solid var(--sand); padding-top: 12px; }
.rab-banner-bar__cap { margin: 0; font-size: .9375rem; color: var(--muted); }
.rab-banner-bar__n { font-weight: 800; color: var(--bronze); }
.rab-banner-bar__ctl { display: flex; align-items: center; gap: 4px; flex: none; }
.rab-banner-bar__dot { width: 30px; height: 30px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.rab-banner-bar__dot::after { content: ''; position: absolute; left: 8px; top: 8px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--spruce); background: #fff; }
.rab-banner-bar__dot[aria-current="true"]::after { background: var(--amber); border-color: var(--spruce); }
.rab-banner-bar__pause { width: 38px; height: 38px; margin-left: 6px; display: grid; place-items: center; background: #fff; border: 2px solid var(--spruce); border-radius: 50%; color: var(--spruce); cursor: pointer; padding: 0; }
.rab-banner-bar__pause .rab-ico { width: 18px; height: 18px; }
.rab-banner-bar__pause .rab-ico--play, .rab-banner-bar__pause.is-paused .rab-ico--pause { display: none; }
.rab-banner-bar__pause.is-paused .rab-ico--play { display: block; }
@media (min-width: 900px) {
	.rab-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: 1fr auto; column-gap: clamp(32px, 5vw, 72px); align-items: center; }
	.rab-hero__title { grid-column: 1; grid-row: 1; align-self: end; }
	.rab-hero__bar { grid-column: 1; grid-row: 2; align-self: start; }
	.rab-hero__photo { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 3.4; order: 0; }
}

/* ---------- facts, why rabbit ---------- */
.rab-facts, .rab-why { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 0; }
.rab-facts li, .rab-why li { padding: 20px 0 20px 0; border-top: 3px solid var(--amber); display: grid; gap: 6px; align-content: start; }
.rab-facts strong, .rab-why strong { font: 700 1.2rem/1.2 var(--head); color: var(--ink); }
.rab-facts span, .rab-why span { color: var(--text); }
@media (min-width: 640px) { .rab-facts { grid-template-columns: repeat(2, 1fr); gap: 0 32px; } .rab-why { grid-template-columns: repeat(2, 1fr); gap: 0 32px; } }
@media (min-width: 1000px) { .rab-facts { grid-template-columns: repeat(4, 1fr); } .rab-why { grid-template-columns: repeat(3, 1fr); } }

/* ---------- split ---------- */
.rab-split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.rab-split > * { min-width: 0; }
@media (min-width: 860px) { .rab-split { grid-template-columns: 1.1fr 1fr; } .rab-split--flip > :first-child { order: 2; } .rab-split--people { grid-template-columns: 1fr 1fr; } }
.rab-split .rab-photo img { width: 100%; }
.rab-people { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.rab-people .rab-photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.rab-people figcaption { font-weight: 700; color: var(--ink); font-size: .9375rem; }

/* ---------- products ---------- */
.rab-prods { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 28px; }
.rab-prod { display: grid; gap: 14px; align-content: start; }
.rab-prod__ph { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; border-top-left-radius: var(--corner); background: var(--oat); }
.rab-prod__ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.rab-prod__ph--none { display: grid; place-items: center; }
.rab-prod__ph--none .rab-arcs { width: 70%; }
.rab-prod__badge { display: inline-block; font: 800 .75rem var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--amber); color: var(--ink); padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; }
.rab-prod__h { font-size: 1.3rem; margin-bottom: .25em; }
.rab-prod__h a { color: var(--ink); text-decoration: none; }
.rab-prod__h a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; }
.rab-prod__price { margin: 0; }
.rab-prod__price strong { font: 800 1.5rem var(--head); color: var(--spruce); }
.rab-prod__price span { color: var(--muted); font-size: .9375rem; }
@media (min-width: 560px) { .rab-prods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rab-prods { grid-template-columns: repeat(5, 1fr); gap: 22px; } }
.rab-prods--rows { gap: 0; grid-template-columns: 1fr; max-width: var(--w); }
.rab-prods--rows .rab-prod { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--sand); gap: 24px; }
.rab-prods--rows .rab-prod:first-child { border-top: 0; padding-top: 0; }
.rab-prods--rows .rab-prod__ph { aspect-ratio: 3 / 2; width: 100%; }
.rab-prods--rows .rab-prod__ph.is-tall { aspect-ratio: 4 / 5; max-width: 420px; }
.rab-prods--rows .rab-prod__h { font-size: clamp(1.45rem, 3vw, 2rem); }
.rab-prods--rows .rab-prod__price { margin-bottom: 14px; }
.rab-prods--rows .rab-prod__body p { max-width: 58ch; }
@media (min-width: 900px) {
	.rab-prods--rows .rab-prod { grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
	.rab-prods--rows .rab-prod:nth-child(even) { grid-template-columns: 1fr 420px; }
	.rab-prods--rows .rab-prod:nth-child(even) .rab-prod__ph { order: 2; }
	.rab-prods--rows .rab-prod__ph, .rab-prods--rows .rab-prod__ph.is-tall { width: 420px; max-width: 420px; }
}

/* ---------- who we feed ---------- */
.rab-aud { display: grid; gap: 28px; }
.rab-aud__item { display: grid; gap: 14px; align-content: start; }
.rab-aud__ph { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; border-top-left-radius: var(--corner); background: var(--oat); }
.rab-aud__ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.rab-aud__h { font-size: 1.3rem; margin-bottom: .3em; }
.rab-aud__text p { margin-bottom: .8em; }
@media (min-width: 600px) { .rab-aud { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rab-aud { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.rab-aud--rows { grid-template-columns: 1fr !important; gap: 0; max-width: var(--w); }
.rab-aud--rows .rab-aud__item { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--sand); gap: 24px; }
.rab-aud--rows .rab-aud__item:first-child { border-top: 0; padding-top: 0; }
.rab-aud--rows .rab-aud__h { font-size: clamp(1.45rem, 3vw, 2rem); }
@media (min-width: 900px) {
	.rab-aud--rows .rab-aud__item { grid-template-columns: 480px 1fr; gap: 56px; align-items: center; }
	.rab-aud--rows .rab-aud__item:nth-child(even) { grid-template-columns: 1fr 480px; }
	.rab-aud--rows .rab-aud__item:nth-child(even) .rab-aud__ph { order: 2; }
}

/* ---------- nutrition chart ---------- */
.rab-chart { margin: 0 auto; max-width: var(--w); }
.rab-chart figcaption { font: 700 1rem var(--head); color: var(--ink); margin-bottom: 12px; }
.rab-chart table { width: 100%; border-collapse: collapse; }
.rab-chart th, .rab-chart td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--sand); font-weight: 600; }
.rab-chart thead th { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rab-chart tbody th { width: 90px; color: var(--ink); }
.rab-chart td { display: flex; align-items: center; gap: 12px; }
.rab-chart__bar { display: block; height: 20px; background: var(--sand); border-radius: 0 3px 3px 0; }
.is-rabbit .rab-chart__bar { background: var(--amber); }
.rab-chart__n { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); }

/* ---------- FAQ ---------- */
.rab-faq { max-width: 860px; margin: 0 auto; }
.rab-faq details { border-top: 1px solid var(--sand); }
.rab-faq details:last-child { border-bottom: 1px solid var(--sand); }
.rab-faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 700 1.1875rem/1.3 var(--head); color: var(--ink); position: relative; }
.rab-faq summary::-webkit-details-marker { display: none; }
.rab-faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: translateY(-70%) rotate(45deg); }
.rab-faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.rab-faq details p { padding: 0 44px 22px 0; margin: 0; }

/* ---------- call to action band ---------- */
.rab-cta { max-width: var(--w); margin: 0 auto; background: var(--spruce); color: #fff; padding: clamp(28px, 5vw, 52px); border-radius: 6px; border-top-left-radius: var(--corner); position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center; }
.rab-cta > * { position: relative; }
.rab-cta h2 { color: #fff; margin-bottom: .3em; }
.rab-cta p { margin: 0; max-width: 56ch; color: #E9F1EC; }
.rab-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rab-cta__arcs { position: absolute !important; right: -30px; bottom: -20px; width: 300px; stroke: var(--amber); opacity: .35; }
@media (min-width: 900px) { .rab-cta { grid-template-columns: 1fr auto; } }
.rab-arcs { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; display: block; }

/* ---------- contact + form ---------- */
.rab-contact { display: grid; gap: 36px; }
@media (min-width: 900px) { .rab-contact { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; } }
.rab-ccard { background: var(--oat); padding: 28px; border-radius: 6px; border-top-left-radius: 56px; }
.rab-ccard h2 { font-size: 1.3rem; }
.rab-ccard ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.rab-ccard li { display: flex; gap: 10px; align-items: flex-start; }
.rab-ccard .rab-ico { margin-top: .25em; color: var(--bronze); }
.rab-ccard a { font-weight: 700; }
.rab-ccard p { font-size: .9375rem; color: var(--muted); margin: 0; }
.rab-nf .nf-form-fields-required, .rab-nf .nf-field-label label, .rab-nf label { font: 700 .9375rem var(--head); color: var(--ink); }
.rab-nf .nf-field-element input[type=text], .rab-nf .nf-field-element input[type=email], .rab-nf .nf-field-element input[type=tel], .rab-nf .nf-field-element input[type=number], .rab-nf .nf-field-element select, .rab-nf .nf-field-element textarea {
	width: 100%; border: 2px solid #9A8B72; border-radius: 4px; padding: 11px 12px; font: 400 1rem var(--body); color: var(--ink); background: #fff;
}
.rab-nf .nf-field-element textarea { min-height: 140px; }
.rab-nf .nf-field-element input:focus, .rab-nf .nf-field-element textarea:focus, .rab-nf .nf-field-element select:focus { outline: 3px solid var(--spruce); outline-offset: 1px; border-color: var(--spruce); }
.rab-nf .nf-field-container { margin-bottom: 18px; }
.rab-nf .nf-error .ninja-forms-field { border-color: #A52019; }
.rab-nf .nf-error-msg, .rab-nf .nf-form-errors .nf-error-msg { color: #A52019; font-weight: 700; font-size: .9375rem; margin-top: 6px; }
.rab-nf .listradio-container ul, .rab-nf .listcheckbox-container ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rab-nf .listradio-container li, .rab-nf .listcheckbox-container li { display: flex; gap: 10px; align-items: center; }
.rab-nf .listradio-container label, .rab-nf .listcheckbox-container label { font: 400 1rem var(--body); }
.rab-nf .nf-field-description { font-size: .875rem; color: var(--muted); margin-bottom: 4px; }
.rab-nf .nf-form-fields-required { margin-bottom: 14px; font-size: .875rem; }
.rab-nf input[type=radio], .rab-nf input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--spruce); }
@media (min-width: 600px) { .rab-nf .rab-half { width: calc(50% - 8px); float: left; margin-right: 16px; } .rab-nf .rab-half + .rab-half { margin-right: 0; } .rab-nf .nf-field-container:not(.rab-half) { clear: both; } }
.rab-nf .nf-honeypot { display: none; }
.rab-thanks { background: var(--oat); padding: 32px; border-radius: 6px; border-top-left-radius: 56px; outline: none; }
.rab-thanks__check { width: 54px; height: 54px; border-radius: 50%; background: var(--spruce); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.rab-thanks__check .rab-ico { width: 28px; height: 28px; stroke-width: 2.6; }
.rab-thanks h2 { font-size: 1.7rem; }
.rab-thanks ol { padding-left: 1.2em; }

/* ---------- footer ---------- */
.rab-foot { background: var(--spruce-d); color: #E3ECE6; position: relative; overflow: hidden; }
.rab-foot a { color: #fff; text-underline-offset: 3px; }
.rab-foot__in { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut) 32px; display: grid; gap: 32px; position: relative; }
.rab-foot__co { position: relative; }
.rab-foot__arcs { width: 120px; margin-bottom: 12px; }
.rab-foot__name { font: 800 1.9rem var(--head); color: #fff; margin: 0 0 4px; }
.rab-foot__line { margin: 0 0 14px; max-width: 34ch; }
.rab-foot__facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.rab-foot__facts li { display: flex; gap: 10px; align-items: flex-start; }
.rab-foot__facts .rab-ico { margin-top: .22em; color: var(--amber); }
.rab-foot__hours { font-size: .9375rem; margin: 0; color: #C9D8CF; }
.rab-foot__h { font: 800 .8125rem var(--body); letter-spacing: .13em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
.rab-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rab-foot__base { max-width: 1320px; margin: 0 auto; padding: 18px var(--gut) 26px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: .9375rem; color: #C9D8CF; position: relative; }
.rab-foot__base p { margin: 0; }
.rab-credit { text-decoration: underline; }
@media (min-width: 860px) { .rab-foot__in { grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; } }

/* ---------- phone bottom bar: exactly two buttons ---------- */
.rab-callbar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: 64px; }
	.rab-callbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 3px solid var(--amber); gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
	.rab-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 4px; font: 800 1.0625rem var(--head); text-decoration: none; }
	.rab-callbar__call { border: 2px solid var(--spruce); color: var(--spruce) !important; background: #fff; }
	.rab-callbar__quote { background: var(--spruce); color: #fff !important; }
	.rab-foot a.rab-callbar__quote, .rab-foot a.rab-callbar__call { text-decoration: none; }
	.rab-foot a.rab-callbar__call { color: var(--spruce); }
}

/* ---------- 404, misc ---------- */
.rab-rise { opacity: 0; transform: translateY(14px); }
.rab-rise.is-in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
@media (prefers-reduced-motion: reduce) {
	.rab-banner__slide { transition: none; }
	.rab-rise { opacity: 1; transform: none; }
}
.rab-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; }

/* ---------- order steps, tall photo ---------- */
.rab-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.rab-steps li { counter-increment: s; padding-left: 52px; position: relative; }
.rab-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--ink); font: 800 1.05rem/36px var(--head); text-align: center; }
.rab-photo--tall img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 460px; margin-inline: auto; }
.rab-photo--tall figcaption { max-width: 460px; margin-inline: auto; }
.rab-nf .nf-field-element input:focus, .rab-nf .nf-field-element textarea:focus, .rab-nf .nf-field-element select:focus, .rab-nf input[type=submit]:focus-visible { outline: 3px solid var(--spruce) !important; outline-offset: 2px !important; }
