/* ==========================================================================
   Electrical Wire Buyers New York
   Industrial datasheet stylesheet. No scripts anywhere in this project.
   ========================================================================== */

@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a1b2e;
  --navy-2: #0f2740;
  --navy-3: #17364f;
  --ink: #0f1f2e;
  --muted: #55676f;
  --graphite: #2b3a44;
  --paper: #ffffff;
  --gray-25: #fafbfb;
  --gray-50: #f4f6f7;
  --gray-100: #e9edef;
  --gray-200: #d6dfe4;
  --line: rgba(10, 27, 46, 0.14);
  --line-strong: rgba(10, 27, 46, 0.28);
  --green: #157a3c;
  --green-dark: #0f5f2e;
  --green-soft: #e9f3ec;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
  --wrap: 1220px;
  --gutter: clamp(18px, 4vw, 56px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--green);
  color: #fff;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  font-weight: 600;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* ---------- Type ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h4 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: none;
  letter-spacing: 0;
}

.legend-line {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.legend-line.on-dark {
  color: rgba(255, 255, 255, 0.62);
}

.lead {
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--graphite);
  max-width: 60ch;
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin-bottom: 1.15em;
}

.prose h2 {
  margin-top: 2.2em;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.15em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose strong {
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar p {
  margin: 0;
}

.topbar-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 7px;
  height: 7px;
  background: #2fbf6b;
  display: inline-block;
  border-radius: 50%;
}

.topbar-contact {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
}

.topbar a:hover {
  color: #9fe3b9;
  border-color: #9fe3b9;
}

.sep {
  color: rgba(255, 255, 255, 0.3);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex: 0 0 auto;
}

.mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-line1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

.wordmark-line2 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  gap: clamp(14px, 2.1vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-weight: 500;
  font-size: 15.5px;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  display: inline-block;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  border-bottom-color: var(--green);
  color: var(--navy);
}

.header-quote {
  flex: 0 0 auto;
}

.mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
  padding: 15px 24px 14px;
  font-size: 1.02rem;
  transition: background-color 0.14s linear, transform 0.14s linear, color 0.14s linear;
}

.btn-quote {
  background: var(--green);
  color: #fff;
  border-bottom: 3px solid var(--green-dark);
}

.btn-quote:hover,
.btn-quote:focus-visible {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 20px 30px 19px;
  font-size: 1.18rem;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 28px 0 0;
}

/* ---------- Breadcrumbs ---------- */

.crumbs {
  border-bottom: 1px solid var(--line);
  background: var(--gray-25);
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px var(--gutter);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumbs li + li::before {
  content: "/";
  margin: 0 9px;
  color: var(--gray-200);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--green);
}

.crumbs [aria-current] {
  color: var(--navy);
}

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

.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--green);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
  padding-top: clamp(34px, 5vw, 74px);
  padding-bottom: clamp(34px, 5vw, 74px);
}

.hero-copy h1 {
  color: #fff;
}

.hero-copy .legend-line {
  color: #7fd6a2;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
  margin: 0 0 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-call {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 3px;
}

.hero-call:hover {
  color: #fff;
  border-color: #fff;
}

.hero-figure {
  margin: 0;
  position: relative;
  min-height: 320px;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(10, 27, 46, 0.82);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 12px;
}

/* ---------- Fact band ---------- */

.fact-band {
  background: var(--navy-2);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.fact-band ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact-band li {
  padding: 22px 26px 22px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 26px;
}

.fact-band li:first-child {
  padding-left: 0;
}

.fact-band li:last-child {
  border-right: 0;
}

.fact-band .f-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.fact-band .f-value {
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

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

.section {
  padding: clamp(46px, 6vw, 86px) 0;
  border-bottom: 1px solid var(--line);
}

.section-tight {
  padding-top: clamp(34px, 4vw, 56px);
}

.section-gray {
  background: var(--gray-50);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 60px);
  align-items: start;
  margin-bottom: clamp(26px, 3.4vw, 44px);
  border-top: 2px solid var(--navy);
  padding-top: 18px;
}

.section-navy .section-head {
  border-top-color: rgba(255, 255, 255, 0.32);
}

.section-head .legend-line {
  margin-bottom: 6px;
}

.section-head h2 {
  margin-bottom: 0.35em;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.split-reverse .split-media {
  order: -1;
}

.split-media {
  margin: 0;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--gray-100);
}

.split-media figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid var(--navy);
  padding-top: 9px;
  margin-top: 10px;
}

/* ---------- Tile grid ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tile {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: background-color 0.14s linear;
}

.tile:hover {
  background: var(--gray-25);
}

.tile-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-body {
  padding: 18px 20px 22px;
}

.tile-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.tile h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.tile h3 a {
  text-decoration: none;
  color: var(--navy);
}

.tile h3 a:hover {
  color: var(--green);
}

.tile p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.5;
}

.tile-grid-text .tile-body {
  padding: 22px 22px 26px;
}

.tile-grid-text .tile p {
  min-height: 0;
}

.wide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
}

.gallery-wide .figure {
  margin: 0;
}

.tile .tile-link {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 12px;
  display: block;
  text-decoration: none;
}

/* ---------- Reel tags ---------- */

.reel-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reel-tags li {
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 10px 12px 9px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  background: var(--paper);
}

.tag-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  grid-row: span 2;
}

