/* ─────────────────────────────────────────────────────────────
   Gilayon accordion homepage — responsive (desktop columns,
   mobile rows). Single stylesheet; mobile overrides live under
   `@media (max-width: 768px)`.
   ───────────────────────────────────────────────────────────── */

.acc, .acc * { box-sizing: border-box; }

.acc {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  font-family: 'Heebo', 'Helvetica Neue', system-ui, sans-serif;
  color: #fff;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* ── Chrome (logo / tagline / menu) ──────────────────────── */
.acc-chrome {
  position: absolute; inset: 0 0 auto 0;
  z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
  pointer-events: none;
}
.acc-chrome > * { pointer-events: auto; }

.acc-logo {
  display: flex; align-items: baseline; gap: 8px;
  text-decoration: none; color: inherit;
}
.acc-logo-mark {
  font-family: 'Heebo', sans-serif;
  font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -0.02em;
}
.acc-logo-word {
  font-family: 'Rubik', sans-serif;
  font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: -0.01em;
}
.acc-tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.7;
}
.acc-menu {
  width: 36px; height: 36px;
  background: transparent; border: 1px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; gap: 3px; cursor: pointer; opacity: 0.85;
  padding: 0; color: inherit;
}
.acc-menu span {
  display: block; width: 14px; height: 1.5px; background: currentColor; margin: 1.5px 0;
}

.acc-foot {
  position: absolute; inset: auto 0 0 0;
  z-index: 30;
  display: flex; justify-content: space-between;
  padding: 14px 28px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.6;
  pointer-events: none;
}

/* ── Strip container ─────────────────────────────────────── */
.acc-strips {
  position: absolute; inset: 0;
  display: flex; flex-direction: row;
  gap: 1px;
}

/* ── Strip base ──────────────────────────────────────────── */
.strip {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0; min-height: 0;
  transition: flex-grow 700ms cubic-bezier(.2,.8,.2,1);
  isolation: isolate;
  outline: none;
}
.strip:focus-visible { box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.strip.is-active { flex-grow: var(--expand, 7); }

/* ── Featured image (background) + striped placeholder ── */
.strip-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .6s;
  transform: scale(1.04);
  filter: brightness(.7) saturate(.85);
}
.strip.is-active .strip-img {
  transform: scale(1);
  filter: brightness(.9) saturate(1);
}

.ph { position: absolute; inset: 0; z-index: 0; }
.ph-stripes {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.34 0.06 var(--hue)) 0 6px,
      oklch(0.30 0.06 var(--hue)) 6px 12px
    );
}
.ph-tag {
  position: absolute;
  bottom: 8px; right: 8px;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9px; letter-spacing: 0.08em; text-transform: lowercase;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.4);
  padding: 3px 6px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .35s;
}
.strip.is-active .ph-tag { opacity: 1; }

/* ── Veil + hairline between strips ──────────────────── */
.strip-veil  { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.strip-rule  {
  position: absolute; z-index: 5;
  top: 0; bottom: 0; left: 0; width: 1px;
  background: rgba(255,255,255,0.06);
}
.strip:first-child .strip-rule { display: none; }

/* ── Shared text bits ────────────────────────────────── */
.strip-num {
  position: absolute; z-index: 4;
  top: 84px; right: 16px;
  font-family: 'Heebo', sans-serif;
  font-weight: 500; font-size: 18px; line-height: 1;
  letter-spacing: 0.04em; opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.strip-spine {
  position: absolute; z-index: 4;
  bottom: 40px; right: 16px; left: 16px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex; flex-direction: row; gap: 40px;
  align-items: baseline;
}

.strip-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 500; font-size: 78px; line-height: 1; letter-spacing: 0.01em;
  margin: 0;
}
.strip-sub {
  font-family: 'Heebo', sans-serif;
  font-weight: 600; font-size: 46px;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.65;
}
.strip-meta {
  font-family: 'Heebo', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.55;
}

/* ── Reveal panel (kicker + CTA) ─────────────────────── */
.strip-reveal {
  position: absolute; z-index: 6;
  bottom: 56px; left: 28px;
  max-width: 60%;
  text-align: right;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s .15s ease;
}
.strip.is-active .strip-reveal { opacity: 1; pointer-events: auto; }

.reveal-kicker {
  font-family: 'Heebo', sans-serif;
  font-weight: 300; font-size: 15px; line-height: 1.4; letter-spacing: 0.01em;
  opacity: 0.85;
  margin: 0 0 18px;
  max-width: 36ch;
  text-wrap: pretty;
}
.reveal-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 0 10px;
  font-family: 'Heebo', sans-serif;
  font-weight: 500; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-top: 1px solid currentColor;
  min-width: 200px;
}
.reveal-cta svg { transition: transform .25s; }
.strip.is-active:hover .reveal-cta svg { transform: translateX(-4px); }

