/* ===========================
   THEME TOKENS
=========================== */
:root {
  --orange: #ff7a2a;
  --orange-600: #e56c20;
  --ink: #111;
  --paper: #fff;
  --slate-900: #000;
  --muted: #7a7a7a;
  /* ...your existing tokens... */
  --bg-page:      #f5f6f8;  /* page canvas */
  --bg-section:   #f8f9fb;  /* light section surface */
  --bg-section-2: #eef2f7;  /* alternating section */
  --radius: 12px;
  --shadow-soft: 0 6px 18px rgba(0,0,0,.08);
  --shadow-elev: 0 10px 24px rgba(0,0,0,.08);

  --brand-heading: 'Russo One','Orbitron','Michroma',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

/* ===========================
   BASE
=========================== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-page);  /* softer canvas */
}


section { scroll-margin-top: 80px; } /* nicer anchor behavior */

/* ===========================
   NAV TREATMENTS
=========================== */
/* HOME PAGE – centered pill nav floating over hero */
.site-nav {
  position: absolute;          /* only on the hero page */
  top: 16px; left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  background: transparent;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 10px 16px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,122,42,.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
}
.site-nav a:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #111;
  transform: translateY(-1px);
}
.site-nav a.active { box-shadow: 0 0 0 2px rgba(255,255,255,.15); }

/* NON-HOME – single “Back Home” pill pinned top-left */
.back-home {
  position: fixed;       /* ensures it sits above all content */
  top: 16px;
  left: 16px;
  z-index: 9999;         /* above overlays/veils */
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,122,42,.18);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  pointer-events: auto;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
}
.back-home:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #111;
  transform: translateY(-1px);
}

/* ===========================
   HERO (HOME)
=========================== */
.hero {
  position: relative;
  height: 100svh;               /* safe viewport units */
  overflow: hidden;
  background: var(--slate-900);
  color: #fff;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
  will-change: opacity;
}
.hero-slides .slide.active { opacity: 1; }

/* readable veil over bright photos */
.hero-slides::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35));
  z-index: 1;
}

.hero-overlay {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px;
}
.hero-title {
  font-family: var(--brand-heading);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(32px, 6vw, 64px);
  margin: 0 0 8px;
  color: var(--orange);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  margin: 4px 0 22px;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

/* Buttons */
.btn-primary {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform .1s ease, background .2s ease;
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.btn-outline:hover { background: var(--orange); color: #fff; }

/* ===========================
   HOME SECTIONS
=========================== */
.services{
  text-align:center;
  padding:64px 20px;
   background:#ffffff;                 /* soft light surface */
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.services h2 {
  color: var(--orange);
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 24px;
  font-weight: 800;
}
.service-grid {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 24px; margin-top: 6px;
}
.card {
  background: #f9f9f9;
  padding: 22px;
  border-radius: var(--radius);
  max-width: 320px;
  box-shadow: var(--shadow-soft);
}



/* ===========================
   QUOTE PAGE
=========================== */
.quote-hero {
  padding: 120px 16px 24px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.15));
  color: #fff;
}
.quote-wrap { max-width: 900px; margin: 0 auto; padding: 24px 16px 64px; }

.alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 600;
}
.alert.success { background: rgba(16,185,129,.12); color: #10b981; border: 1px solid rgba(16,185,129,.35); }
.alert.error   { background: rgba(239,68,68,.12);  color: #ef4444; border: 1px solid rgba(239,68,68,.35); }

.form-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px;
}
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field label { display: block; font-size: 14px; color: #444; margin-bottom: 6px; }
.req { color: #ef4444; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff; color: #111; outline: none;
}
.field input:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,42,.18);
}
.field.full { grid-column: 1 / -1; }
.field textarea { min-height: 140px; resize: vertical; }
.actions { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.small-note { color: #666; font-size: 13px; }
.small-note a { color: var(--orange); text-decoration: none; }
.small-note a:hover { text-decoration: underline; }

/* ===========================
   PROJECTS (LIST / GALLERY)
=========================== */
.projects-hero {
  padding: 96px 16px 24px;   /* leaves space under back-home pill */
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.15));
  color: #fff;
}
.projects-title {
  font-family: var(--brand-heading);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(28px, 5vw, 54px);
  color: var(--orange);
  margin: 0 0 6px;
}
.projects-sub { margin: 0 0 18px; color: #f1f1f1; }

/* Filter bar */
.filter-bar {
  display: flex; flex-wrap: wrap;
  gap: 10px; justify-content: center;
  padding: 16px;
  position: sticky; top: 0; z-index: 5;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.filter-pill {
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,122,42,.18);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s ease;
}
.filter-pill:hover { transform: translateY(-1px); }
.filter-pill.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }

/* “Aztec” style masonry of cards */
.masonry {
  column-count: 3;
  column-gap: 16px;
  padding: 20px 16px 60px;
  background: #fff;
}
@media (max-width: 1200px){ .masonry { column-count: 2; } }
@media (max-width: 680px) { .masonry { column-count: 1; } }

.masonry.cards .project-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-elev);
  background: #fff;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,.12); }
