/* ============================================================
   Your Sign Guy — Home page additions on top of marketing.css
   ============================================================ */

html { scroll-behavior: smooth; }
body { background: var(--surface-page); color: var(--fg-1); }

/* Selection echoes the brand */
::selection { background: var(--gold-base); color: var(--biscay-darker); }

/* ---------- Header refinements ---------- */
.site-header { box-shadow: 0 1px 0 var(--border-hairline); }
.site-header .nav .phone {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 13px; color: var(--biscay-base);
  display: inline-flex; align-items: center; gap: 8px; border: 0;
}
.site-header .nav .phone svg { color: var(--gold-dark); }

/* ---------- Hero — split layout with real photo plate ---------- */
.hero { padding: 110px 0 130px; }
.hero .hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: 64px; max-width: none; }
.hero h1 .plus {
  color: var(--accent-red);
  font-style: italic; font-weight: 700;
  display: inline-block;
  padding: 0 .04em;
}
.hero .lead { font-size: 19px; max-width: 540px; margin-top: 24px; }

.hero-photo-stack { position: relative; }
.hero-photo-stack .frame {
  position: relative; border-radius: 2px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(7, 15, 31, .45), 0 4px 12px rgba(7, 15, 31, .35);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero-photo-stack .frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo-stack .frame.lg { aspect-ratio: 4 / 5; }
.hero-photo-stack .frame.sm {
  position: absolute; right: -28px; bottom: -36px; width: 58%; aspect-ratio: 4 / 3;
  border: 3px solid var(--gold-base);
}
.hero-photo-stack .tag {
  position: absolute; left: -16px; top: 28px;
  background: var(--gold-base); color: var(--biscay-darker);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; padding: 10px 16px; border-radius: 2px;
  box-shadow: var(--shadow-2);
}

/* ---------- Services index — under hero ---------- */
.service-ribbon {
  background: var(--biscay-darker);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--fg-on-brand);
  padding: 28px 0 36px;
}
.service-ribbon .ribbon-head {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 22px;
}
.service-ribbon .ribbon-head .eyebrow {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; font-size: 12px; color: var(--gold-light);
  margin: 0;
}
.service-ribbon .ribbon-rule {
  flex: 1; height: 1px; background: rgba(255, 255, 255, .12);
}
.service-ribbon .ribbon-link {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; color: var(--white);
  text-decoration: none; transition: color .12s var(--ease, ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-ribbon .ribbon-link:hover { color: var(--gold-light); }
.service-ribbon .ribbon-link .arrow { transition: transform .12s ease; }
.service-ribbon .ribbon-link:hover .arrow { transform: translateX(2px); }

.service-index {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.service-index li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: var(--white);
  transition: color .15s ease, background .15s ease;
}
.service-index li:nth-child(4n) { border-right: 0; padding-right: 0; }
.service-index li:nth-child(n+5) { border-bottom: 0; }
.service-index li:nth-child(4n+1) { padding-left: 0; }
.service-index li:hover { color: var(--gold-light); background: rgba(255, 255, 255, .02); }
.service-index svg { color: var(--gold-light); flex: none; }
.service-index .label {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 15px; line-height: 1.1;
}

/* ---------- Philosophy band — two-column intro ---------- */
.philosophy { padding: 110px 0; }
.philosophy .grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}
.philosophy h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 56px; line-height: 1; letter-spacing: 0;
  color: var(--biscay-base); margin: 14px 0 0;
}
.philosophy h2 .plus {
  color: var(--accent-red); font-style: italic;
  display: inline-block; padding: 0 4px;
}
.philosophy p { font-size: 17px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.philosophy p strong { color: var(--fg-1); font-weight: 600; }
.philosophy .signoff {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; color: var(--gold-dark); margin-top: 28px;
  display: inline-flex; align-items: center; gap: 12px;
}
.philosophy .signoff::before { content: ""; width: 28px; height: 2px; background: var(--gold-base); }

/* ---------- Process band — 5 steps over photo ---------- */
.process { padding: 96px 0; background: var(--biscay-base); color: var(--fg-on-brand); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('assets/images/10-full-service.jpg');
  background-size: cover; background-position: center;
  opacity: .14; filter: grayscale(.4);
}
.process::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-base);
}
.process .container { position: relative; z-index: 1; }
.process .header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 56px; }
.process h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 56px; line-height: 1.02; color: var(--white); margin: 14px 0 0; max-width: 640px;
}
.process .intro-lede { max-width: 380px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.55; }
.process .steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.process .step { padding: 32px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.process .step:first-child { padding-left: 0; }
.process .step:last-child { border-right: 0; padding-right: 0; }
.process .step .num {
  font-family: var(--font-display); font-weight: 700; color: var(--gold-base);
  font-size: 14px; letter-spacing: .2em; margin-bottom: 18px; display: block;
}
.process .step .ic { color: var(--gold-light); margin-bottom: 14px; display: block; }
.process .step h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 22px; letter-spacing: 0; color: var(--white); margin: 0 0 10px; line-height: 1.05;
}
.process .step p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72); margin: 0; }

