/* Man with a Van, Kwun Tong. Preview build. */

:root {
  --paper: #f6f1e6;
  --ink: #111111;
  --card: #fffdf8;
  --line: #e4d9c8;
  --strap: #e36a1e;
  --chip: #f2c14e;
  --nav-h: 64px;
  --pad: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .big {
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 { font-size: clamp(64px, 9.5vw, 128px); }
h2 { font-size: clamp(40px, 5.5vw, 76px); }
h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }

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

a { color: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  display: inline-block;
  background: var(--chip);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
}

.strap { color: var(--strap); }

/* Navigation pill */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px 0 22px;
  max-width: calc(100vw - 24px);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.25);
  white-space: nowrap;
}

.nav .brand {
  font-family: "Big Shoulders Display", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-right: 14px;
}

.nav .brand .van { color: var(--chip); }

.nav a.link {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a.link:hover { background: rgba(255, 255, 255, 0.12); }

.nav a.link[aria-current="page"] { background: var(--strap); color: var(--ink); }

.nav .nav-phone {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
}

.nav .nav-cta {
  background: var(--strap);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  margin-left: 6px;
}

.nav .nav-cta:hover { filter: brightness(1.06); }

@media (max-width: 900px) {
  .nav { gap: 0; padding: 0 8px 0 16px; }
  .nav a.link { padding: 8px 8px; font-size: 13px; }
  .nav .nav-phone { display: none; }
}

@media (max-width: 560px) {
  .nav .brand { font-size: 18px; margin-right: 6px; }
  .nav a.link { font-size: 12px; padding: 8px 6px; }
  .nav .nav-cta { font-size: 12px; padding: 9px 12px; }
}

/* Page body offset under fixed pill */
main { padding-top: 100px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-top: 8px;
  padding-bottom: 24px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 16px; }
}

.hero h1 { margin: 18px 0 20px; }

.hero .sub { font-size: clamp(17px, 1.6vw, 21px); max-width: 34em; margin-bottom: 28px; }

/* Button, the only one */
.btn {
  display: inline-block;
  background: var(--strap);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 34px;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* Hero photo frame */
.frame {
  position: relative;
  background: var(--card);
  border: 14px solid var(--card);
  outline: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.18);
  overflow: hidden;
}

.frame img, .frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}

.frame.small img, .frame.small video { aspect-ratio: 16 / 10; }

/* Opening screen */
#opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  border-top: 18px solid var(--ink);
  border-bottom: 18px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

#opening.lift { transform: translateY(-102%); }

#opening svg { width: min(60vw, 420px); height: auto; }

.tread {
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: tread 0.28s linear forwards;
}

@keyframes tread { to { stroke-dashoffset: 0; } }

.box3 {
  opacity: 0;
  transform: scale(0.2);
  transform-origin: center;
  animation: pop 0.4s cubic-bezier(0.2, 1.6, 0.4, 1) forwards;
}

@keyframes pop { to { opacity: 1; transform: scale(1); } }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  margin-top: 8px;
}

.marquee .track {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: slide 26s linear infinite;
  padding: 14px 0;
}

.marquee span {
  font-family: "Big Shoulders Display", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  padding: 0 22px;
}

.marquee span::after { content: "·"; color: var(--strap); margin-left: 44px; }

@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section { padding: clamp(48px, 7vw, 96px) 0; }

.kicker {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--strap);
  margin-bottom: 14px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 56px);
}

.stat .num {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 1;
}

.stat .num .unit { color: var(--strap); }

.stat .label { font-weight: 600; margin-top: 6px; }

.stats .caption {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 14px;
  color: #555;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px);
}

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.step .n {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: clamp(88px, 12vw, 160px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.step:nth-child(2) .n { -webkit-text-stroke-color: var(--strap); }

.step p { margin-top: 14px; max-width: 30em; }

/* Services grid, asymmetric */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: clamp(14px, 2vw, 26px);
}

@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc .ph { overflow: hidden; flex: 1 1 auto; min-height: 0; }

.svc .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.svc:hover .ph img { transform: scale(1.05); }

.svc .txt { padding: 18px 20px 22px; }

.svc .txt p { margin-top: 6px; font-size: 15px; }

.svc.tall { grid-row: span 2; }

.svc.tall .ph img { height: 100%; aspect-ratio: auto; }

.svc.wide { grid-column: 1 / -1; flex-direction: row; }

.svc.wide .ph { width: 42%; }

.svc.wide .txt { width: 58%; align-self: center; }

@media (max-width: 560px) {
  .svc.wide { flex-direction: column; }
  .svc.wide .ph, .svc.wide .txt { width: 100%; }
}

/* FAQ */
.faq { max-width: 820px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq summary {
  font-family: "Big Shoulders Display", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 22px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 36px;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--strap);
  font-size: 26px;
}

.faq details[open] summary::after { content: "−"; }

.faq details p { margin-top: 10px; }

/* Quote band */
.band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 8vw, 110px) 0;
}

.band h2 { color: var(--paper); }

.band .intro { color: #cfccc4; margin: 12px 0 34px; max-width: 40em; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  max-width: 860px;
}

@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; }

.field.wide { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.field .req { color: var(--chip); }

.field input, .field textarea {
  background: var(--paper);
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  padding: 14px 16px;
}

.field textarea { min-height: 110px; resize: vertical; }

.field input:focus, .field textarea:focus { outline: 2px solid var(--strap); }

.form .form-note {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #b5b1a8;
  border-top: 1px solid #2c2c2c;
  padding-top: 14px;
}

.form .actions { grid-column: 1 / -1; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

footer .addr {
  font-family: "Big Shoulders Display", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.02;
  max-width: 16em;
}

footer .lines { margin: 26px 0 40px; font-weight: 600; }

footer .lines a { text-decoration: none; }

footer .lines a:hover { color: var(--strap); }

footer .legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 14px;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-body p { max-width: 36em; margin-bottom: 18px; font-size: clamp(17px, 1.5vw, 20px); }

/* Contact */
.contact-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 30px 0 10px; }

.contact-lines .cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}

.contact-lines .cell .k {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--strap);
  margin-bottom: 6px;
}

.contact-lines .cell a { text-decoration: none; font-weight: 700; }

/* Privacy */
.prose { max-width: 760px; }

.prose p { margin-bottom: 18px; font-size: clamp(17px, 1.5vw, 19px); }

/* Reveals */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.in { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #opening { display: none; }
  .marquee .track { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc .ph img { transition: none; }
  .tread { animation: none; stroke-dashoffset: 0; }
  .box3 { animation: none; opacity: 1; transform: none; }
}
