/* Autoplanet — design language carried over from the approved canvas:
   near-black ground, gold accent, Manrope. Rewritten as real cascade CSS. */
:root{
  --bg:#131315; --surface:#1B1C1F; --surface2:#24262B;
  --border:#33353A; --border-2:#46484D;
  --text:#F4F3EF; --muted:#B6B7BC;
  --gold:#E8A400; --gold-lt:#FFCE47; --gold-dk:#B97D00;
  --grad:linear-gradient(135deg,#F7C13B 0%,#E8A400 55%,#B97D00 100%);
  --shadow:0 24px 48px -16px rgba(0,0,0,.55);
  --shadow-gold:0 16px 40px -12px rgba(232,164,0,.35);
  --r:14px; --r-lg:22px;
  --wrap:1180px;
  --f:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--f);overflow-wrap:break-word;
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--gold-lt);outline-offset:3px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:200;background:var(--gold);color:#131315;
  padding:12px 20px;border-radius:8px;font-weight:700}

/* ---------- type ---------- */
h1,h2,h3,h4{line-height:1.15;letter-spacing:-.02em;margin:0 0 .5em;font-weight:800}
h1{font-size:clamp(2.1rem,5vw,3.6rem)}
h2{font-size:clamp(1.6rem,3.2vw,2.4rem);margin-top:0}
h3{font-size:clamp(1.15rem,2vw,1.35rem);font-weight:700}
p{margin:0 0 1.1em}
.lead{font-size:clamp(1.05rem,2vw,1.25rem);color:var(--muted);max-width:62ch}
.mut{color:var(--muted);font-size:.94rem}
.eyebrow{font-size:.76rem;letter-spacing:.18em;text-transform:uppercase;
  font-weight:800;color:var(--gold);margin-bottom:14px;display:block}
.gold{color:var(--gold)}
ul,ol{padding-left:1.25em}
li{margin-bottom:.5em}
.pl{list-style:none;padding:0}

/* ---------- nav ---------- */
.nav{position:sticky;top:0;z-index:60;background:rgba(19,19,21,.9);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.navin{display:flex;align-items:center;gap:24px;padding-top:12px;padding-bottom:12px;
  flex-wrap:wrap}
.brand{flex:0 0 auto}
.brand img{height:38px;width:auto;object-fit:contain}
.nav nav{display:flex;gap:22px;margin-left:auto;flex-wrap:wrap}
.nav nav a{color:var(--text);font-weight:600;font-size:.95rem;text-decoration:none}
.nav nav a:hover,.nav nav a.on{color:var(--gold)}
.wa{flex:0 0 auto}

/* ---------- buttons ---------- */
.btn{display:inline-block;padding:14px 26px;border-radius:var(--r);font-weight:700;
  font-size:.97rem;text-decoration:none;transition:transform .2s,box-shadow .2s;
  border:1px solid transparent;cursor:pointer}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn-p{background:var(--grad);color:#1B1C1E}
.btn-p:hover{box-shadow:var(--shadow-gold)}
.btn-s{border-color:var(--border-2);color:var(--text)}
.btn-s:hover{background:var(--gold);color:#1B1C1E;border-color:var(--gold)}
.nav .btn{padding:9px 18px;font-size:.88rem}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}

/* ---------- sections ---------- */
.sec{padding:84px 0;border-top:1px solid var(--border)}
.sec-alt{background:var(--surface)}
.hero{padding:76px 0 60px}
.hero .grid2{align-items:center}
.strip{padding:0 0 20px}
.strip .kf{margin-top:0}
.strip .kf th{width:26%}
.hero h1{margin-bottom:20px}
.grid2{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
/* min() so the track floor never exceeds the container: a bare minmax(280px,1fr)
   keeps a 280px track inside a 257px column on a 320px phone, pushing the cards
   past the wrap padding to the screen edge. */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:22px}
/* Grid/flex children default to min-width:auto, so a wide table inside one forces
   the whole track past the viewport. min-width:0 lets .tw scroll internally instead. */
.grid2>*,.cards>*,.ftg>*{min-width:0}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);
  padding:30px;transition:border-color .2s,transform .2s}
