/* ==========================================================================
   Aurelix.co inc — Design tokens
   Palette: antique gold on ink, engraved-seal motif (echoes the coin + laurel
   mark). Display serif for headings, clean grotesk for body, mono for
   utility labels (nods to the "software" side of the brand).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #0b0b0d;
  --ink-2: #131316;
  --charcoal: #1b1b1f;
  --hairline: #35342c;
  --gold: #c9a227;
  --gold-bright: #e8c766;
  --gold-dim: #8a7220;
  --silver: #b9bbc0;
  --paper: #f1efea;
  --paper-dim: #a9a7a0;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--paper);
}

p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--paper);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  color: var(--silver);
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--paper);
}

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--paper);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Seal motif (signature element) ---------- */
/* A ticked circular ring, echoing the medallion in the mark. Used as a
   watermark, a divider, and a decorative bullet — never the literal logo. */

.seal {
  --size: 460px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  position: relative;
  opacity: 0.9;
}

.seal svg { width: 100%; height: 100%; }

.seal-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  position: relative;
  flex-shrink: 0;
}

.seal-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--hairline);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: 110px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-watermark::before {
  content: '';
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14), transparent 70%);
  z-index: -1;
}

.hero-watermark img {
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(circle, black 45%, transparent 78%);
  mask-image: radial-gradient(circle, black 45%, transparent 78%);
  opacity: 0.92;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  margin-top: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero-sub {
  margin-top: 24px;
  font-size: 20px;
  color: var(--silver);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--hairline);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

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

section { padding: 96px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(36px, 4.4vw, 52px);
  margin-top: 16px;
}

.section-head p {
  margin-top: 18px;
  color: var(--silver);
  font-size: 19px;
}

.divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ---------- Cards / plates ---------- */

.plate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.plate {
  background: var(--ink-2);
  padding: 52px 40px;
  border: 1px solid transparent;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plate:hover {
  background: var(--charcoal);
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 162, 39, 0.08);
}

.plate .seal-mark { margin-bottom: 20px; }

.plate .plate-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
}

.plate h3 {
  font-size: 25px;
  margin-top: 16px;
}

.plate p {
  margin-top: 14px;
  color: var(--silver);
  font-size: 17.5px;
}

/* ---------- Two column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.stat-plaque {
  border: 1px solid var(--hairline);
  padding: 36px;
  background: var(--ink-2);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.stat-row:last-child { border-bottom: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-bright);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.values-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.values-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--silver);
}

.values-list strong {
  color: var(--paper);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* ---------- Office cards (contact) ---------- */

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

.office-card {
  border: 1px solid var(--hairline);
  padding: 32px;
  background: var(--ink-2);
}

.office-card .eyebrow { margin-bottom: 18px; }

.office-card address {
  font-style: normal;
  color: var(--silver);
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  color: var(--paper);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--paper-dim);
}

/* ---------- CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--ink-2);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 64px;
  padding-bottom: 64px;
}

.cta-band h2 { font-size: clamp(26px, 3vw, 34px); }

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

.site-footer {
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px;
}

.footer-brand img { width: 30px; height: 30px; border-radius: 50%; }

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--silver);
}

.footer-links a:hover { color: var(--gold-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Trust bar ---------- */

.trust-bar {
  border-bottom: 1px solid var(--hairline);
  padding: 34px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-bar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  white-space: nowrap;
}

.trust-bar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.trust-bar-items span {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--silver);
  letter-spacing: 0.02em;
}

/* ---------- Checklist (Why Aurelix) ---------- */

.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--paper);
  font-size: 21px;
}

.check-list .check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 15px;
  margin-top: 1px;
}

/* ---------- Subtle scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Process (How We Work) ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  position: relative;
  padding-top: 28px;
}

.process-step .step-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold-dim);
  line-height: 1;
}

.process-step h3 {
  font-size: 19px;
  margin-top: 18px;
}

.process-step p {
  margin-top: 10px;
  color: var(--silver);
  font-size: 16.5px;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(100% + 16px);
  width: calc(32px - 16px);
  height: 1px;
  background: var(--hairline);
  display: none;
}

@media (min-width: 861px) {
  .process-step:not(:last-child)::after { display: block; }
}

/* ---------- Stats bar ---------- */

.stats-bar {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--ink-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 0;
}

.stats-grid .stat-item {
  text-align: center;
}

.stats-grid .stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 40px);
  color: var(--gold-bright);
  display: block;
}

.stats-grid .stat-item .stat-caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin: 0 0 14px;
  font-weight: 500;
}

.footer-col address,
.footer-col p {
  font-style: normal;
  color: var(--silver);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 12px;
}

.footer-col a:hover { color: var(--gold-bright); }

@media (max-width: 860px) {
  .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 1300px) and (min-width: 861px) {
  .hero-watermark {
    right: 20px;
    --size: 360px;
  }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    padding: 20px 32px 28px;
    gap: 18px;
  }

  .hero .container,
  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero { padding: 90px 0 60px; text-align: left; }
  .hero-watermark { display: none; }

  .plate-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }

  section { padding: 64px 0; }
  .nav { padding: 16px 20px; }
  .container { padding: 0 20px; }
}
