/*
Theme Name: Wraply
Theme URI: https://wraply.co.za
Author: Wraply
Author URI: https://wraply.co.za
Description: Bespoke cinematic one-page theme for Wraply — a South African packaging reseller. Features a 21.dev-calibre scroll-driven Three.js pallet wrap hero, WooCommerce support, GEO/SEO schema, and a clean conversion-focused layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wraply
*/

/* =========================================================================
   DESIGN TOKENS
   ========================================================================= */
:root {
  --ink:        #0B0B0F;   /* near-black — headings, dark sections */
  --accent:     #4F46E5;   /* indigo — CTAs, links, highlights */
  --accent-lt:  #818CF8;   /* light indigo — dark bg use */
  --surface:    #F8F8FA;   /* off-white — section backgrounds */
  --white:      #FFFFFF;
  --mid:        #6B7280;   /* body text, captions */
  --border:     #E5E7EB;   /* dividers, card borders */
  --gold:       #C8963E;   /* premium accent — badge, trust signals */
  --green:      #25D366;   /* whatsapp */
  --green-ok:   #22C55E;   /* success */
  --wrap-film:  rgba(200, 220, 255, 0.15);

  --container: 1180px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   RESET
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
ul { list-style: none; padding: 0; }

/* Focus states — accessibility */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
