/*
 * Hucknall Nail — main design-system stylesheet.
 * Enqueued from functions.php as 'hucknall-nail-main'. Mobile-first.
 *
 * Contents:
 *   1.  Design tokens (custom properties)
 *   2.  Reset & base
 *   3.  Layout helpers
 *   4.  Buttons & links
 *   5.  Accessibility helpers
 *   6.  Header & navigation
 *   7.  Hero
 *   8.  Section scaffolding
 *   9.  Feature cards ("Why Hucknall Nails")
 *   10. Services grid + tabs + service cards
 *   11. Story ("Who we are")
 *   12. Map + address card
 *   13. Footer
 *   14. Sticky mobile action bar
 *   15. Responsive (480 / 768 / 1024)
 */

/* 1. Design tokens ------------------------------------------------------ */
:root {
	--cream:        #f5efe6;
	--cream-2:      #efe3d3; /* gradient end / alt band */
	--card:         #ffffff;
	--tan:          #ecdcc0; /* icon tile background */
	--tan-2:        #e4d0af;
	--caramel:      #b8894a; /* small accents */
	--caramel-deep: #9d6f34;
	--gold:         #c9a24e; /* icons, story frame */
	--brown:        #3d2b21; /* headings */
	--brown-2:      #5c4b3e; /* strong body */
	--muted:        #6f6155; /* muted body */
	--line:         rgba(61, 43, 33, 0.10);

	--radius:    16px;
	--radius-lg: 22px;
	--radius-pill: 999px;

	--shadow-sm: 0 6px 18px -10px rgba(61, 43, 33, 0.30);
	--shadow-card: 0 22px 45px -26px rgba(61, 43, 33, 0.38);

	--container: 1160px;
	--gutter: clamp(1.1rem, 4vw, 2rem);

	--font-head: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* 2. Reset & base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--brown-2);
	background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--caramel-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--brown);
	line-height: 1.15;
	margin: 0 0 0.5em;
	font-weight: 700;
}

p { margin: 0 0 1rem; }

/* 3. Layout helpers ----------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }

.section__head { text-align: center; max-width: 660px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section__title { font-size: clamp(2rem, 5vw, 3.25rem); }
.section__subtitle { font-size: 1.12rem; color: var(--muted); margin: 0; }

/* 4. Buttons & links ---------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.7rem 1.6rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
	text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn--primary { background: var(--brown); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #2e2019; color: #fff; }

.btn--ghost { background: transparent; color: var(--brown); border-color: rgba(61,43,33,0.28); }
.btn--ghost:hover { background: rgba(61,43,33,0.06); color: var(--brown); }

.btn--small { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--caramel-deep);
	letter-spacing: .01em;
}
.link-arrow:hover { text-decoration: none; color: var(--brown); }
.link-arrow__icon { transition: transform .2s ease; }
.link-arrow:hover .link-arrow__icon { transform: translateX(4px); }

/* 5. Accessibility helpers --------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: absolute; top: 0; left: 0; z-index: 100000;
	padding: 0.75rem 1rem; background: #fff; color: var(--brown);
	clip: auto; width: auto; height: auto;
}

/* 6. Header & navigation ----------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(245, 239, 230, 0.92);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; padding-block: 0.7rem;
}
.site-branding__title, .custom-logo-link { display: inline-flex; align-items: center; }
.site-branding__title {
	font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
	color: var(--brown); text-decoration: none;
}
.custom-logo { max-height: 56px; width: auto; }

.nav-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 46px; height: 46px; padding: 10px;
	background: transparent; border: 0; cursor: pointer;
}
.nav-toggle__bar { height: 2px; width: 100%; background: var(--brown); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
	position: absolute; left: 0; right: 0; top: 100%;
	display: none; flex-direction: column; gap: 0.5rem;
	background: var(--cream); border-bottom: 1px solid var(--line);
	padding: 1rem var(--gutter) 1.4rem;
	box-shadow: var(--shadow-sm);
}
.site-nav.is-open { display: flex; }
.site-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.site-nav__menu a {
	display: block; padding: 0.6rem 0.25rem;
	font-family: var(--font-head); font-weight: 500; color: var(--brown-2);
	text-decoration: none;
}
.site-nav__menu a:hover, .site-nav__menu .current-menu-item > a { color: var(--brown); }
.site-nav__book { margin-top: 0.6rem; align-self: flex-start; }

/* 7. Hero --------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	text-align: center;
	min-height: 62vh;
	padding-block: clamp(3.5rem, 10vw, 7rem);
	background: linear-gradient(180deg, #efe1cd 0%, #e7d3b4 100%);
	background-size: cover; background-position: center;
	overflow: hidden;
}
.hero--has-image { color: #fff; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,26,18,.28), rgba(38,26,18,.52)); }
.hero:not(.hero--has-image) .hero__overlay { display: none; }
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero__heading { font-size: clamp(2.6rem, 8vw, 4.6rem); margin-bottom: 0.2em; color: inherit; }
.hero--has-image .hero__heading { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__tagline { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 3vw, 1.7rem); margin: 0 0 0.8rem; color: inherit; }
.hero__intro { font-size: 1.1rem; margin: 0 auto 1.8rem; max-width: 560px; color: inherit; }
.hero--has-image .hero__intro, .hero--has-image .hero__tagline { color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.hero--has-image .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero--has-image .btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* 8. Section scaffolding handled above (.section) ---------------------- */