.project-thumb img { width: 100%; height: auto; display: block; }
.project-meta { padding: 12px; }
.project-title { margin: 0 0 6px; color: #111; font-weight: 800; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: rgba(255,122,42,.12); color: var(--orange); font-weight: 700; font-size: 12px; padding: 4px 8px; border-radius: 999px; }
.tag.light { background: #f5f5f5; color: #444; }

/* ===========================
   PROJECT DETAIL
=========================== */
.project-hero { position: relative; height: 48svh; min-height: 320px; overflow: hidden; }
.project-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.8); }
.project-hero-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px; color: #fff;
}
.project-hero-title {
  font-family: var(--brand-heading);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange);
  font-size: clamp(28px, 5vw, 56px);
  margin: 0 0 6px;
}
.project-hero-sub { margin: 0; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.35); }

.project-body { max-width: 1100px; margin: 24px auto 60px; padding: 0 16px; }
.project-desc { font-size: 1.05rem; color: #333; margin: 8px 0 18px; }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1000px){ .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-item img { width: 100%; height: auto; border-radius: 12px; display: block; box-shadow: 0 8px 20px rgba(0,0,0,.06); }

.project-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 22px; flex-wrap: wrap; }

/* ===========================
   RESPONSIVE TWEAKS
=========================== */
@media (max-width: 720px){
  .quote-hero { padding-top: 96px; }
}
.quote-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;          /* adjust height */
  padding: 96px 16px 48px;    /* top padding if navbar overlaps */
  overflow: hidden;
  text-align: center;
}

.quote-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fills the gray space */
  object-position: center;
  filter: brightness(.75);    /* keeps text readable */
}

.quote-hero::before {         /* subtle gray/black gradient like your current bar */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15) 60%, rgba(0,0,0,0));
  pointer-events: none;
}

.quote-hero__content { 
  position: relative; 
  z-index: 1; 
  color: #fff;                /* orange title will still pop with shadow/glow */
}
.services { text-align:center; padding:64px 20px; }
.services h2 { color:var(--orange); font-size:clamp(22px,3vw,32px); margin:0 0 24px; font-weight:800; }

.service-grid {
  display:grid;
  grid-template-columns: repeat(2, minmax(260px, 420px));
  gap:20px;
  justify-content:center;
}

