/* ==========================================================================
   Fruit Wheels Australia — style.css
   Palette: black / white / orange, sampled from the fleet livery and
   brand lockup (#E47743 swoosh). Type: Barlow Condensed
   (road-signage heritage) + Barlow body + IBM Plex Mono for docket details.
   ========================================================================== */

:root {
  --fruit-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.045' stroke-width='1.6'%3E%3Ccircle cx='45' cy='50' r='20'/%3E%3Cpath d='M45 30 q6 -12 16 -12'/%3E%3Ccircle cx='150' cy='40' r='13'/%3E%3Ccircle cx='172' cy='48' r='13'/%3E%3Cpath d='M150 27 q10 -16 24 -14 M172 35 q4 -14 2 -22'/%3E%3Cpath d='M30 150 a28 28 0 0 1 56 0 z'/%3E%3Cpath d='M40 150 a18 18 0 0 1 36 0'/%3E%3Ccircle cx='160' cy='155' r='22'/%3E%3Cpath d='M160 133 v44 M138 155 h44 M145 140 l30 30 M175 140 l-30 30'/%3E%3C/g%3E%3C/svg%3E");
  --accent: #E4691F;
  --accent-bright: #E47743;
  --dark: #121214;
  --wash: #F2F1EE;
  --ink: #1A1A1C;
  --ink-soft: #55555A;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --citrus: #E47743;
  --line: #E2E1DE;
  --radius: 6px;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- type ---- */
h1, h2, h3, .display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.2px;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); }
h3 { font-size: 1.45rem; color: var(--dark); }

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { color: var(--accent); margin-bottom: 14px; display: block; }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn-solid { background: var(--accent); color: var(--white); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--dark); }
.btn-ghost { border-color: rgba(255,255,255,0.65); color: var(--white); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255,255,255,0.14); border-color: var(--white); }
.btn-ghost-dark { border-color: var(--accent); color: var(--accent); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { background: var(--accent); color: var(--white); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark) var(--fruit-pattern);
  border-bottom: 2px solid var(--accent);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 20px;
}
.brand { text-decoration: none; line-height: 1; }
.brand-word {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.9rem;
  color: var(--accent); letter-spacing: 0.01em;
}
.brand-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.42em;
  color: var(--ink-soft); display: block; margin-top: 1px;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500; font-size: 1.05rem; letter-spacing: 0.05em;
  text-transform: uppercase; text-decoration: none; color: var(--white);
}
.site-nav a:hover { color: var(--accent-bright); }
.site-nav .btn { padding: 10px 20px; font-size: 0.98rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--white); }

