*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-skip-ink: auto;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Riddells Creek Sand Soil & Building Supplies: design tokens. Colours from the 2021 truck livery. */
:root {
  /* colour */
  --navy: #1c2759;
  --navy-2: #2c3a78;
  --red: #d2232a;
  --red-dark: #b31b21;
  --grey: #8d93a3;
  --ink: var(--navy);
  --ink-2: #474d6b;
  --muted: #5d627c;
  --bg: #fbfbf9;
  --paper: #f2f2ee;
  --surface: #ffffff;
  --line: #e3e3de;
  --line-strong: #c9cac3;
  --open: #2f8f52;
  --star: #e2a400;
  --on-dark: #ffffff;
  --on-dark-2: #c9cde0;

  /* type */
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --heading-stretch: 110%;
  --heading-weight: 850;
  --text-xs: 0.8125rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.15rem;
  --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --text-3xl: clamp(2.1rem, 1.4rem + 3vw, 3.1rem);
  --text-hero: clamp(2.3rem, 1rem + 3.4vw, 3.5rem);
  --label-size: 0.72rem;
  --label-tracking: 0.16em;

  /* space */
  --space-2xs: 0.35rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --space-section: clamp(3rem, 2.2rem + 4vw, 5.5rem);

  /* layout */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 72px;
  --mobile-bar-h: 60px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 0 rgb(28 39 89 / 0.04), 0 10px 26px rgb(28 39 89 / 0.08);
  --shadow-lift: 0 2px 0 rgb(28 39 89 / 0.04), 0 16px 34px rgb(28 39 89 / 0.14);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur: 300ms;
  --dur-hero: 1100ms;
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-hero: 0ms; }
}

@media (prefers-contrast: more) {
  :root { --ink-2: #1c2759; --muted: #1c2759; --line: #8d93a3; --line-strong: #474d6b; }
}

/* ---------- base ---------- */
html { background: var(--bg); scroll-padding-top: calc(var(--header-h) + 1rem); overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--text-base); line-height: 1.6; overflow-x: clip; }
h1, h2, h3 { font-family: var(--font); font-style: italic; font-weight: var(--heading-weight); font-stretch: var(--heading-stretch); letter-spacing: -0.015em; line-height: 1.05; color: var(--navy); }
h1 { font-size: var(--text-3xl); }
a { color: var(--navy); text-decoration-color: var(--red); text-underline-offset: 0.2em; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: var(--radius-sm); }
::selection { background: var(--navy); color: var(--on-dark); }
.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: var(--gutter); top: -100px; z-index: 100; background: var(--navy); color: var(--on-dark); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--space-xs); color: var(--on-dark); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--space-section); }
.section--paper { background: var(--paper); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-sm) var(--space-md); margin-bottom: var(--space-lg); }
.section__title { font-size: var(--text-2xl); }
.section > .container > .section__title { margin-bottom: var(--space-lg); }
.label { font-size: var(--label-size); font-weight: 700; letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--red); }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.text-link { font-size: var(--text-sm); font-weight: 700; text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--red); padding-bottom: 2px; white-space: nowrap; transition: color var(--dur-fast); }
.text-link:hover { color: var(--red-dark); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 1.15rem; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-size: var(--text-sm); font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn--red { background: var(--red); color: var(--on-dark); }
.btn--red:hover { background: var(--red-dark); color: var(--on-dark); }
.btn--navy { background: var(--navy); color: var(--on-dark); }
.btn--navy:hover { background: var(--navy-2); color: var(--on-dark); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--on-dark); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: var(--space-md); min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: clamp(140px, 110px + 10vw, 238px); height: auto; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: clamp(0.9rem, 0.2rem + 1.2vw, 1.6rem); }
.site-nav__list > li > a { display: inline-block; padding-block: 0.4rem; font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; transition: color var(--dur-fast), border-color var(--dur-fast); }
.site-nav__list > li > a:hover { color: var(--navy); border-color: var(--line-strong); }
.site-nav__list > li > a[aria-current="page"] { color: var(--navy); border-color: var(--red); }
.site-nav__hours { display: none; }
.has-sub { position: relative; display: flex; align-items: center; gap: 0.15rem; }
.sub-toggle { width: 26px; height: 26px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: var(--radius-sm); }
.sub-toggle::before { content: ''; width: 7px; height: 7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-fast); }
.sub-toggle[aria-expanded="true"]::before { transform: translateY(1px) rotate(225deg); }
.sub { list-style: none; position: absolute; top: calc(100% + 0.6rem); left: -1rem; min-width: 230px; padding: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lift); display: none; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -0.9rem; height: 0.9rem; }
.sub a { display: block; padding: 0.55rem 0.75rem; border-radius: var(--radius-sm); text-decoration: none; font-size: var(--text-sm); font-weight: 600; color: var(--navy); }
.sub a:hover { background: var(--paper); color: var(--navy); }
.has-sub:hover .sub, .sub-toggle[aria-expanded="true"] + .sub { display: block; }
/* the Call button stays in the header at every width; on the narrowest phones it shortens to "Call" */
.header-call { flex: none; }
.header-call svg { width: 16px; height: 16px; flex: none; }
.header-call__short { display: none; }
.menu-btn { display: none; }

