﻿/* ==========================================================================
   AARKA Group landing page
   Mobile first. Breakpoints: 560px, 760px, 1100px.
   ========================================================================== */

:root {
  /* Brand colours (sampled from the design) */
  --red: #be1e1c;
  --red-dark: #990313;
  --red-accent: #f50016;
  --red-text: #c5211e;
  --red-tint: #f7ecea;
  /* Design blue is #0092be. Slightly darkened so white text passes WCAG AA (4.5:1). */
  --blue: #0080a6;
  --brown: #50210b;
  --orange: #fe9b66;
  --ink: #231f20;
  --white: #fff;

  --font-display: "Outfit", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-ui: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --pad: clamp(20px, 5.5vw, 105px);
  --nav-h: 0px;
  --radius-card: clamp(18px, 1.5vw, 28px);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--white);
  background: var(--red);
}
img, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }
.card :focus-visible, .pill--white-blue:focus-visible { outline-color: var(--ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--red-text); font: 600 1rem var(--font-ui);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--pad), 1710px); margin-inline: auto; }

/* Shared type ------------------------------------------------------------ */
.kicker {
  font: 500 clamp(.6875rem, .7vw, .8125rem)/1.2 var(--font-ui);
  letter-spacing: .5em; text-transform: uppercase;
}
.kicker--foot { margin-top: clamp(12px, 2vw, 40px); }
.title-xl {
  font-weight: 500; text-transform: uppercase; line-height: 1;
  font-size: clamp(2.5rem, 5vw, 6rem);
}
.title-lg {
  font-weight: 500; text-transform: uppercase; line-height: 1.05;
  font-size: clamp(1.875rem, 3.7vw, 4.4375rem);
}
.rule { display: block; width: clamp(56px, 4.5vw, 86px); height: 8px; background: #fff; margin-top: clamp(14px, 1.4vw, 26px); }
.prose { display: grid; gap: 1.25em; font-size: clamp(1rem, 1.3vw, 1.5625rem); line-height: 1.37; }
.strapline { font: 400 clamp(1.25rem, 2.1vw, 2.5rem)/1.2 var(--font-display); }

.section { padding-block: clamp(64px, 7vw, 120px); }
.section--red { background: var(--red); }
.section--blue { background: var(--blue); }
.section--brown { background: var(--brown); }

/* Pills ------------------------------------------------------------------ */
.pill {
  display: inline-block; border-radius: 999px; text-decoration: none;
  font: 500 clamp(.8125rem, 1vw, 1.125rem)/1.2 var(--font-ui);
  padding: .65em 1.4em;
}
.pill--blue { background: var(--blue); color: #fff; }
.pill--brown { background: var(--brown); color: #fff; }
.pill--white-blue { background: #fff; color: var(--blue); }
.pill--orange { background: var(--orange); color: var(--brown); }
a.pill { transition: transform .2s ease, box-shadow .2s ease; }
a.pill:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; background: #b02a19; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.hero__media { order: 2; flex: 1 1 auto; position: relative; min-height: 240px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__content {
  order: 1;
  padding: 36px var(--pad) 8px;
  display: grid; gap: 28px;
}
.hero__logo img { width: min(62vw, 330px); height: auto; }
.hero__group {
  font: 300 clamp(.8125rem, 1.7vw, 2rem)/1 var(--font-display);
  letter-spacing: .9em; margin-top: .9em; padding-left: .25em;
}
.hero__tagline { font: 500 clamp(1.125rem, 2.1vw, 2.5rem)/1.1 var(--font-display); text-transform: uppercase; }

@media (min-width: 760px) {
  .hero { display: block; height: 100vh; height: 100svh; min-height: 520px; }
  .hero__media { position: absolute; inset: 0; min-height: 0; }
  .hero__media img { object-fit: cover; object-position: 78% center; }
  .hero__content { position: absolute; inset: 0; padding: 0 var(--pad); display: flex; flex-direction: column; justify-content: center; }
  .hero__brand { padding-top: 4vw; }
  .hero__logo img { width: min(34.5vw, 662px); }
  .hero__tagline { position: absolute; left: var(--pad); bottom: 8.5%; }
}

/* About ------------------------------------------------------------------ */
.about { padding-bottom: 0; }
.about__grid { display: grid; gap: 40px; padding-bottom: clamp(48px, 5vw, 90px); }
.about__text { display: grid; align-content: start; gap: clamp(24px, 3vw, 56px); }
.about__text .kicker { margin-bottom: -8px; }
.about__text .rule { margin-top: -6px; }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.1vw, 20px); align-self: start; }
.about__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.about__band { background: #fff; color: var(--red-text); padding-block: clamp(26px, 3.4vw, 56px); }
.about__band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.about__strap { font: 500 clamp(1.25rem, 1.9vw, 2.25rem)/1.2 var(--font-display); }
.about__pills { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 100px); align-items: start; }
}

