/*
Theme Name: Rossendale Self Storage
Theme URI: https://www.rossendaleselfstorage.com/
Author: Theo Technologies Group
Description: Lightweight custom theme for Rossendale Self Storage.
Version: 1.0.2
Text Domain: rossendale-storage
*/

:root {
  --red-700: #c8101e;
  --red-600: #e31b2b;
  --red-500: #f02b3a;
  --ink-950: #121315;
  --ink-900: #1b1d20;
  --ink-700: #41454b;
  --ink-500: #6a7078;
  --line: #dfe1e4;
  --paper: #ffffff;
  --paper-soft: #fbfaf7;
  --mist: #f4f4f2;
  --warm: #ebe8e2;
  --success: #126b45;
  --error: #a11621;
  --shadow-sm: 0 10px 30px rgba(18, 19, 21, 0.07);
  --shadow-lg: 0 24px 55px rgba(18, 19, 21, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-950);
  background: var(--paper);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.4rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.site-shell {
  width: var(--shell);
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ffbe0b;
  outline-offset: 3px;
}

.utility-bar {
  color: var(--ink-950);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.82rem;
}

.utility-bar__inner,
.utility-bar__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.utility-bar__inner {
  min-height: 38px;
}

.utility-bar a {
  text-decoration: none;
}

.utility-bar a:hover {
  color: var(--red-700);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(18, 19, 21, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink-950);
  text-decoration: none;
}

.brand__logo {
  width: clamp(142px, 14vw, 178px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(18, 19, 21, 0.08));
}

.brand__logo--footer {
  width: 170px;
  max-width: 100%;
  filter: none;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  position: relative;
  padding-block: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--red-600);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease-out;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  min-width: 48px;
  height: 48px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--red-600);
  color: var(--paper);
  font-weight: 900;
}

.menu-toggle__label {
  font-size: 0.86rem;
  line-height: 1;
}

.menu-toggle__bars {
  display: grid;
  width: 22px;
  gap: 5px;
}

.menu-toggle__bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--paper);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease-out, background 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
}

.button--compact {
  min-height: 44px;
  padding: 11px 19px;
  font-size: 0.9rem;
}

.button--primary {
  color: var(--paper);
  background: var(--red-600);
}

.button--primary:hover {
  background: var(--red-700);
}

.button--dark {
  color: var(--paper);
  background: var(--ink-900);
}

.button--dark:hover {
  background: var(--red-600);
}

.button--ghost {
  border-color: var(--line);
  color: var(--ink-950);
  background: var(--paper);
}

.button--ghost:hover {
  border-color: var(--red-600);
  color: var(--red-700);
  background: var(--paper);
}

.button--outline {
  border-color: var(--ink-950);
  background: transparent;
}

.button--outline:hover {
  color: var(--paper);
  background: var(--ink-950);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, 80vh);
  align-items: end;
  overflow: hidden;
  color: var(--ink-950);
  background: var(--paper-soft);
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 38%, rgba(255, 255, 255, 0.36) 66%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.1) 42%, rgba(255, 255, 255, 0) 100%),
    url("assets/images/facility-panorama.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--shell);
  align-items: end;
  padding-block: clamp(94px, 12vw, 156px) 58px;
  grid-template-columns: minmax(0, 720px) minmax(250px, 330px);
  gap: clamp(28px, 6vw, 70px);
}

.hero__copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 24px;
}

.hero__lead {
  max-width: 670px;
  margin-bottom: 32px;
  color: var(--ink-900);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__proof {
  display: grid;
  padding: 24px;
  border: 1px solid rgba(18, 19, 21, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
  gap: 10px;
}

.hero__proof strong {
  color: var(--red-700);
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.hero__proof span {
  position: relative;
  padding-left: 22px;
  color: var(--ink-700);
  font-weight: 800;
}

.hero__proof span::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--red-500);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--paper);
}