@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.8rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: var(--text-sm); font-weight: 700; color: var(--navy); cursor: pointer; }
  .menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 18px; height: 2px; background: var(--navy); transition: transform var(--dur-fast), background-color var(--dur-fast); }
  .menu-btn i { position: relative; }
  .menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; }
  .menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
  .menu-btn[aria-expanded="true"] i { background: transparent; }
  .menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); padding: var(--space-sm) var(--gutter) var(--space-md); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; display: none; }
  .js .site-nav.is-open, html:not(.js) .site-nav { display: block; }
  html:not(.js) .site-nav { position: static; box-shadow: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__list > li > a { display: block; padding: 0.85rem 0; font-size: var(--text-lg); font-weight: 600; color: var(--navy); border: 0; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: none; }
  .sub { position: static; min-width: 0; width: 100%; padding: 0 0 0.6rem; border: 0; box-shadow: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 1rem; }
  .sub::before { display: none; }
  .sub a { padding: 0.45rem 0; font-weight: 500; color: var(--ink-2); }
  .site-nav__hours { display: block; margin-top: var(--space-md); font-size: var(--text-xs); color: var(--muted); }
}
@media (max-width: 639px) {
  .site-header__in { gap: 0.5rem; }
  .header-call { min-height: 44px; padding: 0 0.85rem; }
  .menu-btn { padding: 0 0.7rem; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 399px) {
  .header-call__num { display: none; }
  .header-call__short { display: inline; }
}

/* ---------- breadcrumbs and page heads ---------- */
.crumbs { padding-top: var(--space-md); font-size: var(--text-xs); color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.page-head { padding-block: var(--space-md) var(--space-lg); display: grid; gap: var(--space-sm); justify-items: start; }
.page-head__call { font-size: var(--text-sm); color: var(--muted); }
.page-head__call a { font-weight: 700; }
.page-head .btns { margin-top: var(--space-xs); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 4px solid var(--red); padding-top: var(--space-xl); font-size: var(--text-sm); color: var(--ink-2); }
.site-footer__in { display: grid; gap: var(--space-lg); grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; display: grid; gap: var(--space-sm); justify-items: start; }
.site-footer__brand img { width: 220px; height: auto; }
.site-footer__head { font-size: var(--label-size); font-style: normal; font-weight: 700; font-stretch: 100%; letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-sm); }
.site-footer__list { list-style: none; display: grid; gap: 0.35rem; }
.site-footer__list a { text-decoration: none; color: var(--ink-2); }
.site-footer__list a:hover { color: var(--navy); text-decoration: underline; }
.site-footer__call { margin-top: var(--space-sm); }
.site-footer__call a { font-weight: 700; font-size: var(--text-base); text-decoration: none; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: var(--space-xl); padding-block: var(--space-md); border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--muted); }
.site-footer__base a { color: var(--muted); }
@media (min-width: 800px) {
  .site-footer__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: auto; }
}