/* 9. Feature cards ("Why Hucknall Nails") ------------------------------ */
.section--features { }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.feature-card {
	background: var(--card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.3rem, 2.5vw, 1.9rem);
	text-align: center;
	display: flex; flex-direction: column; align-items: center;
}
.feature-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; margin-bottom: 1.1rem;
	background: var(--tan); color: var(--caramel-deep);
	border-radius: 16px;
}
.feature-card__icon img { width: 30px; height: 30px; object-fit: contain; }
.feature-card__title { font-size: 1.32rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card__text { font-size: 0.98rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* 10. Services grid + tabs + service cards ----------------------------- */
.service-tabs {
	display: flex; gap: 0.3rem;
	margin-bottom: clamp(1.6rem, 4vw, 2.5rem);
	background: rgba(233, 221, 201, 0.55);
	border-radius: var(--radius);
	padding: 0.4rem;
}
/* Mobile: horizontal scroll so all tabs stay reachable with one thumb. */
.service-tabs--scroll { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.service-tabs--scroll::-webkit-scrollbar { display: none; }
.service-tab {
	appearance: none; cursor: pointer; flex: 0 0 auto;
	font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
	letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--brown-2); background: transparent; border: 0;
	border-radius: 11px; padding: 0.6rem 1.1rem; min-height: 44px;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}
.service-tab:hover { color: var(--brown); }
.service-tab.is-active { background: var(--caramel); color: #fff; }

/* Sticky category tabs (Services page): stay reachable while scrolling the list.
   Pinned just below the sticky site header via the JS-measured --hn-header-h. */
.service-tabs--sticky {
	position: sticky;
	top: var(--hn-header-h, 64px);
	z-index: 800;
	background: #ece0c8; /* opaque so cards scroll cleanly underneath */
	box-shadow: 0 12px 22px -18px rgba(61, 43, 33, 0.55);
	scroll-margin-top: var(--hn-header-h, 64px);
}

.service-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.service-grid__item.is-hidden { display: none; }

/* Layered card: tan under-layer + white inner, with a Book Now band showing below. */
.service-card {
	background: #f1e2c8; border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card); height: 100%;
	display: flex; flex-direction: column;
}
.service-card__inner { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; }
.service-card__media { aspect-ratio: 4 / 3; background: var(--tan); overflow: hidden; }
.service-card__img { width: 100%; height: 100%; object-fit: cover; }
.service-card__img--placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--tan), var(--tan-2)); }
.service-card__body { padding: 1.15rem 1.3rem 1.35rem; }
.service-card__name { font-size: 1.22rem; margin: 0 0 0.9rem; line-height: 1.2; }
.service-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.service-card__price { display: inline-flex; align-items: baseline; gap: 0.3rem; }
.service-card__from { color: var(--muted); font-size: 0.9rem; }
.service-card__amt { font-family: var(--font-head); font-weight: 700; color: var(--brown); font-size: 1.15rem; }
.service-card__duration { color: var(--brown-2); font-size: 0.95rem; white-space: nowrap; }
.service-card__book {
	display: block; text-align: center;
	padding: 0.8rem 1rem;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem;
	color: var(--brown); text-decoration: none;
	border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg);
}
.service-card__book:hover { text-decoration: none; color: var(--caramel-deep); }

