/* TMT Storage Solutions — tmtstoragesolutions.co.za redesign (GetKonnektED, 2026-10-08). Navy + safety orange, blueprint motif. */
:root {
  --navy: #001C33; --navy-2: #002440; --navy-3: #0A3355; --ink: #0E1A26;
  --orange: #F87500; --orange-2: #FF8F2E; --orange-dark: #D35F00;
  --steel: #8FA3B6; --mist: #F3F5F7; --line: #DDE3E9; --text: #3D4A57; --white: #fff;
  --display: 'Archivo', 'Arial Black', sans-serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 14px; --shadow: 0 24px 60px rgba(0, 28, 51, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.02; margin: 0 0 16px; letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 6vw, 82px); font-weight: 900; }
h2 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.o { color: var(--orange); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 34px; height: 4px; background: var(--orange); border-radius: 2px; }
.lead { font-size: 18px; max-width: 640px; color: #556270; }
section { padding: 108px 0; position: relative; }
@media (max-width: 760px) { section { padding: 70px 0; } }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; } .center .eyebrow::after { content: ''; width: 34px; height: 4px; background: var(--orange); border-radius: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 10px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; font-family: var(--sans); }
.btn svg { width: 18px; height: 18px; }
.btn-o { background: var(--orange); color: #fff; box-shadow: 0 12px 28px rgba(248, 117, 0, .32); }
.btn-o:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); }

