/* Rangr Dangr website. Direction: the streets of Newcastle, NSW. Street blades, kerb paint,
   parking signs and the real CBD grid, in the brand's blue and red on sandstone paper. */
:root {
  --blue: #0a53ac;
  --blue-deep: #063a7a;
  --blue-night: #04254f;
  --red: #d91b2b;
  --red-deep: #b0121f;
  --red-light: #ff4b55;
  --paper: #f5f0e6;
  --paper-2: #ebe3d3;
  --sand: #dccdb0;
  --ink: #0d1b2e;
  --muted: #586374;
  --line: #d8cfbd;
  --asphalt: #2a2d31;
  --kerb: #f2c230;
  --sign-green: #0f7a3e;
  --white: #fff;

  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --text-hero: clamp(3.5rem, 1.2rem + 9.2vw, 9.25rem);
  --text-h2: clamp(2.5rem, 1.1rem + 5.2vw, 5.75rem);
  --text-lede: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --space-section: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --radius-lg: 28px;
  --shadow-lift: 0 30px 60px -18px #0d1b2e55, 0 10px 22px -10px #0d1b2e33;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-slow: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--font-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Fine paper grain over everything, like sun-faded sign stock. */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- Wordmark (title case, heavy, tight: matches the logo) ---------- */
.wordmark { font-family: var(--font-display); font-weight: 900; font-stretch: 100%; letter-spacing: -0.04em; line-height: .86; color: var(--blue); }
.wordmark-stack { display: inline-grid; }
.w-blue { color: var(--blue); }
.w-red { color: var(--red); }
.w-red-light { color: var(--red-light); }
.is-red { color: var(--red); }
.is-blue { color: var(--blue); }
.is-red-on-blue { color: var(--red-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; text-decoration: none; white-space: nowrap;
  font: 700 1rem/1 var(--font-body); border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background-color var(--duration-fast) ease;
}
.btn-sm { padding: .7em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1.05em 1.6em; font-size: 1.05rem; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px #d91b2bb0, inset 0 -3px 0 #0002; }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 16px 28px -12px #d91b2bc0, inset 0 -3px 0 #0002; }
.btn-red:active { transform: translateY(1px); box-shadow: 0 4px 10px -6px #d91b2bc0; }
.btn-red .i { transition: transform var(--duration-fast) ease; }
.btn-red:hover .i { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* ---------- Header ---------- */
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.nav.is-solid { background: #f5f0e6e8; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand .wordmark { font-size: 1.32rem; }
.nav-links { display: none; gap: 1.6rem; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav-links a { text-decoration: none; position: relative; padding: .3em 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out-expo); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: auto; }
@media (min-width: 1000px) { .nav-links { display: flex; } .nav .btn { margin-left: 0; } }

/* ---------- Hero: the real Newcastle CBD street grid behind the copy ---------- */
.hero { position: relative; padding: calc(6.5rem + 2vw) 0 clamp(3rem, 6vw, 6rem); overflow: hidden; isolation: isolate; }
.hero-map {
  position: absolute; inset: 0; z-index: -1;
  background: url('/assets/site/newcastle-streets.webp') 62% 42% / cover no-repeat;
  filter: saturate(.55) sepia(.25) contrast(1.05);
}
.hero-map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, var(--paper) 18%, #f5f0e6d9 46%, #f5f0e680 72%, #f5f0e6b3 100%), linear-gradient(0deg, var(--paper) 0%, transparent 22%); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 2rem; } }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--white); border: 1.5px solid #0a53ac33; padding: .5rem .9rem; border-radius: 999px; box-shadow: 0 6px 16px -10px #0a53ac66; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); position: relative; }
.live-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-title { font-family: var(--font-display); font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: var(--text-hero); line-height: .84; letter-spacing: -0.02em; margin: 1.4rem 0 1.5rem; color: var(--blue); }
.hero-title .line { display: block; }
.lede { font-size: var(--text-lede); max-width: 36rem; color: #2b3647; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; max-width: 34rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.hero-facts b { display: block; font-family: var(--font-display); font-weight: 800; font-stretch: 85%; font-size: 1.15rem; line-height: 1.1; }
.hero-facts span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; margin-top: .2rem; }

.hero-visual { position: relative; justify-self: center; padding: 1.5rem 2.5rem 1.5rem 4.5rem; }
.phone { position: relative; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #23324a, #0b1626); box-shadow: var(--shadow-lift), inset 0 0 0 1.5px #ffffff22; }
.phone img { border-radius: 37px; width: 100%; }
.phone::before { content: ''; position: absolute; top: 19px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); background: #0b1626; border-radius: 0 0 14px 14px; z-index: 1; opacity: 0; }
.phone-hero { width: min(330px, 74vw); transform: rotate(2.5deg); }
.phone-sm { width: min(290px, 72vw); }
.phone-dir { width: min(300px, 72vw); }

/* NSW-style 2P ticket parking sign on a pole. */
.parking-sign {
  position: absolute; left: -.5rem; top: 2.5rem; z-index: 3; width: 128px; padding: .7rem .6rem .8rem; background: var(--white); color: var(--sign-green);
  border-radius: 8px; box-shadow: inset 0 0 0 2px #1d1d1d, inset 0 0 0 4px var(--white), inset 0 0 0 5.5px var(--sign-green), 0 18px 30px -16px #0d1b2e88;
  display: grid; grid-template-columns: auto 1fr auto; text-align: center; font-family: var(--font-display); font-weight: 800; line-height: 1.05; transform: rotate(-5deg);
}
.parking-sign::after { content: ''; position: absolute; left: 50%; top: 100%; width: 9px; height: 230px; transform: translateX(-50%); background: linear-gradient(90deg, #8b9096, #d7dadd 45%, #7d8288); z-index: -1; border-radius: 0 0 3px 3px; }
.ps-big { font-size: 2.9rem; font-stretch: 90%; letter-spacing: -0.03em; }
.ps-arrow { font-size: .8rem; align-self: center; }
.ps-ticket, .ps-time, .ps-days { grid-column: 1 / -1; }
.ps-ticket { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.ps-time { font-size: .72rem; font-weight: 700; }
.ps-days { font-size: .72rem; font-weight: 700; margin-bottom: .3rem; }

.float-card { position: absolute; z-index: 4; background: #ffffffee; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 22px 40px -18px #0d1b2e70, 0 0 0 1px #0d1b2e10; }
.notif { right: -1rem; top: 5.5rem; width: min(290px, 70vw); display: grid; grid-template-columns: 38px 1fr auto; gap: .65rem; align-items: start; padding: .8rem .9rem; font-size: .8rem; line-height: 1.35; }
.notif-icon { width: 38px; height: 38px; }
.notif b { display: block; font-size: .86rem; }
.notif span { color: #3c4656; }
.notif time { font-size: .7rem; color: var(--muted); }
.trustchip { left: 1.5rem; bottom: 3.5rem; display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; font-size: .78rem; line-height: 1.25; }
.trustchip b { display: block; font-size: .8rem; }
.trustchip small { color: var(--muted); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #e5eefb; color: var(--blue); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }

/* Trust badges, same language as the app. */
.tbadge { display: inline-flex; align-items: center; gap: .45em; border-radius: 999px; padding: .38em .8em; font-weight: 800; font-size: .78rem; white-space: nowrap; border: 1.5px solid; }
.tbadge i { display: inline-flex; gap: 2px; }
.tbadge s { display: inline-block; width: 4px; height: 10px; border-radius: 2px; background: currentColor; text-decoration: none; }
.tbadge s.off { opacity: .22; }
.t0 { color: #8a5a00; background: #fff6e0; border-color: #f3d58a; }
.t1 { color: #4d555d; background: #f1f3f5; border-color: #dde1e5; }
.t2 { color: var(--blue); background: #eaf2fd; border-color: #c9dcf6; }
.t3 { color: #147a4b; background: #e8f7ef; border-color: #b9e6cb; }
.t4 { color: #6b2fb3; background: #f3ecfd; border-color: #dac7f5; }

/* Load sequence: headline lines rise in, then the phone, then the alert drops down. */
.js .hero .line, .js .hero .lede, .js .hero .cta-row, .js .hero .hero-facts, .js .hero .eyebrow { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo); }
.js .hero .phone-hero { opacity: 0; transform: translateY(40px) rotate(6deg); transition: opacity 1s var(--ease-out-expo) .25s, transform 1.2s var(--ease-out-expo) .25s; }
.js .hero .parking-sign { opacity: 0; transform: translateY(-30px) rotate(-12deg); transition: opacity .8s var(--ease-out-expo) .55s, transform 1.1s var(--ease-out-expo) .55s; }
.js .hero .notif { opacity: 0; transform: translateY(-24px) scale(.96); transition: opacity .7s var(--ease-out-expo) 1.15s, transform .9s var(--ease-out-expo) 1.15s; }
.js .hero .trustchip { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out-expo) 1.45s, transform .9s var(--ease-out-expo) 1.45s; }
.js .hero.is-in .line, .js .hero.is-in .lede, .js .hero.is-in .cta-row, .js .hero.is-in .hero-facts, .js .hero.is-in .eyebrow, .js .hero.is-in .notif, .js .hero.is-in .trustchip { opacity: 1; transform: none; }
.js .hero.is-in .phone-hero { opacity: 1; transform: rotate(2.5deg); }
.js .hero.is-in .parking-sign { opacity: 1; transform: rotate(-5deg); }
.js .hero .eyebrow { transition-delay: 0s; }
.js .hero .line:nth-child(1) { transition-delay: .08s; }
.js .hero .line:nth-child(2) { transition-delay: .16s; }
.js .hero .line:nth-child(3) { transition-delay: .24s; }
.js .hero .lede { transition-delay: .36s; }
.js .hero .cta-row { transition-delay: .46s; }
.js .hero .hero-facts { transition-delay: .56s; }

/* ---------- Road band: asphalt, kerb paint and a centre line ---------- */
.road { position: relative; background: var(--asphalt); color: var(--white); overflow: hidden; padding: 1.15rem 0; border-block: 5px solid var(--kerb); }
.road::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #ffffffcc 0 46px, transparent 46px 82px); opacity: .55; }
.road-track { display: flex; width: max-content; animation: drive 48s linear infinite; position: relative; }
.road-track span { font-family: var(--font-display); font-weight: 900; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.2rem, .9rem + 1.2vw, 1.9rem); letter-spacing: .02em; padding: 0 1.6rem; background: var(--asphalt); white-space: nowrap; display: inline-flex; align-items: center; gap: 1.6rem; }
.road-track span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
@keyframes drive { to { transform: translateX(-50%); } }

/* ---------- Shared section pieces ---------- */
.section { padding: var(--space-section) 0; position: relative; }
.kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker-light { color: #ffffffb3; }
/* NSW street name blade: white on blue, a white inner keyline, suburb and postcode underneath. */
.blade { display: inline-flex; flex-direction: column; align-items: center; background: var(--blue); color: var(--white); border-radius: 7px; padding: .5rem 1.1rem .45rem; box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 5px var(--white), 0 8px 16px -10px #0a53ac99; transform: rotate(-1.5deg); }
.blade b { font-family: var(--font-display); font-weight: 800; font-stretch: 88%; text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem; line-height: 1.1; }
.blade small { font-size: .56rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.blade-light { background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 5px var(--blue), 0 8px 16px -10px #0006; }
.h2 { font-family: var(--font-display); font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: var(--text-h2); line-height: .88; letter-spacing: -0.015em; }
.sub { font-size: var(--text-lede); color: #2f3a4b; max-width: 34rem; margin-top: 1.4rem; }
.sub-light { color: #ffffffd9; }
.fineprint { margin-top: 1.2rem; font-size: .92rem; color: var(--muted); max-width: 30rem; padding-left: .9rem; border-left: 3px solid var(--red); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out-expo), transform .9s var(--ease-out-expo); }
.js .reveal.is-in { opacity: 1; transform: none; }
figcaption { margin-top: 1rem; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- Ad in a realistic iPhone (titanium frame, Dynamic Island, side buttons) ---------- */
.watch { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); overflow: hidden; }
.watch-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .watch-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.watch-steps { margin-top: 2rem; display: grid; gap: .9rem; counter-reset: w; max-width: 32rem; }
.watch-steps li { counter-increment: w; display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; align-items: baseline; color: #364153; }
.watch-steps li::before { content: counter(w); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font: 900 .95rem var(--font-display); transform: translateY(.35rem); }
.watch-steps b { color: var(--ink); }
.watch-stage { position: relative; display: grid; justify-items: center; gap: 1.4rem; perspective: 1600px; }
/* Soft shadow pool under the phone. */
.watch-stage::before { content: ''; position: absolute; left: 50%; bottom: 2.6rem; width: 70%; height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse, #0d1b2e55, transparent 70%); filter: blur(8px); }
.iphone {
  --w: min(330px, 76vw);
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5; border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .035);
  background: linear-gradient(135deg, #8d9297 0%, #d9dcdf 18%, #6b7075 38%, #c3c7cb 62%, #5d6267 82%, #a9adb2 100%);
  box-shadow: inset 0 0 0 1.5px #ffffff66, inset 0 0 0 4px #2b2e31, 0 50px 80px -30px #0d1b2e99, 0 18px 30px -18px #0d1b2e88;
  transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(8deg) rotateZ(2deg);
}
.iphone::before { content: ''; position: absolute; inset: calc(var(--w) * .022); border-radius: calc(var(--w) * .145); background: #050608; }
.iphone-screen { position: relative; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden; background: #e9e5dc; isolation: isolate; }
.ad-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.iphone-status { position: absolute; inset: 0 0 auto; height: calc(var(--w) * .16); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--w) * .085) 0 calc(var(--w) * .11); color: #0d1b2e; font: 700 calc(var(--w) * .047) / 1 -apple-system, 'SF Pro Text', var(--font-body); z-index: 2; background: linear-gradient(180deg, #ffffffb0, #ffffff00); }
.iphone-island { position: absolute; left: 50%; top: calc(var(--w) * .032); width: calc(var(--w) * .31); height: calc(var(--w) * .09); transform: translateX(-50%); background: #000; border-radius: 999px; box-shadow: inset calc(var(--w) * -.06) 0 0 -1px #000, inset -9px 0 6px -6px #1a2a44; }
.ios-icons { display: inline-flex; align-items: center; gap: calc(var(--w) * .014); }
.ios-icons svg { height: calc(var(--w) * .034); width: auto; fill: currentColor; }
.ios-icons svg:last-child { height: calc(var(--w) * .038); }
.iphone-home { position: absolute; left: 50%; bottom: calc(var(--w) * .022); width: 36%; height: 5px; transform: translateX(-50%); border-radius: 99px; background: #0d1b2ecc; z-index: 2; }
.iphone-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, #ffffff38 0%, #ffffff10 22%, transparent 40%); }
.iphone-btn { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #5f6469, #b5b9bd); }
.iphone-btn-action { left: -3px; top: 17%; height: 4.5%; }
.iphone-btn-up { left: -3px; top: 25%; height: 8.5%; }
.iphone-btn-down { left: -3px; top: 35.5%; height: 8.5%; }
.iphone-btn-side { right: -3px; top: 28%; height: 13%; background: linear-gradient(90deg, #b5b9bd, #5f6469); }
.sound-toggle { display: inline-flex; align-items: center; gap: .5rem; font: 700 .9rem var(--font-body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: .6rem 1rem; cursor: pointer; box-shadow: 0 8px 18px -12px #0d1b2e66; transition: background-color var(--duration-fast), color var(--duration-fast); }
.sound-toggle:hover { border-color: var(--ink); }
.sound-toggle .snd-on { display: none; }
.sound-toggle[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sound-toggle[aria-pressed="true"] .snd-on { display: inline; }
.sound-toggle[aria-pressed="true"] .snd-off { display: none; }
/* As you scroll through, the phone swings from a 3D tilt to face you, then settles. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .iphone { animation: phone-swing linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    @keyframes phone-swing {
      from { transform: translateY(80px) rotateY(-28deg) rotateX(14deg) rotateZ(4deg) scale(.92); }
      to { transform: translateY(0) rotateY(-6deg) rotateX(3deg) rotateZ(1deg) scale(1); }
    }
  }
}

/* ---------- How it works ---------- */
.how-grid { display: grid; gap: 3rem; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.6rem 0; border-top: 2px solid var(--ink); }
.step:last-child { border-bottom: 2px solid var(--ink); }
.step-n { font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); }
.step h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.1; margin-bottom: .45rem; }
.step p { color: #364153; max-width: 32rem; }
.js .step:nth-child(2) { transition-delay: .1s; }
.js .step:nth-child(3) { transition-delay: .2s; }
.how-shot { justify-self: center; margin: 0; }
.how-shot .phone { transform: rotate(-2deg); }
@media (min-width: 1000px) {
  .how-grid { grid-template-columns: 1.15fr .85fr; column-gap: 5rem; row-gap: 2.5rem; }
  .how-head { grid-column: 1; }
  .steps { grid-column: 1; }
  .how-shot { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* ---------- Direction: a blue field over the harbour ---------- */
.direction { background: var(--blue); color: var(--white); overflow: hidden; isolation: isolate; }
.direction::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/assets/site/newcastle-streets.webp') 40% 60% / cover no-repeat; opacity: .13; mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.4); }
.direction::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(0deg, var(--blue-deep), transparent); }
.dir-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1000px) { .dir-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.dir-points { margin-top: 2rem; display: grid; gap: 1.1rem; max-width: 34rem; }
.dir-points li { padding-left: 1.5rem; position: relative; color: #ffffffd9; }
.dir-points li::before { content: ''; position: absolute; left: 0; top: .45em; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid var(--red-light); transform: rotate(135deg); }
.dir-points b { color: var(--white); }
.dir-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.compass { position: absolute; width: min(520px, 110%); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.c-ring { fill: none; stroke: #ffffff33; stroke-width: 1.5; }
.c-ring-in { stroke-dasharray: 3 7; }
.c-ticks { stroke: #ffffff66; stroke-width: 2; stroke-linecap: round; }
.c-n { fill: var(--white); font: 900 22px var(--font-display); text-anchor: middle; }
.c-needle { transform-origin: 120px 120px; transform: rotate(0deg); transition: transform 1.8s var(--ease-out-expo) .2s; }
.c-head { fill: var(--red-light); }
.c-tail { fill: #ffffff55; }
.c-hub { fill: var(--white); }
.direction.is-in .c-needle { transform: rotate(135deg); }
.phone-dir { z-index: 1; transform: rotate(-3deg); }

/* ---------- Trust ---------- */
.trust { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.trust-grid { display: grid; gap: 3rem; align-items: center; }
.ladder { display: grid; gap: .7rem; }
.rung { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: 0 10px 20px -16px #0d1b2e55; }
.rung .tbadge { font-size: .9rem; }
.rung-rule { color: var(--muted); font-size: .92rem; }
.rung-warn { background: #fffaf0; border-style: dashed; }
.js .rung:nth-child(1) { transition-delay: 0s; } .js .rung:nth-child(2) { transition-delay: .08s; } .js .rung:nth-child(3) { transition-delay: .16s; } .js .rung:nth-child(4) { transition-delay: .24s; } .js .rung:nth-child(5) { transition-delay: .32s; }
.trust-shot { margin: 0; justify-self: center; }
.trust-shot .phone { transform: rotate(2deg); }
@media (min-width: 760px) { .rung:nth-child(1) { margin-left: 0; } .rung:nth-child(2) { margin-left: 1.5rem; } .rung:nth-child(3) { margin-left: 3rem; } .rung:nth-child(4) { margin-left: 4.5rem; } .rung:nth-child(5) { margin-left: 2rem; } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: .95fr 1.05fr .75fr; gap: 3rem; } }

/* ---------- Features bento ---------- */
.feat-head { margin-bottom: 3rem; }
.bento { display: grid; gap: 1rem; }
.tile { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.8rem; border: 1.5px solid var(--line); overflow: hidden; transition: transform .35s var(--ease-out-expo), box-shadow .35s var(--ease-out-expo); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px #0d1b2e66; }
.tile h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; font-size: 1.45rem; line-height: 1.1; margin: 1rem 0 .5rem; }
.tile p { color: #3a4556; }
.tile-extra { margin-top: .9rem; padding-top: .9rem; border-top: 1.5px dashed currentColor; font-size: .92rem; }
.ti { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: #e9f0fb; stroke: var(--blue); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tile-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.tile-blue p, .tile-red p { color: #ffffffe0; }
.tile-blue .ti, .tile-red .ti { background: #ffffff22; stroke: var(--white); }
.tile-red { background: var(--red); color: var(--white); border-color: var(--red); }
/* Kerb paint along the bottom of the parked-car tile. */
.tile-car::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--kerb) 0 34px, transparent 34px 52px); opacity: .9; }
.tile-car h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile-car { grid-column: span 2; } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); }
  .tile-car { grid-column: 1 / span 3; grid-row: span 2; padding: 2.2rem; }
  .tile-zones { grid-column: 4 / span 3; }
  .tile-push { grid-column: 4 / span 3; }
  .tile-risk { grid-column: 1 / span 2; grid-row: span 2; }
  .tile-fines { grid-column: 3 / span 2; }
  .tile-official { grid-column: 5 / span 2; }
  .tile-daily { grid-column: 3 / span 2; }
  .tile-places { grid-column: 5 / span 2; }
}

/* ---------- Safety ---------- */
.safety { background: var(--ink); color: var(--white); overflow: hidden; }
.safety::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--red) 0 18px, var(--white) 18px 36px); }
.safety-head { margin-bottom: 3rem; }
.u-under { position: relative; display: inline-block; }
.u-under::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .14em; background: var(--red); transform: skewX(-12deg); z-index: -1; }
.safety .h2 { isolation: isolate; }
.rules { display: grid; gap: 1px; background: #ffffff1f; border: 1px solid #ffffff1f; border-radius: 22px; overflow: hidden; }
.rule { display: flex; gap: 1rem; align-items: flex-start; background: var(--ink); padding: 1.5rem 1.4rem; color: #ffffffcc; }
.rule b { color: var(--white); }
.rule-n { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); font: 900 1rem var(--font-display); }
.js .rule:nth-child(2) { transition-delay: .06s; } .js .rule:nth-child(3) { transition-delay: .12s; } .js .rule:nth-child(4) { transition-delay: .18s; } .js .rule:nth-child(5) { transition-delay: .24s; } .js .rule:nth-child(6) { transition-delay: .3s; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.emergency { display: flex; gap: .9rem; align-items: center; margin-top: 2rem; background: var(--red); color: var(--white); border-radius: 18px; padding: 1.1rem 1.3rem; font-size: 1rem; }
.emergency .i { width: 28px; height: 28px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.faq-list details { border-top: 2px solid var(--ink); }
.faq-list details:last-child { border-bottom: 2px solid var(--ink); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--font-display); font-weight: 800; font-stretch: 92%; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 14px no-repeat; transition: transform .3s var(--ease-out-expo), background-color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--red); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { padding: 0 3rem 1.4rem 0; color: #364153; max-width: 42rem; }
.faq-list a { color: var(--blue); font-weight: 700; }

/* ---------- Final CTA ---------- */
.final { padding: var(--space-section) 0; text-align: center; background: radial-gradient(ellipse at 50% 0%, #fff 0%, transparent 60%), var(--paper); border-top: 1.5px solid var(--line); }
.final-inner { display: grid; justify-items: center; }
.final-word { font-size: clamp(4.2rem, 1rem + 15vw, 13rem); }
.final-sub { font-size: var(--text-lede); max-width: 34rem; margin-top: 1.6rem; color: #2f3a4b; }
.final-cta { justify-content: center; }
.install-tip { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }

/* ---------- Footer: Nobbys, the breakwall and a coal ship waiting offshore ---------- */
.footer { position: relative; background: var(--blue-night); color: #ffffffcc; padding: 0 0 2.5rem; }
.horizon { display: block; width: 100%; height: clamp(70px, 9vw, 140px); background: var(--paper); }
.h-sea { fill: var(--blue-night); }
.h-land, .h-light { fill: var(--blue-night); stroke: var(--blue-night); stroke-width: 2; }
.h-wall { stroke: var(--blue-night); stroke-width: 4; stroke-linecap: round; }
.h-ship { fill: #0a2f62; stroke: #0a2f62; stroke-width: 2; stroke-linejoin: round; }
.h-ship-far { opacity: .6; }
.footer-inner { display: grid; gap: 1.6rem; padding-top: 2rem; }
.footer .brand-mark { width: 52px; height: 52px; }
.footer .wordmark { color: var(--white); font-size: 1.6rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-weight: 600; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-note { font-size: .82rem; color: #ffffff99; line-height: 1.7; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; } .footer-inner nav { justify-self: end; } .footer-note { grid-column: 1 / -1; border-top: 1px solid #ffffff22; padding-top: 1.4rem; } }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .hero { padding-top: 6rem; }
  .hero-map { background-position: 72% 40%; }
  .hero-map::after { background: linear-gradient(180deg, #f5f0e6f0 0%, #f5f0e6d0 55%, var(--paper) 100%); }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .hero-facts b { font-size: 1rem; }
  .hero-visual { padding: 1rem 0 1rem 2.4rem; }
  .parking-sign { left: -.6rem; top: 1rem; width: 96px; padding: .5rem .4rem .6rem; }
  .ps-big { font-size: 2.1rem; }
  .ps-ticket { font-size: .78rem; }
  .ps-time, .ps-days { font-size: .58rem; }
  .notif { right: -.5rem; top: 3rem; width: 230px; }
  .trustchip { left: .5rem; bottom: 2rem; }
  .trustchip .tbadge { display: none; }
  .dir-visual { min-height: 0; }
  .compass { width: 130%; }
  .faq-list details p { padding-right: 0; }
  .brand .wordmark { font-size: 1.15rem; }
  .brand-mark { width: 38px; height: 38px; }
  .nav .btn-sm { padding: .6em .9em; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road-track, .live-dot::after { animation: none; }
  .js .reveal, .js .hero *, .c-needle { transition: none !important; }
  .direction .c-needle { transform: rotate(135deg); }
  .tile:hover, .btn:hover { transform: none; }
}

/* ---------- Launch mode: "soon" (waitlist) is the default; the server can switch it to open ---------- */
html.soon .open-only, html:not(.soon) .soon-only { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-form { margin-top: 2rem; max-width: 34rem; }
.wl-row { display: flex; gap: .5rem; padding: .4rem; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 14px 30px -18px #0d1b2e80; transition: box-shadow var(--duration-fast), border-color var(--duration-fast); }
.wl-row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px #0a53ac30, 0 14px 30px -18px #0d1b2e80; }
.wl-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.05rem var(--font-body); padding: 0 .9rem; color: var(--ink); }
.wl-row input:focus { outline: none; }
.wl-row .btn { padding: .9em 1.3em; }
.wl-note { margin-top: .8rem; font-size: .88rem; color: var(--muted); }
.wl-note a { color: var(--blue); font-weight: 700; }
.wl-msg { margin-top: .7rem; font-weight: 700; min-height: 1.4em; }
.wl-msg.is-error { color: var(--red-deep); }
.wl-msg.is-ok { color: #147a4b; }
.waitlist-form.is-done .wl-row, .waitlist-form.is-done .wl-fields, .waitlist-form.is-done > .btn { display: none; }
.waitlist-form.is-done .wl-msg { font-family: var(--font-display); font-stretch: 90%; font-size: 1.35rem; line-height: 1.25; padding: 1.1rem 1.2rem; background: #e8f7ef; border: 1.5px solid #b9e6cb; border-radius: 18px; }
.waitlist-final { margin-inline: auto; width: min(560px, 100%); text-align: left; display: grid; gap: .9rem; }
.waitlist-final > .btn { justify-self: start; }
.wl-fields { display: grid; gap: .8rem; }
@media (min-width: 640px) { .wl-fields { grid-template-columns: 1.2fr 1fr; } }
.wl-field { display: grid; gap: .35rem; font-weight: 700; font-size: .85rem; }
.wl-field small { font-weight: 500; color: var(--muted); }
.wl-field input { font: 500 1rem var(--font-body); padding: .95rem 1rem; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); color: var(--ink); }
.wl-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px #0a53ac30; }
.soon-banner { margin-top: 1.4rem; background: var(--ink); color: var(--white); padding: .8rem 1.2rem; border-radius: 14px; font-weight: 700; }
.js .hero .waitlist-form { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out-expo) .46s, transform .8s var(--ease-out-expo) .46s; }
.js .hero.is-in .waitlist-form { opacity: 1; transform: none; }
@media (max-width: 480px) { .wl-row { flex-direction: column; border-radius: 22px; } .wl-row input { padding: .8rem .9rem; } .wl-row .btn { width: 100%; } }

/* ---------- Team sign-in ---------- */
.team-page { min-height: 100svh; background: linear-gradient(180deg, #f5f0e6f2, #ebe3d3), url('/assets/site/newcastle-streets.webp') center / cover; }
.team-wrap { width: min(520px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 2.5rem 0 4rem; display: grid; gap: 2rem; }
.team-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 2.5rem); box-shadow: var(--shadow-lift); }
.team-title { font-size: clamp(2.6rem, 2rem + 3vw, 3.6rem); }
.team-sub { margin: 1rem 0 1.6rem; color: #364153; }
.team-sub a { color: var(--blue); font-weight: 700; }
.team-form { display: grid; gap: 1rem; }
.team-form .btn { justify-self: start; }

/* ---------- Footer contact, Instagram and credit ---------- */
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.contact-link { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; color: var(--white); padding: .55rem .95rem; border: 1.5px solid #ffffff33; border-radius: 999px; transition: background-color var(--duration-fast), border-color var(--duration-fast); }
.contact-link:hover { background: #ffffff14; border-color: #ffffff80; }
.built-by { margin-left: auto; font-size: .85rem; color: #ffffffb3; letter-spacing: .02em; }
.built-by b { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; color: var(--white); letter-spacing: -.01em; }
@media (min-width: 900px) { .footer-contact { grid-column: 1 / -1; } }
@media (max-width: 640px) { .built-by { margin-left: 0; width: 100%; } }
