/* Aureval Computers & IT Solutions — site stylesheet
   Design source: Claude Design export (Aureval Homepage Final.dc.html,
   Category Page - Networking and Cabling.dc.html). Plain CSS, no build step.
   Fonts (Cormorant Garamond, Lora) are loaded via <link> in each page's
   <head> with preconnect, not @import, to avoid an extra render-blocking
   round trip. */

:root {
  --color-bg: #FAF8F4;
  --color-surface: #F3EFE8;
  --color-text: #1A1A18;
  --color-text-alt: #3A3A36;
  --color-muted: #6B6A63;
  --color-nav: #4A4A45;
  --color-accent: #DE5F04;
  --color-accent-dark: #9A4001;
  --color-accent-2: #359989;
  --color-accent-2-dark: #24705F;
  --color-heading: #1F6B5E;
  --color-divider: #DCD6C9;
  --color-footer-bg: #1F6B5E;
  --color-footer-label: #FBD9BC;
  --color-on-accent: #FFF7F0;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;

  --fs-hero: clamp(2.35rem, 1.55rem + 3.5vw, 4.125rem);
  --fs-h1: clamp(2.15rem, 1.5rem + 2.8vw, 3.625rem);
  --fs-h2: clamp(1.85rem, 1.5rem + 1.6vw, 2.625rem);
  --fs-h2-sm: clamp(1.6rem, 1.35rem + 1.1vw, 2.25rem);
  --fs-h3: clamp(1.35rem, 1.2rem + 0.7vw, 1.6875rem);

  --content-max: 1280px;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text-alt);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.1;
}

p { margin: 0; }

a {
  color: var(--color-accent-2-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 153, 137, 0.5);
}
a:hover { color: var(--color-accent-dark); border-bottom-color: var(--color-accent); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-accent); color: var(--color-on-accent);
  padding: 12px 20px; font-family: var(--font-body); font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 2px; }

/* ── layout ─────────────────────────────────────────────────────────── */
.site { background: var(--color-bg); min-height: 100vh; }
.wrap { max-width: var(--content-max); margin: 0 auto; }

.section { padding: 74px 48px 66px; }
.section-tight { padding: 56px 48px; }
.section-surface { background: var(--color-surface); border-top: 1px solid var(--color-divider); }
.section-bordered { border-top: 1px solid var(--color-divider); }

@media (max-width: 860px) {
  .section { padding: 44px 20px 40px; }
  .section-tight { padding: 36px 20px; }
}

.eyebrow {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-accent-dark);
}
.callout {
  margin: 0; max-width: 900px; font-size: 14px; line-height: 1.85;
  color: var(--color-text-alt); padding-left: 16px;
  border-left: 2px solid var(--color-accent-2);
}
.justify { text-align: justify; hyphens: auto; }

.plate {
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
  box-sizing: border-box; border: 6px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
}

/* ── buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 15px; letter-spacing: 0.05em;
  padding: 15px 30px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); border-color: var(--color-accent); }
.btn-primary:hover { background: #c85300; border-color: #c85300; color: var(--color-on-accent); }
.btn-secondary { border-color: rgba(53, 153, 137, 0.6); color: var(--color-accent-2-dark); background: transparent; }
.btn-secondary:hover { background: rgba(53, 153, 137, 0.08); color: var(--color-accent-2-dark); border-color: var(--color-accent-2); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ── header / nav ───────────────────────────────────────────────────── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; border-bottom: 1px solid var(--color-divider);
}
.site-logo { height: 44px; display: block; }
.site-logo img { height: 100%; width: auto; }

.nav {
  display: flex; align-items: center; gap: 32px;
  font-family: var(--font-body); font-size: 14px; color: var(--color-nav);
}
.nav a.nav-link {
  color: var(--color-nav); border: none; padding-bottom: 2px; white-space: nowrap;
}
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] {
  color: var(--color-text); border-bottom: 1px solid var(--color-accent);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--color-heading); display: block; }

@media (max-width: 860px) {
  .site-header { padding: 14px 20px; }
  .site-logo { height: 30px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); height: 100vh;
    background: var(--color-bg); flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 84px 24px 24px; border-left: 1px solid var(--color-divider);
    transform: translateX(100%); transition: transform 0.25s ease; z-index: 20;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a.nav-link { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--color-divider) !important; }
  .nav .btn { width: 100%; margin-top: 12px; }
  .nav-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(26,26,24,0.4); z-index: 15;
  }
  .nav-backdrop.is-open { display: block; }
}

/* ── breadcrumb ─────────────────────────────────────────────────────── */
.breadcrumb {
  padding: 16px 48px; border-bottom: 1px solid var(--color-divider);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-muted);
}
.breadcrumb a { border: none; color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent-dark); }
.breadcrumb .current { color: var(--color-accent-dark); }
@media (max-width: 860px) { .breadcrumb { padding: 14px 20px; } }