/* Blueprint grid */
.blueprint { background-color: var(--navy); background-image:
  linear-gradient(rgba(143,163,182,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(143,163,182,.09) 1px, transparent 1px),
  linear-gradient(rgba(143,163,182,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(143,163,182,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { display: block; height: 62px; width: auto; }
@media (max-width: 760px) { .logo img { height: 50px; } }
.logo .t { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--navy); line-height: .9; letter-spacing: -.02em; }
.logo .t small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--orange); margin-top: 3px; }
.logo .t em { display: block; font-style: normal; font-family: var(--sans); font-size: 8.5px; font-weight: 600; letter-spacing: .18em; color: var(--steel); margin-top: 2px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.nav a:hover, .nav a.on { color: var(--orange); }
.nav .call { display: flex; align-items: center; gap: 8px; }
.nav .call svg { width: 18px; height: 18px; color: var(--orange); }
.nav .btn { padding: 11px 20px; font-size: 14.5px; color: #fff; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 20px; color: var(--navy); cursor: pointer; }
@media (max-width: 1060px) {
  .burger { display: block; }
  .nav { position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 6px 22px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
}

/* Hero */
.hero { color: #fff; padding: 90px 0 110px; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -10%; top: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(248,117,0,.18), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 64px 0 80px; } }
.hero h1 { color: #fff; }
.hero .lead { color: #B9C7D4; margin: 4px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 560px) { .hero-cta .btn { flex: 1 1 100%; } }
.hero-points { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 28px; margin-top: 36px; justify-content: start; }
.hero-points div { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #D7E1EA; font-weight: 500; }
.hero-points svg { width: 20px; height: 20px; color: var(--orange); flex: 0 0 auto; }
@media (max-width: 680px) { .hero-points { grid-template-columns: 1fr; } }
.hero-vis { position: relative; height: 640px; }
@media (max-width: 980px) { .hero-vis { height: 640px; max-width: 520px; width: 100%; margin: 0 auto; } }
.hero-vis .vcard { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 360px; height: 640px; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.06); background: #000; z-index: 2; }
.hero-vis .vcard video { width: 100%; height: 100%; object-fit: cover; }
.hero-vis .vcard .vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 78px; height: 78px; border-radius: 50%; background: var(--orange); color: #fff; border: 0; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.45); z-index: 2; }
.hero-vis .vcard.tap .vplay { display: flex; }
.hero-vis .vcard .vplay svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.hero-vis .vcard.tap video { filter: brightness(.75); }
.hero-vis .pcard { position: absolute; left: 0; bottom: 34px; width: 300px; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); z-index: 1; border: 4px solid #fff; }
.hero-vis .pcard img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; z-index: 3; background: #fff; color: var(--navy); border-radius: 12px; padding: 12px 16px; box-shadow: 0 16px 36px rgba(0,0,0,.3); font-size: 13px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.chip b { display: block; font-family: var(--display); font-size: 16px; }
.chip i { width: 34px; height: 34px; border-radius: 9px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.chip i svg { width: 18px; height: 18px; }
.chip.c1 { right: -10px; bottom: 80px; } .chip.c2 { left: -10px; top: 50px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; margin-right: 6px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (max-width: 520px) { .hero-vis { height: 560px; } .hero-vis .vcard { width: 300px; height: 533px; } .chip.c2 { left: 0; top: 18px; } .chip.c1 { right: 0; bottom: 40px; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Beam divider */
.beam { height: 14px; background: repeating-linear-gradient(90deg, var(--orange) 0 180px, var(--navy-2) 180px 196px); }

/* Corner marks on framed images */
.frame { position: relative; }
.frame::before, .frame::after { content: ''; position: absolute; width: 26px; height: 26px; border: 3px solid var(--orange); z-index: 2; pointer-events: none; }
.frame::before { left: -9px; top: -9px; border-right: 0; border-bottom: 0; }
.frame::after { right: -9px; bottom: -9px; border-left: 0; border-top: 0; }

/* Solutions */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
@media (max-width: 980px) { .sol-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sol-grid { grid-template-columns: 1fr; } }
.sol { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.sol:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sol .ph { aspect-ratio: 16/10; overflow: hidden; background: var(--mist); position: relative; }
.sol .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sol:hover .ph img { transform: scale(1.06); }
.sol .ph.icon { display: flex; align-items: center; justify-content: center; background: var(--navy); }
.sol .ph.icon svg { width: 76px; height: 76px; color: var(--orange); }
.sol .n { position: absolute; left: 14px; top: 14px; background: var(--orange); color: #fff; font-family: var(--display); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.sol .bd { padding: 22px 24px 26px; }
.sol .bd p { margin: 0; font-size: 15px; color: #5B6875; }

/* Retail feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.split .img img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; color: var(--navy); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Products */
.mist { background: var(--mist); }
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 46px; }
@media (max-width: 1060px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.prod { background: #fff; border-radius: var(--r); padding: 14px; border: 1px solid var(--line); cursor: zoom-in; transition: box-shadow .25s, transform .25s; text-align: left; font: inherit; }
.prod:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.prod img { width: 100%; aspect-ratio: 4/5; object-fit: contain; background: #fff; }
.prod b { display: block; color: var(--navy); font-size: 14.5px; margin-top: 10px; line-height: 1.3; }

/* Process */
.process { color: #fff; }
.process h2 { color: #fff; }
.process .lead { color: #B9C7D4; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.steps::before { content: ''; position: absolute; left: 4%; right: 4%; top: 34px; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 24px); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 34px 20px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 0 18px; position: relative; }
.step .num { width: 70px; height: 70px; border-radius: 50%; background: var(--navy); border: 3px solid var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 24px; color: #fff; margin-bottom: 20px; position: relative; }
.step h3 { color: #fff; }
.step p { margin: 0; color: #B9C7D4; font-size: 15px; }

/* Videos */
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 34px; justify-content: center; margin-top: 50px; }
@media (max-width: 720px) { .vids { grid-template-columns: minmax(0, 300px); } }
.vid { margin: 0; }
.vid .box { border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 9/16; box-shadow: var(--shadow); position: relative; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid figcaption { margin-top: 14px; text-align: center; font-weight: 600; color: var(--navy); }
.vid figcaption span { display: block; font-weight: 400; color: #6A7784; font-size: 14px; }

/* Gallery / projects */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; gap: 12px; } }
.tile { position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; aspect-ratio: 4/3; background: var(--mist); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.06); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; font-size: 13.5px; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0,28,51,.88)); }
.masonry { columns: 3 300px; column-gap: 16px; margin-top: 30px; }
.masonry .tile { aspect-ratio: auto; display: block; width: 100%; margin: 0 0 16px; break-inside: avoid; }
.masonry .tile img { height: auto; }
.masonry .tile.contain { background: #fff; border: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.fchip { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fchip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
@media (max-width: 860px) { .inds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .inds { grid-template-columns: 1fr; } }
.ind { display: flex; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.ind i { width: 52px; height: 52px; border-radius: 12px; background: #FFF1E5; color: var(--orange); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ind i svg { width: 26px; height: 26px; }
.ind b { color: var(--navy); font-size: 16px; display: block; }
.ind span { font-size: 14px; color: #6A7784; }

/* Quote */
.quote { color: #fff; }
.quote .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
@media (max-width: 980px) { .quote .grid { grid-template-columns: 1fr; gap: 40px; } }
.quote h2 { color: #fff; }
.quote .lead { color: #B9C7D4; }
.cline { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.cline i { width: 50px; height: 50px; border-radius: 12px; background: rgba(248,117,0,.15); color: var(--orange); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cline i svg { width: 24px; height: 24px; }
.cline small { display: block; color: var(--steel); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.cline b { color: #fff; font-size: 18px; font-weight: 600; }
.form { background: #fff; color: var(--text); border-radius: 18px; padding: 34px; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.form h3 { font-size: 28px; margin-bottom: 4px; }
.form > p { margin: 0 0 20px; color: #6A7784; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .g2 { grid-template-columns: 1fr; } }
.f { margin-bottom: 14px; }
.f label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; border: 1px solid #CFD8E0; border-radius: 10px; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(248,117,0,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.msg { min-height: 20px; margin-top: 12px; font-size: 14px; }
.msg.ok { color: #1F8A4C; font-weight: 600; } .msg.err { color: #C0392B; }

/* Page hero (inner pages) */
.phero { color: #fff; padding: 84px 0 70px; }
.phero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 72px); }
.phero .lead { color: #B9C7D4; }

/* Footer */
footer { background: #00121F; color: #8FA3B6; padding: 60px 0 28px; font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { footer .wrap { grid-template-columns: 1fr; } }
footer .logo { display: inline-flex; background: #fff; border-radius: 10px; padding: 10px 16px; }
footer .logo img { height: 70px; }
footer h4 { color: #fff; font-family: var(--display); font-size: 17px; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a { text-decoration: none; color: #C6D2DC; } footer a:hover { color: var(--orange); }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; margin-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* Mobile call bar */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: none; gap: 10px; }
.callbar .btn { flex: 1; padding: 14px; }
@media (max-width: 760px) { .callbar { display: flex; } body { padding-bottom: 84px; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0, 12, 22, .95); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb #lbMedia img, .lb #lbMedia video { max-width: 92vw; max-height: 84vh; border-radius: 10px; background: #fff; }
.lb button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; cursor: pointer; }
.lb button:hover { background: var(--orange); }
.lb .x { top: 18px; right: 18px; } .lb .prev { left: 18px; top: 50%; transform: translateY(-50%); } .lb .next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb .cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #D7E1EA; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s, transform .75s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