/* ── Big numeral (variants B + C share this) ──────── */
.strip-bignum {
  position: absolute; z-index: 3;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Heebo', sans-serif;
  font-weight: 400; font-size: 180px; line-height: 0.85;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
   VARIANT A — Cinematic dark
   ────────────────────────────────────────────────────────── */
.acc-cinematic { background: #0b0a09; color: #f4f1ea; }
.strip-cinematic .ph-stripes {
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.22 0.04 var(--hue)) 0 6px,
      oklch(0.19 0.04 var(--hue)) 6px 12px
    );
}
.strip-cinematic .strip-veil {
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.55) 100%);
}
.strip-cinematic.is-active .ph-stripes {
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.36 0.10 var(--hue)) 0 6px,
      oklch(0.30 0.10 var(--hue)) 6px 12px
    );
  transition: background .7s;
}
.strip-cinematic .strip-rule { background: rgba(255,255,255,0.08); }

/* ──────────────────────────────────────────────────────────
   VARIANT B — Editorial bold
   ────────────────────────────────────────────────────────── */
.acc-editorial { background: #f4f0e8; color: #1b1815; }
.acc-editorial .acc-chrome,
.acc-editorial .acc-foot { color: #1b1815; }
.acc-editorial .acc-menu { border-color: #1b1815; }
.acc-editorial .acc-menu span { background: #1b1815; }

.strip-editorial .ph-stripes {
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.86 0.05 var(--hue)) 0 8px,
      oklch(0.82 0.05 var(--hue)) 8px 16px
    );
}
.strip-editorial .strip-img { filter: brightness(.95) saturate(.8); }
.strip-editorial.is-active .strip-img { filter: brightness(1) saturate(1); }
.strip-editorial .strip-veil {
  background: linear-gradient(180deg, rgba(255,250,240,0.1) 0%, rgba(255,250,240,0.5) 100%);
}
.strip-editorial.is-active .ph-stripes {
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.74 0.09 var(--hue)) 0 8px,
      oklch(0.68 0.09 var(--hue)) 8px 16px
    );
  transition: background .7s;
}
.strip-editorial .strip-rule { background: rgba(27,24,21,0.18); }
.strip-editorial .strip-num,
.strip-editorial .strip-title { color: #1b1815; }
.strip-editorial .strip-sub,
.strip-editorial .strip-meta { color: #4a4239; }
.strip-editorial .reveal-cta,
.strip-editorial .reveal-kicker { color: #2a2520; }
.strip-editorial .ph-tag { color: rgba(27,24,21,0.5); background: rgba(255,250,240,0.6); }

.strip-editorial .strip-bignum {
  font-weight: 900; font-size: 240px;
  color: oklch(0.32 0.06 var(--hue));
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.strip-editorial.is-active .strip-bignum { opacity: 0.85; }

/* Collapsed editorial strips hide the title — the giant numeral *is* the
   strip. Title reveals when the strip becomes active. */
.strip-editorial .strip-spine { opacity: 0; transition: opacity .4s; }
.strip-editorial.is-active .strip-spine { opacity: 1; }
.strip-editorial .strip-num { display: none; }

/* ──────────────────────────────────────────────────────────
   VARIANT C — Playful color-blocked
   ────────────────────────────────────────────────────────── */
.acc-playful { background: #0b0a09; color: #fff; }
.strip-playful .strip-color {
  position: absolute; inset: 0; z-index: 1;
  background: oklch(0.62 0.18 var(--hue));
  transition: opacity .7s;
}
.strip-playful.is-active .strip-color { opacity: 0.35; }
.strip-playful .strip-img { opacity: 0; transition: opacity .7s; }
.strip-playful.is-active .strip-img { opacity: 1; }
.strip-playful .ph { z-index: 0; opacity: 0; transition: opacity .7s; }
.strip-playful.is-active .ph { opacity: 1; }
.strip-playful .ph-stripes {
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.30 0.08 var(--hue)) 0 6px,
      oklch(0.24 0.08 var(--hue)) 6px 12px
    );
}
.strip-playful .strip-grain {
  position: absolute; inset: 0; z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.strip-playful .strip-rule { background: rgba(0,0,0,0.18); }

.strip-playful .strip-bignum {
  font-family: 'Rubik Mono One', 'Rubik', sans-serif;
  font-weight: 400; font-size: 200px;
  color: rgba(0,0,0,0.4);
  transform: translate(-50%, calc(-50% + (var(--stagger,0) % 2) * 18px - 9px));
}
.strip-playful .strip-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 800; letter-spacing: -0.02em;
}
.strip-playful .strip-sub {
  font-family: 'Rubik', sans-serif;
  font-weight: 400; letter-spacing: 0.06em; text-transform: none; opacity: 0.85;
}
.strip-playful .reveal-cta {
  border: none; padding-top: 0;
  background: #fff; color: #111;
  padding: 12px 22px; border-radius: 999px;
  text-transform: none; letter-spacing: 0.04em;
  font-weight: 700; font-size: 14px;
}
.strip-playful .reveal-cta .cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.62 0.18 var(--hue));
}

/* ──────────────────────────────────────────────────────────
   MOBILE — switch from vertical strips (row) to horizontal
   strips (column). 12+ vertical columns at <500px wide is
   unusable; rows let the rotated title unrotate and breathe.
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .acc { height: 100svh; min-height: 560px; }
  .acc-strips { flex-direction: column; gap: 1px; }

  .acc-chrome { padding: 14px 18px; }
  .acc-logo-mark { font-size: 24px; }
  .acc-logo-word { font-size: 18px; }
  .acc-tag { display: none; }
  .acc-foot { padding: 8px 18px; font-size: 9px; }

  .strip-rule {
    top: 0; left: 0; right: 0; bottom: auto;
    width: auto; height: 1px;
  }

  .strip-num {
    top: 50%; right: 14px; left: auto;
    transform: translateY(-50%);
  }
  .acc-editorial .strip-num { display: none; }

  .strip-spine {
    top: 50%; right: 60px; bottom: auto; left: auto;
    transform: translateY(-50%);
    writing-mode: horizontal-tb;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    opacity: 1 !important; /* the editorial "hide spine" trick only applies in columns layout */
  }
  .strip-editorial .strip-spine { right: 110px; }
  .strip-playful .strip-spine   { right: 110px; }

  .strip-title { font-size: 20px; }
  .strip-sub { font-size: 9.5px; letter-spacing: 0.18em; }

  .strip-bignum {
    top: 50%; left: 20px;
    transform: translateY(-50%);
    font-size: 70px;
  }
  .strip-editorial .strip-bignum { font-size: 88px; }
  .strip-playful .strip-bignum { font-size: 70px; transform: translateY(-50%); }

  .strip-reveal {
    bottom: 18px; right: 80px; left: 18px;
    max-width: none;
    text-align: right;
  }
  .reveal-kicker { font-size: 13px; margin-bottom: 12px; max-width: none; }
  .reveal-cta {
    font-size: 11px; letter-spacing: 0.12em;
    padding-top: 10px; min-width: 0;
  }
}

/* ──────────────────────────────────────────────────────────
   Theme integration — kill Hello Elementor's content padding
   on the front page so the strips really do go edge-to-edge.
   ────────────────────────────────────────────────────────── */
.home main.acc,
.home .acc { display: block; }
.home #content,
.home .site-main,
.home .elementor-section-wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; }
.home .site-header,
.home .site-footer { /* keep theme header/footer hidden on the homepage so the strips really are the page */
  display: none;
}

.strip,
.strip:hover,
.strip:focus,
.strip:active,
.strip:visited { color: inherit; text-decoration: none; }