.tag-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag-value {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
}

/* ---------- Spec table ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin: 0 0 1.6em;
  border-top: 2px solid var(--navy);
}

.spec-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 11px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 38%;
  padding-right: 20px;
}

.spec-table td {
  color: var(--ink);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 2px solid var(--navy);
}

.steps li {
  border-right: 1px solid var(--line);
  padding: 24px 26px 26px 0;
  counter-increment: step;
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.steps p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Directory ---------- */

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
}

.dir-region {
  border-top: 2px solid var(--navy);
  padding: 14px 0 22px;
  break-inside: avoid;
}

.dir-region h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.dir-region .dir-region-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.dir-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 18px;
  font-size: 0.92rem;
}

.dir-list li {
  margin-bottom: 5px;
  break-inside: avoid;
}

.dir-list a {
  text-decoration: none;
  color: var(--graphite);
}

.dir-list a:hover {
  color: var(--green);
  text-decoration: underline;
}

.dir-plain {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

.dir-plain span {
  color: var(--graphite);
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 2px solid var(--navy);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 40px 18px 0;
  font-weight: 600;
  font-size: 1.03rem;
  list-style: none;
  position: relative;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list summary:hover {
  color: var(--green);
}

.faq-answer {
  padding: 0 0 20px;
  max-width: 72ch;
  color: var(--graphite);
}

.faq-answer p {
  margin: 0;
}

/* ---------- Figures and galleries ---------- */

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  background: var(--gray-100);
}

.figure figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 9px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.gallery .figure img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-wide .figure img {
  aspect-ratio: 16 / 10;
}

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

.cta-band {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 12px
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding-top: clamp(36px, 4.6vw, 64px);
  padding-bottom: clamp(36px, 4.6vw, 64px);
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 0.4em;
}

.cta-inner p {
  margin: 0;
  max-width: 62ch;
}

.cta-inner .legend-line {
  color: #7fd6a2;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-call {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.cta-call:hover {
  color: #fff;
}

/* ---------- Contact strip ---------- */

.contact-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--line);
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(20px, 4vw, 56px);
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(32px, 4vw, 52px);
  align-items: start;
}

.contact-strip h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.contact-strip p {
  margin: 0;
  max-width: 54ch;
  color: var(--graphite);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
}

.contact-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.contact-list span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.contact-list a {
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
}

.contact-list a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ---------- Quote form ---------- */

.legend-line + h1,
.legend-line + h2,
.legend-line + h3 {
  margin-top: 6px;
}

.quote-bar {
  background: var(--gray-50);
  border-top: 3px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.quote-bar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding-top: 26px;
  padding-bottom: 26px;
}

.quote-bar-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin: 2px 0 4px;
}

.quote-bar-text {
  margin: 0;
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 62ch;
}