/* ── hero (home) ────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr;
  border-bottom: 1px solid var(--color-divider);
}
.hero-copy {
  padding: 76px 56px 60px 48px; display: flex; flex-direction: column; gap: 28px;
  border-right: 1px solid var(--color-divider);
}
.hero-copy h1 { font-size: var(--fs-hero); color: var(--color-heading); text-wrap: balance; }
.hero-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  padding-top: 8px; border-top: 1px solid var(--color-divider);
}
.hero-intro p { font-size: 14.5px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; flex-wrap: wrap; }
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

.fact-sheet {
  padding: 44px 48px 44px 44px; display: flex; flex-direction: column;
  justify-content: center; background: var(--color-surface);
}
.fact-sheet .eyebrow { padding-bottom: 14px; border-bottom: 1px solid var(--color-divider); letter-spacing: 0.24em; }
.fact-row {
  display: flex; justify-content: space-between; gap: 20px; padding: 15px 0;
  border-bottom: 1px solid var(--color-divider);
}
.fact-row:last-child { border-bottom: none; }
.fact-row .label { font-size: 13px; color: var(--color-muted); }
.fact-row .value {
  font-family: var(--font-heading); font-size: 17px; color: var(--color-text);
  text-align: right; font-feature-settings: 'tnum'; white-space: nowrap;
}
.fact-row .value.accent { color: var(--color-accent-2-dark); }

.hero-image { padding: 40px 48px 0; }
.hero-image .plate { width: 100%; aspect-ratio: 4 / 3; max-height: 520px; }
.hero-image img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  .hero, .hero-intro { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 20px 30px; border-right: none; border-bottom: 1px solid var(--color-divider); }
  .fact-sheet { padding: 26px 20px 30px; }
  .hero-image { padding: 24px 20px 0; }
  .hero-image .plate { aspect-ratio: 1 / 1; max-height: none; }
  .fact-row .value { white-space: normal; }
}

/* ── category hero ──────────────────────────────────────────────────── */
.cat-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; border-bottom: 1px solid var(--color-divider);
}
.cat-hero-copy {
  padding: 64px 56px 56px 48px; display: flex; flex-direction: column; gap: 24px;
  border-right: 1px solid var(--color-divider);
}
.cat-hero-copy .line-no { font-family: var(--font-heading); font-size: 17px; color: var(--color-accent); font-feature-settings: 'tnum'; }
.cat-hero-copy h1 { font-size: var(--fs-h1); color: var(--color-heading); text-wrap: balance; }
.cat-hero-copy > p:not(.callout) { font-size: 16.5px; line-height: 1.85; }
.cat-hero-image { padding: 40px 48px 40px 44px; background: var(--color-surface); display: flex; align-items: center; }
.cat-hero-image .plate { width: 100%; aspect-ratio: 1 / 1; }
.cat-hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero-copy { padding: 34px 20px 30px; border-right: none; border-bottom: 1px solid var(--color-divider); }
  .cat-hero-image { padding: 24px 20px; }
}

/* ── supply lines (home grid of cards) ─────────────────────────────── */
.section-heading-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.section-heading-row h2 { font-size: var(--fs-h2); color: var(--color-heading); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 540px) { .card-grid { grid-template-columns: 1fr; } }

.line-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border: 1px solid var(--color-divider); border-radius: 4px; color: inherit;
}
a.line-card { border: 1px solid var(--color-divider); }
a.line-card:hover { border-color: var(--color-accent-2); }
.line-card .plate { width: 100%; aspect-ratio: 1 / 1; }
.line-card img { width: 100%; height: 100%; object-fit: cover; }
.line-card .card-kicker { font-family: var(--font-heading); font-size: 13px; color: var(--color-accent); font-feature-settings: 'tnum'; }
.line-card .card-title { font-family: var(--font-heading); font-size: 25px; color: var(--color-text); }
.line-card .card-body { font-family: var(--font-body); font-size: 14px; line-height: 1.75; color: var(--color-muted); }

/* ── how it works ───────────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--color-divider);
}
.step { padding: 26px 28px; border-right: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 10px; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; padding-right: 0; }
.step .step-no { font-family: var(--font-heading); font-size: 15px; color: var(--color-accent-dark); font-feature-settings: 'tnum'; }
.step h3 { font-size: 25px; }
.step p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.75; color: var(--color-muted); }

.process-image {
  background: var(--color-bg); margin: 14px -48px 6px; padding: 30px 48px;
  border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider);
}

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { padding: 18px 16px; border-bottom: 1px solid var(--color-divider); }
  .step:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--color-divider); }
  .step:nth-child(even) { padding-right: 0; border-right: none; }
  .process-image { margin: 6px -20px 0; padding: 20px 20px; }
}

/* ── why aureval ────────────────────────────────────────────────────── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.two-col.align-start { align-items: start; }
.about-block.two-col { grid-template-columns: 0.8fr 1.2fr; }
.quoted-block.two-col { grid-template-columns: 0.75fr 1.25fr; }
@media (max-width: 900px) {
  .two-col, .about-block.two-col, .quoted-block.two-col { grid-template-columns: 1fr; gap: 28px; }
}

.why-list { display: flex; flex-direction: column; border-top: 1px solid var(--color-divider); margin-top: 26px; }
.why-item { padding: 16px 0; border-bottom: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 4px; }
.why-item h3 { font-size: 22px; }
.why-item p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.75; color: var(--color-muted); }

.why-aureval h2, .about-block h2, .quoted-block h2, .contact-block h2 { font-size: var(--fs-h2-sm); color: var(--color-heading); line-height: 1.12; }

/* ── included grid (category pages) ────────────────────────────────── */
.included-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px;
  border-top: 1px solid var(--color-divider); margin-top: 30px;
}
.included-item { padding: 22px 0; border-bottom: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 5px; }
.included-item h3 { font-size: 23px; }
.included-item p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.75; color: var(--color-muted); }
@media (max-width: 700px) { .included-grid { grid-template-columns: 1fr; } }