/* Top-left logo over the hero */
.hero-brand{
  position: absolute;
  top: -20px;
  left: 123px;
  z-index: 3;
  display: inline-block;
}
.hero-brand img{
  width: clamp(80px, 10vw, 135px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
  pointer-events: auto;
}

/* Big center slogan – switch font to Michroma for a cleaner, techy look */
.hero-headline{
  font-family: 'Michroma', var(--brand-heading), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;     /* pull letters closer */
  line-height: .9;
  margin: 0 0 18px;
  color: #fff;
  text-align: center;
  text-shadow: 0 6px 24px rgba(0,0,0,.45);
  font-weight: 700;
  font-size: clamp(34px, 7.6vw, 104px);  /* less vw to reduce spread */
  display: grid;
  gap: 6px;
  transform: scaleX(.92);      /* condense width */
  transform-origin: center;    /* keep centered while scaling */
}

.hero-headline span{ display:block; }

/* Small spacing tweak for CTA below headline */
.hero-overlay .btn-primary{ margin-top: 6px; }

/* Keep the nav pills visible over slides if needed */
.site-nav{ z-index: 4; }


.service-card {
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  box-shadow:var(--shadow-soft);
  padding:22px 22px 18px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  min-height:220px;
  transition:transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform:translateY(-2px); box-shadow:0 16px 32px rgba(0,0,0,.12); border-color:rgba(0,0,0,.12); }

.service-icon { font-size:36px; margin-bottom:8px; }
.service-card h3 { margin:6px 0 6px; }
.service-card p { margin:0 0 12px; color:#444; max-width:36ch; }
.service-cta {
  margin-top:auto;
  display:inline-block;
  border:2px solid var(--orange);
  color:var(--orange);
  padding:8px 12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
}
.service-cta:hover { background:var(--orange); color:#fff; }
/* Recent Projects (home) */
.gallery-preview{
  position: relative;              /* needed for the band */
  text-align: center;
  padding: 100px 20px 60px;        /* extra top space for the band overlap */
  background: #e9eef5;             /* base surface */
  color: #111;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
/* inverse diagonal that meets the previous section and tilts the other way */




.gallery-preview h2{
  color:var(--orange);
  margin:0 0 18px;
}

.preview-grid{
  display:flex; justify-content:center; flex-wrap:wrap;
  gap:22px; margin-top:18px;
}

.preview-card{
  width:280px; text-decoration:none; color:inherit;
  display:flex; flex-direction:column; align-items:center;
}

.preview-card img{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius:14px; box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .2s ease;
}

.preview-card:hover img{
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 16px 32px rgba(0,0,0,.12);
}

.preview-title{
  display:block;
  margin-top:10px;
  font-weight:700;
  font-size:14px;
  color:#111;                   /* <- kills the purple */
  text-decoration:none;         /* <- kills underline */
}

/* make sure anchor states don’t turn purple/blue */
.preview-card:link .preview-title,
.preview-card:visited .preview-title,
.preview-card:hover .preview-title{
  /* keep the same dark color on hover (no purple) */
  color: #111; /* or use var(--ink) if you have it */
}


/* ===== Gallery preview ===== */
.preview-grid{
  display:flex; justify-content:center; flex-wrap:wrap;
  gap:22px; margin-top:18px;
}

.preview-card{
  width:280px; text-decoration:none; color:inherit;
  display:flex; flex-direction:column; align-items:center;
}

.preview-card img{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius:14px; box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .2s ease;
}

.preview-card:hover img{
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 16px 32px rgba(0,0,0,.12);
}

.preview-title{
  display:block;
  margin-top:10px;
  font-weight:700;
  font-size:14px;
  color:#111;            /* prevent purple/blue */
  text-decoration:none;  /* remove underline */
}

/* keep title color in all anchor states */
.preview-card:link .preview-title,
.preview-card:visited .preview-title,
.preview-card:hover .preview-title,
.preview-card:active .preview-title{
  color:#111;
}

/* explicit hover (optional – same color as above) */
.preview-card:hover .preview-title{
  color:#111;
}






.site-footer .footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-card {
  background: #f7f7f8;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 18px 20px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-col { line-height: 1.5; }

.footer-heading {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
}

.footer-address {
  font-style: normal;
  color: #555;
  font-size: 14px;
}

.footer-actions {
  font-size: 14px;
  white-space: nowrap;
}

.footer-link {
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  border-bottom-color: currentColor;
}

.dot { opacity: .45; margin: 0 10px; }

.footer-legal {
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-top: 12px;
}






/* (keep your dark footer/grid rules as you have them) */

/* ===== Light footer (logo | links | contact) ===== */
.site-footer--light {
  background: #ffffff;
  color: #111;
  padding: 44px 0 28px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.site-footer--light a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-footer--light a:hover { border-bottom-color: currentColor; }

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* logo | links | contact */
  gap: 32px;
  align-items: start;
}

/* Left: brand */
.footer-brand img {
  width: 200px;      /* adjust to taste */
  height: auto;
  display: block;
  transform: translateY(-40px);   /* ⬅️ move logo up; tweak value */
}

@media (max-width: 640px){
  .footer-brand img { transform: translateY(-6px); }
}


/* Middle: nav */
.footer-nav a {
  display: block;
  margin: 6px 0;
  font-size: 14px;
}

/* Right: contact */
.footer-contact .label {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}
.footer-contact .value {
  display: block;
  margin: 4px 0 12px;
  font-size: 14px;
}

/* Bottom copyright (centered) */
.footer-bottom {
  max-width: 1100px;
  margin: 22px auto 0;
  padding: 16px 16px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  color: #6b7280;
  text-align: center;
  font-size: 12px;
}

/* Responsive stacking */
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand img { width: 180px; }
}


/* ===== Expertise Section ===== */
.expertise-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #111;
  background: #fff;
}

/* diagonal orange/white background like Aztec’s style */
.expertise-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(105deg, #ff7a2a 45%, #fff 45%);
  opacity: 0.10; /* subtle effect, can raise to 0.15 for more */
  z-index: 0;
}

.expertise-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.expertise-title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--orange);
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  justify-content: center;
}

.expertise-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.expertise-card h3 {
  font-family: 'Michroma', sans-serif;
  font-size: 22px;
  margin-bottom: 16px;
  color: #111;
}

.expertise-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 28px;
}

