/* SE7EN TOW - navy + gold */
:root {
  --bg: #0a111f;
  --surface: #121c30;
  --surface-2: #1b2842;
  --navy: #14294d;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f2ea;
  --muted: #adb5c6;
  --gold: #dcb85c;
  --gold-hi: #e6c36a;
  --ink: #0a111f;
  --r: 1.75rem;
  --pad: clamp(1rem, 4vw, 3rem);
  --edge: clamp(1rem, 4vw, 4rem);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: .95; text-transform: uppercase; text-wrap: balance; }
h1 { font-style: italic; font-weight: 800; font-size: clamp(3.2rem, 7.2vw, 6.4rem); letter-spacing: -.005em; }
.title { font-style: italic; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 2rem; }
h3 { font-weight: 700; font-size: 1.7rem; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; padding: .6rem 1rem; border-radius: 99px; background: var(--gold); color: var(--ink); font-weight: 700; }

/* Irish subtitles: part of the site, always shown */
.ga { display: block; font: 500 .8rem/1.3 var(--body); letter-spacing: .02em; text-transform: none; font-style: normal; opacity: .85; }
.btn .ga { font-size: .72rem; margin-top: .15rem; text-align: left; }
.title .ga { font-size: 1.1rem; margin-top: .45rem; }
h3 .ga { margin: .25rem 0 .35rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: .6rem 1.2rem; border: 0; border-radius: 99px; font: 700 .95rem/1 var(--body); white-space: nowrap; cursor: pointer; transition: transform .5s var(--ease), filter .5s var(--ease), background-color .5s var(--ease); }
.btn i { font-size: 1.3em; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-ghost { background: rgba(10, 17, 31, .55); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.btn-line { color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.btn-xl { min-height: 3.6rem; padding: .8rem 1.7rem; font-size: 1.1rem; }

/* nav */
.nav { position: sticky; top: .6rem; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(1320px, calc(100% - 1.2rem)); margin: .6rem auto; padding: .45rem .5rem .45rem 1.3rem; border-radius: 99px; background: rgba(18, 28, 48, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line); }
.brand { font: italic 800 1.65rem/1 var(--display); color: var(--gold); white-space: nowrap; }
.brand b { font-size: 1.2em; }
.brand i { color: var(--text); }
.nav-links { display: flex; gap: 1.8rem; font-size: .92rem; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-cta { display: flex; gap: .4rem; }

/* surfaces */
.shell { padding: .4rem; border-radius: var(--r); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line); }
.core { width: 100%; height: 100%; border-radius: calc(var(--r) - .4rem); overflow: hidden; object-fit: cover; background: var(--surface); }

/* hero: cut-out truck standing on the situation picker */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-wrap: balance; }
.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.bignum { font: 700 clamp(3rem, 7vw, 6rem)/1 var(--display); color: var(--gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero { position: relative; display: flex; flex-direction: column; overflow: hidden; container-type: inline-size; background-color: var(--navy); background-image: radial-gradient(52% 55% at 73% 52%, rgba(120, 160, 230, .30), transparent 72%), url(/img/paper.webp); background-blend-mode: normal, multiply; }
.hero h1 { line-height: .86; }
.hero h1 em { display: block; font-style: inherit; color: var(--gold-hi); }
.hero-copy { display: grid; gap: .9rem; justify-items: start; }
.hero-copy > p:not(.eyebrow) { font-size: 1.15rem; font-weight: 600; max-width: 24ch; }
.hero-truck { height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 20px 16px rgba(0, 0, 0, .5)); }
.hero-road { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; border-top: 4px solid var(--gold); background: #1c1c1c url(/img/asphalt.webp); color: #fff; }
.hero-road a { display: flex; align-items: center; gap: .75rem; height: 100%; min-height: 3.4rem; padding: .6rem 1.1rem; border-radius: calc(var(--r) - .6rem); background: rgba(10, 17, 31, .84); font-weight: 700; line-height: 1.3; transition: transform .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease); }
.hero-road i { flex: none; font-size: 1.7rem; color: var(--gold-hi); transition: color .6s var(--ease); }
.hero-road a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.hero-road a:hover i { color: var(--ink); }
.hero-road a:active { transform: scale(.98); }

@media (min-width: 1024px) {
  .hero { min-height: min(52rem, calc(100svh - 5rem)); }
  .hero h1 { width: 46%; padding: clamp(1.5rem, 6vh, 4rem) 0 0 var(--edge); font-size: min(9.2vw, 21svh, 11rem); }
  .hero-stage { flex: 1; display: flex; align-items: center; }
  .hero-copy { width: 40%; padding: 1.5rem 0 1.5rem var(--edge); }
  .hero-road { padding: .8rem 56% .8rem var(--edge); }
  .hero-truck { position: absolute; z-index: 1; right: 1.2vw; bottom: 1rem; width: min(59vw, 138svh - 6rem, 64rem); }
}
@media (max-width: 1023px) {
  .hero h1 { padding: 1.4rem 1rem 0; font-size: min(20cqi, 9.5rem); text-align: center; }
  .hero-copy { justify-items: center; text-align: center; padding: .9rem 1rem 0; }
  .hero-truck { position: relative; z-index: 1; width: min(96%, 46rem); margin: .6rem auto -2.4rem; }
  .hero-road { padding: 3rem .6rem .6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-truck { animation: arrive 1.1s var(--ease) backwards; }
  @keyframes arrive { from { transform: translateX(10%); opacity: 0; } }
}

/* sections */
.section { width: min(1320px, 100%); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad) 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 14rem; gap: .9rem; }
.b-accident { grid-column: span 7; grid-row: span 2; }
.b-break, .b-jump { grid-column: span 5; }
.b-tow { grid-column: span 5; grid-row: span 2; }
.b-move { grid-column: span 7; grid-row: span 2; }
.b-nct { grid-column: 1 / -1; grid-row: span 1; }
.photo { position: relative; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shell:hover .photo img { transform: scale(1.04); }
.cap { position: absolute; inset: auto 0 0; padding: 4rem 1.4rem 1.2rem; background: linear-gradient(transparent, rgba(6, 10, 20, .93) 68%); }
.cap p { color: #dfe1e6; font-size: .95rem; max-width: 46ch; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; gap: .35rem; }
.tile i { font-size: 2.4rem; margin-bottom: auto; color: var(--gold); }
.tile p { color: var(--muted); font-size: .95rem; }
.tile.accent { background: var(--gold) url(/img/paper.webp); background-blend-mode: multiply; color: var(--ink); }
.tile.accent i, .tile.accent p { color: var(--ink); }
.b-nct .tile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; justify-content: stretch; column-gap: 1.4rem; }
.b-nct .tile > i { margin: 0; font-size: 3rem; }
.b-nct .textlink i { margin: 0; font-size: 1.1em; color: inherit; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { position: relative; padding-top: 2rem; border-top: 3px solid var(--surface-2); display: grid; gap: .6rem; align-content: start; }
.steps li::before { content: ""; position: absolute; top: -3px; left: 0; width: 4rem; height: 3px; background: var(--gold); }
.steps i { font-size: 2.2rem; color: var(--gold); }
.steps p { color: var(--muted); max-width: 34ch; }

.reel { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: .9rem; align-items: start; }
.reel .v { aspect-ratio: 9 / 15; }
.reel .v:last-child { margin-top: 4rem; }
.reel-mid { display: grid; gap: .9rem; padding-top: 2rem; }
.reel-mid .core { aspect-ratio: 16 / 10; }
.reel-new { margin-top: .9rem; }
.reel-new .v:last-child { margin-top: 0; }
.reel-truck { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: .9rem; }
.reel-truck .core { aspect-ratio: 16 / 10; }

.textlink { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--gold-hi); padding: .5rem 0; justify-self: start; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

.form-core { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; padding: clamp(1.25rem, 4vw, 3.5rem); }
.form-intro .title { margin-bottom: 1rem; }
.form-intro p { color: var(--muted); max-width: 34ch; }
.form-intro a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; border: 0; min-width: 0; }
label, legend { font-weight: 600; font-size: .9rem; }
legend { margin-bottom: .5rem; }
input:not([type="radio"]) { width: 100%; min-height: 3.2rem; padding: .7rem 1.2rem; border-radius: 99px; border: 1px solid #43537a; background: var(--bg); color: var(--text); font: inherit; }
input::placeholder { color: #8b93a8; }
input[aria-invalid="true"] { border-color: #ff8a75; }
.err { color: #ff9c8a; font-size: .85rem; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: .6rem 1.2rem; border-radius: 99px; background: var(--surface-2); cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease); }
.chips input:checked + span { background: var(--gold); color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.where { display: flex; gap: .5rem; flex-wrap: wrap; }
.where input:not([type="radio"]) { flex: 1 1 14rem; width: auto; }

.guide { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.guide .shell { aspect-ratio: 16 / 10; }
.checks { display: grid; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.15rem; }
.checks li { display: flex; gap: .9rem; align-items: center; }
.checks i { flex: none; font-size: 1.6rem; color: var(--gold); }
.checks a { color: var(--gold-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.lead { color: var(--muted); margin: -1rem 0 2rem; }
.towns { display: flex; flex-wrap: wrap; column-gap: 2.5rem; row-gap: .4rem; font: italic 700 clamp(2.2rem, 5.5vw, 4.6rem)/1.1 var(--display); text-transform: uppercase; }
.towns li:nth-child(even) { color: var(--gold-hi); }
.towns .ga { font-size: .95rem; margin-bottom: .6rem; color: var(--muted); }
.roads-title { margin: 3rem 0 1rem; }
.roads { display: grid; gap: .5rem; max-width: 40rem; }
.roads a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: .7rem 1.4rem .7rem .7rem; border-radius: 1.25rem; background: var(--surface); transition: transform .5s var(--ease), background-color .5s var(--ease); }
.roads a:hover { background: var(--surface-2); transform: translateX(6px); }
.roads i { color: var(--gold); font-size: 1.3rem; }
.areas .textlink { display: flex; width: max-content; margin-top: 1rem; }

.faq-list { max-width: 52rem; display: grid; gap: .5rem; }
details { border-radius: 1.25rem; background: var(--surface); }
summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .5s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

.closing { width: min(1320px, calc(100% - 1.2rem)); margin: clamp(4.5rem, 10vw, 8.5rem) auto 0; padding: clamp(3rem, 8vw, 6rem) 1rem; border-radius: var(--r); background: var(--navy) url(/img/paper.webp); background-blend-mode: multiply; display: grid; justify-items: center; gap: 1.2rem; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.closing h2 { font-style: italic; font-size: clamp(2.6rem, 6vw, 5rem); }
.closing h2 em { font-style: inherit; color: var(--gold-hi); }
.closing .cta-row { justify-content: center; }

.footer { width: min(1320px, 100%); margin: 0 auto; padding: 4rem var(--pad) 2rem; display: grid; grid-template-columns: 15rem 1fr auto auto; gap: 2.5rem; align-items: center; color: var(--muted); }
.footer img { border-radius: 1.25rem; width: 100%; height: auto; }
.footer p + p { margin-top: .6rem; color: var(--gold-hi); font-weight: 700; }
.footer nav { display: grid; gap: .6rem; align-content: center; }
.footer nav a { display: flex; gap: .6rem; align-items: center; }
.footer nav a:hover { color: var(--text); }
.footer .legal { grid-column: 1 / -1; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .82rem; }
.footer .legal a { text-decoration: underline; text-underline-offset: 3px; }

.dock { display: none; }

.js .reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* text pages: accident checklist, privacy, not found */
.doc { width: min(48rem, 100%); margin: 0 auto; padding: 3rem var(--pad) 0; }
.doc h1 { font-size: clamp(3rem, 9vw, 5rem); margin-bottom: 1rem; }
.doc > p { color: var(--muted); }
.doc section { margin-top: 3rem; }
.doc h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--gold-hi); }
.doc section p { color: var(--muted); margin-bottom: .8rem; }
.doc section p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.doc .checks { font-size: 1.05rem; }
.doc .checks li { align-items: flex-start; }
.doc .cta-row { margin-top: 2rem; }
.alert { margin-bottom: 1.5rem; padding: 1.1rem 1.4rem; border-radius: 1.25rem; background: var(--gold) url(/img/paper.webp); background-blend-mode: multiply; color: var(--ink); font-weight: 700; }
.doc > .alert { margin-top: 2rem; color: var(--ink); }

/* road and service pages */
.road-sign { display: inline-grid; place-items: center; justify-self: start; min-width: 4.2rem; padding: .2rem .7rem; border-radius: .6rem; background: #1b5aa8; color: #fff; box-shadow: inset 0 0 0 3px #1b5aa8, inset 0 0 0 5px #fff; font: 700 1.7rem/1.5 var(--display); }
.road-sign.national { background: #0f6b3f; color: #ffd83d; box-shadow: inset 0 0 0 3px #0f6b3f, inset 0 0 0 5px #fff; }
.road-sign.service { background: var(--gold); color: var(--ink); box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 5px var(--ink); padding-inline: 1rem; }
.road-head { width: min(1320px, 100%); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.road-copy { display: grid; gap: 1.1rem; justify-items: start; }
.road-head h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
.road-copy > p:not(.road-sign) { color: var(--muted); font-size: 1.1rem; max-width: 42ch; }
.road-copy > p.ga { margin-top: -.6rem; font-size: 1rem; }
.road-head .shell { aspect-ratio: 16 / 10; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.split .lead { margin-top: -1rem; }
.split .checks { font-size: 1.05rem; }
.split .checks li { align-items: flex-start; }
.route li { position: relative; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.1rem; padding-bottom: 1.6rem; }
.route li:not(:last-child)::before { content: ""; position: absolute; left: calc(1.7rem - 2px); top: 3.4rem; bottom: 0; width: 4px; background: var(--surface-2); }
.route b { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 99px; background: var(--gold); color: var(--ink); font: 700 1.35rem/1 var(--display); }
.route b i { font-size: 1.5rem; }
.route p { color: var(--muted); }
.also { display: flex; flex-wrap: wrap; column-gap: 2rem; margin-top: 1.5rem; }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .footer { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 767px) {
  body { padding-bottom: 5.5rem; }
  .nav { padding-block: .6rem; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { min-height: 2.5rem; padding: .5rem .85rem; font-size: .85rem; }
  .brand { font-size: 1.4rem; }
  .hero h1 { font-size: 22.5cqi; }
  .hero-copy > p:not(.eyebrow), .hero-copy .btn { display: none; } /* the dock already shows Call */
  .hero-truck { width: 102%; margin: .4rem -1% -1.6rem; }
  .hero-road { padding: 2.1rem .6rem .6rem; }
  .hero-road a { flex-direction: column; align-items: flex-start; justify-content: center; gap: .25rem; padding: .6rem .8rem; font-size: .9rem; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .bento > * { grid-column: auto; grid-row: auto; min-height: 13rem; }
  .bento .photo { min-height: 18rem; height: 100%; }
  .bento .b-nct { min-height: 0; }
  .b-nct .tile { grid-template-columns: minmax(0, 1fr); row-gap: .6rem; justify-items: start; }
  .steps, .form-core, .guide, .road-head, .split { grid-template-columns: minmax(0, 1fr); }
  .road-copy .cta-row { display: none; } /* the dock already shows both */
  .steps { gap: 2rem; }
  .form-core { gap: 1.5rem; }
  .reel { grid-template-columns: 1fr 1fr; }
  .reel-mid { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
  .reel .v:last-child { margin-top: 0; }
  .reel-new > :first-child { grid-column: 1 / -1; }
  .reel-truck { grid-template-columns: minmax(0, 1fr); }
  .where .btn { width: 100%; }
  .footer { grid-template-columns: minmax(0, 1fr); }
  .footer img { max-width: 16rem; }
  .dock { position: fixed; z-index: 30; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.3fr 1fr; gap: .4rem; padding: .4rem; border-radius: 99px; background: rgba(6, 11, 22, .95); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
  .dock .btn { min-height: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