/* ---------- Capability bridge — IF YOU CAN IMAGINE IT ---------- */
.imagine { padding: 110px 0 60px; }
.imagine .header-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.imagine h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 72px; line-height: .98; color: var(--biscay-base); margin: 14px 0 0;
}
.imagine h2 .slash { color: var(--gold-base); font-weight: 400; padding: 0 6px; }
.imagine h2 small { display: block; font-size: 22px; color: var(--gold-dark); font-weight: 600; letter-spacing: .1em; margin-top: 16px; }
.imagine .lede { font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 440px; padding-bottom: 8px; }

.category-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.category-card {
  position: relative; overflow: hidden; border-radius: 2px;
  aspect-ratio: 4 / 3; background: var(--neutral-darker);
  cursor: pointer; transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms;
  box-shadow: var(--shadow-1);
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.category-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}
.category-card:hover img { transform: scale(1.035); }
.category-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 15, 31, .15) 0%, rgba(7, 15, 31, .15) 40%, rgba(7, 15, 31, .9) 100%);
}
.category-card .copy {
  position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 2; color: var(--white);
}
.category-card .eyebrow {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; font-size: 11px; color: var(--gold-light); margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 10px;
}
.category-card .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-base); }
.category-card h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 38px; line-height: 1; color: var(--white); margin: 0 0 12px; letter-spacing: 0;
}
.category-card .items {
  font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.88);
  max-width: 460px;
}
.category-card .pill {
  position: absolute; right: 24px; top: 24px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--biscay-darker);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: 11px; padding: 6px 12px; border-radius: 2px;
}

/* ---------- Portfolio gallery (asymmetric masonry) ---------- */
.portfolio { padding: 60px 0 110px; }
.portfolio .header-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.portfolio h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 56px; line-height: 1; color: var(--biscay-base); margin: 12px 0 0;
}
.portfolio .filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.portfolio .chip {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 11px;
  padding: 8px 14px; border: 1px solid var(--border-hairline);
  border-radius: 999px; background: var(--white); color: var(--biscay-base);
  cursor: pointer; transition: all 120ms cubic-bezier(.2,.8,.2,1);
}
.portfolio .chip:hover { border-color: var(--biscay-base); }
.portfolio .chip.active {
  background: var(--biscay-base); color: var(--white); border-color: var(--biscay-base);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  grid-auto-rows: 130px;
}
.gallery .tile {
  position: relative; overflow: hidden; border-radius: 2px; background: var(--neutral-darker);
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms;
  box-shadow: var(--shadow-1);
}
.gallery .tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.gallery .tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}
.gallery .tile:hover img { transform: scale(1.04); }
.gallery .tile .caption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: var(--white);
}
.gallery .tile .caption .tag {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 10.5px; color: var(--gold-light); margin-bottom: 4px;
}
.gallery .tile .caption .name {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 19px; line-height: 1.05; letter-spacing: 0;
}
.gallery .tile.t-hero    { grid-column: span 7; grid-row: span 3; }
.gallery .tile.t-tall    { grid-column: span 5; grid-row: span 3; }
.gallery .tile.t-wide    { grid-column: span 6; grid-row: span 2; }
.gallery .tile.t-sq      { grid-column: span 3; grid-row: span 2; }
.gallery .tile.t-sq-tall { grid-column: span 3; grid-row: span 3; }
.gallery .tile.t-half    { grid-column: span 4; grid-row: span 2; }
.gallery .tile.hidden    { display: none; }

/* ---------- Quote band overrides — match real form fields ---------- */
.section.dark.quote-section { background: var(--biscay-base); position: relative; overflow: hidden; }
.section.dark.quote-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--biscay-base) 0%, var(--biscay-dark) 100%);
}
.section.dark.quote-section::after {
  /* mountain silhouette */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  clip-path: polygon(0 100%, 0 75%, 9% 55%, 16% 65%, 24% 35%, 31% 55%, 40% 30%, 48% 50%, 56% 25%, 64% 45%, 72% 30%, 80% 55%, 88% 40%, 96% 60%, 100% 50%, 100% 100%);
  background: var(--biscay-darker); opacity: .55;
}
.section.dark.quote-section .container { position: relative; z-index: 2; }
.quote-card .row.row-3 { grid-template-columns: 1fr 1fr 1fr; }
.quote-card .checkbox-row {
  display: flex; align-items: center; gap: 10px; margin: 14px 0 18px;
  font-size: 13.5px; color: var(--fg-2);
}
.quote-card .checkbox-row input { width: 16px; height: 16px; accent-color: var(--biscay-base); }
.quote-card h4.form-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 24px; color: var(--biscay-base); letter-spacing: 0; margin: 0 0 6px;
}
.quote-card .form-sub { color: var(--fg-2); font-size: 14px; margin: 0 0 22px; line-height: 1.5; }

/* Contact card next to form */
.quote-side .contact-card {
  margin-top: 32px; padding: 22px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 2px;
  border-left: 4px solid var(--gold-base);
}
.quote-side .contact-card .label {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 11px; color: var(--gold-light); margin-bottom: 14px; display: block;
}
.quote-side .contact-card .row {
  display: flex; align-items: center; gap: 14px; padding: 8px 0; color: rgba(255,255,255,.92);
  font-size: 15px;
}
.quote-side .contact-card .row svg { color: var(--gold-light); flex-shrink: 0; }
.quote-side .contact-card .row strong {
  color: var(--white); font-weight: 600; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; margin-right: 6px;
}