/* ---------- mobile action bar ---------- */
.mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1px; background: var(--line); box-shadow: 0 -6px 20px rgb(28 39 89 / 0.12); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: grid; place-items: center; min-height: var(--mobile-bar-h); font-weight: 700; font-size: var(--text-sm); text-decoration: none; }
.mobile-bar a:first-child { background: var(--red); color: var(--on-dark); }
.mobile-bar a:last-child { background: var(--navy); color: var(--on-dark); }
body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- hero (home) ---------- */
.hero { display: grid; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero__copy { padding: var(--space-xl) var(--gutter) var(--space-lg); display: grid; gap: var(--space-md); justify-items: start; align-content: center; }
.hero h1 { font-size: var(--text-hero); line-height: 1; max-width: 15ch; }
.hero .lede { max-width: 40ch; }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: var(--text-xs); color: var(--ink-2); }
.open-now { display: inline-flex; align-items: center; gap: 0.5rem; }
.open-now[data-state]::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.open-now[data-state="open"]::before { background: var(--open); box-shadow: 0 0 0 3px rgb(47 143 82 / 0.18); }
.meta__rating { color: var(--ink-2); text-decoration: none; }
.meta__rating b { color: var(--star); }
.meta__rating:hover { color: var(--navy); text-decoration: underline; }
.hero__photo { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.bands { position: absolute; left: -2%; right: -2%; bottom: 6%; height: 30px; pointer-events: none; }
.bands span { position: absolute; left: 0; right: 0; transform: skewY(-3.5deg); transform-origin: left center; }
.bands span:nth-child(1) { top: 0; height: 5px; background: var(--navy); }
.bands span:nth-child(2) { top: 9px; height: 11px; background: var(--red); }
.bands span:nth-child(3) { top: 24px; height: 4px; background: var(--grey); }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); min-height: clamp(440px, 58vh, 580px); }
  .hero__copy { padding-block: var(--space-xl); padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: var(--space-lg); }
  .hero__photo { aspect-ratio: auto; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .bands { left: 0; bottom: 8%; height: 46px; }
  .bands span:nth-child(2) { top: 13px; height: 16px; }
  .bands span:nth-child(3) { top: 35px; height: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: hero-settle 2.2s var(--ease-out) both; }
  .bands span { animation: band-sweep 1s var(--ease-out) both; }
  .bands span:nth-child(1) { animation-delay: 0.3s; }
  .bands span:nth-child(2) { animation-delay: 0.42s; }
  .bands span:nth-child(3) { animation-delay: 0.54s; }
  .hero__copy > * { animation: rise 0.8s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero__copy > :nth-child(5) { animation-delay: 0.24s; }
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes band-sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--navy); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); color: var(--navy); }
.tile__ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.tile__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
a.tile:hover .tile__ph img { transform: scale(1.04); }
.tile__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.15rem 0.6rem; padding: 0.75rem 0.85rem 0.85rem; }
.tile__cap strong { font-style: italic; font-weight: var(--heading-weight); font-stretch: var(--heading-stretch); font-size: var(--text-lg); line-height: 1.1; }
.tile__cap small { font-size: var(--text-xs); color: var(--muted); }
.tile--call { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); color: var(--on-dark); padding: var(--space-md); justify-content: space-between; gap: var(--space-md); }
.tile--call h3 { color: var(--on-dark); font-size: var(--text-xl); }
.tile--call p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--on-dark-2); max-width: 32ch; }
.tile--call .btn { align-self: flex-start; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tile--call { grid-column: auto; } }

/* ---------- product cards ---------- */
.products-wrap { display: grid; gap: var(--space-md); align-content: start; min-width: 0; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); align-content: start; }
.products__also { font-size: var(--text-sm); color: var(--ink-2); }
.products__also a { font-weight: 700; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 1rem); }
.product:target { border-color: var(--red); box-shadow: 0 0 0 3px rgb(210 35 42 / 0.18); }
.product__ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
.product__body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.75rem 0.85rem 0.9rem; flex: 1; }
.product__name { font-size: var(--text-lg); line-height: 1.12; }
.product__body p { font-size: var(--text-sm); line-height: 1.45; color: var(--ink-2); }
.product__price { margin-top: auto; padding-top: 0.35rem; font-size: var(--text-sm); font-weight: 700; color: var(--red); text-decoration: none; }
.product__price:hover { color: var(--red-dark); text-decoration: underline; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); } }

