/* ACTONIM — steel blue + copper (wire & cable trade, Broomfield CO) */
:root {
  --bg: #e9eef3;
  --bg-card: #ffffff;
  --ink: #0c2340;
  --ink-muted: #4a5d73;
  --accent: #0c2340;
  --accent-2: #c45c26;
  --accent-light: #fde8dc;
  --line: rgba(12, 35, 64, 0.12);
  --header-bg: rgba(233, 238, 243, 0.97);
  --footer-bg: #071829;
  --footer-ink: #a8bdd4;
  --shadow: 0 10px 36px rgba(12, 35, 64, 0.11);
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(196, 92, 38, 0.04) 0%, transparent 28%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: #9a4518;
}

/* Header — underline nav */
.acn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--accent-2);
  box-shadow: 0 2px 20px rgba(12, 35, 64, 0.06);
}

.acn-header__inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.acn-logo img {
  height: 40px;
  width: auto;
}

.acn-nav {
  display: flex;
  gap: 2rem;
}

.acn-nav a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.acn-nav a:hover,
.acn-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent-2);
}

.acn-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 0.4rem 0.65rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

.acn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.acn-btn--copper {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 92, 38, 0.35);
}

.acn-btn--copper:hover {
  background: #a34d1f;
  color: #fff;
  transform: translateY(-1px);
}

.acn-btn--ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.acn-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.acn-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(12, 35, 64, 0.25);
}

.acn-btn--primary:hover {
  background: #163456;
  color: #fff;
}

/* Hero — bottom-aligned copy */
.acn-hero {
  position: relative;
  overflow: hidden;
  min-height: min(640px, 85vh);
  background: var(--ink);
}

.acn-hero__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.acn-hero__track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 620ms cubic-bezier(0.4, 0, 0.2, 1);
}

.acn-hero__slide {
  flex: 0 0 33.333%;
  position: relative;
}

.acn-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acn-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 24, 41, 0.92) 0%, rgba(7, 24, 41, 0.35) 45%, rgba(7, 24, 41, 0.55) 100%);
  pointer-events: none;
}

.acn-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.acn-hero__content-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  color: #f0f4f8;
  pointer-events: auto;
}

.acn-hero__panes {
  position: relative;
  min-height: 160px;
}

.acn-hero__pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s, transform 0.45s;
}

.acn-hero__pane.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.acn-kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.2rem 0.65rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(196, 92, 38, 0.2);
  color: #f4c4a8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acn-hero__pane h1,
.acn-hero__pane h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
  line-height: 1.12;
  max-width: 18ch;
}

.acn-lead {
  margin: 0 0 1.35rem;
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  color: #c5d4e4;
  max-width: 46ch;
}

.acn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.acn-hero__prev,
.acn-hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background 0.2s;
}

.acn-hero__prev:hover,
.acn-hero__next:hover {
  background: rgba(196, 92, 38, 0.75);
}

.acn-hero__prev { left: 1rem; }
.acn-hero__next { right: 1rem; }

.acn-hero__dots {
  position: absolute;
  bottom: 1.25rem;
  right: max(1rem, calc((100% - 1160px) / 2 + 1rem));
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.acn-hero__dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.acn-hero__dot.is-active {
  background: var(--accent-2);
  width: 40px;
}

/* Sections */
.acn-container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.acn-section {
  padding: 3.25rem 0;
}

.acn-section--warm {
  background: var(--accent-light);
  border-top: 1px solid rgba(196, 92, 38, 0.15);
  border-bottom: 1px solid rgba(196, 92, 38, 0.15);
}

.acn-section__head {
  margin-bottom: 2rem;
}

.acn-section__head--center {
  text-align: center;
}

.acn-section__head--center .acn-title {
  margin-left: auto;
  margin-right: auto;
}

.acn-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  max-width: 22ch;
}