.quote-bar-actions {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.quote-bar-call {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.quote-bar-call:hover {
  color: var(--green);
}

.quote-block {
  background: var(--gray-50);
  border-top: 4px solid var(--green);
  padding: clamp(28px, 4vw, 52px) 0 clamp(34px, 4vw, 56px);
  scroll-margin-top: 20px;
}

.quote-block > .quote-block-head,
.quote-block > form {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.quote-block-head h2 {
  margin-bottom: 0.35em;
}

.quote-block-head > p:last-child {
  max-width: 62ch;
  color: var(--graphite);
  margin: 0 0 26px;
}

.quote-form {
  display: block;
}

.quote-form fieldset {
  border: 0;
  margin: 0 0 26px;
  padding: 0;
  min-width: 0;
}

.quote-form fieldset + fieldset {
  border-top: 1px solid var(--line-strong);
  margin-top: 30px;
  padding-top: 22px;
}

.quote-form legend {
  display: block;
  width: 100%;
  margin-bottom: 2px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.32rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
  padding: 0 14px 0 0;
}

.step-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-right: 8px;
  vertical-align: 2px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 16px;
}

.field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.req {
  color: var(--green);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c3ced5;
  border-radius: 0;
  padding: 11px 12px;
  width: 100%;
  min-height: 46px;
}

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

.field input[type="file"] {
  padding: 10px;
  background: var(--gray-25);
  font-size: 0.92rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #8fa1ac;
}

.help {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.help a {
  color: var(--green);
}

.fieldset-nested {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 18px 0 0;
  padding: 14px 0 0;
}

.fieldset-nested legend {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 12px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 8px;
}

.checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--ink);
}

.checks input,
.confirm input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  margin: 0;
}

.confirm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 0;
  font-size: 0.94rem;
}

.confirm label {
  color: var(--graphite);
}

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  border-top: 2px solid var(--navy);
  padding-top: 22px;
}

.form-submit button {
  font-size: 1.1rem;
  padding: 18px 28px 17px;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 52ch;
}

.form-note a {
  color: var(--green);
}

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

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(36px, 5vw, 64px) 0 0;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.wordmark-inverse .wordmark-line1 {
  color: #fff;
}

.wordmark-inverse .wordmark-line2 {
  color: rgba(255, 255, 255, 0.55);
}

.wordmark-inverse {
  color: #fff;
  margin-bottom: 16px;
}

.foot-brand .legend-line {
  color: #7fd6a2;
  margin-bottom: 14px;
}

.foot-contact {
  margin: 0 0 14px;
  font-weight: 500;
}

.foot-contact a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.foot-contact a:hover {
  color: #9fe3b9;
}

.foot-fine {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  max-width: 40ch;
  margin: 0;
}

.foot-col h3 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col li {
  margin-bottom: 7px;
}

.foot-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
}

.foot-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-base {
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-base p {
  margin: 0;
}

.footer-base a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-base a:hover {
  color: #fff;
}

/* ---------- Fixed actions ---------- */

.sell-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: bottom right;
  background: var(--green);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 20px;
  z-index: 90;
  border: 1px solid var(--green-dark);
  white-space: nowrap;
}

.sell-tab:hover {
  background: var(--green-dark);
  color: #fff;
}

.mobile-bar {
  display: none;
}

/* ---------- Utility ---------- */

.columns-2 {
  columns: 2;
  column-gap: clamp(24px, 4vw, 56px);
}

.columns-2 > * {
  break-inside: avoid;
}

.mt-0 {
  margin-top: 0;
}

.mt-32 {
  margin-top: 32px;
}

