@charset "UTF-8";

/* Shared inner-page system, layered on top of site.css. */
.subpage-hero {
  padding: calc(var(--header-height) + 62px) 0 76px;
  background:
    linear-gradient(90deg, rgba(23, 40, 45, .04) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(rgba(23, 40, 45, .04) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--paper);
}
.subpage-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 7vw, 95px); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; color: var(--muted); font-size: .72rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current="page"] { color: var(--ink); font-weight: 700; }
.subpage-hero h1 { max-width: 760px; font-size: clamp(3.8rem, 6.5vw, 6.7rem); line-height: .94; letter-spacing: -.06em; }
.subpage-hero h1 em { color: var(--accent); font-style: normal; }
.subpage-lead { max-width: 580px; margin-top: 28px; color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.subpage-hero-media { position: relative; padding: 0 22px 25px 0; }
.subpage-hero-media::before { content: ""; position: absolute; inset: 24px 0 0 24px; background: var(--ink); }
.subpage-hero-media img { position: relative; width: 100%; aspect-ratio: 4 / 3.55; object-fit: cover; box-shadow: var(--shadow); }
.subpage-hero-media figcaption { position: absolute; right: 0; bottom: 0; max-width: 240px; padding: 15px 20px; color: var(--white); background: var(--accent); font-size: .75rem; font-weight: 700; line-height: 1.5; }

.editorial { background: var(--white); }
.editorial-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); }
.editorial-intro { position: sticky; top: calc(var(--header-height) + 30px); align-self: start; }
.editorial-intro h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.rich-copy p { color: var(--muted); }
.rich-copy p + p { margin-top: 20px; }
.rich-copy .lead { color: var(--ink); font-size: 1.18rem; font-weight: 650; }
.check-list { display: grid; gap: 0; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.check-list li { position: relative; padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-panel { min-height: 245px; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.feature-panel > span { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.feature-panel h3 { margin: 28px 0 14px; font-size: 1.45rem; }
.feature-panel p { color: var(--muted); font-size: .88rem; }
.feature-panel.dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.feature-panel.dark p { color: rgba(255,255,255,.66); }

.compact-gallery .project-card,
.compact-gallery .project-card:nth-child(5),
.compact-gallery .project-card:nth-child(6) { grid-column: span 4; aspect-ratio: 4 / 3.35; }
.compact-gallery .project-card-wide { grid-column: span 4; }
.gallery-note { margin-top: 24px; color: rgba(255,255,255,.55); font-size: .75rem; }

.stats-band { color: var(--white); background: var(--accent); }
.stats-grid-new { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-new { padding: 34px 24px; border-right: 1px solid rgba(255,255,255,.24); }
.stat-new:first-child { padding-left: 0; }
.stat-new:last-child { border: 0; }
.stat-new strong { display: block; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 2.7rem; line-height: 1; letter-spacing: -.04em; }
.stat-new span { display: block; margin-top: 10px; color: rgba(255,255,255,.78); font-size: .72rem; line-height: 1.45; }

.timeline-new { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.timeline-new li { display: grid; grid-template-columns: 150px 1fr; gap: 34px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline-new time { color: var(--accent); font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 1.45rem; font-weight: 750; }
.timeline-new h3 { margin-bottom: 10px; font-size: 1.35rem; }
.timeline-new p { max-width: 760px; color: var(--muted); font-size: .91rem; }
.history-quote { margin-top: 52px; padding: 36px 40px; color: var(--white); background: var(--ink); border-left: 4px solid var(--accent-bright); }
.history-quote p { max-width: 900px; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 1.5rem; line-height: 1.5; }
.history-quote cite { display: block; margin-top: 18px; color: rgba(255,255,255,.55); font-size: .72rem; font-style: normal; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product-card { display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); background: var(--white); }
.product-brand { width: auto; max-width: 180px; height: 52px; margin-bottom: 32px; object-fit: contain; object-position: left center; }
.product-card h3 { font-size: 2rem; }
.product-card > p { margin-top: 16px; color: var(--muted); font-size: .91rem; }
.product-card .check-list { margin-bottom: 30px; }
.product-card .text-link { align-self: flex-start; margin-top: auto; }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { padding: 25px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.contact-card > span { display: block; margin-bottom: 12px; color: var(--accent); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-card strong { display: block; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 1.35rem; line-height: 1.35; }
.contact-card p { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.contact-card address { font-style: normal; }
.appointment-note { padding: 25px; color: var(--white); background: var(--accent); }
.appointment-note strong { display: block; font-size: 1.05rem; }
.appointment-note p { margin-top: 8px; color: rgba(255,255,255,.82); font-size: .82rem; }

.inquiry-wrap { padding: 34px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(23,40,45,.07); }
.inquiry-wrap h2 { font-size: 2.3rem; }
.inquiry-wrap > p { margin: 12px 0 26px; color: var(--muted); font-size: .84rem; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .73rem; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbd1cd;
  border-radius: 0;
  font-size: .9rem;
}
.form-field textarea { min-height: 135px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-privacy { grid-column: 1 / -1; color: var(--muted); font-size: .7rem; }
.form-submit { grid-column: 1 / -1; justify-self: start; cursor: pointer; }
.map-frame { width: 100%; height: 430px; display: block; border: 0; background: #dce2dc; }
.map-shell { padding: 10px; background: var(--white); border: 1px solid var(--line); }
.map-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 8px 6px; color: var(--muted); font-size: .78rem; }
.map-caption a { color: var(--ink); font-weight: 700; }

@media (hover: hover) {
  .contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
  .feature-panel:hover, .product-card:hover { border-color: #aeb6b1; }
}

@media (max-width: 900px) {
  .subpage-hero { padding-top: calc(var(--header-height) + 45px); }
  .subpage-hero-grid { gap: 35px; }
  .subpage-hero h1 { font-size: clamp(3.2rem, 7vw, 4.8rem); }
  .editorial-grid { grid-template-columns: 1fr; gap: 35px; }
  .editorial-intro { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .appointment-note { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .subpage-hero { padding: calc(var(--header-height) + 35px) 0 58px; background-size: 56px 56px; }
  .subpage-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .breadcrumb { margin-bottom: 27px; }
  .subpage-hero h1 { font-size: clamp(3.35rem, 16vw, 5rem); }
  .subpage-lead { margin-top: 23px; font-size: .95rem; }
  .subpage-hero-media { padding: 0 16px 18px 0; }
  .subpage-hero-media::before { inset: 18px 0 0 18px; }
  .subpage-hero-media img { aspect-ratio: 4 / 3.2; }
  .subpage-hero-media figcaption { padding: 11px 15px; font-size: .68rem; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .feature-panel { min-height: 0; }
  .compact-gallery .project-card,
  .compact-gallery .project-card:nth-child(5),
  .compact-gallery .project-card:nth-child(6),
  .compact-gallery .project-card-wide { grid-column: auto; }
  .stats-grid-new { grid-template-columns: repeat(2, 1fr); }
  .stat-new { padding: 24px 15px; border-bottom: 1px solid rgba(255,255,255,.24); }
  .stat-new:nth-child(2) { border-right: 0; }
  .stat-new:nth-child(3), .stat-new:nth-child(4) { border-bottom: 0; }
  .stat-new:first-child { padding-left: 15px; }
  .stat-new strong { font-size: 2.15rem; }
  .timeline-new li { grid-template-columns: 1fr; gap: 10px; padding: 25px 0; }
  .history-quote { padding: 28px; }
  .history-quote p { font-size: 1.25rem; }
  .product-card { padding: 27px; }
  .contact-cards { grid-template-columns: 1fr; }
  .appointment-note { grid-column: auto; }
  .inquiry-wrap { padding: 24px 20px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-field.full, .form-privacy, .form-submit { grid-column: auto; }
  .form-submit { width: 100%; }
  .map-frame { height: 330px; }
  .map-caption { align-items: flex-start; flex-direction: column; gap: 6px; }
}

/* Keep every hero image fully visible at every viewport size. */
.subpage-hero-media img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; background: var(--paper); }
@media (min-width: 701px) {
  .compact-gallery.two-items .project-card { grid-column: span 6; }
}
