/* Alsohad Marketing Services. The street at night: black is the base, Alsohad yellow is the light.
   Colours are sampled from the supplied logo; see brand.html. */
:root {
  --yellow: #f0cc18;
  --sage: #7c847c;
  --sage-light: #aeb5ab;
  --ink: #161714;
  --night: #0f100e;
  --asphalt: #1e1f1b;
  --kerbline: #34362f;
  --white: #ffffff;
  --line: rgb(255 255 255 / 0.14);
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 56px);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--night); scrollbar-color: var(--kerbline) var(--night); }
body { margin: 0; font: 400 18px/1.55 var(--body); color: var(--white); background: var(--ink); caret-color: var(--yellow); }
::selection { background: var(--yellow); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 20; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgb(22 23 20 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.top .logo img { height: 46px; width: auto; }
.top nav ul { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font-weight: 600; font-size: 16px; }
.top nav a { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; color: var(--sage-light); transition: color 0.2s var(--out), border-color 0.2s var(--out); }
.top nav a:hover { color: var(--white); border-bottom-color: var(--yellow); }
.top nav a.btn { padding: 0 20px; border: 2px solid var(--yellow); color: var(--ink); }
@media (max-width: 720px) {
  .top .wrap { min-height: 68px; }
  .top .logo img { height: 38px; }
  .top nav li:not(.keep) { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 700 17px/1 var(--body); text-decoration: none; border: 2px solid var(--yellow); transition: transform 0.2s var(--out), background-color 0.2s var(--out); }
.btn:hover { transform: translateY(-2px); background: #ffdf3a; }
.btn:active { transform: translateY(0); }
.btn.small { min-height: 44px; font-size: 15px; }
.btn.line { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.45); }
.btn.line:hover { background: transparent; border-color: var(--white); }

/* ---------- hero: the street at night ---------- */
.street { background: var(--night); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.street .wrap { padding-top: clamp(36px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.hero-words { padding-bottom: clamp(40px, 7vw, 96px); }
.street h1 { font: 800 clamp(40px, 6vw, 84px)/0.98 var(--display); font-stretch: 86%; letter-spacing: -0.03em; }
.street .lead { margin-top: 22px; max-width: 44ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--sage-light); }
.street .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.scene { width: 100%; height: auto; align-self: end; }
.scene .pole { fill: var(--kerbline); }
.scene .arm { stroke: var(--kerbline); stroke-width: 7; stroke-linecap: round; fill: none; }
.scene .road { stroke: var(--kerbline); stroke-width: 6; }
.scene .lamp { fill: var(--yellow); }
.scene .board text { font: 800 46px/1 var(--display); font-stretch: 80%; letter-spacing: -0.01em; text-anchor: middle; }
.scene .board .small { font-size: 16px; font-weight: 600; font-stretch: 100%; letter-spacing: 0.01em; }
/* the one authored moment: the lamps come on down the street, one after the other */
.scene .light { animation: switch-on 1.1s var(--out) both; }
.scene .l2 { animation-delay: 0.35s; }
.scene .l3 { animation-delay: 0.7s; }
.scene .board { animation: lit 1.1s var(--out) both; }
.scene .b2 { animation-delay: 0.35s; }
.scene .b3 { animation-delay: 0.7s; }
@keyframes switch-on { 0% { opacity: 0; } 12% { opacity: 0.85; } 20% { opacity: 0.15; } 34% { opacity: 1; } 100% { opacity: 1; } }
@keyframes lit { 0% { filter: brightness(0.28); } 12% { filter: brightness(0.9); } 20% { filter: brightness(0.4); } 34% { filter: brightness(1); } 100% { filter: brightness(1); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-words { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene .light, .scene .board { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .top nav a { transition: none; }
}

/* ---------- sections ---------- */
.band { padding-block: clamp(72px, 10vw, 136px); }
.band.asphalt { background: var(--asphalt); }
.band h2 { font: 800 clamp(32px, 4.6vw, 60px)/1 var(--display); font-stretch: 86%; letter-spacing: -0.025em; max-width: 18ch; }
.band .intro { margin-top: 18px; max-width: 56ch; color: var(--sage-light); }

/* what we do: three lines of work, each with a drawing of the thing itself */
.jobs { margin-top: clamp(36px, 5vw, 64px); border-top: 2px solid var(--yellow); }
.jobs li { display: grid; grid-template-columns: 120px minmax(0, 5fr) minmax(0, 6fr); gap: clamp(18px, 4vw, 48px); align-items: start; padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.jobs svg { width: 104px; height: 104px; }
.jobs svg .ink { fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.jobs svg .fill { fill: var(--yellow); stroke: var(--yellow); stroke-width: 4; stroke-linejoin: round; }
.jobs svg .cut { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.jobs h3 { font: 700 clamp(26px, 3vw, 38px)/1.05 var(--display); font-stretch: 88%; letter-spacing: -0.015em; }
.jobs p { color: #e4e6df; }
.jobs .uses { margin-top: 12px; font-size: 16px; color: var(--sage-light); }
@media (max-width: 820px) {
  .jobs li { grid-template-columns: 64px minmax(0, 1fr); }
  .jobs svg { width: 60px; height: 60px; }
  .jobs li > div:last-child { grid-column: 2; }
}

/* how a job runs: a real sequence, so it is numbered */
.steps { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 6px; counter-reset: step; }
.steps li { counter-increment: step; padding: 20px clamp(14px, 2vw, 26px) 0 0; border-top: 4px solid var(--kerbline); }
.steps li:first-child { border-top-color: var(--yellow); }
.steps li::before { content: counter(step); display: block; font: 800 52px/1 var(--display); color: var(--yellow); font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 12px; font: 700 23px/1.15 var(--display); }
.steps p { margin-top: 8px; font-size: 16px; color: var(--sage-light); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* brands: Kids Toys keeps its own white ground, like a lit sign box on a dark wall */
.brand-card { margin-top: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.brand-card .mark { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); background: var(--white); border-radius: 20px; position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(240 204 24 / 0.35); }
.brand-card .mark::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: linear-gradient(90deg, #f84c0c 0 20%, #1ca44c 20% 40%, #3874fc 40% 60%, #fccc04 60% 80%, #fc78ac 80% 100%); }
.brand-card .mark img { width: 100%; max-width: 420px; }
.brand-card h3 { font: 700 clamp(26px, 3vw, 38px)/1.05 var(--display); font-stretch: 88%; }
.brand-card p { margin-top: 12px; color: #e4e6df; max-width: 44ch; }
.brand-card ul { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-card ul li { border: 1px solid rgb(255 255 255 / 0.4); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
@media (max-width: 820px) { .brand-card { grid-template-columns: 1fr; } }

/* contact: the headline is the one large piece of yellow lettering on the page */
.talk { background: var(--night); border-top: 1px solid var(--line); }
.talk .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
.talk h2 { font-size: clamp(38px, 6vw, 84px); max-width: 13ch; color: var(--yellow); }
.talk dl { display: grid; gap: 18px; }
.talk dt { font-size: 15px; font-weight: 600; color: var(--sage-light); }
.talk dd { font: 700 clamp(20px, 2.2vw, 26px)/1.2 var(--display); }
.talk dd a { text-decoration-color: var(--yellow); }
@media (max-width: 820px) { .talk .wrap { grid-template-columns: 1fr; align-items: start; } }

/* footer */
.foot { background: var(--night); color: var(--sage-light); padding-block: 44px; font-size: 15px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot img { height: 46px; width: auto; }
.foot a { color: var(--white); }
.foot .bar { display: flex; height: 8px; width: 180px; border-radius: 2px; overflow: hidden; }
.foot .bar i { flex: 1; }

/* ---------- brand guidelines page ---------- */
.guide-head { background: var(--night); padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.guide-head h1 { font: 800 clamp(42px, 6.6vw, 92px)/0.96 var(--display); font-stretch: 86%; letter-spacing: -0.03em; max-width: 11ch; }
.guide-head p { margin-top: 20px; max-width: 52ch; color: var(--sage-light); }
.guide-head .meta { margin-top: 26px; font-size: 15px; color: var(--yellow); font-weight: 600; }
.guide section { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.guide section:nth-of-type(even) { background: var(--asphalt); }
.guide h2 { font: 800 clamp(30px, 4vw, 52px)/1.02 var(--display); font-stretch: 86%; letter-spacing: -0.025em; }
.guide h3 { font: 700 22px/1.2 var(--display); margin-top: 36px; }
.guide .intro { margin-top: 12px; max-width: 62ch; color: #e4e6df; }
.guide .grid { margin-top: 28px; display: grid; gap: 18px; }
.guide .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide .g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 820px) { .guide .g3, .guide .g4, .guide .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guide .g2 { grid-template-columns: 1fr; } }
.plate { border: 1px solid var(--line); border-radius: 18px; display: grid; place-items: center; padding: clamp(24px, 5vw, 56px); min-height: 240px; }
.plate.white { background: var(--white); }
.plate.black { background: var(--night); }
.plate img { width: min(100%, 380px); }
.cap { margin-top: 12px; font-size: 15px; color: var(--sage-light); }
.cap b { color: var(--white); }
.clear { background: var(--night); border: 1px solid var(--line); border-radius: 18px; padding: clamp(40px, 8vw, 84px); display: grid; place-items: center; }
.clear .box { position: relative; padding: 46px; border: 2px dashed var(--sage); }
.clear .box img { width: min(100%, 340px); }
.clear .box::before, .clear .box::after { content: "A"; position: absolute; font: 700 15px/46px var(--body); color: var(--sage-light); text-align: center; }
.clear .box::before { left: 0; top: 50%; width: 46px; transform: translateY(-50%); }
.clear .box::after { top: 0; left: 50%; height: 46px; transform: translateX(-50%); }
.swatch { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--night); }
.swatch .chip { height: 132px; }
.swatch .info { padding: 14px 16px 16px; font-size: 15px; }
.swatch .info b { display: block; font: 700 18px/1.2 var(--display); }
.swatch .info span { display: block; color: var(--sage-light); font-variant-numeric: tabular-nums; }
.pair { border-radius: 14px; padding: 18px 18px 16px; font-weight: 700; border: 1px solid var(--line); }
.pair small { display: block; margin-top: 6px; font-weight: 500; font-size: 14px; }
.dont { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--night); }
.dont .stage { height: 120px; display: grid; place-items: center; border-radius: 12px; overflow: hidden; position: relative; }
.dont .stage img { width: 70%; }
.dont .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 2px), #ff4d4d calc(50% - 2px), #ff4d4d calc(50% + 2px), transparent calc(50% + 2px)); }
.dont p { margin-top: 12px; font-size: 15px; color: #e4e6df; }
.specimen { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); background: var(--night); }
.specimen .big { font: 800 clamp(40px, 7vw, 88px)/0.98 var(--display); font-stretch: 86%; letter-spacing: -0.03em; color: var(--yellow); }
.specimen .body { font: 400 18px/1.55 var(--body); max-width: 56ch; }
.rules { margin-top: 22px; display: grid; gap: 10px; max-width: 66ch; color: #e4e6df; }
.rules li { padding-left: 24px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.say { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 24px; }
.say div { padding: 22px 24px; }
.say div:first-child { background: var(--night); }
.say div:last-child { color: var(--sage-light); }
.say b { display: block; font-size: 15px; color: var(--yellow); margin-bottom: 8px; }
.say div:last-child b { color: var(--sage-light); }
.say p + p { margin-top: 8px; }
@media (max-width: 620px) { .say { grid-template-columns: 1fr; } }
.mock { border-radius: 18px; background: var(--night); border: 1px solid var(--line); padding: 28px; display: grid; place-items: center; min-height: 300px; }
.mock svg { width: 100%; max-width: 300px; height: auto; }
.mock-card { width: min(100%, 320px); aspect-ratio: 85 / 55; background: #000; border: 1px solid var(--kerbline); border-radius: 10px; display: grid; place-items: center; box-shadow: 0 24px 40px -22px rgb(0 0 0 / 0.9); }
.mock-card img { width: 62%; }
.mock-sign { width: 100%; max-width: 340px; }
.mock-sign .fascia { background: #000; border: 3px solid var(--kerbline); border-radius: 8px; padding: 14px; }
.mock-sign .fascia img { width: 62%; margin: auto; }
.mock-sign .shop { height: 120px; border: 3px solid var(--kerbline); border-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.mock-sign .shop i { border: 2px solid var(--kerbline); border-radius: 4px; background: var(--asphalt); }

/* footer address */
.foot address { font-style: normal; line-height: 1.7; }
.foot address b { color: var(--white); font-weight: 600; }
.foot .wrap { align-items: flex-start; }