.expertise-btn {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid var(--orange);
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.expertise-btn:hover {
  background: var(--orange);
  color: #fff;
}



/* ===== Gallery Preview – match Expertise diagonal ===== */
.gallery-preview{
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: #fff;                    /* same base as Expertise */
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* full-bleed diagonal layer (same recipe as .expertise-bg) */
.gallery-diag{
  position: absolute;
  inset: 0;
  /* swapped the two colors */
  background: linear-gradient(105deg, #fff 45%, var(--orange) 45%);
  opacity: 0.10;
  z-index: 0;
}


.gallery-inner{
  position: relative;                  /* keep content above the bg */
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.gallery-inner h2{
  font-family: 'Russo One', sans-serif;
  font-size: clamp(24px, 3.6vw, 36px);
  color: var(--orange);
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* cards */
.preview-grid{
  display:flex; justify-content:center; flex-wrap:wrap;
  gap:22px; margin:18px 0 26px;
}

.preview-card{ width:280px; text-decoration:none; color:inherit;
  display:flex; flex-direction:column; align-items:center; }

.preview-card img{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius:14px; box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .2s ease;
}
.preview-card:hover img{ transform:translateY(-2px) scale(1.02);
  box-shadow:0 16px 32px rgba(0,0,0,.12); }

.preview-title{
  display:block; margin-top:10px; font-weight:700; font-size:14px;
  color:#111; text-decoration:none;
}
.preview-card:link .preview-title,
.preview-card:visited .preview-title,
.preview-card:hover .preview-title,
.preview-card:active .preview-title{ color:#111; }


/* Projects page hero (matches quote hero behavior) */
.projects-hero{
  position: relative;
  display: grid;                 /* centers content like the quote hero */
  place-items: center;
  min-height: 260px;             /* adjust to taste */
  padding: 96px 16px 24px;       /* leaves room under the Back Home pill */
  overflow: hidden;              /* <— clips the image to this area */
  text-align: center;
  color: #fff;
  background: #e4ab9b68;           /* fallback while image loads */
}

.projects-hero__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;             /* <— fills and crops inside the gray bar */
  object-position: center;
  filter: brightness(.85);       /* slight darken under the veil */
  z-index: 0;
}

.projects-hero::before{          /* the dark veil */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.12) 65%, rgba(0,0,0,0));
  z-index: 1;
}

.projects-hero__content{         /* text above everything */
  position: relative;
  z-index: 2;
}

/* Title/subtitle styles (you already have these; included for clarity) */
.projects-title{
  font-family: var(--brand-heading);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(28px, 5vw, 54px);
  color: var(--orange);
  margin: 0 0 6px;
}
.projects-sub{ margin: 0 0 18px; color: #f1f1f1; }

/* ==== Projects page === */

.projects-wrap {
  max-width: 1200px;
  margin: 40px auto 96px;
  padding: 0 16px;
}

/* Category tabs (All / Commercial / etc.) */
.proj-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proj-filters .pill {
  position: relative;
  padding: 4px 0;
  border: none;
  background: none;
  text-decoration: none;
  color: #ea7d30;          /* gold-ish, tweak if you want */
  cursor: pointer;
}

.proj-filters .pill:hover {
  color: #ea7d30;
}

.proj-filters .pill.active {
  color: #000;
}

.proj-filters .pill.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #b49a52;
}

/* Tight image grid, no gaps */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0;                /* <-- no gaps between tiles */
}

/* Individual project tile */
.proj-card {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;        /* avoids weird whitespace */
}

.proj-card img {
  width: 100%;
  height: 100%;
  max-height: 460px;     /* adjust if you want taller/shorter rows */
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s ease,
    filter 0.4s ease;
}

/* Hover overlay with project name */
.proj-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px 24px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.0)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proj-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Hover effect: dim + gray hint + slight zoom */
.proj-card:hover img {
  transform: scale(1.02);
  filter: grayscale(40%) brightness(0.8);
}

.proj-card:hover .proj-card__overlay {
  opacity: 1;
}


/* ===========================
   QUOTE PAGE
=========================== */

/* hero stays as you already have it */

.quote-section {
  position: relative;
  padding: 80px 16px 120px;
  background: #f8f9fb;  /* light base */
  overflow: hidden;
}

/* subtle diagonal orange wash behind the form */
.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255,122,42,0.10) 0%,
    rgba(255,122,42,0.00) 40%,
    rgba(255,122,42,0.10) 100%
  );
  pointer-events: none;
}