.hero .eyebrow {
  color: var(--red-700);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 26px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 23px;
  color: var(--ink-700);
  font-size: 0.91rem;
  font-weight: 700;
}

.trust-list li::before {
  position: absolute;
  top: 0.22em;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--red-500);
  border-radius: 50%;
  content: "";
}

.quick-answer {
  color: var(--paper);
  background: var(--red-600);
}

.quick-answer__grid {
  display: grid;
  min-height: 164px;
  align-items: center;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 50px;
}

.quick-answer h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.7rem);
}

.quick-answer .eyebrow {
  color: var(--paper);
}

.quick-answer p {
  margin: 0;
  color: var(--paper);
}

.pricing-preview {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
}

.pricing-preview__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 7vw, 88px);
}

.pricing-preview h2 {
  margin-bottom: 22px;
}

.pricing-preview p {
  max-width: 520px;
  color: var(--ink-700);
  font-size: 1.08rem;
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.price-strip article {
  display: grid;
  min-height: 170px;
  align-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  gap: 8px;
}

.price-strip article:last-child {
  border-right: 0;
}

.price-strip span {
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.price-strip strong {
  color: var(--red-700);
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1;
}

.price-strip small {
  color: var(--ink-500);
  font-weight: 700;
}

.text-link {
  white-space: nowrap;
  font-weight: 900;
  text-decoration: none;
}

.text-link span,
.service-card a span {
  display: inline-block;
  transition: transform 160ms ease-out;
}

.text-link:hover span,
.service-card a:hover span {
  transform: translateX(5px);
}

.section {
  padding-block: clamp(72px, 9vw, 124px);
}

.section--light {
  background:
    linear-gradient(180deg, var(--mist) 0%, var(--paper-soft) 100%);
}

.section--dark {
  color: var(--ink-950);
  background:
    linear-gradient(135deg, var(--paper-soft) 0%, var(--warm) 100%);
}

.section--red {
  color: var(--paper);
  background: var(--red-600);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 48px;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 80px;
}

.section-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 7px;
  color: var(--ink-700);
  font-size: 1.05rem;
}

.section-heading--dark > p {
  color: var(--ink-700);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
  box-shadow: var(--shadow-sm);
}

.service-card--featured {
  color: var(--ink-950);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0.38) 100%),
    url("assets/images/heated-unit.jpg") center/cover;
}

.service-card__number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(18, 19, 21, 0.16);
  font-family: "Arial Narrow", sans-serif;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
}

.service-card--featured .service-card__number {
  color: rgba(18, 19, 21, 0.18);
}

.service-card h3 {
  max-width: 330px;
  margin: 55px 0 18px;
}

.service-card p {
  max-width: 520px;
  color: var(--ink-700);
}

.service-card--featured p {
  color: var(--ink-700);
}

.service-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--red-600);
  font-weight: 900;
  text-decoration: none;
}

.service-card--featured a {
  color: var(--red-700);
}

.story {
  overflow: hidden;
}

.story__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 8vw, 110px);
}

.story__media {
  position: relative;
}

.story__media img {
  width: 100%;
  min-height: 430px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.story__stat {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 190px;
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--paper);
  background: var(--red-600);
  box-shadow: var(--shadow-lg);
}

.story__stat strong,
.story__stat span {
  display: block;
}

.story__stat strong {
  font-size: 2rem;
}

.story__content > p:not(.eyebrow) {
  color: var(--ink-700);
  font-size: 1.08rem;
}

.tick-list {
  display: grid;
  padding: 8px 0;
  margin: 0 0 28px;
  list-style: none;
  gap: 13px;
}

.tick-list li {
  position: relative;
  padding-left: 29px;
  font-weight: 700;
}

.tick-list li::before {
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 14px;
  height: 8px;
  border-bottom: 3px solid var(--red-600);
  border-left: 3px solid var(--red-600);
  content: "";
  transform: rotate(-45deg);
}

