/*
Theme Name: The Contrivers Premium Future
Theme URI: https://www.instagram.com/thecontrivers/
Author: Cybexi Digital Solutions
Description: A premium futuristic WordPress theme for The Contrivers using the official #670626 brand colour, real category photography, official @thecontrivers Instagram embeds, animated interactions, and reliable WhatsApp ordering.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: the-contrivers
*/

:root {
  --dark: #2a020f;
  --dark-2: #3a0315;
  --berry: #670626;
  --berry-soft: #8c2447;
  --gold: #e2c5b4;
  --cream: #fff6f1;
  --paper: #fffaf7;
  --ink: #260711;
  --muted: #76656b;
  --line: rgba(103, 6, 38, .16);
  --light-line: rgba(255, 255, 255, .12);
  --sans: "Manrope", "DM Sans", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --radius-lg: 38px;
  --radius-md: 24px;
  --shadow: 0 30px 90px rgba(103, 6, 38, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--berry); color: #fff; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 124px 0; position: relative; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; top: 10px; left: 10px; padding: 10px 14px; background: #fff; z-index: 9999; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; padding: 18px 24px; transition: padding .3s ease; }
.site-header.is-scrolled { padding-top: 10px; }
.header-shell { width: min(1320px, 100%); margin: auto; min-height: 94px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 0 16px 0 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(22, 10, 20, .72); backdrop-filter: blur(22px); box-shadow: 0 12px 40px rgba(0,0,0,.18); transition: background .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled .header-shell { background: rgba(22, 10, 20, .9); box-shadow: 0 18px 55px rgba(0,0,0,.25); }
.brand { display: flex; align-items: center; min-width: 190px; }
.brand img { width: 190px; height: 88px; object-fit: contain; object-position: left center; filter: none; }
.brand .custom-logo { max-height: 88px; width: auto; object-fit: contain; filter: none; }
.primary-nav { justify-self: center; display: flex; gap: 32px; color: rgba(255,255,255,.76); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.primary-nav a { position: relative; transition: color .25s ease; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .25s ease; }
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; gap: 12px; color: var(--dark); background: var(--cream); padding: 12px 18px; border-radius: 999px; font-size: .8rem; font-weight: 800; transition: transform .25s ease, background .25s ease; }
.header-cta:hover { transform: translateY(-2px); background: #fff; }
.header-cta i { font-style: normal; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--berry); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav-toggle span:not(.screen-reader-text) { position: absolute; left: 10px; width: 24px; height: 1px; background: #fff; transition: transform .25s ease; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.hero { min-height: 980px; display: flex; align-items: center; position: relative; color: #fff; overflow: hidden; background: var(--berry); padding: 160px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: none; }
.hero-grid-lines { position: absolute; inset: 0; background: transparent; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .8; animation: drift 10s ease-in-out infinite alternate; }
.hero-glow-a { width: 640px; height: 640px; right: -220px; top: 110px; background: rgba(255,255,255,.04); }
.hero-glow-b { width: 500px; height: 500px; left: -260px; bottom: -120px; background: rgba(255,255,255,.03); animation-delay: -4s; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.hero-copy { max-width: 680px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.78); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; background: rgba(255,255,255,.04); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(214,182,117,.5); animation: pulse 2s infinite; }
.hero h1 { margin: 28px 0 28px; font-size: clamp(4rem, 7vw, 7rem); line-height: .91; letter-spacing: -.072em; max-width: 820px; font-weight: 700; }
.hero h1 em, h2 em { font-family: var(--serif); color: var(--gold); font-weight: 500; letter-spacing: -.04em; }
.hero-lead { max-width: 635px; color: rgba(255,255,255,.68); font-size: 1.1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: .86rem; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--berry); color: #fff; box-shadow: 0 16px 42px rgba(124,41,76,.32), inset 0 1px rgba(255,255,255,.22); }
.button-primary:hover { box-shadow: 0 22px 52px rgba(124,41,76,.42); }
.button-ghost { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.045); color: #fff; backdrop-filter: blur(12px); }
.button-light { background: var(--cream); color: var(--dark); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 62px; max-width: 700px; }
.hero-proof div { padding: 17px 16px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: #fff; font-size: .87rem; }
.hero-proof span { margin-top: 4px; color: rgba(255,255,255,.46); font-size: .69rem; }

.hero-stage { position: relative; min-height: 680px; }
.orbit { position: absolute; border: 1px solid rgba(214,182,117,.18); border-radius: 50%; animation: spin 24s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.orbit-one { width: 610px; height: 610px; right: -65px; top: 22px; }
.orbit-two { width: 420px; height: 420px; right: 40px; top: 112px; animation-direction: reverse; animation-duration: 18s; }
.instagram-device { position: absolute; width: 330px; height: 530px; border-radius: 38px; padding: 11px; background: rgba(255,255,255,.18); box-shadow: 0 44px 100px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.35); backdrop-filter: blur(18px); overflow: hidden; }
.instagram-device::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 48px; height: 5px; border-radius: 999px; background: rgba(0,0,0,.35); z-index: 3; }
.instagram-device iframe { width: 100%; height: 100%; border-radius: 28px; background: #fff; }
.device-back { right: 220px; top: 68px; transform: rotate(-8deg) scale(.9); opacity: .52; filter: saturate(.7); }
.device-front { right: 14px; top: 74px; transform: rotate(5deg); animation: float 6s ease-in-out infinite; }
.stage-label { position: absolute; z-index: 5; padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(22,10,20,.78); color: rgba(255,255,255,.72); backdrop-filter: blur(14px); font-size: .7rem; font-weight: 700; letter-spacing: .05em; }
.stage-label-one { left: 15px; top: 130px; }
.stage-label-two { right: -15px; bottom: 90px; }
.stage-monogram { position: absolute; left: 75px; bottom: 68px; width: 105px; height: 105px; border-radius: 34px; display: grid; place-items: center; border: 1px solid rgba(214,182,117,.26); color: var(--gold); background: rgba(255,255,255,.035); backdrop-filter: blur(15px); font-family: var(--serif); font-size: 1.65rem; transform: rotate(-9deg); }
.signal-strip { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.signal-track { min-width: max-content; display: flex; align-items: center; gap: 24px; padding: 18px 0; color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; animation: marquee 28s linear infinite; }
.signal-track i { color: var(--gold); font-style: normal; }

.eyebrow { margin: 0 0 14px; color: var(--berry); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow-light { color: var(--gold); }
.section-intro { display: grid; grid-template-columns: 1.2fr .65fr; align-items: end; gap: 70px; margin-bottom: 58px; }
.section-intro h2, .process-copy h2, .about-copy h2, .faq-heading h2, .order-copy h2, .corporate-copy h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.06em; }
.section-intro > p { margin: 0; color: var(--muted); max-width: 460px; }

.category-section {
  overflow: hidden;
  background: #fff7f3;
}
.category-section .container { position: relative; z-index: 2; }
.category-ambient { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.category-ambient-one { width: 620px; height: 620px; left: -360px; top: 120px; border: 1px solid rgba(124,41,76,.18); box-shadow: inset 0 0 120px rgba(176,82,118,.08); }
.category-ambient-two { width: 520px; height: 520px; right: -310px; bottom: 80px; border: 1px solid rgba(214,182,117,.28); box-shadow: inset 0 0 110px rgba(214,182,117,.09); }
.category-intro { margin-bottom: 52px; }
.category-grid-premium { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.category-card-premium {
  min-height: 570px;
  grid-column: span 6;
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 36px;
  color: #fff;
  background: #291321;
  box-shadow: 0 24px 70px rgba(52,21,40,.14);
  isolation: isolate;
  cursor: pointer;
  pointer-events: auto !important;
  transform: translateZ(0);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.category-card-premium:nth-child(8n+1),
.category-card-premium:nth-child(8n+4),
.category-card-premium:nth-child(8n+5),
.category-card-premium:nth-child(8n+8) { grid-column: span 7; }
.category-card-premium:nth-child(8n+2),
.category-card-premium:nth-child(8n+3),
.category-card-premium:nth-child(8n+6),
.category-card-premium:nth-child(8n+7) { grid-column: span 5; }
.category-card-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: rgba(26,0,9,.64); clip-path: inset(42% 0 0 0);
}
.category-card-premium::after {
  content: "";
  position: absolute;
  z-index: 5;
  width: 180px;
  height: 520px;
  right: -220px;
  top: -130px;
  pointer-events: none;
  opacity: .36;
  background: transparent;
  transform: rotate(28deg);
  transition: right .75s cubic-bezier(.2,.8,.2,1);
}
.category-card-premium:hover,
.category-card-premium:focus-visible {
  transform: translateY(-10px);
  border-color: rgba(214,182,117,.72);
  box-shadow: 0 38px 95px rgba(52,21,40,.24);
  outline: none;
}
.category-card-premium:hover::after,
.category-card-premium:focus-visible::after { right: calc(100% + 100px); }
.category-media-premium { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #2a1122; pointer-events: none; }
.category-media-premium img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.category-card-premium:hover .category-media-premium img,
.category-card-premium:focus-visible .category-media-premium img { transform: scale(1.045); filter: saturate(1.08) contrast(1.03); }
.category-media-vignette { position: absolute; inset: 0; background: rgba(103,6,38,.06); pointer-events: none; }
.category-number { position: absolute; z-index: 2; left: 24px; top: 24px; min-width: 48px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: rgba(255,255,255,.84); background: rgba(20,8,17,.42); backdrop-filter: blur(16px); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.category-icon-premium { position: absolute; z-index: 2; right: 24px; top: 24px; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 18px; color: #fff; background: rgba(20,8,17,.42); backdrop-filter: blur(16px); }
.category-icon-premium svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.category-details-premium {
  position: absolute;
  z-index: 6;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 26px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 25px;
  background: rgba(20,8,17,.68);
  box-shadow: inset 0 1px rgba(255,255,255,.11), 0 18px 44px rgba(0,0,0,.18);
  backdrop-filter: blur(20px) saturate(1.2);
  pointer-events: none;
}
.category-tag { margin: 0 0 8px; color: var(--gold); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.category-details-premium h3 { margin: 0 0 9px; color: #fff; font-size: clamp(1.45rem, 2.2vw, 2.25rem); line-height: 1.04; letter-spacing: -.045em; }
.category-details-premium p:not(.category-tag) { max-width: 620px; margin: 0; color: rgba(255,255,255,.61); font-size: .82rem; line-height: 1.65; }
.category-action-premium { min-width: 164px; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 10px 9px 16px; border-radius: 999px; color: var(--dark); background: var(--cream); font-size: .73rem; font-weight: 800; white-space: nowrap; }
.category-action-premium i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--berry); font-style: normal; transition: transform .3s ease; }
.category-card-premium:hover .category-action-premium i { transform: rotate(45deg); }
.category-note { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 20px 22px; border: 1px solid rgba(124,41,76,.14); border-radius: 24px; background: rgba(255,255,255,.68); box-shadow: 0 18px 50px rgba(53,23,40,.07); backdrop-filter: blur(16px); }
.category-note-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; color: var(--berry); background: rgba(124,41,76,.08); }
.category-note p { margin: 0; color: var(--muted); font-size: .86rem; }
.category-note strong { color: var(--ink); }
.category-note .text-arrow { white-space: nowrap; }

.gallery-section { color: #fff; background: var(--dark); overflow: hidden; }
.gallery-section::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: none; }
.gallery-glow { position: absolute; width: 800px; height: 800px; left: 40%; top: -460px; border-radius: 50%; background: transparent; }
.section-intro-light { position: relative; z-index: 2; }
.section-intro-light > p { color: rgba(255,255,255,.58); }
.gallery-filters { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gallery-filters button { padding: 10px 16px; border: 1px solid var(--light-line); border-radius: 999px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.035); transition: .25s ease; }
.gallery-filters button:hover, .gallery-filters button.is-active { color: var(--dark); background: var(--gold); border-color: var(--gold); }
.instagram-mosaic { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.instagram-tile { min-width: 0; padding: 12px; border: 1px solid var(--light-line); border-radius: 28px; background: rgba(255,255,255,.045); backdrop-filter: blur(12px); transition: opacity .3s ease, transform .3s ease, border-color .3s ease; }
.instagram-tile:hover { transform: translateY(-6px); border-color: rgba(214,182,117,.38); }
.instagram-tile.is-filtered-out { opacity: 0; transform: scale(.94); pointer-events: none; display: none; }
.tile-head { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 6px 8px 10px; color: rgba(255,255,255,.72); font-size: .75rem; font-weight: 700; }
.tile-head a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--light-line); }
.instagram-embed-wrap { height: 520px; overflow: hidden; border-radius: 20px; background: #fff; }
.instagram-embed-wrap iframe { width: 100%; height: 100%; border: 0; }
.gallery-action { position: relative; z-index: 2; margin-top: 36px; text-align: center; }

.process-section { background: var(--cream); }
.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.process-copy { position: sticky; top: 130px; }
.process-copy > p:not(.eyebrow) { color: var(--muted); margin: 28px 0; max-width: 520px; }
.text-arrow { display: inline-flex; gap: 12px; color: var(--berry); font-weight: 800; border-bottom: 1px solid rgba(124,41,76,.25); padding-bottom: 6px; }
.process-steps { display: grid; }
.process-step { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.process-step > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: var(--dark); color: var(--gold); font-size: .72rem; font-weight: 800; }
.process-step h3 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -.035em; }
.process-step p { margin: 0; color: var(--muted); }

.corporate-section { background: #efe5dc; padding-top: 0; }
.corporate-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .65fr; gap: 70px; align-items: center; min-height: 520px; padding: 72px; border-radius: 42px; color: #fff; background: var(--berry); box-shadow: var(--shadow); }
.corporate-grid { position: absolute; inset: 0; opacity: .23; background-image: none; }
.corporate-orb { position: absolute; width: 460px; height: 460px; right: -90px; top: 40px; border-radius: 50%; border: 1px solid rgba(214,182,117,.22); box-shadow: inset 0 0 80px rgba(214,182,117,.08), 0 0 120px rgba(176,82,118,.15); }
.corporate-copy, .corporate-cta { position: relative; z-index: 2; }
.corporate-copy p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,.64); }
.corporate-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.corporate-tags span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.67); background: rgba(255,255,255,.035); font-size: .72rem; }
.corporate-cta { display: grid; gap: 22px; justify-items: stretch; }
.quote-node { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: rgba(255,255,255,.06); backdrop-filter: blur(18px); }
.quote-node span, .quote-node strong, .quote-node small { display: block; }
.quote-node span { color: var(--gold); font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; }
.quote-node strong { margin: 10px 0 5px; font-size: 1.4rem; }
.quote-node small { color: rgba(255,255,255,.52); }

.about-section { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.about-visual { min-height: 560px; display: grid; place-items: center; position: relative; border-radius: 42px; overflow: hidden; background: #f7ebe5; border: 1px solid var(--line); }
.about-monogram { position: relative; z-index: 3; text-align: center; font-size: clamp(3rem, 5vw, 5rem); line-height: .8; letter-spacing: -.08em; color: var(--berry); font-weight: 800; }
.about-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(124,41,76,.18); }
.about-ring-one { width: 470px; height: 470px; animation: spin 22s linear infinite; }
.about-ring-one::after { content: ""; position: absolute; top: 12%; left: 9%; width: 10px; height: 10px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 18px rgba(124,41,76,.5); }
.about-ring-two { width: 300px; height: 300px; border-color: rgba(214,182,117,.55); animation: spin 15s linear infinite reverse; }
.founder-chip { position: absolute; z-index: 4; padding: 14px 18px; border: 1px solid rgba(124,41,76,.15); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 18px 45px rgba(53,23,40,.12); backdrop-filter: blur(14px); }
.founder-chip span, .founder-chip strong { display: block; }
.founder-chip span { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.founder-chip strong { color: var(--berry); font-size: .84rem; }
.founder-chip-one { top: 74px; right: 44px; transform: rotate(4deg); }
.founder-chip-two { left: 42px; bottom: 82px; transform: rotate(-4deg); }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.about-values { display: grid; gap: 12px; margin-top: 30px; }
.about-values span { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.about-values i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(214,182,117,.18); }

.faq-section { background: #f1e8e0; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.faq-heading { position: sticky; top: 130px; align-self: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; position: relative; padding: 26px 56px 26px 0; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 22px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--berry); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0; padding: 0 60px 26px 0; color: var(--muted); }

.order-section { background: var(--paper); }
.order-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; padding: 72px; border: 1px solid var(--line); border-radius: 42px; background: #f7ebe5; box-shadow: var(--shadow); }
.order-copy p:not(.eyebrow) { color: var(--muted); max-width: 520px; }
.order-contact { margin-top: 34px; display: inline-grid; gap: 3px; padding: 15px 18px; border-radius: 17px; background: rgba(255,255,255,.64); border: 1px solid var(--line); }
.order-contact span { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; }
.order-contact strong { color: var(--berry); }
.order-form { display: grid; gap: 15px; padding: 30px; border: 1px solid rgba(124,41,76,.12); border-radius: 28px; background: rgba(255,255,255,.72); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(53,23,40,.08); }
.order-form label { display: grid; gap: 7px; color: var(--ink); font-size: .74rem; font-weight: 800; }
.order-form input, .order-form select, .order-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); outline: none; transition: border-color .25s ease, box-shadow .25s ease; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: var(--berry); box-shadow: 0 0 0 4px rgba(124,41,76,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.7); background: #0d070d; padding: 82px 0 22px; }
.footer-glow { position: absolute; width: 600px; height: 600px; right: -260px; top: -380px; border-radius: 50%; background: transparent; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .6fr .9fr; gap: 80px; }
.footer-logo img { width: 250px; height: 116px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 430px; color: rgba(255,255,255,.45); }
.footer-instagram { color: var(--gold); font-weight: 800; }
.footer-label { color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.footer-links, .footer-contact { display: grid; align-content: start; gap: 10px; }
.footer-links a, .footer-contact a { transition: color .2s ease; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact span, .footer-contact p:not(.footer-label) { color: rgba(255,255,255,.44); font-size: .86rem; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.34); font-size: .72rem; }
.floating-whatsapp {
  position: fixed !important;
  z-index: 2147483000 !important;
  right: 24px !important;
  bottom: max(24px, env(safe-area-inset-bottom)) !important;
  display: grid !important;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 11px;
  min-height: 64px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #07371c;
  background: #25d366;
  box-shadow: 0 20px 55px rgba(13,92,45,.35), inset 0 1px rgba(255,255,255,.58);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible { transform: translateY(-5px); box-shadow: 0 28px 68px rgba(13,92,45,.43); outline: none; }
.floating-whatsapp-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(5,93,42,.72); }
.floating-whatsapp-icon svg { width: 30px; height: 30px; fill: currentColor; }
.floating-whatsapp-copy { display: grid; line-height: 1.05; }
.floating-whatsapp-copy small { margin-bottom: 5px; font-size: .62rem; font-weight: 700; opacity: .7; }
.floating-whatsapp-copy strong { font-size: .78rem; font-weight: 900; }
.floating-whatsapp-arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.43); font-weight: 900; }



/* Decorative animation layers must never block navigation or WhatsApp actions. */
.hero::before,
.hero-grid-lines,
.hero-glow,
.orbit,
.stage-label,
.stage-monogram,
.signal-strip,
.gallery-section::before,
.gallery-glow,
.corporate-grid,
.corporate-orb,
.footer-glow,
.category-shine { pointer-events: none; }
.button,
.header-cta,
.whatsapp-action,
.category-action,
.text-arrow,
.floating-whatsapp { position: relative; z-index: 30; pointer-events: auto; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s cubic-bezier(.2,.8,.2,1), transform .85s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

.entry-shell { width: min(920px, calc(100% - 48px)); margin: 140px auto 80px; }
.entry-shell h1 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.06em; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate3d(20px,-25px,0) scale(1.08); } }
@keyframes float { 0%,100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214,182,117,.5); } 70% { box-shadow: 0 0 0 10px rgba(214,182,117,0); } 100% { box-shadow: 0 0 0 0 rgba(214,182,117,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .primary-nav { gap: 20px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 180px; }
  .hero-copy { max-width: 820px; }
  .hero-stage { width: min(680px, 100%); margin: -20px auto 40px; }
  .category-card-premium { grid-column: span 6 !important; }
  .instagram-mosaic { grid-template-columns: repeat(2, 1fr); }
  .process-layout, .about-layout, .faq-layout, .order-card { gap: 55px; }
}

@media (max-width: 900px) {
  .site-header { padding-inline: 14px; }
  .header-shell { grid-template-columns: auto auto; justify-content: space-between; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; inset: 92px 14px auto; display: grid; gap: 0; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(20,9,18,.96); backdrop-filter: blur(24px); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav a { padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .section { padding: 96px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .process-layout, .about-layout, .faq-layout, .order-card, .corporate-card { grid-template-columns: 1fr; }
  .process-copy, .faq-heading { position: static; }
  .corporate-card, .order-card { padding: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1240px); }
  .site-header { padding: 10px; }
  .header-shell { min-height: 82px; padding-left: 16px; }
  .brand { min-width: 0; }
  .brand img { width: 150px; height: 70px; }
  .hero { min-height: auto; padding: 140px 0 100px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .hero-proof { grid-template-columns: 1fr; gap: 0; }
  .hero-proof div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-stage { min-height: 540px; margin-top: 10px; }
  .orbit-one { width: 480px; height: 480px; right: -130px; }
  .orbit-two { width: 330px; height: 330px; right: -20px; }
  .instagram-device { width: 265px; height: 430px; }
  .device-back { left: -55px; right: auto; top: 60px; }
  .device-front { right: -10px; top: 74px; }
  .stage-label-one { left: 0; top: 24px; }
  .stage-label-two { right: 0; bottom: 20px; }
  .stage-monogram { left: 8px; bottom: 36px; width: 78px; height: 78px; border-radius: 24px; }
  .section { padding: 78px 0; }
  .section-intro h2, .process-copy h2, .about-copy h2, .faq-heading h2, .order-copy h2, .corporate-copy h2 { font-size: clamp(2.6rem, 12vw, 4.2rem); }
  .category-grid-premium, .instagram-mosaic { grid-template-columns: 1fr; }
  .category-card-premium { grid-column: 1 !important; min-height: 540px; }
  .category-details-premium { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .category-action-premium { width: 100%; }
  .instagram-embed-wrap { height: 500px; }
  .corporate-card, .order-card { padding: 32px 22px; border-radius: 28px; }
  .about-visual { min-height: 430px; }
  .about-ring-one { width: 360px; height: 360px; }
  .about-ring-two { width: 230px; height: 230px; }
  .founder-chip-one { right: 16px; top: 45px; }
  .founder-chip-two { left: 16px; bottom: 55px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  body { padding-bottom: 86px; }
  .floating-whatsapp { left: 14px !important; right: 14px !important; bottom: max(12px, env(safe-area-inset-bottom)) !important; grid-template-columns: auto 1fr auto; min-height: 66px; }
  .floating-whatsapp-copy { display: grid; }
}


@media (max-width: 820px) {
  .category-grid-premium { grid-template-columns: 1fr; }
  .category-card-premium { grid-column: 1 !important; min-height: 560px; }
  .category-note { grid-template-columns: auto 1fr; }
  .category-note .text-arrow { grid-column: 1 / -1; justify-content: center; padding-top: 12px; border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Interaction hardening for cached optimisation plugins and transformed reveal cards. */
.js .category-card-premium.reveal.is-visible:hover,
.js .category-card-premium.reveal.is-visible:focus-visible { transform: translateY(-10px); }
#contrivers-whatsapp-float { position: fixed !important; z-index: 2147483000 !important; display: grid !important; }


/* V5 brand system: The Contrivers official colour #670626 with neutral cream surfaces. */
:root {
  --dark: #2a020f;
  --dark-2: #3a0315;
  --berry: #670626;
  --berry-soft: #8c2447;
  --gold: #e2c5b4;
  --cream: #fff6f1;
  --paper: #fffaf7;
  --ink: #260711;
  --muted: #76656b;
  --line: rgba(103, 6, 38, .16);
}

body { background: var(--paper); }
.site-header .header-shell,
.site-header.is-scrolled .header-shell { background: rgba(42, 2, 15, .94); }
.primary-nav a::after { background: #fff; }
.header-cta i { background: var(--berry); }

.hero { background: var(--berry); }
.hero::before {
  background-image: none;
  opacity: 1;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-grid-lines,
.hero-glow { display: none; }
.hero-kicker,
.stage-label { background: rgba(42, 2, 15, .34); }
.pulse-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
.hero h1 em,
h2 em { color: #f2d9cd; }
.hero .button-primary { background: #fff; color: var(--berry); box-shadow: 0 18px 45px rgba(42,2,15,.22); }
.hero .button-primary:hover { background: var(--cream); box-shadow: 0 22px 54px rgba(42,2,15,.28); }
.button-primary { background: var(--berry); color: #fff; box-shadow: 0 16px 42px rgba(103,6,38,.25); }
.button-primary:hover { background: #7b1237; box-shadow: 0 22px 52px rgba(103,6,38,.32); }
.instagram-device { background: rgba(255,255,255,.18); }
.orbit { border-color: rgba(255,255,255,.24); }
.orbit::after { background: #fff; box-shadow: 0 0 18px rgba(255,255,255,.65); }
.stage-monogram { border-color: rgba(255,255,255,.26); color: #fff; }
.signal-track i { color: #fff; }

.category-section { background: #fff7f3; }
.category-ambient { display: none; }
.category-card-premium { background: var(--dark); border-color: rgba(103,6,38,.10); box-shadow: 0 24px 70px rgba(103,6,38,.13); }
.category-card-premium::before { background: rgba(26, 0, 9, .64); clip-path: inset(42% 0 0 0); }
.category-card-premium::after { display: none; }
.category-card-premium:hover,
.category-card-premium:focus-visible { border-color: rgba(103,6,38,.5); box-shadow: 0 38px 95px rgba(103,6,38,.22); }
.category-media-vignette { background: rgba(103,6,38,.06); }
.category-number,
.category-icon-premium { background: rgba(42,2,15,.72); border-color: rgba(255,255,255,.28); }
.category-details-premium { background: rgba(42,2,15,.86); }
.category-tag { color: #f2d9cd; }
.category-action-premium i { background: var(--berry); }
.category-note { background: #fff; border-color: rgba(103,6,38,.14); }
.category-note-mark { background: rgba(103,6,38,.08); }

.gallery-section { background: var(--dark); }
.gallery-section::before,
.gallery-glow { display: none; }
.gallery-filters button:hover,
.gallery-filters button.is-active { background: #fff; border-color: #fff; color: var(--berry); }

.corporate-card { background: var(--berry); }
.corporate-grid,
.corporate-orb { display: none; }
.quote-node { background: rgba(42,2,15,.32); }
.about-visual { background: #f7ebe5; }
.order-card { background: #f7ebe5; }
.order-form { background: #fff; }
.site-footer { background: var(--dark); }
.footer-glow { display: none; }
.footer-instagram,
.footer-links a:hover,
.footer-contact a:hover { color: #f2d9cd; }

.floating-whatsapp { background: #25d366; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Contrast refinements for solid-brand sections. */
h2 em { color: var(--berry); }
.hero h1 em,
.gallery-section h2 em,
.corporate-card h2 em { color: #f2d9cd; }
.category-card-premium::before { inset: auto 0 0; height: 58%; clip-path: none; }
