/* vishvos.com — rebuilt from the Wix export (wix-export/content.md). Tokens and desktop sizes are the computed Wix
   values, measured on the live site at 1440px wide (Wix lays the page out on a 980px grid). */
:root {
  --navy: #16163f;
  --navy-nav: #0c1c3f;
  --red: #db0922;
  --grey: #e7e7eb;
  --white: #fff;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --grid: 980px;
  --header-h: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.4;
  color: var(--navy);
  background: var(--white);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

a {
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--grid) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  top: 8px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---- Header: sits on top of the triangle background, like the Wix one ----------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  gap: 160px;
  padding-top: 24px;
}

.brand img {
  width: 86px;
}

.nav-list {
  display: flex;
  gap: 20px;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 24px 8px 12px;
  font-size: 16px;
  color: var(--navy-nav);
  text-decoration: none;
}

.nav-list a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-list a:hover,
.nav-list a[aria-current] {
  color: var(--red);
}

.nav-list a[aria-current]::before {
  transform: scaleX(1);
}

/* ---- Hero + capabilities share the triangle background ----------------------------------------------------- */
.hero-bg {
  padding-top: var(--header-h);
  /* Wix shows the triangles as a 900px-tall band from the top; the rest of the capabilities section is white. */
  background: var(--white) url("/assets/hero-background.jpg") center top / max(100%, 2057px) auto no-repeat;
}

/* The photo bleeds from 80px off the left edge to the middle of the page; the copy starts just right of it. */
.hero {
  padding-block: 108px 194px;
}

.hero-inner {
  display: grid;
  grid-template-columns: calc(50% - 28px) 1fr; /* % of the padded box: the photo runs from 80px to mid-page */
  gap: 22px;
  align-items: center;
  max-width: none;
  padding-left: 80px;
  padding-right: 24px;
}

.hero-photo {
  width: 100%;
  height: 362px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.12);
}

.hero-copy {
  max-width: 520px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 30px;
}

.hero p {
  max-width: 510px;
}

.capabilities {
  padding-bottom: 100px;
  text-align: center;
}

.eyebrow {
  font-size: 16px;
  font-weight: 700;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 24px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  max-width: 940px;
  margin: 26px auto 0;
}

.capability-grid h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 68px;
}

/* ---- Our story --------------------------------------------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 471px;
  color: var(--white);
}

.story-panel {
  padding: 96px clamp(24px, 9.7vw, 140px);
}

.story-left {
  background: var(--navy);
}

.story-left h2 {
  font-size: 56px;
  line-height: 1.2;
  font-weight: 700;
  max-width: 4em;
}

.story-right {
  background: var(--red);
  padding: 86px 24px 86px 58px;
}

.story-right h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.story-right p {
  max-width: 400px;
}

/* ---- Retailers: five equal columns across the full width --------------------------------------------------- */
.retailers {
  padding-block: 43px 110px;
  text-align: center;
}

.retailers .container {
  max-width: none;
}

.retailer-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  gap: 40px 16px;
  margin-top: 64px;
  padding-inline: 24px;
}

.retailer-list a {
  display: block;
  transition: transform 0.2s;
}

.retailer-list a:hover {
  transform: scale(1.05);
}

.retailer-list img {
  width: auto;
  max-width: 100%;
}

/* per-logo heights so the wordmarks match the Wix sizes */
.retailer-list li:nth-child(1) img {
  height: 60px;
}

.retailer-list li:nth-child(2) img {
  height: 30px;
}

.retailer-list li:nth-child(3) img {
  height: 64px;
}

.retailer-list li:nth-child(4) img {
  height: 30px;
}

.retailer-list li:nth-child(5) img {
  height: 82px;
}

/* ---- Contact: two columns centred on each half of the page ------------------------------------------------- */
.contact {
  padding-block: 110px 150px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: none;
  text-align: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.contact-item h2 {
  font-size: 20px;
  font-weight: 700;
}

.contact-item p {
  font-size: 16px;
}

.contact-item a:hover {
  color: var(--red);
}

.social-list {
  display: flex;
  gap: 8px;
}

.social-list img {
  width: 22px;
  height: 22px;
}

/* ---- Footer ------------------------------------------------------------------------------------------------ */
.site-footer {
  padding: 0 24px 48px;
  font-size: 14px;
  text-align: center;
}

/* ---- Narrower desktop -------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .header-inner {
    justify-content: space-between;
    gap: 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding-left: 24px;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 56px);
  }
}

/* ---- Tablet / mobile --------------------------------------------------------------------------------------- */
@media (max-width: 860px) {
  :root {
    --header-h: 96px;
  }

  .hero {
    padding-block: 24px 72px;
  }

  .hero-inner,
  .capability-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-photo {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero h1 {
    margin-bottom: 20px;
  }

  .capabilities {
    padding-bottom: 72px;
  }

  .capability-grid {
    gap: 48px;
  }

  .capability-grid h3 {
    margin-bottom: 16px;
  }

  .story {
    min-height: 0;
  }

  .story-panel,
  .story-right {
    padding: 56px 24px;
  }

  .story-left h2 {
    font-size: 44px;
    max-width: none;
  }

  .story-right p {
    max-width: none;
  }

  .retailers {
    padding-block: 48px 56px;
  }

  .retailer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 40px;
    margin-top: 40px;
  }

  .retailer-list img {
    zoom: 0.6;
  }

  .contact {
    padding-block: 32px 64px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 112px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 12px;
  }

  .brand img {
    width: 72px;
  }

  .nav-list {
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-list a {
    padding: 14px 6px 10px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
