/* WYLLZ WORLD RETAIL — v2 trade site
   Palette anchored to the logo blue (#078FCD).
   Editorial-modern: cinematic dark heroes, layered depth, real photography,
   restrained motion. Credible for B2B, but not austere. */

:root {
  /* Brand blue, sampled from the logo mark */
  --blue: #078FCD;          /* brand — large graphics, numerals, accents on dark */
  --blue-cta: #0B7BB0;      /* button fill (white text = 4.75:1, passes AA) */
  --blue-deep: #0A6193;     /* links + hover on light backgrounds */
  --blue-tint: #EAF6FC;     /* washes */

  --navy: #0B1F2C;          /* dark sections, footer */
  --navy-2: #12303F;        /* gradient partner */

  --ground: #FBFBFA;
  --ink: #101418;
  --muted: #5A6169;
  --line: #E2E2DE;

  --r: 10px;
  --r-lg: 16px;
  --sh-1: 0 1px 2px rgba(16,20,24,.04), 0 4px 14px rgba(16,20,24,.05);
  --sh-2: 0 2px 6px rgba(16,20,24,.06), 0 18px 44px rgba(16,20,24,.11);

  --wrap: 1180px;
  --gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: -0.028em;
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); letter-spacing: -0.026em; }
h3 { font-size: 1.14rem; letter-spacing: -0.012em; line-height: 1.3; }

p { margin: 0 0 1.15em; max-width: 68ch; }
a { color: var(--blue-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 800px; }

/* ---------- Header ---------- */

header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,251,250,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
header.site.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(16,20,24,.06);
}

.nav { display: flex; align-items: center; gap: 30px; min-height: 80px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
/* The logo is a JPEG on a white canvas; multiply blends that white away against
   the light header instead of showing as a pale rectangle. Replace with a
   transparent PNG/SVG when one exists and this can go. */
.brand img { height: 44px; width: auto; mix-blend-mode: multiply; }

.nav-links { display: flex; gap: 28px; flex: 1 1 auto; }
.nav-links a {
  text-decoration: none; font-size: .95rem; color: var(--muted);
  padding: 5px 0; position: relative; white-space: nowrap;
  transition: color .18s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--blue); transition: right .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }

.nav-cta { display: flex; gap: 10px; flex: 0 0 auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: .95rem; font-weight: 500;
  text-decoration: none; color: var(--ink); background: transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s ease,
              color .18s ease, border-color .18s ease, box-shadow .22s ease;
}
.btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn.solid {
  background: var(--blue-cta); border-color: var(--blue-cta); color: #fff; font-weight: 600;
  box-shadow: 0 2px 10px rgba(11,123,176,.28);
}
.btn.solid:hover {
  background: var(--blue-deep); border-color: var(--blue-deep); color: #fff;
  box-shadow: 0 8px 24px rgba(11,123,176,.36);
}
.btn.small { padding: 10px 18px; font-size: .88rem; }
.btn.on-dark { border-color: rgba(255,255,255,.42); color: #fff; }
.btn.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }

/* ---------- Sections ---------- */

section { padding: 104px 0; }
section.tight { padding: 74px 0; }
section.hairline { border-top: 1px solid var(--line); }
section.white { background: #fff; }
section.tintbg { background: var(--blue-tint); }

section.dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #DCE4EA;
}
section.dark h2, section.dark h3 { color: #fff; }
section.dark a:not(.btn) { color: #8FD3F2; }

.eyebrow {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-deep); margin: 0 0 16px; font-weight: 600;
}
section.dark .eyebrow { color: var(--blue); }

.lead { font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--muted); max-width: 60ch; line-height: 1.6; }
section.dark .lead { color: #AEBCC7; }
.regline { font-size: .84rem; color: var(--muted); margin-top: 30px; }

/* ---------- Cinematic hero ---------- */

.hero-cine {
  position: relative; overflow: hidden;
  min-height: min(88vh, 780px);
  display: flex; align-items: flex-end;
  background: var(--navy);
}
.hero-cine .bg { position: absolute; inset: 0; z-index: 0; }
.hero-cine .bg img { width: 100%; height: 100%; object-fit: cover; }
/* Tuned against the real photographs: dark enough that white type holds at the
   lower left, light enough that the image is still visible on the right.
   If you swap a hero for one whose light source is on the LEFT, mirror the
   image rather than weakening this — the scrim is what keeps the headline legible. */
.hero-cine .scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(11,31,44,.92) 0%, rgba(11,31,44,.66) 38%, rgba(11,31,44,.20) 74%, rgba(11,31,44,.34) 100%),
    linear-gradient(to right, rgba(11,31,44,.68) 0%, rgba(11,31,44,.06) 58%);
}
/* Keep var(--gut) in the horizontal padding — this element is also .wrap, and a
   `padding: X 0 Y` shorthand here would silently override .wrap's gutter and push
   the hero text flush to the screen edge. */
