/* 4Shore NZ site. Trimmed to Shane's launch scope (30 Nov 2026): home (hero, why 4Shore, closing call) and contact only. */
:root { --ground: #F4F1EC; --ink: #141416; --night: #111214; --panel: #1B1C1F; --line: #2C2D32; --maroon: #7A1C2A; --red: #D31A26; --muted: #A8A49D; --soft: #3E3A35; color-scheme: light }
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; overflow-x: hidden }
img { max-width: 100% }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 2px }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)) }
.dark { background: var(--night); color: #F4F1EC }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #F4F1EC }
.brand img { height: 84px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45)) }
.brand span { font-weight: 800; font-stretch: 115%; font-size: 22px; line-height: 1.05 }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px }
.nav a.link { color: #F4F1EC; text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent }
.nav a.link[aria-current="page"] { border-bottom-color: var(--red) }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; font-weight: 700; font-size: 16px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit }
.pill.red { background: var(--red); color: #FFFFFF }
.pill.ghost { border: 2px solid #4A4A52; color: #F4F1EC; background: transparent }
.eyebrow { margin: 0; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 600; font-size: 13px; letter-spacing: 0.12em; color: var(--muted) }
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; padding-block: 48px 72px }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px }
.base { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 600; font-size: 17px; color: var(--muted) }
.base .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red) }
.hero h1 { margin: 0; font-weight: 900; font-stretch: 80%; font-size: clamp(72px, 10vw, 144px); line-height: 0.86; letter-spacing: -0.02em; text-transform: uppercase }
.hero h1 span { color: var(--red) }
.hero p.lede { margin: 0; font-size: 20px; line-height: 1.5; color: #C9C5BE; max-width: 500px }
.hero-pic { flex: 1 1 480px; min-width: 0; min-height: 520px; position: relative; border-radius: 18px; overflow: hidden }
.hero-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 70% }
.call { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; width: calc(100% - 36px); max-width: 360px; text-decoration: none; color: #F4F1EC; background: var(--night); border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 14px }
.call img { width: 60px; height: 60px; flex: none; object-fit: cover; border-radius: 10px }
.call img.mark, .card-call img.mark { object-fit: contain; background: transparent; border-radius: 0 }
.small-cap { display: block; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--muted) }
.why { background: #FFFFFF; border-top: 1px solid #E3DED5; border-bottom: 1px solid #E3DED5 }
.why .wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 88px }
.why-head { flex: 1 1 380px; min-width: 0 }
.why-head .eyebrow { color: #B3121F; font-size: 14px; margin-bottom: 10px }
.why h2 { margin: 0 0 18px; font-weight: 900; font-stretch: 85%; font-size: clamp(44px, 6vw, 64px); line-height: 0.95; text-transform: uppercase; text-wrap: balance }
.why-head p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--soft) }
.points { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px }
.points div { border-top: 3px solid var(--red); padding-top: 16px }
.points h3 { margin: 0 0 8px; font-weight: 800; font-size: 22px }
.points p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--soft) }
.close { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-block: 104px }
.close h2 { margin: 0; font-weight: 900; font-stretch: 80%; font-size: clamp(52px, 8vw, 120px); line-height: 0.88; letter-spacing: -0.02em; text-transform: uppercase }
.close h2 span { color: var(--red) }
.btns { display: flex; flex-wrap: wrap; gap: 12px }
footer { position: relative; overflow: hidden; background: #0B0B0D; border-top: 4px solid var(--red) }
.f-main { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; position: relative; z-index: 1 }
.f-brand { display: flex; flex-direction: column; gap: 18px }
.f-brand .lock { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #F4F1EC }
.f-brand .lock img { height: 104px; width: auto; filter: drop-shadow(0 10px 24px rgba(211,26,38,0.35)) }
.f-brand .lock b { display: block; font-weight: 900; font-stretch: 85%; font-size: 34px; line-height: 1; text-transform: uppercase }
.f-brand .lock small { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted) }
.f-col h3 { margin: 0 0 12px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; color: var(--muted) }
.f-col .big { display: flex; align-items: center; min-height: 44px; color: #F4F1EC; text-decoration: none; font-weight: 800; font-size: 22px; line-height: 1.2 }
.f-col .big:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px }
.f-col p { margin: 0; color: #C9C5BE; font-size: 15px; line-height: 1.6 }
.f-col .sub { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; color: #F0525B; font-weight: 700; font-size: 14px; text-decoration: none }
.f-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: #C9C5BE; font-size: 15px }
.f-col li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--red); vertical-align: middle }
.f-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); position: relative; z-index: 1 }
.f-bar button { font: 700 14px 'Archivo', system-ui, sans-serif; color: #F4F1EC; background: transparent; border: 2px solid #3A3B40; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer }
.f-bar button:hover { border-color: var(--red) }
.mapcard { margin: 0; display: flex; flex-direction: column; gap: 12px }
.mapview { position: relative; display: block; height: 240px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: #F4F1EC }
.mapview svg { position: absolute; inset: 0; width: 100%; height: 100% }
.mapview:hover { border-color: var(--red) }
.maptag { position: absolute; left: 12px; top: 12px; background: rgba(17,18,20,0.92); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #C9C5BE }
.maptag b { color: #F4F1EC; font-size: 15px }
.mapbtns { display: flex; flex-wrap: wrap; gap: 10px }
.mapbtns .pill { flex: 1 1 auto }
.ping { transform-origin: 200px 144px; animation: ping 2.2s ease-out infinite }
@keyframes ping { from { transform: scale(0.6); opacity: 1 } to { transform: scale(3.2); opacity: 0 } }
@media (max-width: 900px) { .f-main { grid-template-columns: repeat(2, minmax(0, 1fr)) } .f-brand { grid-column: 1 / -1 } }
@media (max-width: 520px) { .f-main { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 48px 32px } .f-brand .lock img { height: 88px } }
.contact { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 56px 72px }
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px }
.contact h1 { margin: 10px 0 0; font-weight: 900; font-stretch: 80%; font-size: clamp(60px, 9vw, 88px); line-height: 0.9; text-transform: uppercase }
.contact .eyebrow { color: #F0525B; font-size: 14px }
.card-call { text-decoration: none; color: #F4F1EC; background: var(--maroon); border-radius: 18px; padding: 18px; display: flex; align-items: center; gap: 16px }
.card-call img { width: 80px; height: 80px; flex: none; object-fit: cover; border-radius: 12px }
dl.facts { margin: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px }
dl.facts dt { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--muted) }
dl.facts dd { margin: 2px 0 0 }
dl.facts a { color: #F4F1EC; display: inline-flex; align-items: center; min-height: 44px }
form.enquiry { flex: 1 1 520px; min-width: 0; background: var(--ground); color: var(--ink); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start }
form.enquiry h2 { grid-column: 1 / -1; margin: 0; font-weight: 900; font-stretch: 90%; font-size: 36px; line-height: 1 }
form.enquiry label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px }
form.enquiry .full { grid-column: 1 / -1 }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: 16px 'Archivo', system-ui, sans-serif; background: #FFFFFF; color: var(--ink); border: 2px solid #D8D3CA; padding: 12px; border-radius: 12px; min-height: 48px; width: 100% }
form.enquiry textarea { resize: vertical }
@media (min-width: 601px) {
  form.enquiry { grid-template-rows: auto auto auto auto minmax(140px, 1fr) auto auto auto auto; align-self: stretch }
  form.enquiry label.grow { min-height: 0 }
  form.enquiry label.grow textarea { flex: 1; min-height: 140px }
}
#status:empty { display: none }
#status.err { color: #B3121F }
.botcheck { display: none !important }
.mapframe { display: block; width: 100%; height: 280px; border: 0; border-radius: 16px; background: #1B1C1F }
form.enquiry .note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #5A554E }
form.enquiry .note a { color: var(--maroon) }
#status { grid-column: 1 / -1; margin: 0; font-weight: 700; color: #1D6B3B }
.ticker { background: var(--maroon); color: #FFFFFF; overflow: hidden; border-block: 1px solid #93283A }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite }
.ticker:hover .ticker-track { animation-play-state: paused }
.ticker ul { display: flex; flex: none; margin: 0; padding: 18px 0; list-style: none }
.ticker li { display: flex; align-items: center; white-space: nowrap; font-weight: 800; font-stretch: 85%; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 0.04em; text-transform: uppercase }
.ticker li::after { content: ""; width: 10px; height: 10px; margin: 0 28px; background: var(--red); border-radius: 50%; flex: none }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { .ticker-track { width: auto; animation: none } .ticker ul { flex-wrap: wrap; padding-inline: 24px } .ticker ul[aria-hidden] { display: none } }
@media (max-width: 600px) {
  .brand img { height: 64px }
  .brand { gap: 10px }
  .brand span { font-size: 19px; white-space: nowrap }
  .top .pill { white-space: nowrap; padding: 10px 16px; font-size: 15px }
  .base { font-size: 15px; gap: 6px 8px; flex-wrap: nowrap }
  .nav a.link { display: none }
  .hero { padding-block: 28px 56px; gap: 32px }
  .hero .btns .pill { flex: 1 1 auto }
  .hero-pic { min-height: 0; margin-inline: calc(-1 * max(24px, env(safe-area-inset-left, 0px))); border-radius: 0; overflow: visible; display: flex; flex-direction: column; align-items: center }
  .hero-pic > img { position: relative; inset: auto; height: 270px; object-position: 40% 72% }
  .call { position: relative; left: auto; bottom: auto; transform: none; margin-top: -22px }
  .close { padding-block: 72px }
  form.enquiry { grid-template-columns: minmax(0, 1fr); padding: 22px }
  .nav { gap: 14px }
  .pill { padding: 12px 18px }
}
@media (max-width: 380px) {
  .base { font-size: 14px; gap: 6px }
  .brand img { height: 54px }
  .brand span { font-size: 17px }
  .top { gap: 10px }
  .top .pill { padding: 10px 14px; font-size: 14px }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }
