/* ==========================================================================
   Pyramid Concrete Inc. — Albuquerque, NM
   Art direction: high-desert industrial. Poured-concrete grays, adobe sand,
   copper accent pulled from the original Pyramid logo.
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,800,900&f[]=satoshi@400,500,700&display=swap');

:root {
  /* Color */
  --ink: #17181a;
  --ink-2: #22252a;
  --graphite: #3c4147;
  --slate: #6b7280;
  --steel: #9aa2ab;
  --line: #e2ddd5;
  --sand: #f1ece4;
  --sand-2: #e6dfd3;
  --paper: #fbf9f6;
  --white: #ffffff;
  --copper: #c1651f;
  --copper-dark: #a2521a;
  --copper-soft: #f4e7da;

  /* Type */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;
  --text-hero: clamp(2.5rem, 6vw, 4.5rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(23, 24, 26, 0.06), 0 2px 8px rgba(23, 24, 26, 0.05);
  --shadow-md: 0 8px 30px rgba(23, 24, 26, 0.1);
  --shadow-lg: 0 24px 60px rgba(23, 24, 26, 0.16);
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--copper-dark); text-decoration: none; }
a:hover { color: var(--copper); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  font-weight: 800;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: clamp(1.75rem, 3.6vw, var(--text-3xl)); }
h3 { font-size: var(--text-xl); }
h4 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-6); }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--copper); margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--copper); display: inline-block;
}
.eyebrow.light { color: #e9b984; }
.eyebrow.light::before { background: #e9b984; }

.lead { font-size: var(--text-lg); color: var(--graphite); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.95rem 1.6rem; border-radius: var(--radius); border: 2px solid var(--copper);
  background: var(--copper); color: #fff; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: var(--steel);
  font-size: var(--text-xs); letter-spacing: 0.04em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 40px; }
.topbar strong { color: #fff; font-weight: 500; }
.topbar-links { display: flex; gap: var(--sp-6); }
.topbar-links a { color: var(--steel); }
.topbar-links a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 249, 246, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); min-height: 84px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo svg { width: 46px; height: 46px; flex: none; color: var(--copper); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b {
  font-family: var(--font-display); font-weight: 900; font-size: 1.28rem;
  letter-spacing: 0.02em; color: var(--ink);
}
.logo-text span {
  font-size: 0.63rem; letter-spacing: 0.42em; color: var(--slate); font-weight: 500; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav a {
  font-size: var(--text-sm); font-weight: 500; color: var(--graphite);
  padding: var(--sp-2) 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--copper); transition: right 0.25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: var(--sp-4); }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header-phone b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.header-phone span { font-size: var(--text-xs); color: var(--slate); }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer; padding: 0;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,16,18,0.9) 0%, rgba(15,16,18,0.72) 45%, rgba(15,16,18,0.35) 100%);
}
.hero-inner { position: relative; padding: clamp(4rem, 10vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem); max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #e9b984; }
.hero p { color: #d7d3cd; font-size: var(--text-lg); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-8); }

.hero-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-stats div { padding: var(--sp-6) var(--sp-4) var(--sp-8); }
.hero-stats div + div { border-left: 1px solid rgba(255,255,255,0.16); padding-left: var(--sp-6); }
.hero-stats b { display: block; font-family: var(--font-display); font-size: var(--text-2xl); color: #fff; line-height: 1; }
.hero-stats span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink-2); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,19,21,0.92), rgba(18,19,21,0.55));
}
.page-hero .wrap { position: relative; z-index: 2; padding: clamp(3rem, 7vw, 5.5rem) var(--sp-6); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: var(--sp-3); }
.page-hero p { color: #d7d3cd; max-width: 40em; font-size: var(--text-lg); }
.crumbs { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: var(--sp-4); }
.crumbs a { color: #e9b984; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-sand { background: var(--sand); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #cfd3d8; }
.bg-ink h2, .bg-ink h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--sp-12); }
.section-head p { color: var(--slate); font-size: var(--text-lg); }

.grid { display: grid; gap: var(--sp-8); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-8); box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sand-2); }
.card h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.card p { color: var(--slate); font-size: var(--text-sm); }
.card .icon { color: var(--copper); margin-bottom: var(--sp-4); }
.card .icon svg { width: 30px; height: 30px; }