/* Services page — page header CTA and 4-up grid */
.section__cta { margin: 1.4rem 0 0; }
.section__cta--bottom { margin-top: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.services-empty { text-align: center; color: var(--muted); }

/* 11. Story ("Who we are") --------------------------------------------- */
.story { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: center; }
.story__media { position: relative; }
.story__frame { position: relative; border-radius: var(--radius-lg); }
.story__frame::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	border-radius: var(--radius-lg);
	background: var(--gold);
	transform: translate(16px, -16px);
}
.story__img, .story__img--placeholder {
	position: relative; z-index: 1;
	width: 100%; border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	object-fit: cover;
}
.story__img--placeholder { display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--tan), var(--tan-2)); }
.story__title { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
.story__text { color: var(--brown-2); font-size: 1.05rem; line-height: 1.8; }
.story__text p:last-child { margin-bottom: 1.2rem; }

/* 12. Map + address card ------------------------------------------------ */
.map-block { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.map-block__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: var(--tan); min-height: 300px; }
.map-block__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.map-block__placeholder { display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 300px; padding: 2rem; color: var(--muted); }
.map-block__card {
	background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
	padding: 1.8rem 1.8rem 2rem; font-style: normal; align-self: start;
	display: flex; flex-direction: column; gap: 0.35rem;
}
.map-block__title { margin: 0 0 0.4rem; font-size: 1.5rem; }
.map-block__line { margin: 0; color: var(--brown-2); }
.map-block__book { margin-top: 1rem; align-self: flex-start; }

/* 13. Footer ------------------------------------------------------------ */
.site-footer { background: #2f231b; color: #e9ddcd; margin-top: clamp(2rem, 6vw, 4rem); }
.site-footer a { color: #e9ddcd; }
.site-footer a:hover { color: #fff; }
.site-footer__inner { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-block: clamp(2.4rem, 6vw, 3.5rem); }
.site-footer__title { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; }
.site-footer__tagline { color: #c9b8a3; margin-top: 0.4rem; }
.site-footer__heading { font-size: 1.15rem; color: #fff; margin-bottom: 0.8rem; }
.site-footer__address { font-style: normal; line-height: 1.9; }
.hours-list { margin: 0; }
.hours-list__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; max-width: 280px; }
.hours-list__day { margin: 0; color: #c9b8a3; }
.hours-list__time { margin: 0; }
.site-footer__menu { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.site-footer__copyright { margin: 0; padding-block: 1.2rem; text-align: center; color: #b7a794; font-size: 0.9rem; }

/* 14. Sticky mobile action bar ----------------------------------------- */
.mobile-action-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
	display: flex; gap: 0.6rem;
	padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
	background: rgba(245, 239, 230, 0.97);
	border-top: 1px solid var(--line);
	box-shadow: 0 -8px 24px -14px rgba(61,43,33,0.4);
}
.mobile-action-bar__btn {
	flex: 1; display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0.6rem 1rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.mobile-action-bar__btn--call { background: transparent; color: var(--brown); border: 2px solid rgba(61,43,33,0.28); }
.mobile-action-bar__btn--book { background: var(--brown); color: var(--cream); }
.mobile-action-bar__btn:hover { text-decoration: none; }

/* Give content room so the sticky bar never overlaps the last item. */
body { padding-bottom: 76px; }

/* 15. Responsive -------------------------------------------------------- */
@media (min-width: 480px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
	body { padding-bottom: 0; }               /* sticky bar hidden on desktop */
	.mobile-action-bar { display: none; }

	.site-header__inner { padding-block: 0.9rem; }
	.nav-toggle { display: none; }
	.site-nav {
		position: static; display: flex; flex-direction: row; align-items: center;
		gap: 1.4rem; background: transparent; border: 0; box-shadow: none; padding: 0;
	}
	.site-nav__menu { flex-direction: row; align-items: center; gap: 1.2rem; }
	.site-nav__book { margin-top: 0; align-self: auto; }

	.story { grid-template-columns: 1fr 1fr; }
	.map-block { grid-template-columns: 1.6fr 1fr; }
	.site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
	.feature-grid { grid-template-columns: repeat(4, 1fr); }
	.service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* ======================================================================
 * ABOUT + CONTACT (Step 4)
 * ==================================================================== */

/* Layout helpers */
.container--narrow { max-width: 820px; }
.section__head--left { text-align: left; max-width: 720px; margin-left: 0; margin-right: 0; }

/* Gold/caramel button (for dark backgrounds: About hero, CTA band) */
.btn--gold { background: var(--caramel); color: #fff; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--caramel-deep); color: #fff; }

/* About hero — dark brown, light text (image optional) */
.hero--about { background: linear-gradient(155deg, #3a2c20 0%, #4b3a29 100%); color: #fff; min-height: 46vh; }
.hero--about .hero__heading, .hero--about .hero__intro { color: #fff; }
.hero--about .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero--about .btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Meet the team */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.team-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.team-card__media { aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--tan), var(--tan-2)); position: relative; }
.team-card__img { width: 100%; height: 100%; object-fit: cover; }
.team-card__img--placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 8vw, 5rem); color: rgba(255,255,255,.9); }
.team-card__body { padding: 1.3rem 1.5rem 1.6rem; }
.team-card__name { font-size: 1.45rem; margin: 0 0 0.15rem; }
.team-card__role { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--caramel-deep); margin: 0 0 0.7rem; }
.team-card__badge { display: inline-block; background: var(--tan); color: var(--brown); font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); margin: 0 0 0.9rem; }
.team-card__bio { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* How we work — numbered steps */
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 1.3rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--caramel); min-width: 2.4rem; }
.step__title { font-size: 1.25rem; margin: 0 0 0.3rem; }
.step__text { margin: 0; color: var(--muted); }

/* Our commitment */
.commit-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.commit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.commit-card__eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--caramel-deep); margin: 0 0 0.5rem; }
.commit-card__title { font-size: 1.15rem; margin: 0 0 0.4rem; }
.commit-card__text { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* CTA band (dark rounded panel) */
.cta-band { padding-block: clamp(2rem, 5vw, 3.5rem); }
.cta-band__inner { background: linear-gradient(155deg, #3a2c20 0%, #4b3a29 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; text-align: center; }
.cta-band__heading, .cta-band__subheading { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 0; }
.cta-band__btn { margin-top: 1.6rem; }
.cta-band__address { margin: 1.4rem 0 0; color: rgba(255,255,255,.7); font-size: 0.9rem; }

/* Contact page */
.section--contact .section__head { margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 3rem); }
.contact-block { margin-bottom: 1.6rem; }
.contact-block__label { font-size: 1.15rem; color: var(--brown); border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; margin: 0 0 0.7rem; }
.contact-block__body { color: var(--brown-2); font-style: normal; margin: 0; line-height: 1.7; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 0.25rem 0; font-weight: 400; }
.hours-table th { text-align: left; color: var(--muted); }
.hours-table td { text-align: right; color: var(--brown-2); }
.contact-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: var(--tan); min-height: 300px; margin-bottom: 1.6rem; }
.contact-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.contact-map__placeholder { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 300px; padding: 2rem; color: var(--muted); }
.contact-form__placeholder { color: var(--muted); }

/* Alternating section bands to echo the reference rhythm */
.section--about-story, .section--how { background: rgba(233, 221, 201, 0.35); }

/* Responsive (Step 4 additions) */
@media (min-width: 600px) {
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.commit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
	.contact-layout { grid-template-columns: 1fr 1.3fr; align-items: start; }
	/* Tabs: centered pill bar on desktop (no scroll needed) */
	.service-tabs--scroll { flex-wrap: wrap; overflow: visible; justify-content: center; }
	.service-tabs { justify-content: center; }
}
@media (min-width: 1024px) {
	.team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Services page grid: 2-up small, 4-up desktop (Step 5) */
@media (min-width: 480px) {
	.service-grid--page { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.service-grid--page { grid-template-columns: repeat(4, 1fr); }
}