.heritage {
  background: var(--warm);
}

.heritage__grid {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 92px);
}

.heritage__grid h2 {
  margin-bottom: 0;
}

.heritage__content p {
  color: var(--ink-700);
  font-size: 1.08rem;
}

.heritage__milestones {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.heritage__milestones article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(18, 19, 21, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.heritage__milestones span,
.heritage__milestones strong {
  display: block;
}

.heritage__milestones span {
  margin-bottom: 18px;
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heritage__milestones strong {
  max-width: 260px;
  color: var(--ink-950);
  font-size: 1.25rem;
  line-height: 1.2;
}

.steps {
  display: grid;
  padding: 0;
  margin: 0;
  counter-reset: none;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  gap: 18px;
  background: transparent;
}

.steps li {
  min-height: 280px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(18, 19, 21, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.steps > li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red-700);
  font-weight: 900;
}

.steps p {
  color: var(--ink-700);
}

.location {
  background: var(--warm);
}

.location__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.location address {
  margin: 26px 0;
  font-style: normal;
  font-weight: 700;
}

.location img {
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.quote-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(48px, 8vw, 100px);
}

.quote-layout h2 {
  margin-bottom: 25px;
}

.quote-layout > div > p:not(.eyebrow) {
  color: var(--paper);
  font-size: 1.08rem;
}

.contact-direct {
  padding-top: 28px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-direct span,
.contact-direct a {
  display: block;
}

.contact-direct a {
  margin-top: 4px;
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
}

.form-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  color: var(--ink-950);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.enquiry-form label {
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 7px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c7cbd0;
  border-radius: var(--radius-sm);
  color: var(--ink-950);
  background: var(--paper);
  font: inherit;
}

.enquiry-form textarea {
  min-height: 130px;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--red-600);
  outline: 3px solid rgba(227, 27, 43, 0.15);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-consent {
  display: flex !important;
  align-items: flex-start;
  font-weight: 500 !important;
  line-height: 1.45;
  gap: 10px !important;
}

.form-consent input {
  width: 19px;
  min-height: 19px;
  margin-top: 2px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
}

.form-notice {
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.form-notice--success {
  color: var(--success);
  background: #e8f6ee;
}

.form-notice--error {
  color: var(--error);
  background: #fdebed;
}

.page-hero {
  --page-hero-image: url("assets/images/facility-panorama.jpg");
  position: relative;
  padding-block: clamp(75px, 10vw, 130px);
  overflow: hidden;
  color: var(--ink-950);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(255, 255, 255, 0.22) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.08)),
    var(--page-hero-image) center/cover;
}

.page-hero__grid {
  min-height: clamp(280px, 38vw, 430px);
  display: flex;
  align-items: center;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.page-hero__grid > div > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 1.2rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.content-card-grid {
  display: grid;
  margin: 28px 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}

.content-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.content-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.content-card p {
  margin-bottom: 0;
  color: var(--ink-700);
}

.content-layout {
  display: grid;
  align-items: start;
  padding-block: clamp(65px, 8vw, 110px);
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(45px, 8vw, 95px);
}

.entry-content,
.article-content {
  min-width: 0;
  max-width: 760px;
  font-size: 1.08rem;
}

.entry-content h2,
.article-content h2 {
  margin-top: 2.2em;
  font-size: clamp(2rem, 3vw, 3rem);
}

.entry-content h3,
.article-content h3 {
  margin-top: 1.8em;
}

.entry-content a,
.article-content a {
  color: var(--red-700);
}

.entry-content li,
.article-content li {
  margin-bottom: 8px;
}

.price-table-wrap {
  width: min(100%, 920px);
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 1rem;
}

.price-table caption {
  padding: 18px 20px;
  color: var(--ink-950);
  background: var(--warm);
  font-weight: 900;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  color: var(--ink-700);
  background: var(--mist);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table td {
  font-weight: 800;
}

.price-note {
  padding: 18px 20px;
  margin: 28px 0;
  border-left: 5px solid var(--red-600);
  background: var(--mist);
  color: var(--ink-700);
  font-weight: 700;
}

.entry-content .wp-block-image img,
.article-content .wp-block-image img {
  border-radius: var(--radius-md);
}

.contact-panel {
  position: sticky;
  top: 112px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--mist);
}

.contact-panel h2 {
  font-size: 2.2rem;
}

.contact-panel__phone {
  display: block;
  margin-top: 20px;
  color: var(--red-700);
  font-size: 1.4rem;
  font-weight: 900;
  text-decoration: none;
}

.posts-grid {
  display: grid;
  padding-block: 80px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.post-card h2 {
  font-size: 2rem;
}

.post-card h2 a {
  text-decoration: none;
}

.article-content {
  padding-block: 75px;
  margin-inline: auto;
}

.site-footer {
  padding-top: 72px;
  color: var(--ink-700);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.2fr;
  gap: 45px;
}

.brand--footer {
  margin-bottom: 20px;
  color: var(--ink-950);
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--ink-950);
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--red-700);
}

.site-footer address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
  margin-top: 62px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  margin: 0;
}

@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }

  .utility-bar__inner > span {
    display: none;
  }

  .utility-bar__inner {
    justify-content: flex-end;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    z-index: 1001;
    top: 100%;
    right: auto;
    left: 50%;
    display: none;
    width: 100vw;
    height: calc(100dvh - 82px);
    align-items: stretch;
    padding: 30px 20px;
    overflow-y: auto;
    background: var(--paper);
    transform: translateX(-50%);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 0;
  }

  .primary-menu li {
    border-bottom: 1px solid var(--line);
  }

  .primary-menu a {
    display: block;
    padding: 17px 4px;
    font-size: 1.15rem;
  }

  .primary-menu a::after {
    display: none;
  }

  .nav-quote {
    width: 100%;
    margin-top: 24px;
  }

  .quick-answer__grid {
    padding-block: 32px;
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .quick-answer__grid > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .section-heading,
  .story__grid,
  .heritage__grid,
  .location__grid,
  .pricing-preview__grid,
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__content {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .story__media {
    max-width: 720px;
  }

  .story__stat {
    right: 20px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .utility-bar__links {
    width: 100%;
    justify-content: space-between;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .primary-navigation {
    height: calc(100dvh - 74px);
  }

  .brand__logo {
    width: min(40vw, 150px);
  }

  .hero {
    min-height: 690px;
  }

  .hero__image {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.74) 43%, rgba(255, 255, 255, 0.28) 74%, rgba(255, 255, 255, 0.12) 100%),
      url("assets/images/facility-panorama.webp");
    background-position: 58% center;
  }

  .hero__content {
    padding-block: 88px 34px;
  }

  .hero__proof {
    padding: 20px;
  }

  .page-hero {
    padding-block: 65px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.28) 100%),
      var(--page-hero-image) center/cover;
  }

  .page-hero__grid {
    min-height: 270px;
  }

  .hero__actions,
  .hero__actions .button,
  .page-hero__actions,
  .page-hero__actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    gap: 10px;
  }

  .quick-answer__grid {
    grid-template-columns: 1fr;
  }

  .quick-answer__grid > p,
  .quick-answer__grid > a {
    grid-column: auto;
    grid-row: auto;
  }

  .service-grid,
  .heritage__milestones,
  .price-strip,
  .steps,
  .enquiry-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-strip article {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-strip article:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 280px;
  }

  .story__media img,
  .location img {
    min-height: 300px;
  }

  .story__stat {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 34px);
    margin: -38px auto 0;
  }

  .steps {
    gap: 14px;
  }

  .steps li {
    min-height: auto;
  }

  .steps > li > span {
    margin-bottom: 32px;
  }

  .form-wide {
    grid-column: auto;
  }

  .form-card {
    padding: 24px 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