/* ---- hero ---- */
.hero {
  position: relative; color: var(--white);
  min-height: 88vh; display: flex; align-items: flex-end;
  isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,12,0.28) 0%, rgba(10,10,12,0.52) 55%, rgba(8,8,10,0.90) 100%);
}
.hero-inner { padding: 120px 0 64px; }
.hero .eyebrow { color: #F0B48A; }
.hero h1 { max-width: 15ch; color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.88); margin: 22px 0 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- cold-chain docket strip (signature element) ---- */
.chain {
  background: var(--dark) var(--fruit-pattern); color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.chain .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}
.chain-route { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chain-stop { color: #EAEAEA; }
.chain-arrow { color: var(--citrus); font-family: 'IBM Plex Mono', monospace; }
.chain-temp {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px; padding: 6px 14px; color: var(--citrus);
  white-space: nowrap;
}

/* ---- sections ---- */
section { padding: 88px 0; }
.section-head { margin-bottom: 44px; }

/* audience cards */
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.18s, transform 0.18s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card img { height: 210px; object-fit: cover; width: 100%; }
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.card-link {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; font-size: 1.02rem;
}
.card-link:hover { color: var(--dark); }

/* services */
.services { background: var(--wash); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.service h3 { margin-bottom: 8px; font-size: 1.3rem; }
.service p { color: var(--ink-soft); font-size: 0.96rem; }
.service .mono { color: var(--accent); display: block; margin-bottom: 12px; }

/* story band */
.story { background: var(--dark) var(--fruit-pattern); color: var(--white); padding: 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.story-img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.story-copy h2 { color: var(--white); }
.story-copy .eyebrow { color: #F0B48A; }
.story-copy p { color: rgba(255,255,255,0.85); margin: 18px 0; max-width: 55ch; }
.story-copy .btn { align-self: flex-start; margin-top: 10px; }

/* why us */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 48px; }
.why {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.why-mark {
  color: var(--accent); font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.5rem; line-height: 1.2;
}
.why h3 { font-size: 1.2rem; margin-bottom: 4px; }
.why p { color: var(--ink-soft); font-size: 0.96rem; }

/* accreditations */
.accreds { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.accred-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.accred {
  border: 1.5px solid var(--accent); border-radius: 4px;
  padding: 12px 22px; color: var(--dark);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; font-size: 1.02rem;
  text-align: center;
}
.accred small {
  display: block; font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.12em; color: var(--ink-soft);
  margin-top: 3px; text-transform: none;
}

/* tracking */
.tracking .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.tracking-visual {
  background: var(--dark) var(--fruit-pattern); border-radius: var(--radius);
  padding: 34px; color: var(--white);
}
.track-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.25); }
.track-line:last-child { border-bottom: 0; }
.track-line .k { color: #F0B48A; }
.track-line .v { color: var(--white); }
.track-line .v.temp { color: var(--citrus); }

/* quote */
.quote { background: var(--wash); }
.quote .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.quote-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.95rem;
  color: var(--dark);
}
.field input, .field select, .field textarea {
  font-family: 'Barlow', sans-serif; font-size: 1rem;
  padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 4px; background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); border-color: var(--accent);
}
.quote-form .btn { grid-column: 1 / -1; justify-self: start; }

/* footer */
.site-footer { background: var(--dark) var(--fruit-pattern); color: rgba(255,255,255,0.85); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--white); margin-bottom: 14px; font-size: 1.05rem;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--citrus); }
.site-footer li { list-style: none; margin-bottom: 9px; font-size: 0.95rem; }
.footer-brand .brand-word { color: #F0B48A; }
.footer-brand p { font-size: 0.92rem; margin-top: 12px; max-width: 32ch; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---- responsive ---- */
@media (max-width: 960px) {
  .audience-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .story-grid, .tracking .wrap, .quote .wrap { grid-template-columns: 1fr; }
  .story-copy { padding: 56px 28px; }
  .why-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .audience-grid, .service-grid, .quote-form { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; background: var(--dark);
    padding: 22px 24px; border-bottom: 1px solid var(--line); gap: 18px;
  }
  .nav-toggle { display: block; }
  .hero { min-height: 76vh; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* brand swoosh (recreated from livery) */
.brand { position: relative; display: inline-block; }
.brand-swoosh { display: block; height: 8px; margin-bottom: 2px; }
.brand-word { color: var(--ink); }
.brand-word em { color: var(--accent); font-style: normal; }
.footer-brand .brand-word { color: var(--white); }

/* logo */
.brand-logo { height: 46px; width: auto; display: block; }

/* Sydney-wide bridge band */
.bridge-band { padding: 0; position: relative; }
.bridge-band img { width: 100%; height: 560px; object-fit: cover; display: block; }
.bridge-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(8,8,10,0.85));
  color: var(--white); padding: 140px 6vw 44px;
}
.bridge-caption h2 { color: var(--white); }
.bridge-caption .eyebrow { color: #F0B48A; }
.bridge-caption p { color: rgba(255,255,255,0.88); margin-top: 10px; max-width: 60ch; }

/* markets map */
.find-us { padding-top: 0; }
.markets-map {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
}
@media (max-width: 680px) {
  .bridge-band img { height: 380px; }
  .brand-logo { height: 38px; }
}

/* accreditation logos */
.accred-logo { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.accred-logo img { height: 96px; width: auto; object-fit: contain; }
.accred-logo figcaption { color: var(--ink-soft); font-size: 0.66rem; }
.accred-row { align-items: flex-start; gap: 56px; }
@media (max-width: 680px) { .accred-row { gap: 30px; } .accred-logo img { height: 72px; } }
