/* Sugar Rush London — recreation of the 2024 Wix homepage (black and gold, Didot-style italics). */

:root {
  --bg: #060707;         /* matches the logo artwork's background */
  --panel: #141414;
  --panel-2: #1d1d1d;
  --hero-panel: #5e5e5e;
  --gold: #b08a47;       /* sampled from the logo */
  --gold-light: #cfa95f;
  --text: #ededed;
  --muted: #b9b9b9;
  --line: #3a3a3a;
  --max: 1180px;
  --serif: "Bodoni Moda", Didot, "Didot LT STD", "Bodoni 72", Georgia, serif;
  --sans: "Jost", Futura, "Futura PT", "Century Gothic", Arial, 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; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 16px/1.7 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-light); }
p { margin: 0 0 1.1em; }
h1, h2 { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); line-height: 1.12; margin: 0 0 .5em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--gold); color: #000; padding: 8px 12px; }

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

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; font: 400 15px/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; border: 1px solid var(--gold); color: var(--gold-light); background: transparent;
  transition: background .2s, color .2s; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--gold); color: #000; }
.btn--solid { background: var(--gold); color: #000; }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--gold-light); }

/* Header */
.header { border-bottom: 1px solid var(--line); }
.header__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 0 14px; }
.brand { color: #fff; text-decoration: none; }
.brand__name { display: block; font: italic 400 20px/1.2 var(--serif); }
.brand__tag { display: block; font-size: 14px; color: var(--muted); }
.logo img { width: 260px; }
.header__cta { justify-self: end; }
.header__bar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; padding: 10px 0 14px; border-top: 1px solid var(--line); font-size: 14px; }
.header__bar a { color: #fff; text-decoration: none; }
.header__bar a:hover { color: var(--gold-light); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.hero__panel { background: var(--hero-panel); display: flex; flex-direction: column; justify-content: center; padding: 60px 8%; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); color: var(--gold-light); margin-bottom: .35em; }
.hero__sub { font-size: 20px; color: #fff; margin: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* About */
.about { background: var(--panel); padding: 90px 0; }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about h2 { font-size: clamp(36px, 4.5vw, 54px); }
.about p { color: var(--muted); max-width: 520px; }
.badge { justify-self: center; width: min(300px, 70%); border-radius: 50%; background: #fff; }

/* Award */
.award { padding: 0 0 90px; }
.award__photos { display: grid; grid-template-columns: 1fr 1fr; }
.award__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.award__text { max-width: 640px; margin: 70px auto 0; text-align: center; }
.award h2 { font-size: clamp(36px, 4.5vw, 54px); }
.award__name { letter-spacing: .08em; text-transform: uppercase; color: #fff; font-size: 15px; margin-bottom: 1.4em; }
.award p { color: var(--muted); }
.award .btn { margin-top: .6em; }

/* Contact */
.contact { background: var(--panel); padding: 90px 0; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.contact h2 { font-size: clamp(34px, 4vw, 48px); }
.contact address { font-style: normal; color: var(--muted); }
.contact address a { color: #fff; }

.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.form input, .form textarea {
  width: 100%; font: 300 16px var(--sans); color: #fff; background: var(--panel-2);
  border: 1px solid var(--line); padding: 11px 12px; border-radius: 0;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form button { justify-self: start; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form__status:empty { display: none; }
.form__status { padding: 10px 12px; }
.form__status.is-success { background: #17301f; color: #b9eccb; }
.form__status.is-error { background: #3a1714; color: #ffc9c2; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; text-align: center; font-size: 14px; color: var(--muted); }
.footer img { width: 200px; margin: 0 auto 18px; }
.footer p { margin: 0 0 6px; }
.footer a { color: #fff; text-decoration: none; }

@media (max-width: 860px) {
  .container { padding: 0 16px; }
  .header__top { grid-template-columns: 1fr auto; grid-template-areas: "logo cta" "brand brand"; }
  .logo { grid-area: logo; }
  .logo img { width: 190px; }
  .header__cta { grid-area: cta; }
  .brand { grid-area: brand; }
  .brand__name, .brand__tag { display: inline; font-size: 15px; }
  .brand__tag::before { content: " · "; }
  .header__bar { justify-content: center; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__panel { padding: 48px 16px; text-align: center; }
  .hero__img img { aspect-ratio: 4 / 3; height: auto; }
  .about, .contact { padding: 60px 0; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .award__text { margin-top: 48px; padding: 0 16px; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .header__top { grid-template-columns: 1fr; grid-template-areas: "logo" "brand" "cta"; justify-items: center; text-align: center; }
  .header__cta { justify-self: center; }
}