.hero-cine .inner { position: relative; z-index: 2; padding: 130px var(--gut) 74px; width: 100%; }
.hero-cine h1 { color: #fff; max-width: 15ch; }
.hero-cine .lead { color: #C6D3DC; margin-top: 22px; }
.hero-cine .regline { color: #8B9AA6; }

/* Light type-led hero for inner pages */
.hero-type { padding: 118px 0 74px; }
.hero-type h1 { max-width: 18ch; }
.hero-type .lead { margin-top: 20px; }

/* ---------- Image placeholders (swap for real photos) ---------- */

.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #E9EBEC 0%, #DCE0E3 100%);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: #7F868D; font-size: .78rem; letter-spacing: .07em;
  text-transform: uppercase; font-weight: 600; text-align: center;
  padding: 14px; min-height: 130px;
}
.ph.dark { background: linear-gradient(135deg, #1B3543 0%, #0B1F2C 100%); color: #6E8494; }
.ph.wide { aspect-ratio: 21 / 9; }
.ph.three-two { aspect-ratio: 3 / 2; }
.ph.square { aspect-ratio: 1 / 1; }
.ph.four-three { aspect-ratio: 4 / 3; }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.fill { position: absolute; inset: 0; border-radius: 0; min-height: 0; }

.ph-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(11,31,44,.86); color: #fff;
  font-size: .67rem; letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; font-weight: 600; z-index: 2;
}

/* Rounded photo frame with hover zoom */
.shot { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); position: relative; }
.shot img, .shot .ph { transition: transform .7s cubic-bezier(.2,.7,.3,1); border-radius: 0; }
.shot:hover img, .shot:hover .ph { transform: scale(1.035); }

/* Real photography. The ratio class must match the slot the image sits in,
   otherwise the layout shifts as the image loads. */
.shot img, .cat .media img { width: 100%; display: block; object-fit: cover; }
.r-1-1  { aspect-ratio: 1 / 1; }
.r-3-2  { aspect-ratio: 3 / 2; }
.r-4-3  { aspect-ratio: 4 / 3; }
.r-4-5  { aspect-ratio: 4 / 5; }
.r-21-9 { aspect-ratio: 21 / 9; }

/* ---------- Proof strip ---------- */

.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof > div { padding: 38px 30px; border-left: 1px solid var(--line); }
.proof > div:first-child { border-left: 0; }
.proof .mark { width: 26px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 18px; }
.proof h3 { margin-bottom: 7px; }
.proof p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Grids & cards ---------- */

.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; box-shadow: var(--sh-1);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.card p { font-size: .95rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

/* Sector list */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 52px; margin-top: 14px; }
.sectors > div { padding: 26px 0; border-top: 1px solid var(--line); position: relative; }
.sectors > div::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px;
  background: var(--blue); transition: width .4s cubic-bezier(.2,.7,.3,1);
}
.sectors > div:hover::before { width: 46px; }
.sectors h3 { margin-bottom: 5px; }
.sectors p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Split band (image + text) ---------- */

.band { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.band.flip .band-text { order: 2; }
.band-text h2 { margin-bottom: .45em; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 44px 0 0; padding: 0; }
.steps > li { list-style: none; padding: 0 28px 0 0; position: relative; }
.steps > li::before {
  content: ""; position: absolute; top: 18px; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--line), rgba(226,226,222,.25));
}
.steps .num {
  display: inline-block; position: relative; z-index: 1;
  background: var(--ground); padding-right: 14px;
  font-family: "Inter Tight", sans-serif; font-size: 2.15rem; font-weight: 600;
  line-height: 1; letter-spacing: -.04em; margin-bottom: 18px;
  background-image: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
section.white .steps .num, section.white .steps > li::before { }
section.white .steps .num { background-color: #fff; }
.steps h3 { margin-bottom: 7px; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Case study ---------- */

.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.case .figure {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(3.4rem, 8vw, 5.4rem); font-weight: 600;
  letter-spacing: -.045em; line-height: 1; margin: 0 0 8px;
  background-image: linear-gradient(120deg, #fff 20%, var(--blue) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case dl { margin: 30px 0 0; }
.case dt {
  font-size: .73rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-top: 22px;
}
.case dd { margin: 6px 0 0; color: #B8C6D1; font-size: .98rem; max-width: 54ch; }
.case .withheld { font-size: .86rem; color: #7C8C99; margin-top: 30px; font-style: italic; }

/* ---------- Honesty / two-column boxes ---------- */

.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.two-col .box {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; background: #fff;
  box-shadow: var(--sh-1);
}
.two-col .box.accent { border-color: rgba(7,143,205,.32); background: var(--blue-tint); box-shadow: none; }
.two-col .box h3 { margin-bottom: 12px; }
.two-col ul { margin: 0; padding-left: 18px; }
.two-col li { font-size: .95rem; color: var(--muted); margin-bottom: 7px; }

/* ---------- Category cards ---------- */

.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh-1);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.cat .ph, .cat img { border-radius: 0; }
/* Product shots are on white and the card is white, so the image area needs a
   hairline and a faint tint to read as a distinct panel rather than merging
   into the copy below it. */
.cat .media { overflow: hidden; background: #FCFCFB; border-bottom: 1px solid var(--line); }
.cat .media .ph, .cat .media img { transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.cat:hover .media .ph, .cat:hover .media img { transform: scale(1.05); }
.cat .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cat h3 { margin-bottom: 9px; }
.cat p { font-size: .93rem; color: var(--muted); flex: 1; }
.cat .price-link {
  margin-top: 16px; font-size: .89rem; font-weight: 600; text-decoration: none;
  color: var(--blue-deep); align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
}
.cat .price-link span { transition: transform .22s ease; display: inline-block; }
.cat:hover .price-link span { transform: translateX(4px); }

/* ---------- Promise list ---------- */

.promise { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 52px; }
.promise li { padding: 22px 0 22px 32px; border-top: 1px solid var(--line); font-size: .96rem; color: var(--muted); position: relative; }
.promise li::before {
  content: ""; position: absolute; left: 0; top: 29px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(7,143,205,.14);
}
.promise li b { color: var(--ink); display: block; margin-bottom: 4px; font-weight: 600; }

/* ---------- Form ---------- */

.formwrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--sh-2); }
.formnote { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--blue); padding-left: 16px; margin: 0 0 28px; }

form .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
form label { display: block; margin-bottom: 20px; font-size: .87rem; font-weight: 600; }
form .req { color: var(--blue-deep); }
form input, form textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #FCFCFB; font: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
form input:focus, form textarea:focus {
  outline: none; background: #fff;
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,143,205,.15);
}
form textarea { min-height: 104px; resize: vertical; }
form .privacy { font-size: .84rem; color: var(--muted); margin: 18px 0 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- FAQ ---------- */

.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 1.03rem; list-style: none;
  transition: color .18s ease;
}
.faq summary:hover { color: var(--blue-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px; margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-grid .card a { font-weight: 600; }

/* ---------- Footer ---------- */

footer.site {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #A2B0BB; padding: 74px 0 44px; font-size: .92rem;
}
footer.site a { color: #DCE4EA; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.fgrid h4 { color: #fff; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px; }
.fnav { display: flex; flex-direction: column; gap: 11px; }
.fbottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 26px; font-size: .84rem; color: #7C8C99; }
.fbottom p { max-width: none; margin: 0 0 6px; }

/* ---------- Scroll reveal ---------- */

/* Scoped to .js (set by an inline script in <head>) so that if JavaScript fails
   to load, or is disabled, every .reveal stays fully visible instead of being
   stuck at opacity:0. Never unscope these two rules. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .btn, .card, .cat, .shot img, .shot .ph, .cat .media .ph, .cat .media img { transition: none !important; }
  .btn:hover, .card:hover, .cat:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  section { padding: 78px 0; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof > div:nth-child(odd) { border-left: 0; }
  .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 10px 0; }
  .case, .band { grid-template-columns: 1fr; gap: 36px; }
  .band.flip .band-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }

  /* Header stacks — no hamburger needed for four items */
  .nav { flex-wrap: wrap; gap: 16px; }
  .brand { order: 1; }
  .nav-cta { order: 2; margin-left: auto; }
  .nav-links {
    order: 3; flex-basis: 100%; gap: 22px;
    overflow-x: auto; padding-bottom: 12px; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .hero-cine { min-height: 0; }
  .hero-cine .inner { padding: 96px var(--gut) 60px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero-cine .inner { padding: 72px var(--gut) 48px; }
  .hero-type { padding: 64px 0 48px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .proof > div { border-left: 0; border-top: 1px solid var(--line); padding: 28px 22px; }
  .proof > div:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps > li { padding: 0 0 26px; }
  .sectors, .promise, .two-col { grid-template-columns: 1fr; }
  .promise li { padding-left: 28px; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .formwrap { padding: 24px; }
  .fgrid { grid-template-columns: 1fr; gap: 32px; }
  .nav { min-height: 68px; }
  .brand img { height: 36px; }
  .nav-cta .btn { padding: 9px 15px; font-size: .85rem; }
}

@media (max-width: 430px) {
  .nav-cta .ebay-btn { display: none; }
}