.card:hover{border-color:var(--gold);transform:translateY(-3px)}
.card h3{margin-bottom:10px}
.card h3 a{color:var(--text);text-decoration:none}
.card:hover h3 a{color:var(--gold)}
.card p{color:var(--muted);font-size:.97rem;margin-bottom:14px}
.card .more{font-weight:700;font-size:.9rem;color:var(--gold)}

/* ---------- AEO answer block ---------- */
.ans{background:var(--surface2);border-left:4px solid var(--gold);
  border-radius:0 var(--r) var(--r) 0;padding:26px 30px;margin:0 0 34px;max-width:78ch}
.ans-q{font-weight:800;font-size:1.02rem;margin:0 0 10px;color:var(--gold)}
.ans-a{margin:0;font-size:1.06rem;line-height:1.6}

/* ---------- key-fact table ---------- */
.tw{overflow-x:auto;margin:0 0 32px}
.kf{border-collapse:collapse;width:100%;min-width:320px;font-size:.96rem}
.kf caption{text-align:left;font-weight:800;padding-bottom:12px;color:var(--gold);
  font-size:.78rem;letter-spacing:.16em;text-transform:uppercase}
.kf th,.kf td{border:1px solid var(--border);padding:13px 16px;text-align:left;
  vertical-align:top}
.kf th{background:var(--surface);width:34%;font-weight:700;color:var(--text)}
.kf td{color:var(--muted)}

/* ---------- process steps ---------- */
.steps{list-style:none;padding:0;counter-reset:s;display:grid;gap:18px}
.steps li{counter-increment:s;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r);padding:22px 26px 22px 70px;position:relative;margin:0}
.steps li::before{content:counter(s);position:absolute;left:22px;top:22px;
  width:32px;height:32px;border-radius:50%;background:var(--grad);color:#1B1C1E;
  font-weight:800;display:grid;place-items:center;font-size:.92rem}
.steps h3{font-size:1.05rem;margin-bottom:6px}
.steps p{margin:0;color:var(--muted);font-size:.95rem}

/* ---------- FAQ ---------- */
.faq{border-bottom:1px solid var(--border);padding:6px 0}
.faq summary{cursor:pointer;padding:18px 0;list-style:none;display:flex;
  align-items:flex-start;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"+";color:var(--gold);font-weight:800;font-size:1.3rem;
  line-height:1.2;flex:0 0 auto}
.faq[open] summary::before{content:"–"}
.faq summary h3{margin:0;font-size:1.05rem;font-weight:700}
.faq>div{padding:0 0 20px 30px;color:var(--muted);max-width:76ch}
.faq>div p:last-child{margin-bottom:0}

/* ---------- misc ---------- */
.crumbs{border-bottom:1px solid var(--border);font-size:.86rem;padding:12px 0;
  color:var(--muted)}
.crumbs a{color:var(--muted)}
.crumbs span{color:var(--text)}
.pills{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0}
.pills li{background:var(--surface2);border:1px solid var(--border);border-radius:999px;
  padding:8px 16px;font-size:.88rem;color:var(--muted);margin:0}
.proof{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;
  list-style:none;padding:0}
.proof li{background:var(--surface2);border:1px solid var(--border);
  border-radius:var(--r);padding:22px;margin:0}
.proof strong{display:block;color:var(--gold);font-size:1.05rem;margin-bottom:4px}
.brands{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
  gap:14px;list-style:none;padding:0}
.brands li{background:var(--surface2);border:1px solid var(--border);border-radius:10px;
  padding:18px 14px;margin:0;display:grid;place-items:center;min-height:78px}
/* Logos are supplied as dark-on-transparent or colour PNGs; invert+desaturate gives a
   consistent monochrome grid on the dark ground, colour returns on hover. */
.brands img{max-width:100%;height:auto;max-height:34px;width:auto;object-fit:contain;
  filter:brightness(0) invert(1) opacity(.62);transition:filter .2s}
