/*
Theme Name: Autonomous Networks Luxury
Theme URI: https://autonomousnetworks.co.uk
Author: Autonomous Networks Digital Architecture
Author URI: https://autonomousnetworks.co.uk
Description: Bespoke luxury technology integration WordPress theme for Autonomous Networks (https://autonomousnetworks.co.uk). Fully responsive across mobile (320px+), tablet (768px+), and desktop (1440px+) viewports with built-in interactive scene simulation, scope estimator, and native lead capture.
Version: 3.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: autonomous-networks
*/

:root {
  --an-bg: #0B0C0E;
  --an-surface: #12151B;
  --an-surface-elevated: #161A22;
  --an-border: rgba(244, 241, 234, 0.1);
  --an-text: #F4F1EA;
  --an-muted: rgba(244, 241, 234, 0.7);
  --an-accent: #C5A059;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  background-color: var(--an-bg);
  color: var(--an-text);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--an-bg);
  color: var(--an-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
  text-wrap: balance;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Fluid Responsive Container */
.an-container {
  width: 100%;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .an-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Touch Target & Mobile Conversion Enforcement */
button,
a.an-touch-target,
input,
select,
textarea {
  min-height: 44px;
}

input[type="range"] {
  min-height: auto;
}

/* WordPress Core Alignment & Gutenberg Responsiveness */
.alignwide {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

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