.svc-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.svc-card img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-6); background: linear-gradient(0deg, rgba(15,16,18,0.88) 0%, rgba(15,16,18,0.15) 62%, rgba(15,16,18,0) 100%);
}
.svc-card h3 { color: #fff; margin-bottom: var(--sp-1); font-family: var(--font-display); font-weight: 800; }
.svc-card p { color: #d0cdc8; font-size: var(--text-sm); margin: 0; }
.svc-card .more {
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: #e9b984; margin-top: var(--sp-3);
}

/* ---------- Service list ---------- */
.svc-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--sp-8); }
.svc-list li {
  position: relative; padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px solid var(--line); break-inside: avoid;
  font-size: var(--text-sm); color: var(--graphite);
}
.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 1.05rem;
  width: 8px; height: 8px; background: var(--copper);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: linear-gradient(0deg, rgba(15,16,18,0.86), rgba(15,16,18,0));
  color: #fff; font-size: var(--text-sm); font-weight: 500;
}
.shot figcaption small { display: block; color: #bdb9b3; font-weight: 400; font-size: var(--text-xs); margin-top: 2px; }
.shot.tall { grid-row: span 2; }
.shot.tall img { min-height: 100%; }
.shot.wide { grid-column: span 2; }
.shot img.h360 { height: 360px; }
.shot img.h280 { height: 280px; }

/* ---------- Quote ---------- */
.quote { border-left: 3px solid var(--copper); padding-left: var(--sp-6); }
.quote p {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl);
  line-height: 1.35; color: var(--ink); letter-spacing: -0.01em;
}
.bg-ink .quote p { color: #fff; }
.quote cite { font-style: normal; font-size: var(--text-sm); color: var(--slate); }
.bg-ink .quote cite { color: var(--steel); }

/* ---------- Client list ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clients div {
  background: var(--paper); padding: var(--sp-4) var(--sp-4);
  font-size: var(--text-sm); color: var(--graphite); text-align: center;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-8); grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: var(--sp-6); border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg);
  color: var(--copper); display: block; margin-bottom: var(--sp-2);
}
.step h3 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: var(--sp-2); }
.step p { font-size: var(--text-sm); color: var(--slate); }

/* ---------- Callout band ---------- */
.band { background: var(--ink); position: relative; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,16,18,0.93), rgba(15,16,18,0.6)); }
.band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: var(--sp-2); }
.band p { color: #cfd3d8; margin: 0; }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, var(--sp-12)); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); margin-bottom: var(--sp-2); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--text-base); color: var(--ink);
  padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-soft); background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-note { font-size: var(--text-xs); color: var(--slate); margin-top: var(--sp-4); }
.form-status { display: none; margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius); background: var(--copper-soft); color: var(--copper-dark); font-size: var(--text-sm); }
.form-status.show { display: block; }

/* ---------- Contact detail list ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--copper); flex: none; margin-top: 3px; }
.contact-list b { display: block; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.contact-list span { color: var(--ink); }

/* ---------- Team ---------- */
.owner-card { display: flex; gap: var(--sp-6); align-items: center; background: #fff; border: 1px solid var(--line); padding: var(--sp-6); border-radius: var(--radius); }
.owner-card .badge {
  width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--copper-soft);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--copper-dark); font-size: 1.25rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--steel); padding: var(--sp-16) 0 var(--sp-8); font-size: var(--text-sm); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-8); }
.site-footer h4 { color: #fff; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer a { color: var(--steel); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .logo svg { color: #e9b984; }
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text span { color: var(--steel); }
.footer-bottom {
  margin-top: var(--sp-12); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--text-xs);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .menu-btn { display: block; }
  .site-header .wrap { min-height: 72px; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: var(--sp-4) var(--sp-6) var(--sp-6);
    box-shadow: var(--shadow-md);
  }
  .nav.open a { width: 100%; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); font-size: var(--text-base); }
  .nav.open a::after { display: none; }
}

@media (max-width: 900px) {
  .g-4, .clients, .steps { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(3), .hero-stats div:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.16); }
  .hero-stats div:nth-child(3) { border-left: none; padding-left: var(--sp-4); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot.tall { grid-row: span 1; }
  .shot.wide { grid-column: span 2; }
  .site-footer .cols { grid-template-columns: repeat(2, 1fr); }
  .topbar-links { display: none; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 620px) {
  .g-2, .g-3, .g-4, .steps, .gallery { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .svc-list { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .shot.wide { grid-column: span 1; }
  .shot img.h360, .shot img.h280 { height: 240px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .header-cta .btn { padding: 0.8rem 1rem; }
  .owner-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