.mb-0 {
  margin-bottom: 0;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.checklist {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.55em;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.link-list li {
  border-bottom: 1px solid var(--line);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  color: var(--navy);
}

.link-list a::after {
  content: "\2192";
  color: var(--green);
}

.link-list a:hover {
  color: var(--green);
}

.callout {
  border-left: 3px solid var(--green);
  background: var(--green-soft);
  padding: 18px 22px;
  margin: 0 0 1.6em;
  font-size: 0.96rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.page-head {
  padding: clamp(34px, 4.6vw, 62px) 0 clamp(26px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 22ch;
}

.page-head .lead {
  margin-top: 0.4em;
}

.page-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
}

.page-head-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 2;
}

.page-head-meta strong {
  color: var(--navy);
  font-weight: 400;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}

.two-col-asym {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
}

.sticky-aside {
  align-self: start;
  position: sticky;
  top: 22px;
}

.aside-card {
  border-top: 2px solid var(--navy);
  padding-top: 14px;
}

.aside-card h3 {
  font-size: 1.1rem;
}

.aside-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.region-cities {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.region-cities li a {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--graphite);
}

.region-cities li a:hover {
  border-color: var(--green);
  color: var(--green);
}

.stat-row {
  list-style: none;
  margin: 0 0 1.8em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
}

.stat-row li {
  padding: 14px 18px 14px 0;
  border-right: 1px solid var(--line);
}

.stat-row li:last-child {
  border-right: 0;
}

.stat-row .s-label {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.stat-row .s-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
}

.error-page {
  padding: clamp(48px, 8vw, 110px) 0;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .primary-nav ul {
    gap: 14px;
  }

  .primary-nav a {
    font-size: 14.5px;
  }

  .header-quote {
    display: none;
  }

  .sell-tab {
    display: none;
  }
}

@media (max-width: 980px) {
  .primary-nav,
  .header-quote {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1rem;
    color: var(--navy);
    border: 1px solid var(--line-strong);
    padding: 10px 14px 9px;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu[open] summary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }

  .mobile-menu nav {
    position: absolute;
    right: 0;
    left: auto;
    top: calc(100% + 8px);
    width: min(290px, calc(100vw - 36px));
    background: var(--navy);
    padding: 6px 20px 16px;
    z-index: 60;
    box-shadow: 0 22px 44px rgba(6, 20, 36, 0.32);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .mobile-menu li:last-child {
    border-bottom: 0;
    padding-top: 12px;
  }

  .mobile-menu a {
    display: block;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    padding: 11px 0;
    font-size: 1rem;
  }

  .mobile-menu .btn {
    color: #fff;
    text-align: center;
    padding: 14px 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero-figure {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .hero-figure img {
    position: static;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .fact-band ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-band li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-right: 18px;
  }

  .fact-band li:nth-child(2n) {
    border-right: 0;
    padding-left: 20px;
  }

  .section-head,
  .split,
  .two-col,
  .two-col-asym,
  .contact-strip-inner,
  .quote-bar-inner,
  .cta-inner,
  .page-head-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .split-reverse .split-media {
    order: 0;
  }

  .page-head-meta {
    text-align: left;
  }

  .tile-grid,
  .dir-grid,
  .gallery,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps li {
    border-bottom: 1px solid var(--line);
    padding: 22px 22px 22px 0;
  }

  .steps li:nth-child(2n) {
    border-right: 0;
    padding-left: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .reel-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }
  html {
    scroll-padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .mobile-bar {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: var(--navy);
    border-top: 2px solid var(--green);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-bar a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    min-height: 54px;
    padding: 6px 12px;
  }

  .mobile-bar-call {
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .mb-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
  }

  .mb-value {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
  }

  .mobile-bar-quote {
    background: var(--green);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.02rem;
    text-align: center;
    align-items: center;
  }

  body {
    padding-bottom: 62px;
  }

  .site-footer {
    padding-bottom: 8px;
  }

  .quote-block {
    scroll-margin-bottom: 80px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16.5px;
  }

  .hero-figure,
  .hero-figure img {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero-figure {
    aspect-ratio: 16 / 10;
  }

  .topbar-note {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .header-inner {
    min-height: 70px;
  }

  .wordmark-line1 {
    font-size: 20px;
  }

  .mark {
    width: 34px;
    height: 34px;
  }

  .tile-grid,
  .dir-grid,
  .gallery,
  .gallery-wide,
  .steps,
  .reel-tags,
  .fields,
  .stat-row,
  .fact-band ul,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dir-list {
    columns: 2;
  }

  .steps li {
    border-right: 0;
    padding: 18px 0;
  }

  .steps li:nth-child(2n) {
    padding-left: 0;
  }

  .fact-band li,
  .fact-band li:nth-child(2n) {
    padding: 16px 0;
    border-right: 0;
  }

  .fact-band li:last-child {
    border-bottom: 0;
  }

  .stat-row li {
    border-right: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  .form-submit button {
    width: 100%;
    text-align: center;
  }

  .cta-inner .btn-lg,
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .mobile-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .mb-value {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