.brands li:hover img{filter:brightness(0) invert(1) opacity(1)}
/* logos supplied with an opaque background keep their own colours on a light tile */
.brands li.solid{background:#F4F3EF;padding:10px}
.brands li.solid img{filter:none;max-height:46px}

/* ---------- imagery ---------- */
.gal{display:grid;grid-template-columns:repeat(auto-fit,minmax(252px,1fr));gap:20px}
.gal>*{min-width:0}
.gfig{margin:0;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-lg);overflow:hidden}
.gfig img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
.gfig figcaption{padding:16px 20px;font-size:.88rem;color:var(--muted);line-height:1.5}
.hfig{margin:0 0 24px;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border);
  box-shadow:var(--shadow)}
.hfig img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
.hfig figcaption{padding:14px 20px;font-size:.85rem;color:var(--muted);
  background:var(--surface)}
/* Award photograph. Unlike .gfig it does not force a 4:3 crop — a podium shot
   loses its subject to object-fit, so the image keeps its own aspect ratio. */
.afig{margin:26px 0 24px;max-width:560px;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden}
.afig img{width:100%;height:auto;display:block}
.afig figcaption{padding:16px 20px;font-size:.88rem;color:var(--muted);line-height:1.5;
  border-top:1px solid var(--border)}
/* Beside the judging credentials the photo fills its own grid column instead of
   sitting in a 560px block. Stacking the two credentials against it balances the
   row — two half-width cards alone left the section looking empty. Declared above
   the responsive block so the 900px .grid2 collapse still wins on small screens. */
.afig-fill{max-width:none;margin:0}
.proof-stack{grid-template-columns:1fr;gap:16px;margin:0}
/* Results by city — one card, image and credit sharing a frame. The credit used to
   be a separate small panel floating beside a tall photo, which read as an orphan in
   empty space. The wrapper carries the photo's aspect ratio so the row height comes
   from the image, not from the text: the picture is never cropped, and the text side
   centres inside the same border instead of hanging in a void. */
.award-feature{margin:30px 0 0;display:grid;grid-template-columns:.92fr 1.08fr;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);
  overflow:hidden;align-items:stretch}
.award-feature>*{min-width:0}
.award-feature-img{aspect-ratio:629/525;background:var(--surface2)}
.award-feature-img img{width:100%;height:100%;object-fit:cover;display:block}
.award-feature-body{display:flex;flex-direction:column;justify-content:center;
  gap:14px;padding:38px 40px}
.award-feature-cap{margin:0;color:var(--text);font-size:1.12rem;font-weight:700;
  line-height:1.4;max-width:32ch}
.award-feature-note{margin:0;color:var(--muted);font-size:.95rem;line-height:1.65;
  padding-left:16px;border-left:3px solid var(--gold);max-width:48ch}
/* The credentials column is short next to a portrait-ish photo, so it stretches to
   the photo's height and the two cards split what is left evenly — otherwise two
   small cards float in the middle of a tall row. */
.judging-split{align-items:stretch}
.judging-col{display:flex;flex-direction:column;gap:20px}
.judging-col .lead{margin:0}
.judging-col .proof-stack{flex:1;grid-auto-rows:1fr}
.proof-stack li{display:flex;align-items:center}
.quote{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-lg);padding:34px;max-width:80ch}
.quote blockquote{margin:0 0 16px;font-size:1.08rem;line-height:1.65}
.quote cite{color:var(--gold);font-style:normal;font-weight:700}
.note{background:var(--surface2);border:1px solid var(--border-2);border-radius:var(--r);
  padding:20px 24px;color:var(--muted);font-size:.94rem}
.cta{background:var(--surface);border:1px solid var(--gold);border-radius:var(--r-lg);
  padding:44px;text-align:center;margin-top:20px}
.cta h2{margin-bottom:12px}
.cta p{color:var(--muted);max-width:56ch;margin:0 auto 24px}
.cta .cta-row{justify-content:center}