.cat-layout { display: grid; gap: var(--space-lg); padding-bottom: var(--space-section); }
.cat-layout__side { display: grid; gap: var(--space-sm); align-content: start; }
.side-note { font-size: var(--text-sm); color: var(--muted); }
@media (min-width: 1000px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .cat-layout__side { position: sticky; top: calc(var(--header-h) + var(--space-md)); }
}

/* ---------- calculator ---------- */
.calc { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: var(--space-md); display: grid; gap: var(--space-sm); align-content: start; }
.calc__h { font-size: var(--text-xl); }
.calc label { display: grid; gap: 0.3rem; font-size: var(--label-size); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.calc select, .calc input { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--navy); font-size: var(--text-base); font-weight: 600; letter-spacing: 0; text-transform: none; padding: 0.5rem 0.6rem; }
.calc__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.calc__row label span { display: flex; align-items: center; gap: 0.35rem; font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.calc__row input { min-width: 0; -moz-appearance: textfield; }
.calc__row input::-webkit-inner-spin-button, .calc__row input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc__out { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.5rem; border-top: 1px solid var(--line); padding-top: var(--space-sm); font-style: italic; font-weight: var(--heading-weight); font-stretch: var(--heading-stretch); font-size: var(--text-2xl); line-height: 1; color: var(--navy); }
.calc__out small { font-style: normal; font-weight: 500; font-stretch: 100%; font-size: var(--text-xs); color: var(--muted); }
.calc__note { font-size: var(--text-xs); color: var(--muted); }
.calc__note a { font-weight: 700; }

/* ---------- cards: pick up / delivery ---------- */
.get { display: grid; gap: var(--space-md); align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-md); display: grid; gap: var(--space-xs); align-content: start; }
.card h2, .card h3 { font-size: var(--text-xl); }
.card p { font-size: var(--text-sm); color: var(--ink-2); }
.card .card__meta { color: var(--muted); font-size: var(--text-xs); margin-top: var(--space-xs); }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.2rem; }
.towns li { font-size: var(--text-xs); font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 0.2rem 0.65rem; }
@media (min-width: 900px) { .get { grid-template-columns: 1fr 1fr 1.1fr; } }
.get--page { padding-bottom: var(--space-lg); }

/* ---------- hours, contact list, map, rating ---------- */
.hours { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.hours th, .hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; color: var(--ink-2); }
.hours td { text-align: right; font-weight: 600; color: var(--navy); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); font-weight: 700; }
.contact-list { list-style: none; display: grid; gap: 0.3rem; font-size: var(--text-sm); color: var(--ink-2); }
.contact-list a { color: var(--ink-2); }
.contact-list b { color: var(--navy); }

.visit { display: grid; gap: var(--space-lg); }
.visit__info { display: grid; gap: var(--space-md); align-content: start; justify-items: start; }
.visit__info .hours { max-width: 420px; }
.visit__map { position: relative; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; } }

.map { position: relative; }
.map > a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.9), 0 6px 14px rgb(28 39 89 / 0.35); }
.map__pin::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.map__go { position: absolute; right: 0.75rem; bottom: 0.75rem; background: var(--navy); color: var(--on-dark); font-size: var(--text-xs); font-weight: 700; padding: 0.45rem 0.75rem; border-radius: var(--radius-sm); }
.map > a:hover .map__go { background: var(--red); }
.map figcaption { margin-top: 0.4rem; font-size: 0.72rem; color: var(--muted); }
.map figcaption a { color: var(--muted); }
.rating { position: absolute; left: 0.75rem; top: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); border-radius: var(--radius); padding: 0.5rem 0.8rem; box-shadow: var(--shadow-lift); font-size: var(--text-xs); color: var(--ink-2); text-decoration: none; }
.rating b { font-style: italic; font-weight: var(--heading-weight); font-stretch: var(--heading-stretch); font-size: var(--text-xl); color: var(--navy); }
.rating__stars { color: var(--star); letter-spacing: 0.05em; }
.rating:hover { color: var(--navy); }

