:root {
  --bg:        #0A0A0A;
  --bg2:       #121010;
  --bg3:       #181414;
  --surface:   #1A1414;
  --border:    #332626;
  --blue:      #A05858;
  --green:     #D9A8A8;
  --glow-blue: rgba(139,79,79,0.22);
  --glow-green:rgba(217,168,168,0.14);
  --text:      #F5EFEF;
  --muted:     #A89292;
  --dim:       #5C4848;
  --radius:    6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(139,79,79,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,79,79,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none; z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6%;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; letter-spacing: 0.02em;
  color: var(--text); text-decoration: none; cursor: pointer;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo img { height: 36px; width: 36px; border-radius: 6px; object-fit: cover; }
.nav-logo span { color: var(--green); }

.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; cursor: pointer;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--blue); color: var(--green);
  background: transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--blue); color: #fff; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2); border-top: 1px solid var(--border);
    padding: 1.5rem 6%; gap: 1rem;
  }
}


/* ── HERO ── */
#home-hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 6% 80px;
  overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
}
.orb-blue  { width: 520px; height: 520px; top: -80px; right: -60px; background: rgba(139,79,79,0.16); }
.orb-green { width: 360px; height: 360px; bottom: 80px; left: 10%; background: rgba(217,168,168,0.08); }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 700; color: var(--green);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1.2rem; position: relative; z-index: 1;
}
.eyebrow::before { content: '//  '; opacity: 0.5; }

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 900; line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 780px; position: relative; z-index: 1;
}
h1 .accent-blue  { color: var(--blue); }
h1 .accent-green { color: var(--green); }

.hero-sub {
  margin-top: 1.4rem; font-size: 1.05rem; color: var(--muted);
  font-weight: 300;
  max-width: 520px; position: relative; z-index: 1;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; position: relative; z-index: 1; }

.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 32px;
  background: linear-gradient(135deg, #6B3535, var(--blue));
  color: #fff; border: none; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 32px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.stat-val { font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; font-weight: 900; color: var(--blue); }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; padding: 90px 6%; }

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.01em; line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-lead { font-size: 1rem; color: var(--muted); font-weight: 300; max-width: 560px; margin-bottom: 3rem; }

/* ── DIVISION CARDS (home) ── */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.division-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.division-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.division-card.green-accent:hover { border-color: var(--green); }

.card-icon {
  width: 46px; height: 46px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.2rem;
  background: var(--glow-blue);
}
.green-accent .card-icon { background: var(--glow-green); }
.card-icon.logo { width: auto; padding: 0; background: #fff; overflow: hidden; }
.card-icon.logo img { height: 46px; width: auto; display: block; border-radius: 8px; }

.card-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 0.4rem;
}
.green-accent .card-brand { color: var(--green); }

.card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.6rem; }
.card-desc { font-size: 0.88rem; color: var(--muted); font-weight: 300; line-height: 1.6; }

.card-link {
  display: inline-block; margin-top: 1.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue);
}
.green-accent .card-link { color: var(--green); }

/* ── CATALOG PAGES ── */
.catalog-hero {
  padding: 150px 6% 60px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.catalog-hero .hero-orb { opacity: 0.7; }

.breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.4rem; position: relative; z-index: 1;
}
.breadcrumb a { color: var(--muted); text-decoration: none; cursor: pointer; }
.breadcrumb a:hover { color: var(--green); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--blue); transform: translateY(-4px); }

/* Product image slot — swap the inner SVG for <img src="..." alt="..."/>
   and add class "photo full" to .product-img when using a photograph. */
.product-img {
  height: 190px;
  background:
    radial-gradient(circle at 30% 30%, rgba(139,79,79,0.18), transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(217,168,168,0.08), transparent 55%),
    var(--bg3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.product-img.photo { background: #fff; }
.product-img.photo img { z-index: 2; background: #fff; object-fit: contain; padding: 10px; }
.product-img.photo.full img { object-fit: cover; padding: 0; }
.product-img .ph-icon { font-size: 2.6rem; opacity: 1; }
.product-img .ph-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; color: var(--green); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.product-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }

.product-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--green); text-transform: uppercase; margin-bottom: 0.4rem;
}
.product-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.5rem; line-height: 1.1; }
.product-desc { font-size: 0.84rem; color: var(--muted); font-weight: 300; line-height: 1.55; flex: 1; }

.product-cta {
  margin-top: 1.1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue); text-decoration: none; cursor: pointer;
}
.product-cta:hover { color: var(--green); }

.tag-row { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.9rem; }
.tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 3px 9px; border-radius: 3px;
  border: 1px solid var(--border); color: var(--dim);
  text-transform: uppercase;
}

