/* Rippa Aus Perth — dark industrial "spec sheet" design */
:root {
  --navy: #182d82; --ink: #060b1f; --blue: #2463ff; --sky: #8fc0ff; --red: #e5281e;
  --steel: #f2f4f9; --line: rgba(255,255,255,.1); --text: #e8ecf7; --muted: #9aa5c8;
  --panel: #0d1533; --panel2: #121c44;
  --display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px; --gutter: clamp(16px, 4vw, 40px); --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; color: #fff; }
h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--sky); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius); font-weight: 600; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: .2s; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(36,99,255,.7); }
.btn--primary:hover { background: #3b73ff; color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--red { background: var(--red); color: #fff; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(6,11,31,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__top { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.hdr__top .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.hdr__top a { color: var(--muted); }
.hdr__row { display: flex; align-items: center; gap: 24px; height: 72px; }
.hdr__logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; color: var(--text); font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; border-radius: 4px; }
.nav a:hover, .nav a.is-active { background: rgba(255,255,255,.08); color: #fff; }
.hdr__cta { margin-left: 8px; }
.burger { display: none; background: none; border: 1px solid var(--line); color: #fff; border-radius: 4px; padding: 8px 10px; margin-left: auto; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--panel); padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .burger { display: inline-flex; }
  .hdr__cta { display: none; }
  .hdr__top { display: none; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; background: url(/img/rp-hero-dig.webp) center/cover; opacity: .18; filter: saturate(.6); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(6,11,31,.4)); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__stats { display: flex; gap: 32px; margin-top: 36px; }
.hero__stats strong { display: block; font: 600 34px/1 var(--display); color: #fff; }
.hero__stats span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero__art img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero__art { order: -1; max-width: 360px; } }

/* product grid */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; position: relative; }
.card:hover { border-color: rgba(143,192,255,.5); transform: translateY(-3px); }
.card__media { aspect-ratio: 4/3; background: #fff; display: grid; place-items: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; font: 600 13px/1 var(--display); letter-spacing: .1em; padding: 6px 10px; border-radius: 3px; }
.card__save { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; font: 600 12px/1 var(--display); padding: 6px 8px; border-radius: 3px; }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font: 600 20px/1.15 var(--display); text-transform: uppercase; color: #fff; }
.card__type { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.specs span { font-size: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: 3px 8px; border-radius: 3px; color: var(--text); }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; }
.price strong { font: 600 26px/1 var(--display); color: #fff; }
.price s { color: var(--muted); font-size: 14px; }
.card .btn { justify-content: center; }
.card__note { font-size: 11px; color: var(--muted); text-align: center; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; background: var(--panel2); color: #fff; position: sticky; top: 0; }
tbody tr:hover { background: rgba(255,255,255,.03); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* article */
.prose { max-width: 74ch; font-size: 17px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose table { font-size: 15px; margin: 1em 0; }
.prose blockquote { border-left: 3px solid var(--blue); margin: 1.4em 0; padding: .4em 1.2em; color: var(--muted); background: var(--panel); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 92px; display: grid; gap: 18px; align-self: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h3 { font-size: 18px; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li + li { border-top: 1px solid var(--line); }
.panel li a { display: block; padding: 8px 0; color: var(--text); }
.panel li a:hover { color: #fff; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }

/* article cards */
.acard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.acard__media { aspect-ratio: 16/9; background: #fff; overflow: hidden; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { padding: 18px; display: grid; gap: 8px; }
.acard__cat { font-size: 12px; color: var(--sky); text-transform: uppercase; letter-spacing: .12em; font-family: var(--display); }
.acard h3 { font-size: 22px; margin: 0; }
.acard p { color: var(--muted); font-size: 14px; margin: 0; }
.acard a.stretch::after { content: ""; position: absolute; inset: 0; }
.acard { position: relative; }
.acard:hover { border-color: rgba(143,192,255,.5); }

.head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chips a, .chips button { background: transparent; border: 1px solid var(--line); color: var(--text); padding: 8px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; font-family: var(--body); }
.chips a.is-active, .chips button.is-active, .chips a:hover { border-color: var(--sky); color: #fff; }

/* finder */
.finder { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--sky); }
.field select, .field input { background: var(--panel2); border: 1px solid var(--line); color: #fff; padding: 12px; border-radius: 4px; font: inherit; }
.result { border: 1px solid var(--blue); background: var(--panel); border-radius: var(--radius); padding: 20px; }
.result h3 { color: var(--sky); }

/* CTA band */
.band { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 40px; }
.band h2 { margin: 0; }
.band p { margin: 4px 0 0; color: rgba(255,255,255,.85); }
.band .btn--primary { background: #fff; color: var(--navy); box-shadow: none; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 14px; }
.ftr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
.ftr h4 { font-size: 15px; letter-spacing: .12em; color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin: 6px 0; }
.ftr a { color: var(--muted); }
.ftr a:hover { color: #fff; }
.ftr__logo img { height: 36px; margin-bottom: 14px; }
.ftr__bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* phone highlight */
.callpill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; font-weight: 800; letter-spacing: .01em; text-decoration: none !important; white-space: nowrap; transition: .18s; }
.callpill svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; }
.callpill:hover { transform: translateY(-1px); }
.callbar-m { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; background: #060b1f; border-top: 1px solid rgba(255,255,255,.12); }
.callbar-m a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; font-weight: 800; font-size: 15px; color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
.callbar-m a.is-quote { background: #2463ff; }
@media (max-width: 760px) { .callbar-m { display: flex; } body { padding-bottom: 72px; } }
.hero__stats strong { white-space: nowrap; }
.hero__stats { flex-wrap: wrap; row-gap: 18px; }