/* ---------- Footer additions ---------- */
.site-footer .footer-brand img {
  background: var(--white);
  padding: 8px;
  border-radius: 2px;
  height: 64px;
}
.site-footer .blurb-row { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.78); }
.site-footer .blurb-row span { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .blurb-row svg { color: var(--gold-light); flex-shrink: 0; }

/* ---------- Quote modal overlay (optional, hidden) ---------- */

/* Small-screen guard — clamp scaling for tighter widths */
@media (max-width: 1100px) {
  .hero .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 52px; }
  .hero-photo-stack .frame.sm { right: 0; bottom: -20px; width: 50%; }
  .imagine .header-row { grid-template-columns: 1fr; }
  .process .steps { grid-template-columns: repeat(2, 1fr); }
  .process .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .quote-band { grid-template-columns: 1fr; gap: 40px; }
  .service-index { grid-template-columns: repeat(2, 1fr); }
  .service-index li { border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 22px 24px; }
  .service-index li:nth-child(4n+1) { padding-left: 24px; }
  .service-index li:nth-child(2n+1) { padding-left: 0; }
  .service-index li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .service-index li:nth-child(n+5) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .service-index li:nth-child(n+7) { border-bottom: 0; }
}

/* ---------- Mobile (≤720px) ---------- */
@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Header — hide inline nav, keep brand + a single CTA */
  .site-header { height: 64px; }
  .brand-lockup img { height: 36px; }
  .brand-lockup .wordmark { font-size: 14px; }
  .brand-lockup .wordmark small { font-size: 9px; letter-spacing: .12em; }
  .site-header .nav { gap: 8px; }
  .site-header .nav a:not(.btn),
  .site-header .nav .phone { display: none; }
  .site-header .nav .btn { padding: 10px 14px; font-size: 11px; }

  /* Hero */
  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: 40px; line-height: 1; }
  .hero .lead { font-size: 16px; margin-top: 18px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .hero .cta-row .btn { justify-content: center; }
  .hero .meta-row { flex-direction: column; gap: 12px; margin-top: 36px; font-size: 11px; }
  .hero .hero-grid { gap: 56px; }
  .hero-photo-stack .frame.sm { right: 0; bottom: -16px; width: 55%; border-width: 2px; }
  .hero-photo-stack .tag { left: -8px; top: 16px; font-size: 10px; padding: 8px 12px; letter-spacing: .12em; }

  /* Services index — single column */
  .service-ribbon { padding: 20px 0 24px; }
  .service-ribbon .ribbon-head { gap: 12px; padding-bottom: 16px; }
  .service-ribbon .ribbon-link { font-size: 11px; }
  .service-index { grid-template-columns: 1fr; }
  .service-index li,
  .service-index li:nth-child(4n+1),
  .service-index li:nth-child(2n+1),
  .service-index li:nth-child(2n) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .service-index li:last-child { border-bottom: 0; }

  /* Philosophy */
  .philosophy { padding: 64px 0; }
  .philosophy .grid { grid-template-columns: 1fr; gap: 32px; }
  .philosophy h2 { font-size: 36px; }
  .philosophy p { font-size: 16px; }

  /* Process */
  .process { padding: 64px 0; }
  .process h2 { font-size: 36px; }
  .process .intro-lede { font-size: 15px; }
  .process .steps { grid-template-columns: 1fr; }
  .process .step,
  .process .step:first-child,
  .process .step:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .process .steps .step:last-child { border-bottom: 0; }
  .process .step h3 { font-size: 18px; }

  /* Imagine band */
  .imagine { padding: 64px 0 40px; }
  .imagine .header-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .imagine h2 { font-size: 40px; }
  .imagine h2 small { font-size: 16px; margin-top: 10px; }
  .imagine .lede { font-size: 15px; }
  .category-grid { grid-template-columns: 1fr; gap: 14px; }
  .category-card .copy { left: 20px; right: 20px; bottom: 20px; }
  .category-card h3 { font-size: 22px; }
  .category-card .items { font-size: 12px; }

  /* Portfolio gallery — collapse masonry to a stack */
  .portfolio { padding: 40px 0 64px; }
  .portfolio h2 { font-size: 36px; }
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }
  .gallery .tile {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 4 / 3;
  }
  .gallery .tile .caption { left: 14px; right: 14px; bottom: 12px; }
  .gallery .tile .caption .name { font-size: 16px; }

  /* Quote band */
  .section { padding: 64px 0; }
  .quote-card { padding: 22px; }
  .quote-card .row,
  .quote-card .row.row-3 { grid-template-columns: 1fr; gap: 12px; }
  .quote-side h3 { font-size: 26px; }

  /* Footer */
  .site-footer { padding: 48px 0 24px; }
  .site-footer .columns { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .legal { flex-direction: column; gap: 8px; }
  .site-footer .blurb-row { gap: 12px; }
}