/* brand intro band on catalog pages */
.brand-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem 2rem;
  margin-bottom: 3rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
  flex-wrap: wrap;
}
.brand-band .b-icon {
  width: 52px; height: 52px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: var(--glow-blue);
}
.b-icon.logo { width: auto; background: #fff; padding: 0; overflow: hidden; flex-shrink: 0; }
.b-icon.logo img { height: 44px; width: auto; display: block; border-radius: 8px; }
.brand-band p { font-size: 0.9rem; color: var(--muted); font-weight: 300; max-width: 720px; }
.brand-band strong { color: var(--text); font-weight: 600; }

/* ── WHY ── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; max-width: 900px;
}
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

.why-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.why-num { font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--green); padding-top: 3px; min-width: 28px; }
.why-item h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.35rem; }
.why-item p { font-size: 0.85rem; color: var(--muted); font-weight: 300; }

/* ── CONTACT ── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: start;
}
@media (max-width: 768px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.6rem; }
.contact-info p { font-size: 0.9rem; color: var(--muted); font-weight: 300; margin-bottom: 1.8rem; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.contact-detail .label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--green); min-width: 56px; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}
input, select, textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  color: var(--text); font-family: 'Barlow', sans-serif; font-size: 0.9rem;
  outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(139,79,79,0.18); }
select option { background: var(--bg3); }
textarea { resize: vertical; min-height: 110px; }

.form-submit {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: linear-gradient(135deg, #6B3535, var(--blue));
  color: #fff; border: none; border-radius: var(--radius);
  cursor: pointer; align-self: flex-start;
  transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.form-note { font-size: 0.78rem; color: var(--dim); margin-top: 0.25rem; }

.form-success {
  display: none;
  background: rgba(217,168,168,0.08);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  color: var(--green); font-size: 0.9rem; margin-top: 1rem;
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 2.5rem 6%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 28px; width: 28px; border-radius: 5px; object-fit: cover; }
.footer-logo span { color: var(--green); }
.footer-copy { font-size: 0.8rem; color: var(--dim); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }

.section-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

.bg-alt { background: var(--bg2); }

.cat-head { margin-top: 3.5rem; margin-bottom: 1.6rem; }
.cat-head h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0; margin-bottom: 0.4rem;
}
.cat-head p { font-size: 0.9rem; color: var(--muted); font-weight: 300; max-width: 600px; }

/* ── FOCUS / MOTION ── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .division-card:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* ── WORK BAND ── */
.work-band { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 820px) { .work-band { grid-template-columns: 1fr; gap: 2rem; } }
.work-shot { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg3); }
.work-shot img { display: block; width: 100%; height: auto; }
.work-cap { font-size: 0.78rem; color: var(--dim); padding: 0.7rem 1rem; border-top: 1px solid var(--border); }
.work-band h2 { margin-bottom: 1rem; }
.work-band p { font-size: 0.95rem; color: var(--muted); font-weight: 300; margin-bottom: 1rem; max-width: 46ch; }
.work-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; }
.work-list li {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px;
  border: 1px solid var(--border); border-radius: 3px; color: var(--muted);
}

/* ── FORM STATES ── */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  display: none; margin-top: 1rem; padding: 0.9rem 1rem;
  border: 1px solid #7A3B3B; border-radius: 6px;
  background: rgba(122, 59, 59, 0.12); color: #E3BDBD;
  font-size: 0.85rem; font-weight: 300; line-height: 1.5;
}
.form-error a { color: var(--green); text-decoration: underline; }
.form-submit:disabled { cursor: not-allowed; }

/* ── PORTFOLIO STRIP ── */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.shot { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg3); }
.shot img { display: block; width: 100%; height: 180px; object-fit: cover; }
.shot p { font-size: 0.8rem; color: var(--muted); font-weight: 300; padding: 0.75rem 1rem; border-top: 1px solid var(--border); }

/* ── PROCESS STEPS ── */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; position: relative;
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--green); display: block; margin-bottom: 0.7rem;
}
.step h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.4rem; }
.step p { font-size: 0.85rem; color: var(--muted); font-weight: 300; }

/* ── LOGO (AIM Signs & Branding) ── */
.nav-logo .logo-text, .footer-logo .logo-text { display: flex; flex-direction: column; line-height: 0.95; color: var(--text); }
.nav-logo .logo-text .logo-name, .footer-logo .logo-text .logo-name { color: var(--text); white-space: nowrap; }
.nav-logo .logo-text .logo-name span, .footer-logo .logo-text .logo-name span { color: var(--green); }
.logo-text small { font-size: 0.5em; font-weight: 600; letter-spacing: 0.22em; color: var(--muted); margin-top: 3px; }
.footer-logo .logo-text small { font-size: 0.55em; }
@media (max-width: 420px) { .nav-logo { font-size: 1.25rem; gap: 9px; } .nav-cta { padding-left: 0.8rem; padding-right: 0.8rem; font-size: 0.8rem; } }
.contact-detail a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--border); }

/* ── MOBILE: stop sideways scrolling, let footer links wrap ── */
html { overflow-x: hidden; }
.footer-links { flex-wrap: wrap; row-gap: 0.6rem; }

/* ── LINK CARDS (multi-page) ── */
a.division-card { display: block; color: inherit; text-decoration: none; }
.page { position: relative; z-index: 1; }
a.btn-primary, a.btn-ghost, a.nav-cta, a.nav-logo, a.product-cta, a.card-link, .nav-links a { text-decoration: none; }