/* Brand sections (Snakz, Beyk'z) ----------------------------------------- */
.brand { display: grid; gap: clamp(64px, 7vw, 120px); }
.brand__intro { display: grid; gap: 40px; }
.brand__copy { display: grid; align-content: start; gap: clamp(24px, 3vw, 48px); }
.brand__logo img { width: min(82%, 510px); height: auto; }
.strapline--orange { color: var(--orange); }
.brand__feature { position: relative; }
.brand__feature > img { width: 100%; height: auto; aspect-ratio: 752 / 926; object-fit: cover; }

.badge {
  position: absolute; top: 0; left: 0;
  transform: translate(-30%, -30%) rotate(-15deg);
  width: clamp(104px, 9vw, 172px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font: 500 clamp(1rem, 1.7vw, 2rem)/1.08 var(--font-display);
  background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.badge--blue { color: var(--blue); }
.badge--brown { background: #faeee8; color: var(--brown); }

@media (min-width: 900px) {
  .brand__intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
  .badge { transform: translate(-35%, -25%) rotate(-15deg); }
}
@media (max-width: 899px) {
  .brand__feature { margin-top: 12px; margin-left: 8px; }
  .badge { transform: translate(-12%, -30%) rotate(-15deg); }
}

/* Product ranges ---------------------------------------------------------- */
.range { display: grid; gap: clamp(20px, 2.2vw, 36px); }
.range__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.range__head .kicker { margin-bottom: clamp(10px, 1.2vw, 20px); }
.range__titles { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.range__logo { width: clamp(88px, 11.5vw, 222px); height: auto; flex: none; }

.cards { display: grid; gap: clamp(12px, 1vw, 20px); }
.card {
  background: #fff; color: var(--ink); border-radius: var(--radius-card);
  padding: clamp(10px, .95vw, 18px);
  font-family: var(--font-ui); font-weight: 400;
}
.card img { width: 100%; height: auto; border-radius: clamp(10px, .9vw, 18px); }
.card h4 { font: 600 clamp(1.0625rem, 1.45vw, 1.75rem)/1.2 var(--font-ui); }
.card p { font-size: clamp(.875rem, 1.04vw, 1.25rem); line-height: 1.35; color: #3a3637; }
.card__weight { font-weight: 600; font-size: clamp(.8125rem, .95vw, 1.125rem) !important; color: var(--ink) !important; margin-top: 2px; }
.card__body { display: grid; align-content: start; gap: 8px; }
.card__weight + p { margin-top: 4px; }

/* Row card: image left, text right */
.card--row { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: clamp(14px, 1.4vw, 26px); align-items: center; }
.cards--row { grid-template-columns: 1fr; }

/* Column card: image on top, text below */
.card--col { display: grid; align-content: start; gap: clamp(14px, 1.5vw, 26px); }
.card--col .card__body { padding: 0 clamp(4px, .5vw, 10px) clamp(6px, .8vw, 14px); }
.cards--col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 760px) {
  .cards--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--col.cards--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .cards--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--col.cards--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cards--col.cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Partner + Contact ------------------------------------------------------- */
.contact { display: grid; gap: 0; padding-bottom: 0; }
.partner { padding-bottom: clamp(8px, 1.5vw, 24px); display: grid; gap: clamp(20px, 2.2vw, 40px); }
.partner__tiles { display: grid; grid-template-columns: 1fr; gap: clamp(10px, .7vw, 12px); }
.partner__tiles li {
  background: var(--red-tint); color: var(--ink);
  border-radius: clamp(12px, 1vw, 18px); padding: clamp(18px, 1.8vw, 33px) clamp(20px, 1.8vw, 33px);
  font: 500 clamp(1.0625rem, 1.55vw, 1.875rem)/1.25 var(--font-ui);
  display: grid; gap: .35em; align-content: center;
}
.partner__num { color: var(--red-accent); font-weight: 500; }
.partner__tiles li:nth-child(even) { background: var(--red-dark); color: #fff; }
.partner__tiles li:nth-child(even) .partner__num { color: #fff; }

/* Full-bleed band: the photo carries its own red gradient and reflection, so it sits behind the text with no box. */
.contact__band { position: relative; background: #b02a19; overflow: hidden; display: flex; flex-direction: column; }
.contact__band::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: clamp(80px, 12vw, 200px); z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, var(--red), rgba(190, 30, 28, 0));
}
.contact__media { order: 2; }
.contact__media img { width: 100%; height: auto; }
.contact__text {
  order: 1; position: relative; z-index: 2;
  display: grid; gap: clamp(20px, 2.4vw, 40px); align-content: center; justify-items: start;
  padding: 0 var(--pad) 8px;
}
.contact__logo { width: min(70vw, 330px); height: auto; margin-bottom: clamp(8px, 2vw, 40px); }
.contact__lead { font-size: clamp(1.125rem, 1.7vw, 2.375rem); line-height: 1.2; font-weight: 300; max-width: 14em; }
.contact__links { display: grid; gap: 14px; justify-items: start; }
.pill--contact {
  background: #fff; color: var(--red-text);
  font-size: clamp(1rem, 1.55vw, 1.875rem); font-weight: 500; padding: .55em 1.5em;
  overflow-wrap: anywhere;
}


@media (min-width: 560px) {
  .partner__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner__tiles li:nth-child(even) { background: var(--red-tint); color: var(--ink); }
  .partner__tiles li:nth-child(even) .partner__num { color: var(--red-accent); }
  .partner__tiles li:nth-child(4n+2), .partner__tiles li:nth-child(4n+3) { background: var(--red-dark); color: #fff; }
  .partner__tiles li:nth-child(4n+2) .partner__num, .partner__tiles li:nth-child(4n+3) .partner__num { color: #fff; }
}
@media (min-width: 900px) {
  .partner__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Checkerboard: odd light, even dark */
  .partner__tiles li:nth-child(n) { background: var(--red-tint); color: var(--ink); }
  .partner__tiles li:nth-child(n) .partner__num { color: var(--red-accent); }
  .partner__tiles li:nth-child(even) { background: var(--red-dark); color: #fff; }
  .partner__tiles li:nth-child(even) .partner__num { color: #fff; }
  .contact__band { display: block; aspect-ratio: 2 / 1; min-height: 520px; }
  .contact__media, .contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .contact__media img { object-fit: cover; object-position: 78% 88%; }
  .contact__text { position: absolute; inset: 0; width: 46%; padding: 0 0 0 var(--pad); }
  .contact__logo { margin-bottom: 0; }
}

/* Mobile only: blend the pack photos into the surrounding background (no hard edges) */
@media (max-width: 759px) {
  .hero__media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  }
  .hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 22%; pointer-events: none;
    background: linear-gradient(to bottom, rgba(190, 30, 28, 0), var(--red) 92%);
  }
}
@media (max-width: 899px) {
  .contact__media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 86%, transparent 100%);
  }
}