/* ---------- footer ---------- */
.ft{border-top:1px solid var(--border);background:var(--surface);padding:64px 0 28px;
  margin-top:20px}
.ftg{display:grid;grid-template-columns:1.3fr 1fr 1.35fr;gap:44px}
.ft h3{font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);
  margin-bottom:16px}
.ft a{color:var(--muted)}
.ft a:hover{color:var(--gold)}
.ft address{font-style:normal;color:var(--muted);font-size:.92rem;line-height:1.8}
/* long address breaks at character boundaries otherwise, splitting the TLD */
.mailto{overflow-wrap:anywhere;word-break:break-word;font-size:.88rem}
.ft img{height:34px;width:auto;object-fit:contain;margin-bottom:16px}
.soc{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:.88rem;text-transform:capitalize;margin-top:12px}
.ftb{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  border-top:1px solid var(--border);margin-top:44px;padding-top:22px}
.ftb p{margin:0}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .grid2{grid-template-columns:1fr;gap:36px}
  .ftg{grid-template-columns:1fr 1fr;gap:36px}
  .sec{padding:60px 0}
  .award-feature{grid-template-columns:1fr}
}
@media (max-width:620px){
  body{font-size:16px}
  /* Keep the sticky header to two compact rows: logo + WhatsApp, then nav.
     The logo must shrink or the CTA wraps to a third row and the header
     eats ~20% of a phone viewport. */
  .navin{gap:10px;padding-top:10px;padding-bottom:10px}
  .brand img{height:30px}
  .nav nav{gap:18px;order:3;width:100%;margin-left:0;justify-content:flex-start}
  .nav nav a{font-size:.9rem}
  .nav .btn{padding:8px 14px;font-size:.82rem}
  .wa{margin-left:auto}
  .hero{padding:44px 0 36px}
  .ftg{grid-template-columns:1fr}
  .ans{padding:22px}
  .cta{padding:32px 22px}
  .steps li{padding:20px 20px 20px 62px}
  .gal{grid-template-columns:1fr}
  .award-feature-body{padding:26px 24px}
  .brands{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
  .brands li{min-height:64px;padding:14px 10px}
}


/* ---------- awards ---------- */
.awards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:26px}
.awards-grid>*{min-width:0}
.award-city h3{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px;
  font-size:1.25rem}
.award-year{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800;
  color:var(--gold);background:var(--surface2);border:1px solid var(--border);
  border-radius:999px;padding:4px 12px}
/* An unconfirmed year is shown as unconfirmed rather than quietly omitted, so the
   gap is visible to whoever fills it in. */
.award-year-tbc{color:var(--muted);border-style:dashed}
.award-city .kf th{width:auto}
.place{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:.9rem;
  letter-spacing:.02em}
.place::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor}
.place-1{color:var(--gold-lt)}
.place-2{color:#C9CBD1}
.place-3{color:#C08457}
.proof-judging li{border-left:3px solid var(--gold)}
.proof-judging strong{display:block;color:var(--text);font-size:1rem;margin:0}

/* ---------- brand list ---------- */
.brand-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:12px;list-style:none;padding:0;margin:0}
.brand-list>li{background:var(--surface2);border:1px solid var(--border);
  border-radius:var(--r);padding:16px 20px;margin:0;display:flex;flex-direction:column;
  gap:4px;min-width:0}
.brand-name{font-weight:700;color:var(--text);font-size:.98rem}
.brand-note{color:var(--muted);font-size:.84rem;line-height:1.4}
/* A parent company holds its own brands: gold rule + indent so the ownership
   reads at a glance without turning the A–Z into invented categories. */
.brand-parent .brand-name{color:var(--gold-lt)}
.brand-children{list-style:none;margin:8px 0 0;padding:0 0 0 14px;
  border-left:2px solid var(--gold);display:flex;flex-direction:column;gap:5px}
.brand-children>li{margin:0;color:var(--text);font-weight:600;font-size:.92rem}

@media (max-width:620px){
  .awards-grid{grid-template-columns:1fr}
  .brand-list{grid-template-columns:1fr}
}
