/* Kidd Motorcycles. Colours taken from the current kiddmotorcycles.com.au site. */
:root {
  --ink: #0d141a;
  --char: #23201c;
  --bronze: #7a5632;
  --bronze-lt: #b08a5e;
  --cream: #f2e7d7;
  --cream-dk: #e6d6bf;
  --grey: #56585e;
  --line: #e0e0e0;
  --white: #ffffff;
  --ok: #3f7d4e;
  --warn: #b7791f;
  --radius: 6px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Lato', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 900; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6vw, 68px); text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--grey); max-width: 640px; }
section { padding: 88px 0; }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: var(--radius); border: 2px solid var(--bronze); background: var(--bronze); color: var(--white); font: 700 15px/1 'Lato', sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: #5f4226; border-color: #5f4226; }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn.ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.dark:hover { background: var(--char); }
.btn:disabled { opacity: .6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { color: var(--white); text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand b { font-size: 22px; font-weight: 900; letter-spacing: .08em; }
.brand span { font-size: 11px; letter-spacing: .3em; color: var(--bronze-lt); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.nav a:hover { color: var(--white); }
.nav a.btn { color: var(--white); padding: 11px 18px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--white); padding: 8px 14px; border-radius: var(--radius); font: 700 13px 'Lato', sans-serif; letter-spacing: .1em; text-transform: uppercase; }

/* hero */
.hero { background: #000; color: var(--white); padding: 70px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: center; }
.hero h1 span { color: var(--bronze-lt); }
.hero .lead { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.hero-img { margin-right: -60px; }
.hero-img img { width: 100%; height: auto; }
.facts { background: linear-gradient(135deg, var(--bronze), var(--bronze-lt)); color: var(--white); }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { font-size: 14px; line-height: 1.35; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.5); }
.facts b { display: block; font-size: 17px; font-weight: 900; letter-spacing: .02em; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: var(--white); transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--bronze-lt); transform: translateY(-2px); }
.svc .num { font-size: 13px; font-weight: 900; color: var(--bronze); letter-spacing: .1em; margin-bottom: 14px; }
.svc p { color: var(--grey); font-size: 16px; margin: 0; }

/* how it works */
.how { background: var(--cream); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; margin: 26px 0 30px; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 58px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 900; font-size: 14px; display: grid; place-items: center; }
.steps b { display: block; font-size: 18px; margin-bottom: 2px; }
.steps span { color: var(--grey); font-size: 16px; }

/* job card mock */
.jobcard { background: var(--white); border-radius: 10px; box-shadow: 0 18px 50px rgba(13,20,26,.14); overflow: hidden; }
.jc-head { background: var(--ink); color: var(--white); padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.jc-head small { display: block; color: var(--bronze-lt); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.jc-head strong { font-size: 18px; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); color: var(--bronze); white-space: nowrap; }
.pill.wait { background: #fdf0d9; color: #8a5a10; }
.pill.ok { background: #e3f1e6; color: var(--ok); }
.track { display: flex; padding: 20px 22px 6px; gap: 4px; }
.track div { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.track div.done { background: var(--bronze); }
.track div.now { background: var(--warn); }
.track-labels { display: flex; justify-content: space-between; padding: 0 22px; font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.jc-body { padding: 18px 22px 22px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.items li:last-child { border-bottom: none; }
.items .meta { color: var(--grey); font-size: 13px; }
.approve { display: flex; gap: 8px; }
.approve button { border: 0; border-radius: var(--radius); padding: 8px 12px; font: 700 13px 'Lato', sans-serif; cursor: pointer; }
.approve .yes { background: var(--ok); color: var(--white); }
.approve .no { background: var(--line); color: var(--ink); }
.demo-note { font-size: 13px; color: var(--grey); margin-top: 12px; font-style: italic; }

/* builds */
.builds { background: var(--ink); color: var(--white); }
.builds .lead { color: rgba(255,255,255,.7); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-top: 36px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #000; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-weight: 700; font-size: 15px; }
.build-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.build-tags span { border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 8px 14px; font-size: 14px; color: rgba(255,255,255,.85); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.team div { background: var(--cream); border-radius: var(--radius); padding: 18px; }
.team b { display: block; font-size: 18px; }
.team span { color: var(--grey); font-size: 15px; }

/* visit */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info dl { margin: 22px 0 0; display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; }
.info dt { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); padding-top: 3px; }
.info dd { margin: 0; }
.info dd a { color: var(--ink); font-weight: 700; text-decoration: none; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 360px; background: var(--cream-dk); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* forms */
.card { background: var(--white); border-radius: 10px; padding: 30px; box-shadow: 0 10px 34px rgba(13,20,26,.08); }
fieldset { border: 0; padding: 0; margin: 0 0 34px; }
legend { font-size: 22px; font-weight: 900; text-transform: uppercase; margin-bottom: 16px; padding: 0; }
legend small { display: block; font-size: 15px; font-weight: 400; text-transform: none; color: var(--grey); margin-top: 4px; }
.field { margin-bottom: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }
label, .label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.req { color: var(--bronze); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfcfcf; border-radius: var(--radius); font: 16px 'Lato', sans-serif; color: var(--ink); background: var(--white); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(122,86,50,.15); }
textarea { resize: vertical; }
.hint { font-size: 14px; color: var(--grey); margin-top: 6px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; border: 1px solid #cfcfcf; border-radius: var(--radius); padding: 12px 14px; font-weight: 400; font-size: 15px; cursor: pointer; margin: 0; background: var(--white); }
.choice.on { border-color: var(--bronze); background: #faf4ec; }
.choice input { accent-color: var(--bronze); width: 18px; height: 18px; flex: none; }
.radios { grid-template-columns: 1fr; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.agree input { accent-color: var(--bronze); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form-msg { margin-top: 14px; font-size: 15px; }
.form-msg.err { color: #a12c2c; }
.form-msg.note { color: var(--bronze); }
.hp { position: absolute; left: -9999px; }
.thanks { display: none; text-align: center; padding: 40px 10px; }
.photos-in { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.photos-in img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius); }
.amount { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.amount span { font-weight: 700; }
.amount input { max-width: 160px; }

/* booking page */
.page-hero { background: var(--ink); color: var(--white); padding: 60px 0 56px; }
.page-hero .lead { color: rgba(255,255,255,.75); }
.book-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.aside { position: sticky; top: 96px; background: var(--ink); color: var(--white); border-radius: 10px; padding: 26px; }
.aside .steps li::before { background: var(--bronze); }
.aside .steps span { color: rgba(255,255,255,.7); }
.aside p { color: rgba(255,255,255,.8); font-size: 15px; }
.aside a { color: var(--white); }
.bg-cream { background: var(--cream); }

/* availability calendar */
.avail { border: 1px solid var(--line); border-radius: 10px; padding: 16px; max-width: 460px; background: var(--white); }
.av-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.av-month { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.av-nav { background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 36px; height: 36px; font-size: 20px; cursor: pointer; color: var(--ink); }
.av-nav:disabled { opacity: .3; cursor: default; }
.av-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.av-dow { font-size: 11px; text-align: center; font-weight: 700; color: var(--grey); text-transform: uppercase; padding: 4px 0; }
.av-day { aspect-ratio: 1; border: 0; border-radius: var(--radius); font: 700 15px 'Lato', sans-serif; cursor: pointer; }
.av-day.open { background: #f6efe5; color: var(--ink); }
.av-day.open:hover { background: var(--cream-dk); }
.av-day.picked { background: var(--bronze); color: var(--white); }
.av-day.booked { background: var(--ink); color: rgba(255,255,255,.45); text-decoration: line-through; cursor: not-allowed; }
.av-day.closed, .av-day.past { background: transparent; color: #c4c4c4; cursor: default; }
.av-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--grey); }
.av-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.k-open { background: #f6efe5; border: 1px solid var(--cream-dk); }
.k-booked { background: var(--ink); }
.k-picked { background: var(--bronze); }
.av-demo { margin-top: 10px; font-size: 13px; font-style: italic; color: var(--bronze); }
.picked-day { margin-top: 12px; font-weight: 700; }

/* job tracker page */
.tracker { max-width: 760px; margin: 0 auto; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 34px; color: var(--grey); }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ''; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--bronze); }
.timeline li.now { color: var(--ink); font-weight: 700; }
.timeline li.now::before { background: var(--warn); box-shadow: 0 0 0 5px #fdf0d9; }
.timeline small { display: block; font-weight: 400; color: var(--grey); font-size: 14px; }
.tot { display: flex; justify-content: space-between; font-weight: 900; font-size: 18px; padding-top: 14px; border-top: 2px solid var(--ink); margin-top: 6px; }
.ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 4px; }
.ph-row img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.banner { background: #fdf0d9; border-left: 4px solid var(--warn); padding: 14px 16px; border-radius: var(--radius); font-size: 15px; margin-bottom: 22px; }

/* footer */
footer { background: #000; color: rgba(255,255,255,.65); padding: 48px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { color: var(--white); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; }
footer a:hover { color: var(--white); }
.credit { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 13px; }

/* phones */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero-grid, .how-grid, .about-grid, .visit-grid, .book-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 44px; }
  .hero-img { margin: 0 -20px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a.btn { margin-top: 14px; text-align: center; border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .svc-grid, .two, .three, .team { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery figure { aspect-ratio: 4/3; }
  .card { padding: 22px 18px; }
  .jc-head { flex-direction: column; align-items: flex-start; }
  .items li { flex-direction: column; align-items: flex-start; }
  .info dl { grid-template-columns: 1fr; gap: 2px; }
  .info dd { margin-bottom: 12px; }
}