/* Products — 4-col equal cards with left accent */
.acn-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.acn-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.acn-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.acn-card__body {
  padding: 0.95rem 1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.acn-card__title {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

.acn-card__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* Company intro — image left */
.acn-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.acn-intro__visual img {
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

.acn-intro__text h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.acn-intro__text p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
}

/* Testimonials */
.acn-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.acn-review {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.acn-review::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(196, 92, 38, 0.2);
  font-family: Georgia, serif;
}

.acn-review__head {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.acn-review__avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid rgba(196, 92, 38, 0.3);
}

.acn-review__name {
  font-weight: 700;
  font-size: 0.93rem;
}

.acn-review__role {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.acn-review__stars {
  color: var(--accent-2);
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.acn-review__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Message form split */
.acn-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.acn-split__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.acn-form {
  padding: 2rem;
}

.acn-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.acn-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.acn-field__label {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-muted);
}

.acn-field__input,
.acn-field__textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
}

.acn-field__input:focus,
.acn-field__textarea:focus {
  outline: 2px solid rgba(196, 92, 38, 0.35);
  border-color: var(--accent-2);
}

.acn-form__hint {
  margin: 0.65rem 0 0;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* Footer */
.acn-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  margin-top: 1.5rem;
}

.acn-footer__grid {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0 1.75rem;
}

.acn-footer a {
  color: #d4e0ed;
}

.acn-footer a:hover {
  color: #fff;
}

.acn-footer__logo img {
  height: 38px;
  filter: brightness(1.2);
}

.acn-footer__desc {
  margin: 0.75rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 36ch;
}

.acn-footer__social {
  display: flex;
  gap: 0.6rem;
}

.acn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.acn-social img {
  width: 17px;
  height: 17px;
  filter: invert(0.82);
}

.acn-footer__title {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: #fff;
}

.acn-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acn-footer__list li {
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
}

.acn-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.9rem 0;
  text-align: center;
}

.acn-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.72;
}

/* About page */
.acn-about {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
}

.acn-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.acn-about__grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.acn-about__copy h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
}

.acn-about__copy p {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
}

.acn-about__wide img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 400px;
  object-fit: cover;
}

/* Contact page */
.acn-contact-wrap {
  padding-bottom: 2.75rem;
}

.acn-contact-banner img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.acn-contact-split {
  width: min(1160px, calc(100% - 2rem));
  margin: -2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-card);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.acn-contact-split__media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.acn-contact-card {
  padding: 2rem;
}

.acn-contact-card h2 {
  margin: 0 0 1.1rem;
  font-size: 1.45rem;
}

.acn-contact-card dl {
  margin: 0;
}

.acn-contact-card dl > div {
  margin-bottom: 0.9rem;
}

.acn-contact-card dt {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-2);
  margin-bottom: 0.15rem;
}

.acn-contact-card dd {
  margin: 0;
  color: var(--ink-muted);
}

.acn-contact-note {
  margin: 1.1rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 1024px) {
  .acn-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .acn-header__inner {
    flex-wrap: wrap;
  }

  .acn-nav-toggle {
    display: block;
    margin-left: auto;
  }

  .acn-header__cta {
    display: none;
  }

  .acn-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0 0.75rem;
  }

  .acn-nav.is-open {
    display: flex;
  }

  .acn-hero__prev,
  .acn-hero__next {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .acn-intro,
  .acn-split,
  .acn-contact-split,
  .acn-about__grid {
    grid-template-columns: 1fr;
  }

  .acn-intro__visual {
    order: -1;
  }

  .acn-reviews {
    grid-template-columns: 1fr;
  }

  .acn-form__row {
    grid-template-columns: 1fr;
  }

  .acn-split__media {
    order: -1;
  }

  .acn-contact-split__media {
    order: -1;
  }

  .acn-footer__grid {
    grid-template-columns: 1fr;
  }

  .acn-hero__dots {
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .acn-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acn-hero__track,
  .acn-hero__pane {
    transition: none;
  }
}
