/* LAN Communications — lancommusa.com
   Palette from the trade: conduit ink, Cat6 jacket blue, single-mode yellow,
   the T568B pair colors, and the 12-strand fiber color code. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo.woff2") format("woff2-variations"), url("/fonts/archivo.woff2") format("woff2");
}
:root {
  --ink: #16202a;
  --ink-2: #22303c;
  --paper: #f3f5f6;
  --white: #ffffff;
  --line: #d3dadf;
  --muted: #5a6975;
  --jacket: #1d5aa6;
  --jacket-dark: #164a8a;
  --signal: #f4c21b;
  --signal-dark: #d9a90a;
  --pair-0: #e8772e; /* orange */
  --pair-1: #2e9b4f; /* green */
  --pair-2: #1d5aa6; /* blue */
  --pair-3: #8b5a2b; /* brown */
  --wrap: 1200px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-variation-settings: "wdth" 100; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jacket); text-underline-offset: 3px; }
a:hover { color: var(--jacket-dark); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--signal); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.08; }

/* Fiber color code: 12 strands */
.fiber { display: flex; height: 5px; }
.fiber i { flex: 1; }
.fiber i:nth-child(1) { background: #1f5fbf; } .fiber i:nth-child(2) { background: #f07f1a; }
.fiber i:nth-child(3) { background: #2e9e4a; } .fiber i:nth-child(4) { background: #8a5a2b; }
.fiber i:nth-child(5) { background: #7a8791; } .fiber i:nth-child(6) { background: #eef1f3; }
.fiber i:nth-child(7) { background: #d63a2f; } .fiber i:nth-child(8) { background: #0d1318; }
.fiber i:nth-child(9) { background: #f4c21b; } .fiber i:nth-child(10) { background: #7b4fb3; }
.fiber i:nth-child(11) { background: #e58fb0; } .fiber i:nth-child(12) { background: #1fa6a0; }

/* Masthead */
.masthead { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--white); margin-right: auto; line-height: 1.05; }
.brand:hover { color: var(--white); }
.brand-name { font-weight: 800; font-size: 1.45rem; font-variation-settings: "wdth" 75; letter-spacing: .01em; margin: 0; }
.brand-line { font-size: .78rem; color: #aebccb; font-variation-settings: "wdth" 88; white-space: nowrap; }
@media (min-width: 1141px) and (max-width: 1420px) { .brand-line { display: none; } }
.bar-phone { order: 3; background: var(--signal); color: var(--ink); font-weight: 800; text-decoration: none; padding: 9px 14px; border-radius: 4px; font-variation-settings: "wdth" 85; font-size: 1.05rem; white-space: nowrap; }
.bar-phone:hover { background: var(--signal-dark); color: var(--ink); }
.nav { order: 2; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.menu > li { position: relative; }
.menu a { display: block; color: var(--white); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 10px 10px; font-variation-settings: "wdth" 88; white-space: nowrap; }
.menu > li > a:hover, .menu > li.active > a { color: var(--signal); }
.menu > li.has-kids > a { padding-right: 4px; }
.kid-toggle { background: none; border: 0; color: #aebccb; cursor: pointer; width: 18px; height: 36px; padding: 0; margin-right: 4px; vertical-align: middle; }
.kid-toggle::before { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.menu > li.has-kids { display: flex; align-items: center; }
.menu > li.open > .kid-toggle::before { transform: rotate(-135deg) translateY(-3px); }
.kids { list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--white); border-radius: 6px; box-shadow: 0 12px 30px rgba(10, 20, 30, .22); display: none; }
.kids a { color: var(--ink); padding: 9px 12px; border-radius: 4px; }
.kids a:hover, .kids a[aria-current="page"] { background: var(--paper); color: var(--jacket); }
.menu > li:hover > .kids, .menu > li:focus-within > .kids, .menu > li.open > .kids { display: block; }
.menu-btn { display: none; order: 4; background: none; border: 2px solid #3b4b59; color: var(--white); font: inherit; font-weight: 700; padding: 7px 12px; border-radius: 4px; cursor: pointer; align-items: center; gap: 8px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }

@media (max-width: 1140px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); max-height: calc(100vh - 80px); overflow-y: auto; border-top: 1px solid #334250; }
  .nav.open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 8px 20px 20px; }
  .menu > li { border-bottom: 1px solid #334250; }
  .menu > li.has-kids { flex-wrap: wrap; }
  .menu > li.has-kids > a { flex: 1; }
  .menu a { padding: 13px 0; font-size: 1.02rem; }
  .kid-toggle { width: 44px; height: 44px; margin: 0; }
  .menu > li:hover > .kids { display: none; }
  .kids { position: static; box-shadow: none; background: transparent; width: 100%; padding: 0 0 10px 14px; min-width: 0; }
  .menu > li.open > .kids { display: block; }
  .kids a { color: #d5dee6; }
  .kids a:hover, .kids a[aria-current="page"] { background: transparent; color: var(--signal); }
}
@media (max-width: 560px) {
  .brand-line { display: none; }
  .brand-name { font-size: 1.2rem; }
  .bar { gap: 10px; min-height: 64px; }
  .bar-phone { font-size: .92rem; padding: 8px 10px; }
  .menu-btn { padding: 7px 9px; font-size: 0; gap: 0; }
}

/* Page banner */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-inner { position: relative; padding-top: 88px; padding-bottom: 80px; }
.hero.has-photo .hero-inner > * { max-width: 56%; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; background-size: cover; background-position: center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 14px 0 0 var(--ink); }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 850; font-variation-settings: "wdth" 70; text-transform: uppercase; letter-spacing: -.005em; line-height: .98; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: #d5dee6; font-weight: 500; margin: 0 0 12px; }
.hero-text { color: #c4cfd9; max-width: 60ch; }
.hero-actions { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; margin-top: 26px; }
.hero-phone { color: var(--signal); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-decoration: none; font-variation-settings: "wdth" 80; line-height: 1; }
.hero-phone:hover { color: #ffd85c; }
@media (max-width: 860px) {
  .hero.has-photo .hero-inner > * { max-width: none; }
  .hero-photo { position: relative; width: 100%; height: 200px; }
  .hero-photo::after { box-shadow: inset 0 -10px 0 var(--ink); }
  .hero-inner { padding-top: 40px; padding-bottom: 52px; }
}

/* Cable-jacket print band */
.jacket { background: var(--jacket); color: #e6eef8; overflow: hidden; white-space: nowrap; border-top: 1px solid #2a6bb9; border-bottom: 1px solid #144682; }
.jacket-run { display: inline-flex; animation: jacket 70s linear infinite; }
.jacket span { font-size: .8rem; font-weight: 600; letter-spacing: .14em; font-variation-settings: "wdth" 62; padding: 9px 0; margin-right: 4em; }
@keyframes jacket { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .jacket-run { animation: none; } }

/* Sections */
.sec { padding: 76px 0; }
main > .sec:nth-child(even) { background: var(--paper); }
.sec-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; font-variation-settings: "wdth" 78; line-height: 1.05; margin-bottom: 14px; max-width: 26ch; text-wrap: balance; }
.sec-sub { font-size: 1.2rem; font-weight: 600; color: var(--jacket); margin: -4px 0 18px; }
.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose.intro { margin-bottom: 30px; }
.prose.after { margin-top: 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split.img-left .wrap { grid-template-columns: .9fr 1.1fr; }
.split.img-left .figure { order: -1; }
.figure { margin: 0; }
.media { width: 100%; border-radius: 6px; background: var(--white); }
@media (max-width: 860px) {
  .sec { padding: 56px 0; }
  .split .wrap, .split.img-left .wrap { grid-template-columns: 1fr; gap: 30px; }
  .split.img-left .figure { order: 0; }
}

/* Buttons */
.btn { display: inline-block; background: var(--jacket); color: var(--white); text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 4px; border: 2px solid var(--jacket); font-size: 1rem; line-height: 1.2; font-family: inherit; cursor: pointer; }
.btn:hover { background: var(--jacket-dark); border-color: var(--jacket-dark); color: var(--white); }
.btn-signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-dark); border-color: var(--signal-dark); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: #000; border-color: #000; }

/* Lists: each bullet is a conductor — solid color with a white stripe, T568B pairs */
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: repeating-linear-gradient(135deg, var(--c) 0 5px, #fff 5px 8px); border: 2px solid var(--c); --c: var(--pair-0); }
.checks li[style*="--pair:1"]::before { --c: var(--pair-1); }
.checks li[style*="--pair:2"]::before { --c: var(--pair-2); }
.checks li[style*="--pair:3"]::before { --c: var(--pair-3); }
.checks.two-col { columns: 2; column-gap: 40px; }
.checks.two-col li { break-inside: avoid; }
@media (max-width: 700px) { .checks.two-col { columns: 1; } }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 2px solid var(--ink); padding: 8px 16px; border-radius: 4px; font-weight: 800; font-size: 1.15rem; font-variation-settings: "wdth" 80; }

/* Cards */
.card-row { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card-row.n2 { grid-template-columns: repeat(2, 1fr); }
.card-row.n4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .card-row, .card-row.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-row, .card-row.n2, .card-row.n4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; background: var(--paper); border-bottom: 4px solid var(--jacket); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.35rem; font-weight: 800; font-variation-settings: "wdth" 80; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--jacket); }
.card .more { margin-top: auto; font-weight: 700; }

/* Gallery */
.gallery-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); align-items: start; }
.gallery-grid.n1 { grid-template-columns: minmax(0, 900px); }
.gallery-grid.n2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.n4 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .gallery-grid, .gallery-grid.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid, .gallery-grid.n2, .gallery-grid.n4 { grid-template-columns: 1fr; } }
.gallery-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px; }
.gallery-grid img { margin: 0 auto; }
.gallery-grid figcaption { font-weight: 700; margin-top: 10px; font-variation-settings: "wdth" 85; }

/* Prices */
.price-row { display: flex; flex-wrap: wrap; gap: 20px; }
.price-box { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--signal); border-radius: 6px; padding: 24px 28px; min-width: 240px; }
.price { font-size: 3rem; font-weight: 850; font-variation-settings: "wdth" 72; line-height: 1; color: var(--ink); }
.unit { color: var(--muted); font-weight: 600; margin-top: 6px; }
.label { margin-top: 10px; font-weight: 700; }

/* Big words */
.sec-values { background: var(--ink) !important; color: var(--white); }
.sec-values .sec-title { color: var(--white); }
.sec-values .sec-sub { color: var(--signal); }
.bigwords { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 34px; }
.bigwords li { font-size: clamp(2rem, 5.4vw, 4.2rem); font-weight: 900; font-variation-settings: "wdth" 115; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; padding-bottom: 6px; border-bottom: 6px solid var(--pair-0); }
.bigwords li[style*="--pair:1"] { border-color: var(--pair-1); }
.bigwords li[style*="--pair:2"] { border-color: #4b8de0; }
.bigwords li[style*="--pair:3"] { border-color: #b98452; }

/* CTA strip */
.sec-cta { background: var(--signal) !important; padding: 48px 0; }
.sec-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.sec-cta .sec-title { margin: 0; max-width: none; }
.cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-phone { color: var(--ink); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 850; text-decoration: none; font-variation-settings: "wdth" 80; }
.cta-phone:hover { color: #000; }

/* Forms */
.sec-form { background: var(--ink) !important; color: var(--white); }
.form-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; gap: 28px; } }
.form-side .sec-title { color: var(--white); }
.form-side .prose { color: #c4cfd9; }
.side-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.side-phone { color: var(--signal); font-size: 2.2rem; font-weight: 850; text-decoration: none; font-variation-settings: "wdth" 80; line-height: 1.1; }
.side-email { color: var(--white); font-weight: 600; word-break: break-all; }
form.lead { background: var(--white); color: var(--ink); border-radius: 6px; padding: 28px; }
@media (max-width: 520px) { form.lead { padding: 20px 16px; } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid2 .wide, .grid2 fieldset { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label, legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 2px solid #c6cfd6; border-radius: 4px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--jacket); box-shadow: 0 0 0 3px rgba(29, 90, 166, .2); }
.field textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; margin: 4px 0 8px; padding: 0; }
legend { padding: 0; margin-bottom: 10px; }
.radios { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.radios label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.radios input { width: 18px; height: 18px; accent-color: var(--jacket); }
.req { color: #b3261e; }
.note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map { width: 100%; height: 320px; border: 0; border-radius: 6px; display: block; }
.sec-areas .figure .media + .map { margin-top: 16px; }

/* Footer */
.foot { background: var(--ink); color: #b6c3cf; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding-top: 52px; padding-bottom: 30px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr; } }
.foot .brand-name { color: var(--white); margin-bottom: 10px; }
.foot-contact { display: flex; flex-direction: column; gap: 4px; }
.foot-contact a { color: var(--white); font-weight: 600; text-decoration: none; }
.foot-phone { color: var(--signal) !important; font-size: 1.5rem; font-weight: 800 !important; }
.foot-nav .menu { flex-wrap: wrap; align-items: flex-start; gap: 18px 34px; flex-direction: row; padding: 0; }
.foot-nav .menu > li { border: 0; display: block; }
.foot-nav .menu a { padding: 3px 0; color: var(--white); font-size: .95rem; }
.foot-nav .kid-toggle { display: none; }
.foot-nav .kids { display: block !important; position: static; background: none; box-shadow: none; padding: 0; min-width: 0; width: auto; }
.foot-nav .kids a { color: #b6c3cf; padding: 3px 0; font-weight: 500; }
.foot-nav .kids a:hover { background: none; color: var(--signal); }
.foot-small { border-top: 1px solid #2c3a47; padding-top: 20px; padding-bottom: 28px; font-size: .84rem; color: #8797a6; }
.foot-small p { margin: 0 0 6px; }

@media print {
  .masthead, .jacket, .sec-form, .foot { display: none; }
}
