/* Priority One Communications — site styles
   Palette: brand red on warm near-black and warm off-white.
   Type:    Barlow Condensed (display), Barlow (body), IBM Plex Mono (figures). */

:root {
  --ink: #151112;
  --ink-2: #1e191b;
  --ink-3: #2a2427;
  --paper: #f8f5f3;
  --paper-2: #efeae7;
  --red: #c4161c;
  --red-deep: #8b1015;
  --red-soft: #f3d9da;
  --steel: #6e6669;
  --steel-2: #9a9194;
  --line: #e3dbd9;
  --line-dark: #3a3336;
  --white: #ffffff;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", "Courier New", monospace;

  --measure: 62ch;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-weight: 800; font-size: clamp(2.6rem, 7vw, 5rem); text-transform: uppercase; }
h2 { font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; }
h3 { font-weight: 700; font-size: 1.35rem; }

p { margin: 0; max-width: var(--measure); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn.ghost:hover { border-color: var(--white); }
.btn.ghost.on-light { color: var(--ink); border-color: var(--ink); }
.btn.ghost.on-light:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}
.brand span em { color: var(--red); font-style: normal; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--steel-2);
}
.nav a:hover { color: var(--white); }
.nav .phone {
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.9rem;
  border: 1px solid var(--line-dark);
  padding: 8px 14px;
}
.nav .phone:hover { border-color: var(--red); }
@media (max-width: 760px) {
  .nav a:not(.phone) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero h1 .accent { color: var(--red); }
.hero .lede {
  font-size: 1.15rem;
  color: #d9d2d4;
  margin-top: 22px;
  max-width: 54ch;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(21,17,18,0.92), rgba(21,17,18,0));
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-2);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 10; }
}

/* ---------- Trust strip ---------- */
.strip {
  background: var(--red);
  color: var(--white);
}
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip .cell {
  padding: 18px 0;
  border-left: 1px solid rgba(255,255,255,0.28);
  padding-left: 18px;
}
.strip .cell:first-child { border-left: 0; padding-left: 0; }
.strip .k {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
}
.strip .v {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .strip .cell:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p { color: var(--steel); font-size: 1.05rem; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
}
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 24px; }
.service .glyph {
  width: 36px;
  height: 36px;
  color: var(--red);
}
.service .glyph svg { width: 100%; height: 100%; }
.service h3 { margin-bottom: 6px; }
.service p { color: var(--steel); font-size: 0.98rem; }
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(odd) { border-right: 0; }
  .service:nth-child(even) { padding-left: 0; }
  .service { padding-right: 0; }
}

/* ---------- Process ---------- */
.process {
  background: var(--ink);
  color: var(--white);
}
.process .section-head p { color: #b9b0b3; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.step {
  background: var(--ink-2);
  padding: 26px 22px 30px;
  border-top: 3px solid var(--line-dark);
}
.step:last-child { border-top-color: var(--red); }
.step .n {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--steel-2);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: #c9c1c4; font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.gallery a {
  display: block;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.gallery a:hover img { transform: scale(1.02); }
.gallery .cap {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; gap: 24px; }
  .gallery a { aspect-ratio: 4 / 3; }
}

/* ---------- Projects ledger ---------- */
.ledger-wrap { overflow-x: auto; }
.ledger {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.ledger th, .ledger td {
  text-align: left;
  vertical-align: top;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
}
.ledger th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  border-bottom: 2px solid var(--ink);
  padding-block: 10px;
}
.ledger td.name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
  white-space: nowrap;
}
.ledger td.total {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--red-deep);
  font-weight: 500;
}
.ledger td.scope { color: var(--steel); max-width: 44ch; }
.ledger tr:last-child td { border-bottom: 2px solid var(--ink); }
.ledger-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--steel);
}
.refs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ref {
  border-left: 3px solid var(--red);
  padding-left: 16px;
}
.ref .who { font-weight: 600; }
.ref .tel {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--steel);
  text-decoration: none;
}
.ref .tel:hover { color: var(--red); }
@media (max-width: 760px) { .refs { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- About ---------- */
.about .wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}
.about-photo figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.about-copy p + p { margin-top: 18px; }
.about-copy .big {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
}
.areas {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.area {
  border-top: 2px solid var(--ink);
  padding-top: 12px;
}
.area .lbl {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}
.area .city {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}
.area p { font-size: 0.92rem; color: var(--steel); margin-top: 6px; }
@media (max-width: 760px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 16 / 10; }
  .areas { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: var(--white);
  border-top: 6px solid var(--red);
}
.contact .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(56px, 8vw, 104px);
}
.contact p { color: #c9c1c4; }
.contact h2 { margin-bottom: 16px; }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.contact-list .lbl {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-2);
}
.contact-list a {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--red); }
.contact-list .plain { font-size: 1rem; color: #d9d2d4; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hours {
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--steel-2);
}
@media (max-width: 860px) {
  .contact .wrap { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--steel-2);
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
}
.site-footer a { color: var(--steel-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