.quote-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;   /* keeps it above the background wash */
  z-index: 1;
}

.form-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10); /* a little more “floating” */
  padding: 24px;
}
/* ==== Projects page band (like Quote) ==== */

.projects-section {
  position: relative;
  padding: 80px 0 120px;
  background: #f8f9fb;   /* light base */
  overflow: hidden;
}

/* subtle diagonal orange wash */
.projects-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255,122,42,0.10) 0%,
    rgba(255,122,42,0.00) 35%,
    rgba(255,122,42,0.10) 100%
  );
  pointer-events: none;
}

.projects-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;   /* keeps content above the wash */
  z-index: 1;
}
/* ===== About page ===== */

.about-hero {
  padding: 96px 16px 32px;
  background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.05));
  color: #fff;
}

.about-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-hero-text h1 {
  margin: 0 0 6px;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.about-hero-text p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Placeholder box in gray band */
.about-photo-placeholder {
  min-width: 260px;
  min-height: 160px;
  border-radius: 14px;
  border: 2px dashed rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.about-photo-placeholder span {
  max-width: 180px;
}

/* Body section */
.about-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 20px;
}

.about-copy h2 {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 1.4rem;
}

.about-copy p {
  margin: 8px 0;
  color: #333;
  line-height: 1.6;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Columns */
.about-columns {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
}

.about-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.about-card p {
  margin: 0;
  color: #444;
  line-height: 1.5;
}

/* CTA */
.about-cta {
  text-align: center;
  padding: 8px 16px 64px;
}

.about-cta p {
  margin: 10px 0 0;
  color: #666;
}

.about-cta a {
  color: var(--orange);
  text-decoration: none;
}

.about-cta a:hover {
  text-decoration: underline;
}

/* Stack layout on small screens */
@media (max-width: 768px) {
  .about-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-photo-placeholder {
    align-self: stretch;
  }

  .about-columns {
    grid-template-columns: 1fr;
  }
}
/* Hero container */
.about-hero {
  padding: 90px 16px 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15));
  color: #fff;
}

/* Inner layout */
.about-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* Placeholder photo box */
.about-hero-photo {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #ddd; /* fallback if no image */
}

/* Image styling */
.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title */
.about-title {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Subtitle */
.about-sub {
  margin: 0;
  opacity: 0.85;
  font-size: 15px;
}
.about-hero {
  position: relative;
  min-height: 320px;
  padding: 96px 16px 40px;
  color: #fff;
  text-align: center;
  /* full-bleed image + dark overlay */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35)),
    url("../images/hero/demo_5.jpeg") center center / cover no-repeat;
}

.about-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.about-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.about-hero p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