/* ── quoted panel (category pages) ─────────────────────────────────── */
.quoted-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
  border-top: 1px solid var(--color-divider);
}
.quoted-item { padding: 18px 0; border-bottom: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 4px; }
.quoted-item h3 { font-size: 20px; }
.quoted-item p { font-family: var(--font-body); font-size: 13px; line-height: 1.7; color: var(--color-muted); }
@media (max-width: 700px) { .quoted-grid { grid-template-columns: 1fr; } }

/* ── related lines strip ───────────────────────────────────────────── */
.related-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--color-divider); margin-top: 22px;
}
.related-item {
  border: none; color: inherit; padding: 20px 22px; border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 8px;
}
.related-item:hover .related-title { color: var(--color-accent-dark); }
.related-item:last-child { border-right: none; }
.related-no { font-family: var(--font-heading); font-size: 14px; color: var(--color-accent); font-feature-settings: 'tnum'; }
.related-title { font-family: var(--font-heading); font-size: 21px; color: var(--color-text); }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }

/* ── forms ──────────────────────────────────────────────────────────── */
.form-panel {
  border: 1px solid var(--color-divider); border-radius: 4px; padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-body); }
.field span { font-size: 12px; color: var(--color-muted); }
.input {
  width: 100%; min-height: 40px; padding: 9px 12px; font: inherit; font-size: 14px;
  color: var(--color-text); background: var(--color-bg); border: 1px solid var(--color-divider);
  border-radius: 4px; caret-color: var(--color-accent);
}
.input:hover { border-color: var(--color-muted); }
.input:focus-visible { border-color: var(--color-accent-2); outline-offset: 0; }
textarea.input { min-height: 100px; resize: vertical; font-family: var(--font-body); }

.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-actions .form-note { flex: 1 1 220px; font-family: var(--font-body); font-size: 12.5px; line-height: 1.7; color: var(--color-muted); }

/* ── footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--color-footer-bg); color: var(--color-bg); padding: 48px 48px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { height: 36px; width: auto; align-self: flex-start; }
.footer-label {
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-footer-label);
}
.footer-col address, .footer-col .footer-text {
  font-style: normal; font-family: var(--font-body); font-size: 12.5px; line-height: 1.9; color: var(--color-bg);
}
.footer-note { font-size: 12.5px; font-style: italic; color: var(--color-surface); }
.footer-links { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-body); font-size: 13px; }
.footer-links a, .footer-col a { color: var(--color-bg); border-bottom-color: rgba(250,248,244,0.4); }
.footer-links a:hover, .footer-col a:hover { color: var(--color-footer-label); border-bottom-color: var(--color-footer-label); }
.footer-bottom {
  border-top: 1px solid rgba(250,248,244,0.45); padding-top: 16px; margin-top: 34px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: 11px; color: var(--color-surface);
}
@media (max-width: 900px) {
  .site-footer { padding: 36px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── legal pages ────────────────────────────────────────────────────── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; display: flex; flex-direction: column; gap: 28px; }
.legal-back { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; border: none; }
.legal-page h1 { font-size: var(--fs-h1); color: var(--color-heading); }
.legal-page .dek { font-size: 16px; line-height: 1.9; color: var(--color-text-alt); }
.legal-body { display: flex; flex-direction: column; gap: 22px; font-size: 15px; line-height: 1.85; }
.legal-body h2 { font-size: 20px; color: var(--color-heading); margin-bottom: 4px; }
.legal-body p { margin: 0; }
.legal-updated { font-size: 13px; color: var(--color-muted); font-style: italic; }
@media (max-width: 700px) { .legal-page { padding: 40px 20px 64px; } }

/* ── generic page hero (about / contact) ───────────────────────────── */
.page-hero { padding: 60px 48px 0; }
.page-hero h1 { font-size: var(--fs-h1); color: var(--color-heading); text-wrap: balance; }
.page-hero p { margin-top: 18px; font-size: 16px; line-height: 1.85; max-width: 720px; }
@media (max-width: 860px) { .page-hero { padding: 36px 20px 0; } }

/* ── thank you page ────────────────────────────────────────────────── */
.confirm-page {
  min-height: 60vh; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 18px; padding: 80px 48px; max-width: 640px;
}
.confirm-page h1 { font-size: var(--fs-h1); color: var(--color-heading); }
.confirm-page p { font-size: 16px; line-height: 1.85; }
@media (max-width: 860px) { .confirm-page { padding: 56px 20px; } }
