/*
Theme Name: GTB Self Store
Theme URI: https://www.gtbselfstore.com
Author: GTB Collective Ltd
Description: Custom theme for GTB Self Store, Barwell — indoor self storage near Hinckley and Leicester.
Version: 2.1.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gtb-selfstore
*/

:root {
  --navy: #172F63;
  --navy-deep: #0F2149;
  --ink: #0E131D;
  --indigo: #32267C;
  --sky: #5280C8;
  --mist: #EEF1F3;
  --steel: #DBDBDB;
  --slate: #4A5566;
  --white: #FFFFFF;
  --ok: #1F7A4D;
  --radius-sm: 4px;
  --radius: 8px;
  --wrap: 1180px;
  --font-head: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--white); padding: 10px 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 500; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--sky); color: var(--white); }
.btn-primary:hover { background: #3F6CB5; color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--indigo); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Top bar + header */
.topbar { background: var(--ink); color: #C9D2E3; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.site-header { background: var(--white); border-bottom: 1px solid var(--steel); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand img { width: 128px; height: auto; }
.header-call { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-phone { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .78rem; color: var(--slate); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); border-radius: var(--radius-sm); padding: 8px 10px; color: var(--navy); font: 600 .95rem var(--font-head); cursor: pointer; }
.main-nav { background: var(--navy); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav a { display: block; color: var(--white); text-decoration: none; padding: 13px 15px; font-size: .98rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--navy-deep); color: var(--white); box-shadow: inset 0 -3px 0 var(--sky); }
.main-nav .nav-sister { margin-left: auto; }
.main-nav .nav-sister a { color: #B9C7E4; font-size: .9rem; }

@media (max-width: 900px) {
  .site-header .wrap { min-height: 70px; }
  .brand img { width: 100px; }
  .header-call .btn { display: none; }
  .header-phone { font-size: 1.05rem; }
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav .nav-sister { margin-left: 0; }
  .main-nav a { padding: 12px 20px; border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 480px) { .header-phone span { display: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--navy); color: var(--white); }
.hero-copy { padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 64px); align-self: center; max-width: 640px; justify-self: end; }
.hero h1 { color: var(--white); }
.hero .lede { font-size: 1.2rem; color: #DCE4F3; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; font-size: .98rem; color: #DCE4F3; }
.hero-facts li { padding-left: 22px; position: relative; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 2px; background: var(--sky); }
.hero-media { position: relative; min-height: 380px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 20px; bottom: 20px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 12px 16px; font-size: .92rem; max-width: 260px; box-shadow: 0 6px 24px rgba(14,19,29,.25); }
.hero-badge strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { justify-self: stretch; max-width: none; }
  .hero-media { min-height: 260px; order: -1; }
  .hero-facts { grid-template-columns: 1fr; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: var(--white); padding: clamp(34px, 5vw, 60px) 0; }
.page-hero h1 { color: var(--white); margin-bottom: .35em; }
.page-hero p { color: #DCE4F3; font-size: 1.15rem; max-width: 62ch; margin-bottom: 0; }
.page-hero .hero-actions { margin: 22px 0 0; }
.crumbs { font-size: .88rem; color: #B9C7E4; margin-bottom: 14px; }
.crumbs a { color: #DCE4F3; }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* Sections */
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.section-head p { color: var(--slate); font-size: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Signature: door strip size picker */
.doors { display: flex; align-items: flex-end; gap: 8px; padding: 26px 0 0; overflow-x: auto; scrollbar-width: thin; }
.door { flex: 1 1 0; min-width: 58px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border: 0; padding: 0 0 12px; cursor: pointer; background: linear-gradient(180deg, #213F80 0%, var(--navy) 100%); color: var(--white); border-radius: 3px 3px 0 0; height: 190px; font-family: var(--font-head); position: relative; transition: background .15s; }
.door::before { content: ""; position: absolute; right: 9px; top: 46%; width: 4px; height: 18px; background: #A9B6CE; border-radius: 2px; }
.door::after { content: ""; position: absolute; left: 6px; right: 6px; top: 8px; height: 6px; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.door .door-size { font-size: 1.15rem; font-weight: 600; }
.door .door-unit { font-size: .72rem; font-family: var(--font-body); opacity: .85; }
.door:hover { background: linear-gradient(180deg, #2A4B91 0%, #1D3A75 100%); }
.door[aria-pressed="true"] { background: var(--sky); }
.door[aria-pressed="true"]::before { background: var(--white); }
.doors-floor { height: 10px; background: var(--steel); border-radius: 0 0 3px 3px; }
.door-panel { margin-top: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; background: var(--white); border: 1px solid var(--steel); border-left: 5px solid var(--sky); border-radius: var(--radius); padding: 22px 24px; }
.door-panel h3 { margin-bottom: .3em; }
.door-price { font-family: var(--font-head); font-size: 2rem; color: var(--navy); font-weight: 600; line-height: 1.1; }
.door-price small { font-size: .95rem; color: var(--slate); font-weight: 400; }
.door-panel .btn { margin-top: 12px; }
@media (max-width: 700px) { .door-panel { grid-template-columns: 1fr; } .door { height: 150px; } }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 1rem; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--steel); }
.price-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 500; }
.price-table tbody tr:nth-child(even) { background: #F7F8FA; }
.price-table td:first-child { font-family: var(--font-head); font-weight: 600; color: var(--navy); white-space: nowrap; }
.table-scroll { overflow-x: auto; border: 1px solid var(--steel); border-radius: var(--radius); }

/* Feature list */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--steel); }
.features li { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--steel); }
.features strong { display: block; font-family: var(--font-head); color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.features span { color: var(--slate); font-size: .97rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Cards (used sparingly, for linked services) */
.service { display: block; text-decoration: none; color: var(--ink); background: var(--white); border-top: 4px solid var(--navy); padding: 22px; border-radius: 0 0 var(--radius) var(--radius); }
.service:hover { border-top-color: var(--sky); color: var(--ink); }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--slate); margin: 0; }

/* Area list */
.areas { columns: 4 180px; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.areas li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--steel); display: flex; justify-content: space-between; gap: 10px; }
.areas a { text-decoration: none; font-weight: 600; }
.areas a:hover { text-decoration: underline; }
.areas .dist { color: var(--slate); font-size: .9rem; white-space: nowrap; }

/* Photos */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-pair img, .gallery img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery img { aspect-ratio: 3 / 4; }

/* Fact card (location sidebar) */
.factcard { background: var(--mist); border-radius: var(--radius); padding: 24px; position: sticky; top: 110px; }
.factcard dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.factcard dt { color: var(--slate); font-size: .92rem; }
.factcard dd { margin: 0; font-weight: 600; }
.factcard .btn { width: 100%; margin-top: 8px; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .layout-side { grid-template-columns: 1fr; } .factcard { position: static; } }

/* Route */
.route { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.route li { background: var(--white); border: 1px solid var(--steel); border-radius: var(--radius-sm); padding: 3px 10px; font-family: var(--font-head); font-size: .9rem; color: var(--navy); }
.route li.road-a { background: #1E7B3C; color: var(--white); border-color: #1E7B3C; }
.route li.road-b { background: #F3C400; color: var(--ink); border-color: #F3C400; }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--steel); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-family: var(--font-head); color: var(--navy); font-weight: 500; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--sky); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); max-width: 70ch; }

/* Offer + CTA band */
.offer { background: var(--indigo); color: var(--white); border-radius: var(--radius); padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.offer h2, .offer h3 { color: var(--white); margin: 0 0 .2em; }
.offer p { margin: 0; color: #DCD8F2; }
.cta-band { background: var(--navy); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; padding-top: 40px; padding-bottom: 40px; }
.cta-band h2 { color: var(--white); margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #DCE4F3; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 12px; border: 1px solid #B8C0CC; border-radius: var(--radius-sm); font: inherit; background: var(--white); color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.notice-ok { background: #E3F3EA; color: #134E31; border-left: 4px solid var(--ok); }
.notice-err { background: #FBE9E9; color: #7A1C1C; border-left: 4px solid #B42318; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--steel); }
.hours td:last-child { text-align: right; font-weight: 600; }

/* Entry content defaults */
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--steel); padding: 10px 12px; text-align: left; }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sky); color: var(--slate); font-size: 1.1rem; }
.entry-content .wp-block-image img { border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--ink); color: #B7C0D0; font-size: .96rem; }
.site-footer .wrap { padding-top: 54px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1.05rem; margin-bottom: .8em; }
.site-footer a { color: #DCE4F3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer address { font-style: normal; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -2px 12px rgba(14,19,29,.2); }
  .callbar a { padding: 14px; text-align: center; font-family: var(--font-head); font-weight: 500; text-decoration: none; color: var(--white); background: var(--navy); }
  .callbar a + a { background: var(--sky); }
  body { padding-bottom: 52px; }
}

@media (max-width: 600px) { .topbar { display: none; } }

/* ===== v1.1: photo-led layout ===== */

/* Hero mosaic: corridor plus two real rooms */
.hero-mosaic { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; min-height: 520px; background: var(--navy-deep); padding: 6px; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-main { grid-row: 1 / span 2; }
.hm-a { object-position: 50% 60%; }
.hm-b { object-position: 50% 55%; }
.hero-mosaic .hero-badge { left: 22px; bottom: 22px; }
@media (max-width: 900px) {
  .hero-mosaic { order: -1; min-height: 0; grid-template-columns: 2fr 1fr; grid-template-rows: 150px 150px; }
}
@media (max-width: 520px) {
  .hero-mosaic { grid-template-rows: 120px 120px; }
  .hero-mosaic .hero-badge { display: none; }
}

/* Size picker panel with a real room photo */
.door-panel { grid-template-columns: minmax(180px, 0.9fr) 1.6fr; align-items: center; padding: 0; overflow: hidden; border-left: 0; border-top: 5px solid var(--sky); }
.door-photo { margin: 0; position: relative; align-self: stretch; min-height: 300px; background: var(--steel); }
.door-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.door-photo img.is-loading { opacity: .35; }
.door-photo figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(14,19,29,.78); color: var(--white); font-size: .8rem; padding: 4px 9px; border-radius: 3px; }
.door-info { padding: 24px 28px 26px 4px; }
.door-info p { margin-bottom: .6em; }
.door-info .door-price { margin: 10px 0 2px; }
@media (max-width: 700px) {
  .door-panel { grid-template-columns: 1fr; }
  .door-photo { min-height: 260px; }
  .door-info { padding: 18px 20px 22px; }
}

/* How it works: a real three-step sequence */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps li { counter-increment: step; padding: 22px 26px 6px 0; border-top: 3px solid var(--navy); position: relative; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--steel); }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; margin-bottom: 12px; }
.steps p { color: var(--slate); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; }
}

/* Dark photo section */
.section-ink { background: var(--ink); color: #C9D2E3; }
.section-ink h2 { color: var(--white); }
.section-ink .section-head p { color: #AEB9CC; }

/* Look inside gallery: editorial grid, varied sizes */
.lookinside { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.li-item { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: #1A2232; }
.li-0 { grid-column: 1 / 3; grid-row: 1 / 3; }
.li-1 { grid-column: 3; grid-row: 1 / 3; }
.li-2 { grid-column: 4; grid-row: 1 / 3; }
.li-3 { grid-column: 1; grid-row: 3 / 5; }
.li-4 { grid-column: 2 / 4; grid-row: 3; }
.li-5 { grid-column: 4; grid-row: 3 / 5; }
.li-6 { grid-column: 2; grid-row: 4; }
.li-7 { grid-column: 3; grid-row: 4; }
.li-btn { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.li-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.li-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.li-btn:hover img { transform: scale(1.03); }
.li-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 11px; font-size: .9rem; color: var(--white); background: linear-gradient(transparent, rgba(14,19,29,.85)); pointer-events: none; }
@media (max-width: 860px) {
  .lookinside { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; grid-auto-flow: dense; }
  .li-item { grid-column: auto; grid-row: auto; }
  .li-0, .li-4 { grid-column: 1 / -1; }
  .li-1, .li-2, .li-3, .li-5 { grid-row: span 2; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8,11,18,.9); }
.lightbox img { max-width: 100%; max-height: 82vh; display: block; margin: 0 auto; border-radius: 6px; }
.lb-caption { color: var(--white); text-align: center; margin: 12px 0 0; }
.lb-close { position: absolute; top: -44px; right: 0; background: var(--white); color: var(--ink); border: 0; border-radius: 4px; padding: 7px 14px; font: 500 .95rem var(--font-head); cursor: pointer; }

/* Building / gate photo stack */
.photo-stack { display: grid; gap: 14px; }
.photo-stack figure, .fc-photo { margin: 0; }
.photo-stack img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.photo-stack figcaption, .fc-photo figcaption { font-size: .88rem; color: var(--slate); margin-top: 6px; }
.fc-photo img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.fc-photo { margin: 4px 0 14px; }

/* Photo-backed page headers */
.page-hero.has-photo { position: relative; background: var(--navy) var(--hero-img) center 40% / cover no-repeat; padding: clamp(56px, 8vw, 110px) 0; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,33,73,.96) 0%, rgba(23,47,99,.88) 45%, rgba(23,47,99,.45) 100%); }
.page-hero.has-photo .wrap { position: relative; }

/* Room cards (sizes page) */
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 10px 0 30px; }
.room { background: var(--white); border: 1px solid var(--steel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.room-body { padding: 16px 18px 18px; }
.room-body h3 { margin-bottom: .2em; }
.room-sizes { font-family: var(--font-head); color: var(--sky); font-weight: 500; margin-bottom: .5em; }
.room-body .muted { font-size: .95rem; }
.room-from { margin: 0; }
.room-from strong { font-family: var(--font-head); color: var(--navy); font-size: 1.25rem; }
@media (max-width: 960px) { .rooms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rooms { grid-template-columns: 1fr; } }

/* v1.2: one card per size */
.rooms { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.room figure { margin: 0; position: relative; background: #fff; }
.room img { aspect-ratio: 3 / 4; object-fit: cover; }
.room.is-illustration img { object-fit: contain; background: #fff; }
.room figcaption { position: absolute; top: 8px; left: 8px; font-size: .74rem; padding: 2px 8px; border-radius: 3px; background: rgba(14,19,29,.78); color: #fff; }
.room.is-illustration figcaption { background: var(--sky); }
.room-body h3 { font-size: 1.15rem; }
.room-body .small { margin: 2px 0 0; }
.door-photo { background: #fff; }
@media (max-width: 1100px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .rooms { grid-template-columns: 1fr 1fr; } }

.door-photo.is-illustration img { object-fit: contain; padding: 10px; }

/* GTB badge on each door, like the signage on the real doors */
.door .door-logo { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .02em; line-height: 1; color: var(--indigo); background: #fff; padding: 3px 5px 2px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.door[aria-pressed="true"] .door-logo { color: var(--navy); }
@media (max-width: 700px) { .door .door-logo { font-size: .7rem; top: 18px; } }

/* v1.4.0 — sister sites live in the top bar on desktop, keeping the main menu on one line */
.topbar-links { display: inline-flex; gap: 22px; }
.main-nav .nav-sister { display: none; }
@media (max-width: 900px) { .main-nav .nav-sister { display: block; } }
@media (min-width: 901px) { .main-nav a { padding: 13px 14px; } }
.site-header .main-nav .wrap { display: block; min-height: 0; }

/* v1.4.0 — on phones show all ten doors at once (2 rows of 5) instead of a sideways scroll */
@media (max-width: 700px) {
	.doors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 6px; overflow: visible; padding-top: 14px; }
	.door { min-width: 0; height: 104px; padding-bottom: 8px; box-shadow: 0 6px 0 var(--steel); border-radius: 3px 3px 0 0; }
	.door .door-logo { font-size: .6rem; top: 12px; padding: 2px 4px; }
	.door .door-size { font-size: 1.05rem; }
	.door .door-unit { font-size: .66rem; }
	.doors-floor { display: none; }
	.door::after { display: none; }
	.door::before { height: 12px; right: 6px; top: 50%; width: 3px; }
}

.door-hint { margin: 0 0 4px; color: var(--muted, #5b6575); font-size: .95rem; }

/* v1.3 — readability: larger text, darker greys, key facts strip on area pages */
:root { --slate: #3E4859; }
body { font-size: 1.125rem; line-height: 1.65; }
.small { font-size: .95rem; }
.features span, .room-body .muted { font-size: 1rem; }
.prose p, .entry-content p { max-width: 68ch; }
.keyfacts-band { background: var(--mist); border-bottom: 1px solid var(--steel); }
.keyfacts { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 24px; }
.keyfacts li { display: flex; flex-direction: column; gap: 2px; }
.keyfacts strong { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; font-weight: 600; }
.keyfacts span { color: var(--slate); font-size: .95rem; line-height: 1.4; }
@media (max-width: 900px) { .keyfacts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { body { font-size: 1.125rem; } h2 { font-size: 1.6rem; } }

/* v1.4 — space & cost calculator */
.calc { margin: 8px 0 24px; }
.calc-label { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; margin: 0 6px 6px 0; display: inline-block; }
.calc-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.chip { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 14px; font: 500 .95rem var(--font-head); cursor: pointer; }
.chip:hover, .chip:focus-visible { background: var(--navy); color: #fff; }
.chip-clear { border-color: var(--steel); color: var(--slate); }
.calc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.calc-items { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.calc fieldset { border: 0; padding: 0; margin: 0; }
.calc legend { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--mist); }
.calc-row label { font-size: 1rem; line-height: 1.3; }
.stepper { display: flex; align-items: center; flex: none; }
.stepper button { width: 36px; height: 36px; border: 1px solid var(--steel); background: var(--mist); color: var(--navy); font-size: 1.2rem; cursor: pointer; }
.stepper button:first-child { border-radius: 6px 0 0 6px; } .stepper button:last-child { border-radius: 0 6px 6px 0; }
.stepper input { width: 42px; height: 36px; border: 1px solid var(--steel); border-left: 0; border-right: 0; text-align: center; font-size: 1rem; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-result { position: sticky; top: 140px; background: var(--mist); border-top: 4px solid var(--sky); border-radius: var(--radius); padding: 22px; }
.calc-size { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--navy); margin: 0 0 6px; line-height: 1.15; }
.calc-cost { margin-top: 16px; border-top: 1px solid var(--steel); padding-top: 14px; }
.weeks { display: flex; align-items: center; gap: 12px; } .weeks input { flex: 1; accent-color: var(--navy); } .weeks output { font-weight: 600; min-width: 9ch; }
.check { display: flex; gap: 8px; align-items: center; margin: 10px 0; font-size: 1rem; }
.calc-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0; }
.calc-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc-sum .total { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.2rem; border-top: 1px solid var(--steel); padding-top: 8px; }
.calc-result .btn { width: 100%; text-align: center; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-result { position: static; } }
@media (max-width: 600px) { .calc-items { grid-template-columns: 1fr; } }

/* v1.5 use cards */
.uses{padding-top:44px;padding-bottom:44px}
.uses h2{margin-bottom:18px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.uses .service{background:var(--mist)}
@media(max-width:900px){.grid-4{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.uses .service{padding:16px}.uses .service p{font-size:.95rem}}

/* v1.7 reviews + hours */
.reviews{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}
.reviews-score{background:var(--navy);color:#fff;border-radius:var(--radius);padding:26px;text-align:center}
.reviews-score p{margin:0}
.rs-num{font-size:3rem;font-weight:700;line-height:1}
.rs-num span{font-size:1rem;font-weight:400;opacity:.85}
.rs-stars{color:#F5B301;font-size:1.6rem;letter-spacing:3px;margin:6px 0 2px!important}
.rs-count{margin-bottom:16px!important;opacity:.9}
.reviews-score .btn{background:#fff;color:var(--navy);border-color:#fff}
.reviews-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.reviews-quotes blockquote{margin:0;background:var(--mist);border-left:4px solid var(--sky);padding:18px 20px;border-radius:0 var(--radius) var(--radius) 0}
.reviews-quotes blockquote p{margin:0 0 10px}
.reviews-quotes cite{font-style:normal;font-weight:600;color:var(--navy);font-size:.95rem}
.section-mist .reviews-quotes blockquote{background:#fff}
@media(max-width:900px){.reviews{grid-template-columns:1fr}.reviews-quotes{grid-template-columns:1fr}}
.footer-hours{margin-top:16px}
.footer-hours h3{font-size:1rem;margin:0 0 6px;color:#fff}
.footer-hours .hours td{border-color:rgba(255,255,255,.15);padding:4px 0;font-size:.95rem}
.footer-hours .hours td:last-child{padding-left:12px}
.footer-hours p{margin:8px 0 0;font-size:.95rem}

/* v1.8 contrast: a touch deeper blue behind white text */
:root{--sky-strong:#4673BB}
.btn-primary,.door[aria-pressed="true"],.callbar a:last-child{background:var(--sky-strong)}
.btn-primary:hover{background:var(--navy)}
.door[aria-pressed="true"] .door-unit{color:#fff}

/* Fonts served from this site (no third-party requests) */
/* @font-face rules now come from functions.php (same-address font paths) */

/* v1.9 real room photos: show the whole room, no cropping */
.door-panel{grid-template-columns:minmax(220px,300px) 1fr;align-items:stretch}
.door-photo{aspect-ratio:3/4;min-height:0;align-self:start;background:#fff}
.door-photo img{object-fit:contain}
@media(max-width:700px){.door-panel{grid-template-columns:1fr}.door-photo{aspect-ratio:auto;height:420px;min-height:0}}

/* v2.0 mobile fixes */
.brand{flex-shrink:0}
@media(max-width:600px){
 .price-table th,.price-table td{padding:10px 10px}
 .price-table thead th{font-size:.85rem;line-height:1.25;vertical-align:bottom}
 #containers .price-table td:first-child{white-space:normal}
}
@media(max-width:700px){.doors{grid-template-columns:repeat(6,1fr);gap:12px 5px}.door .door-size{font-size:1rem}}
@media(max-width:380px){.doors{grid-template-columns:repeat(4,1fr);gap:12px 6px}}
@media(max-width:360px){
 .site-header .wrap{gap:10px}.brand img{width:76px}.header-phone{font-size:.92rem}
 .grid-4{grid-template-columns:1fr}
 .callbar a{padding:12px 6px}
}
@media(max-width:330px){.header-phone{display:none}}
@media(min-width:701px) and (max-width:1100px){.doors{display:grid;grid-template-columns:repeat(6,1fr);gap:16px 8px;overflow:visible}.door{min-width:0;height:130px;box-shadow:0 6px 0 var(--steel)}.doors-floor{display:none}}

/* v2.0 lockers & containers cards */
.extras{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.extra-card{display:grid;grid-template-columns:160px 1fr;gap:18px;align-items:center;background:var(--white);border-top:4px solid var(--navy);border-radius:0 0 var(--radius) var(--radius);padding:18px;text-decoration:none;color:var(--ink)}
.extra-card:hover{border-top-color:var(--sky);color:var(--ink)}
.extra-card img{width:100%;height:150px;object-fit:contain}
.extra-card h3{margin:0 0 .3em}.extra-card p{margin:0 0 .5em;color:var(--slate)}
.extra-card .extra-price{color:var(--navy);margin:0}.extra-card .extra-price strong{font-size:1.25rem}
@media(max-width:900px){.extras{grid-template-columns:1fr}}
@media(max-width:420px){.extra-card{grid-template-columns:110px 1fr;gap:12px;padding:14px}.extra-card img{height:110px}}

/* v2.0.5 hero: one corridor photo, shown whole (4:3), lined up with the logo and menu on every screen */
.hero-mosaic{display:block;position:relative;min-height:0;padding:0;background:var(--navy-deep);aspect-ratio:4/3}
.hero-mosaic .hm-main{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
@media(min-width:901px){
 .hero{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(32px,4vw,56px);align-items:center;padding:clamp(40px,4.5vw,64px) max(20px,calc((100% - var(--wrap))/2 + 20px))}
 .hero-copy{padding:0;max-width:none;justify-self:stretch}
 .hero-mosaic{border-radius:var(--radius);overflow:hidden;box-shadow:0 10px 36px rgba(0,0,0,.28)}
}
@media(max-width:900px){.hero-mosaic{order:-1}}

/* v2.0.6 packing supplies product cards */
.products-intro{font-size:1.1rem;max-width:68ch}
.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 8px}
.product{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--steel);border-top:4px solid var(--navy);border-radius:0 0 var(--radius) var(--radius);padding:16px 18px 18px}
.product img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;margin:0 0 12px}
.product h3{margin:0 0 .3em;font-size:1.12rem}
.product p{margin:0 0 .7em;color:var(--slate);font-size:.96rem}
.product .product-price{margin:auto 0 0;color:var(--navy);font-family:var(--font-head);font-weight:700;font-size:1.3rem}
.product .product-price span{font-family:inherit;font-weight:400;font-size:.9rem;color:var(--slate)}
@media(max-width:900px){.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:420px){.products{gap:10px}.product{padding:10px 12px 14px}.product h3{font-size:1rem}.product p{font-size:.9rem}.product .product-price{font-size:1.15rem}}
/* v2.0.7 offer terms link */
.offer p a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.offer p a:hover{color:#DCD8F2}

/* v2.0.8 in-page links land below the sticky header */
html{scroll-padding-top:150px}
@media(max-width:900px){html{scroll-padding-top:90px}}

/* v2.0.9 links in the size help band */
.cta-band p a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.cta-band p a:hover{color:#DCE4F3}

/* v2.1.2 uses grid: six cards, two columns on tablets */
@media(min-width:481px) and (max-width:860px){.uses .grid-3{grid-template-columns:1fr 1fr}}

/* v2.2: five use cards — the last one spans the leftover space */
@media(min-width:861px){.uses .grid-3>.service:last-child:nth-child(3n+2){grid-column:span 2}}
@media(min-width:481px) and (max-width:860px){.uses .grid-3>.service:last-child:nth-child(odd){grid-column:span 2}}
