/* ============================================
   ALBORGRID — Shared Stylesheet
   hovolt-tech 使用 ../../styles.css 的本地副本
   ============================================ */

:root {
  --primary: #1a3c6e;
  --primary-dark: #122d52;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --bg: #f4f6f9;
  --text: #2c2c2c;
  --text-light: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(76px, 5.2vw, 92px) 0; }
.section-title { font-size: clamp(2.15rem, 2.4vw, 2.65rem); line-height: 1.16; letter-spacing: -0.025em; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 14px; }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 1.05rem; line-height: 1.7; margin-bottom: 52px; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Product-detail actions use clear, lightweight visual cues. */
.pd-meta .action-row > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pd-meta .action-row > .btn::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: var(--action-icon) center / contain no-repeat;
  mask: var(--action-icon) center / contain no-repeat;
}
.pd-meta .action-row > .btn-accent {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}
.pd-meta .action-row > .btn-primary {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h8l4 4v16H6z'/%3E%3Cpath d='M14 2v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; left: 0; right: 0;
  color: var(--white);
  background: rgba(12,43,80,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000; height: 68px;
  display: flex; align-items: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: var(--white);
  font-family: 'Gelasio', Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
}
.logo em { color: rgba(255,255,255,0.58); font-size: 0.56rem; font-style: normal; font-weight: 400; letter-spacing: 0.34em; text-indent: 0.34em; }
.site-header .logo { color: var(--white) !important; }
.site-header .logo em { color: rgba(255,255,255,0.58) !important; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.25vw, 36px); }
.main-nav a { color: rgba(255,255,255,0.76); font-size: 0.9rem; font-weight: 500; transition: var(--transition); position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--white); font-weight: 500; }
.main-nav a.active::after { width: 100%; }
.main-nav .language-switch {
  margin-left: 4px;
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  opacity: .92;
}
.main-nav .language-switch::after { display: none !important; }
.main-nav .language-switch:hover,
.main-nav .language-switch:focus-visible { opacity: 1; }
@media (max-width: 940px) {
  .main-nav .language-switch {
    margin: 6px 8px 2px;
    padding: 11px 14px;
    text-align: center;
    border-radius: 7px;
  }
}
.site-header .btn-accent { color: #06172d; }

.nav-dropdown { position: relative; display: inline-flex; align-items: center; min-width: 0; }
.nav-dropdown > a { white-space: nowrap; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 28px; margin: 0 0 2px 2px; padding: 0;
  border: 0; background: transparent; color: currentColor; opacity: 0.72;
  cursor: pointer; transition: opacity var(--transition);
}
.nav-dropdown-toggle:hover { opacity: 1; }
.nav-dropdown-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.nav-dropdown-chevron {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.nav-dropdown.is-open .nav-dropdown-chevron { transform: translateY(2px) rotate(225deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 0; z-index: 1200;
  min-width: 248px; padding: 8px;
  border: 1px solid rgba(20,42,78,.12); border-top: 3px solid var(--accent); border-radius: 0 0 10px 10px;
  background: var(--white); box-shadow: 0 16px 34px rgba(6,23,45,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -19px; right: 0; left: 0; height: 18px; }
.main-nav .nav-dropdown-menu a {
  display: block; padding: 10px 13px; border-radius: 6px;
  color: var(--primary) !important; font-size: .86rem; font-weight: 600; line-height: 1.35; white-space: nowrap;
}
.main-nav .nav-dropdown-menu a::after { display: none !important; }
.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a:focus-visible { color: var(--primary-dark) !important; background: #f2f5f9; }

@media (min-width: 941px) {
  .site-header .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .site-header .logo { grid-column: 1; justify-self: start; }
  .site-header .main-nav {
    grid-column: 2;
    justify-self: center;
  }
  .site-header .container > .btn { grid-column: 3; justify-self: end; }
  .nav-dropdown-toggle { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
}
@media (max-width: 940px) {
  .main-nav { display: none; }
  .nav-dropdown { display: grid; grid-template-columns: minmax(0, 1fr) 42px; width: 100%; }
  .nav-dropdown > a { min-width: 0; }
  .nav-dropdown-toggle { width: 42px; height: 42px; margin: 0; color: var(--primary); opacity: 1; }
  .nav-dropdown-menu {
    position: static; grid-column: 1 / -1; display: none; min-width: 0; margin: 0 6px 7px; padding: 5px;
    border: 0; border-left: 2px solid var(--accent); border-radius: 0 7px 7px 0;
    box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .main-nav .nav-dropdown-menu a { padding: 9px 12px 9px 18px; font-size: .88rem; }
}

/* ── Footer ── */
.site-footer { background: #111827; color: #9ca3af; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.site-footer .footer-col a[href^="mailto:"],
.site-footer .footer-col a[href*="wa.me"],
.site-footer .footer-col p { position: relative; padding-left: 28px; }
.site-footer .footer-col a[href^="mailto:"] { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.site-footer .footer-col a[href*="wa.me"] { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H9l-4 4v-4H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E"); }
.site-footer .footer-col p { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-12a7 7 0 0 1 14 0c0 5.5-7 12-7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.site-footer .footer-col a[href^="mailto:"]::before,
.site-footer .footer-col a[href*="wa.me"]::before,
.site-footer .footer-col p::before {
  content: ''; position: absolute; left: 0; top: 0.14em; width: 18px; height: 18px;
  background: #4fb3c7; -webkit-mask: var(--footer-contact-icon) center / contain no-repeat; mask: var(--footer-contact-icon) center / contain no-repeat;
}
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px;
  background: #25d366; color: white;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 9999; transition: var(--transition);
}
.whatsapp-float:hover { background: #128c7e; transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ── Page Hero Banner ── */
.page-hero { background: linear-gradient(135deg, #0c2b50 0%, #183d68 100%); color: var(--white); padding: 72px 0; text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 3.3vw, 3rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; opacity: 0.85; }

/* ── Cards ── */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

/* ── Export reference facts ── */
.reference-facts { display: grid; gap: 9px; margin-top: 14px; }
.reference-fact { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding-top: 9px; border-top: 1px solid var(--border); color: var(--text-light); font-size: 0.88rem; line-height: 1.55; }
.reference-fact:first-child { border-top: 0; padding-top: 0; }
.reference-label { color: var(--primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; }
.reference-value strong { color: var(--text); }

/* ── Export projects ── */
.projects-page-hero { padding-bottom: 98px; }
.projects-page-hero p { max-width: 760px; margin: 0 auto; }
.projects-stats-wrap { position: relative; z-index: 2; margin-top: -46px; }
.projects-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(18,45,82,0.12);
}
.project-stat { padding: 24px 28px; text-align: center; border-right: 1px solid var(--border); }
.project-stat:last-child { border-right: 0; }
.project-stat strong { display: block; color: var(--primary); font-size: clamp(1.65rem, 2.2vw, 2.2rem); line-height: 1.1; }
.project-stat span { display: block; margin-top: 7px; color: var(--text-light); font-size: 0.86rem; }
.projects-intro { max-width: 860px; margin: 0 auto 46px; text-align: center; }
.projects-intro h1,
.projects-intro h2 { margin-bottom: 14px; color: var(--primary); font-size: clamp(2rem, 2.8vw, 2.7rem); line-height: 1.17; letter-spacing: -0.03em; }
.projects-intro p { color: var(--text-light); font-size: 1.04rem; line-height: 1.75; }
.projects-ledger-section { padding-top: 58px; background: var(--bg); }
.project-record-list {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(18,45,82,0.09);
}
.project-record { padding: clamp(38px, 5vw, 62px); border-bottom: 1px solid var(--border); }
.project-record:last-child { border-bottom: 0; }
.project-record-header { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 31px; }
.project-record-index { color: var(--accent-dark); font-size: 1.8rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.project-record-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 9px; color: var(--text-light); font-size: 0.91rem; }
.project-record-meta strong { color: var(--primary); font-size: 1rem; }
.project-record-meta time,
.project-record-meta span { padding-left: 16px; border-left: 1px solid #cdd5df; }
.project-record h2 { max-width: 880px; margin: 0; color: var(--primary); font-size: clamp(1.75rem, 2.45vw, 2.35rem); line-height: 1.2; letter-spacing: -0.028em; }
.project-record-content { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr); gap: clamp(38px, 6vw, 78px); margin-left: 90px; }
.project-record-copy > p { margin: 0 0 16px; color: var(--text-light); font-size: 0.98rem; line-height: 1.76; }
.project-record-copy h3 { margin: 26px 0 13px; color: var(--primary); font-size: 1.04rem; line-height: 1.35; }
.project-record-points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.project-record-points li { position: relative; padding-left: 19px; color: var(--text); font-size: 0.91rem; line-height: 1.58; }
.project-record-points li::before { content: ''; position: absolute; top: 0.62em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.project-record-data { align-self: start; margin: 0; padding: 7px 25px; background: #f5f7fa; border-left: 3px solid var(--accent); }
.project-record-data div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.project-record-data div:last-child { border-bottom: 0; }
.project-record-data dt { margin-bottom: 4px; color: var(--primary); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.035em; text-transform: uppercase; }
.project-record-data dd { color: var(--text); font-size: 0.89rem; line-height: 1.55; }
.project-record-phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 23px 0; }
.project-record-phases > div { padding: 18px 20px; background: #f5f7fa; border-top: 3px solid var(--accent); }
.project-record-phases strong { display: block; margin-bottom: 7px; color: var(--primary); font-size: 1rem; }
.project-record-phases p { margin: 0; color: var(--text-light); font-size: 0.88rem; line-height: 1.56; }
.project-record--compact .project-record-content { align-items: start; }
.project-feature-list { display: grid; gap: 34px; }
.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(18,45,82,0.09);
}
.project-feature:nth-child(even) .project-feature-media { order: 2; }
.project-feature-media { position: relative; min-height: 410px; overflow: hidden; background: #e7edf4; }
.project-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.project-feature-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding: 8px 12px;
  color: rgba(255,255,255,0.9);
  background: rgba(8,29,55,0.82);
  border-radius: 7px;
  font-size: 0.74rem;
  line-height: 1.45;
  backdrop-filter: blur(5px);
}
.project-feature-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 4vw, 54px); }
.project-feature-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; color: var(--text-light); font-size: 0.85rem; font-weight: 650; }
.project-feature-meta strong { color: var(--primary); font-size: 0.92rem; }
.project-feature-meta span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--accent); }
.project-feature h2 { margin: 0 0 15px; color: var(--primary); font-size: clamp(1.65rem, 2.3vw, 2.15rem); line-height: 1.22; letter-spacing: -0.025em; }
.project-feature-summary { margin: 0 0 22px; color: var(--text-light); font-size: 0.98rem; line-height: 1.72; }
.project-feature-facts { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.project-feature-facts li { display: flex; gap: 11px; color: var(--text); font-size: 0.9rem; line-height: 1.55; }
.project-feature-facts li::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; margin-top: 0.55em; border-radius: 50%; background: var(--accent); }
.project-feature-link { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; color: var(--primary); font-size: 0.92rem; font-weight: 750; }
.project-feature-link span { color: var(--accent); font-size: 1.1rem; transition: transform 0.2s ease; }
.project-feature-link:hover span { transform: translateX(4px); }
.additional-projects { background: #edf2f7; }
.project-reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 38px auto 0; }
.project-reference-card { padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.project-reference-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.project-reference-card h3 { color: var(--primary); font-size: 1.3rem; }
.project-reference-card__head span { color: var(--accent-dark); font-size: 0.86rem; font-weight: 750; }
.project-reference-card p { color: var(--text-light); font-size: 0.93rem; line-height: 1.68; }
.project-reference-card dl { display: grid; gap: 10px; margin-top: 19px; }
.project-reference-card dl div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.project-reference-card dt { color: var(--primary); font-size: 0.73rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.project-reference-card dd { color: var(--text); font-size: 0.86rem; line-height: 1.55; }
.projects-cta { padding: 54px 0; color: var(--white); background: linear-gradient(120deg, #0c2b50, #204b7f); }
.projects-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.projects-cta h2 { margin-bottom: 8px; font-size: clamp(1.7rem, 2.5vw, 2.25rem); line-height: 1.2; }
.projects-cta p { color: rgba(255,255,255,0.76); }

/* ── Project detail pages ── */
.project-detail-hero { padding: 54px 0 62px; color: var(--white); background: linear-gradient(125deg, #0b294b 0%, #173f70 68%, #245487 100%); }
.project-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 38px; color: rgba(255,255,255,0.65); font-size: 0.84rem; }
.project-breadcrumb a:hover { color: var(--white); }
.project-detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: clamp(42px, 6vw, 84px); align-items: end; }
.project-detail-hero h1 { max-width: 800px; margin: 0 0 20px; font-size: clamp(2.45rem, 4.4vw, 4.35rem); line-height: 1.06; letter-spacing: -0.045em; }
.project-detail-lead { max-width: 760px; color: rgba(255,255,255,0.8); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.72; }
.project-hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.17); border-radius: 12px; backdrop-filter: blur(7px); }
.project-hero-facts div { min-height: 104px; padding: 19px 20px; border-right: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.project-hero-facts div:nth-child(2n) { border-right: 0; }
.project-hero-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.project-hero-facts span { display: block; margin-bottom: 7px; color: rgba(255,255,255,0.58); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.project-hero-facts strong { display: block; color: var(--white); font-size: 0.98rem; line-height: 1.4; }
.project-detail-main { background: var(--white); }
.project-story-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(38px, 6vw, 78px); align-items: center; }
.project-story-media { overflow: hidden; background: var(--bg); border: 1px solid var(--border); border-radius: 15px; box-shadow: 0 14px 34px rgba(18,45,82,0.1); }
.project-story-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-story-media figcaption { padding: 12px 16px; color: var(--text-light); font-size: 0.76rem; line-height: 1.45; }
.project-story-copy h2 { margin-bottom: 18px; color: var(--primary); font-size: clamp(2rem, 2.8vw, 2.65rem); line-height: 1.16; letter-spacing: -0.03em; }
.project-story-copy p { margin-bottom: 15px; color: var(--text-light); font-size: 0.98rem; line-height: 1.75; }
.project-data-list { display: grid; gap: 0; margin-top: 25px; border-top: 1px solid var(--border); }
.project-data-list div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.project-data-list dt { color: var(--primary); font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.project-data-list dd { color: var(--text); font-size: 0.9rem; line-height: 1.55; }
.project-capability-section { background: var(--bg); }
.project-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 42px; }
.project-capability { padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: 13px; }
.project-capability-index { display: block; margin-bottom: 22px; color: var(--accent-dark); font-size: 1.5rem; font-weight: 800; }
.project-capability h3 { margin-bottom: 12px; color: var(--primary); font-size: 1.14rem; line-height: 1.35; }
.project-capability p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.project-delivery-section { background: var(--white); }
.project-delivery-layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(40px, 7vw, 92px); align-items: start; }
.project-delivery-layout h2 { margin-bottom: 16px; color: var(--primary); font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1.16; letter-spacing: -0.03em; }
.project-delivery-layout > div > p { color: var(--text-light); line-height: 1.72; }
.project-check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.project-check-list li { position: relative; padding: 17px 19px 17px 48px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 9px; font-size: 0.92rem; line-height: 1.55; }
.project-check-list li::before { content: '\2713'; position: absolute; left: 19px; top: 17px; color: var(--accent-dark); font-weight: 800; }
.project-phase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.project-phase { padding: 27px; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 11px; box-shadow: var(--shadow); }
.project-phase h3 { margin-bottom: 12px; color: var(--primary); font-size: 1.16rem; }
.project-phase p { color: var(--text-light); font-size: 0.9rem; line-height: 1.66; }
.project-phase strong { color: var(--text); }
.project-related { background: #edf2f7; }
.project-related-layout { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.project-related h2 { margin-bottom: 8px; color: var(--primary); font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
.project-related p { max-width: 760px; color: var(--text-light); }
.project-related-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.btn-light { color: var(--primary); background: var(--white); border: 1px solid var(--border); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ── Product-page quotation form ── */
.product-quote-section {
  padding: clamp(68px, 5.5vw, 90px) 0;
  color: var(--text);
  background: var(--white);
  border-top: 1px solid var(--border);
}
.product-quote-section::before {
  content: none;
}
.product-quote-layout {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}
.product-quote-intro { display: none; }
.product-quote-intro h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.product-quote-intro > p { margin: 0; color: rgba(255,255,255,0.84); font-size: 1.01rem; line-height: 1.72; }
.product-quote-points { display: grid; gap: 11px; margin: 27px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,0.76); font-size: 0.87rem; font-weight: 600; }
.product-quote-points li { display: flex; align-items: center; gap: 11px; }
.product-quote-points li::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #f6bd4b; box-shadow: 0 0 0 4px rgba(246,189,75,0.12); }
.product-quote-card {
  width: 100%;
  min-width: 0;
  padding: clamp(30px, 3vw, 40px);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(18,45,82,0.1);
}
.product-quote-card h3 { margin: 0 0 7px; color: var(--primary); font-size: 1.42rem; line-height: 1.25; }
.product-quote-card .quote-form-sub { margin: 0 0 25px; color: var(--text-light); font-size: 0.92rem; line-height: 1.55; }
.product-quote-card .quote-current-product { display: block; margin-top: 5px; color: var(--primary); font-size: 0.82rem; font-weight: 700; }
.product-quote-card .quote-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-quote-card .quote-form-group { margin-bottom: 18px; }
.product-quote-card .quote-form-group > label { display: block; margin-bottom: 7px; color: var(--text); font-size: 0.87rem; font-weight: 650; }
.product-quote-card .quote-optional { color: var(--text-light); font-weight: 400; }
.product-quote-card input,
.product-quote-card select,
.product-quote-card textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #f5f7fa;
  border: 1.5px solid #dfe4eb;
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.product-quote-card input,
.product-quote-card select { min-height: 50px; }
.product-quote-card textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.product-quote-card input:focus,
.product-quote-card select:focus,
.product-quote-card textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(26,60,110,0.1); }
.product-quote-card .quote-file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 16px 18px;
  background: #f5f7fa;
  border: 1.5px dashed #d5dce6;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.product-quote-card .quote-file-drop:hover { border-color: var(--primary); background: var(--white); }
.product-quote-card .quote-file-drop input[type='file'] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.product-quote-card .quote-file-icon { flex: 0 0 auto; color: var(--primary); }
.product-quote-card .quote-file-text { min-width: 0; color: var(--text); font-size: 0.88rem; line-height: 1.42; }
.product-quote-card .quote-file-text strong { display: block; color: var(--primary); font-weight: 650; }
.product-quote-card .quote-file-text small { display: block; margin-top: 3px; color: var(--text-light); font-size: 0.76rem; }
.product-quote-card .quote-file-names { margin-top: 8px; color: var(--text); font-size: 0.8rem; }
.product-quote-card .quote-file-names span { display: inline-block; margin: 3px 6px 0 0; padding: 3px 10px; color: var(--primary); background: #eef2ff; border-radius: 999px; font-weight: 600; }
.product-quote-card .quote-file-error { display: none; margin-top: 9px; color: #991b1b; font-size: 0.86rem; }
.product-quote-card .quote-form-submit {
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  color: #102d50;
  background: #efb034;
  border: 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.product-quote-card .quote-form-submit:hover,
.product-quote-card .quote-form-submit:focus-visible { outline: none; background: #f6be4e; transform: translateY(-1px); box-shadow: 0 9px 22px rgba(239,176,52,0.24); }
.product-quote-card .quote-form-submit:disabled { cursor: wait; opacity: 0.72; transform: none; box-shadow: none; }
.product-quote-card .quote-form-message { display: none; margin-top: 16px; padding: 13px 16px; color: #065f46; background: #d1fae5; border-radius: 8px; font-size: 0.88rem; line-height: 1.5; }
.product-quote-card .quote-form-message.is-error { color: #991b1b; background: #fee2e2; }
.product-quote-card .quote-form-fallback { margin: 0; color: var(--text-light); }
.product-quote-card .quote-form-fallback a { color: var(--primary); font-weight: 700; text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .projects-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-stat:nth-child(2) { border-right: 0; }
  .project-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .project-feature { grid-template-columns: 1fr; }
  .project-feature:nth-child(even) .project-feature-media { order: 0; }
  .project-feature-media { min-height: 360px; }
  .project-record-content { grid-template-columns: 1fr; margin-left: 90px; }
  .project-detail-hero-grid { grid-template-columns: 1fr; }
  .project-hero-facts { max-width: 680px; }
  .project-story-grid { grid-template-columns: 1fr; }
  .project-capability-grid { grid-template-columns: 1fr; }
  .project-delivery-layout { grid-template-columns: 1fr; }
  .project-related-layout { align-items: flex-start; flex-direction: column; }
  .product-quote-card { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .projects-page-hero { padding-bottom: 82px; }
  .projects-stats-wrap { margin-top: -38px; }
  .project-stat { padding: 20px 14px; }
  .project-stat span { font-size: 0.78rem; }
  .projects-ledger-section { padding-top: 44px; }
  .project-record { padding: 32px 22px 36px; }
  .project-record-header { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; margin-bottom: 24px; }
  .project-record-index { padding-top: 3px; font-size: 1.25rem; }
  .project-record-meta { gap: 7px 10px; font-size: 0.82rem; }
  .project-record-meta time,
  .project-record-meta span { padding-left: 10px; }
  .project-record h2 { font-size: 1.52rem; }
  .project-record-content { gap: 28px; margin-left: 55px; }
  .project-record-phases { grid-template-columns: 1fr; }
  .project-record-data { padding: 5px 19px; }
  .project-feature-media { min-height: 265px; }
  .project-feature-body { padding: 28px 23px 32px; }
  .project-reference-grid { grid-template-columns: 1fr; }
  .project-reference-card { padding: 25px 22px; }
  .projects-cta .container { align-items: flex-start; flex-direction: column; }
  .project-detail-hero { padding: 38px 0 48px; }
  .project-breadcrumb { margin-bottom: 28px; }
  .project-detail-hero h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .project-hero-facts { grid-template-columns: 1fr; }
  .project-hero-facts div,
  .project-hero-facts div:nth-child(2n) { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .project-hero-facts div:last-child { border-bottom: 0; }
  .project-story-media img { aspect-ratio: 4 / 3; }
  .project-data-list div { grid-template-columns: 1fr; gap: 5px; }
  .project-capability { padding: 25px 22px; }
  .project-phase-grid { grid-template-columns: 1fr; }
  .project-related-actions { width: 100%; }
  .project-related-actions .btn { flex: 1 1 160px; text-align: center; }
  .main-nav { display: none; }
  .product-quote-section { padding: 54px 0; }
  .product-quote-card { padding: 25px 20px 22px; border-radius: 10px; }
  .product-quote-card h3 { font-size: 1.3rem; }
  .product-quote-card .quote-form-row { grid-template-columns: 1fr; gap: 0; }
  .product-quote-card .quote-form-group { margin-bottom: 17px; }
  .product-quote-card .quote-file-drop { align-items: flex-start; min-height: 104px; padding: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 860px) {
  .site-header { background: rgba(12,43,80,0.985); }
  .site-header .main-nav a { color: var(--text); }
  .site-header .main-nav a:hover,
  .site-header .main-nav a.active { color: var(--primary); }
  .site-header .main-nav a.active { background: var(--bg); }
}

/* Product photography preview: the staged images already include their own
   16:9 factory environment, so they should read as complete photographs
   instead of cutouts floating inside padded image wells. */
.p-card-img {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e9edf1 !important;
}

.p-card-img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
}

.pd-visual {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e9edf1 !important;
}

.pd-visual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
}

.rel-card .ri {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e9edf1 !important;
}

.rel-card .ri img,
.pd-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
}

/* Static header wordmark: prevents the pre-script text logo from flashing. */
.logo.logo--graphic{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;width:auto;line-height:1!important;letter-spacing:0!important;}
.logo--graphic .brand-logo-image{display:block;width:90px;height:auto;max-height:58px;object-fit:contain;}
.logo--graphic .brand-name{display:block;color:inherit;font:700 1.45rem/1 Inter,Arial,sans-serif;letter-spacing:.02em;white-space:nowrap;}
.site-footer .logo--graphic .brand-logo-image,.site-foot .logo--graphic .brand-logo-image,.foot .logo--graphic .brand-logo-image{width:102px;max-height:66px;}
.site-footer .logo--graphic .brand-name,.site-foot .logo--graphic .brand-name,.foot .logo--graphic .brand-name{font-size:1.55rem;}
@media (max-width:560px){.site-header .logo--graphic{gap:8px!important;}.site-header .logo--graphic .brand-logo-image{width:70px;max-height:45px;}.site-header .logo--graphic .brand-name{font-size:1.12rem;}}
/* Shared stage alignment for every ALBORGRID header. */
.site-header .container {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1760px) / 2));
  padding-right: max(32px, calc((100vw - 1760px) / 2));
}
@media (max-width: 940px) {
  .site-header .container { padding-left: 24px; padding-right: 24px; }
}