/* ---------- landscape hub ---------- */
.hub { display: grid; gap: var(--space-xl); padding-bottom: var(--space-section); }
.hub-cat { display: grid; gap: var(--space-md); padding-top: var(--space-lg); border-top: 1px solid var(--line); }
.hub-cat__head { display: grid; gap: var(--space-xs); justify-items: start; align-content: start; }
.hub-cat__head h2 { font-size: var(--text-2xl); }
.hub-cat__head h2 a { text-decoration: none; color: var(--navy); }
.hub-cat__head p { color: var(--ink-2); font-size: var(--text-sm); max-width: 36ch; }
.minis { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--space-sm); }
.mini { display: grid; gap: 0.4rem; text-decoration: none; color: var(--navy); font-size: var(--text-xs); font-weight: 600; line-height: 1.3; }
.mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.mini:hover img { transform: translateY(-2px); box-shadow: var(--shadow); }
.mini:hover span { text-decoration: underline; text-decoration-color: var(--red); }
@media (min-width: 900px) { .hub-cat { grid-template-columns: 280px minmax(0, 1fr); } }

.calc-band { display: grid; gap: var(--space-lg); align-items: start; }
.calc-band p { color: var(--ink-2); margin-top: var(--space-sm); max-width: 40ch; }
@media (min-width: 900px) { .calc-band { grid-template-columns: 1fr 380px; } }

/* ---------- related categories ---------- */
.related { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-sm); }
.related a { display: flex; align-items: center; gap: 0.7rem; padding: 0.45rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: var(--text-sm); color: var(--navy); transition: border-color var(--dur-fast), box-shadow var(--dur) var(--ease-out); }
.related a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.related img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }

/* ---------- photo gallery (timber, hardware) ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); padding-bottom: var(--space-section); }
.gallery figure { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper); }
.gallery .is-tall img { object-fit: contain; }
.gallery figcaption { font-size: var(--text-sm); font-weight: 600; color: var(--navy); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: var(--container-narrow); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: 1.05rem 0; font-style: italic; font-weight: var(--heading-weight); font-stretch: var(--heading-stretch); font-size: var(--text-lg); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-style: normal; font-size: 1.4rem; line-height: 1; color: var(--red); transition: transform var(--dur-fast); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 1.1rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- forms ---------- */
.enquiry { display: grid; gap: var(--space-md); align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-md); }
.field { display: grid; gap: 0.35rem; border: 0; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 600; color: var(--navy); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 0.65rem 0.8rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--navy); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgb(210 35 42 / 0.35); outline-offset: 0; border-color: var(--red); }
.field-row { display: grid; gap: var(--space-md); }
.choice { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: 0.35rem; }
.choice label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; color: var(--ink-2); }
.choice input { width: 18px; height: 18px; accent-color: var(--red); }
.form-notice { padding: var(--space-sm) var(--space-md); border-left: 4px solid var(--red); background: var(--paper); font-size: var(--text-sm); color: var(--ink-2); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---------- about ---------- */
.about { display: grid; gap: var(--space-lg); padding-block: var(--space-md) var(--space-section); align-items: center; }
.about__text { display: grid; gap: var(--space-md); justify-items: start; }
.about__text p:not(.lede) { color: var(--ink-2); max-width: 52ch; }
.about__photo img { width: 100%; border-radius: var(--radius); }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact { display: grid; gap: var(--space-lg); padding-bottom: var(--space-section); align-items: start; }
.contact__info { display: grid; gap: var(--space-md); align-content: start; }
.contact__phone { font-style: italic; font-weight: var(--heading-weight); font-stretch: var(--heading-stretch); font-size: var(--text-3xl); line-height: 1; color: var(--red); text-decoration: none; }
.contact__phone:hover { color: var(--red-dark); }
.contact__sub { font-size: var(--text-xl); }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

