/* ============================================================
   NUOYAN GLOBAL — corporate site styles
   ============================================================ */

:root {
  --paper: #fffdf9;
  --cream: #f8f5ef;
  --sand: #efe7da;
  --ink: #2b2621;
  --espresso: #211c17;
  --gold: #b98a4b;
  --gold-light: #d9b87c;
  --muted: #7d7469;
  --line: #e5ded1;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
::selection { background: var(--gold); color: #fff; }

.container { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 112px 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--espresso); color: #cfc4b4; font-size: 10.5px; letter-spacing: 1.6px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar-loc { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(217,184,124,.14); }
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar-links a:hover { color: var(--gold-light); }
.divider { color: #6d6256; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248,245,239,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(185,138,75,.18); transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(43,38,33,.09); background: rgba(248,245,239,.99); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 27px; line-height: 1; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(185,138,75,.35); }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text strong { font-family: var(--serif); font-size: 21px; letter-spacing: 2.4px; line-height: 1; font-weight: 700; }
.brand-text strong span { color: var(--gold); }
.brand-text small { font-size: 8px; letter-spacing: 1.8px; color: var(--muted); font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav > a { font-size: 13px; font-weight: 600; letter-spacing: .6px; position: relative; padding: 8px 0; color: #4c443c; transition: color .25s; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.main-nav > a:hover, .main-nav > a.active { color: var(--gold); }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }
.nav-cta { background: var(--espresso); color: var(--paper) !important; padding: 12px 22px !important; letter-spacing: 1px; transition: background .25s; }
.nav-cta:hover { background: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; width: 38px; height: 38px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Buttons & shared bits ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 30px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border: 1px solid transparent; transition: background .25s, color .25s, transform .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #9d7139; }
.btn-outline { border-color: #b7aa99; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--gold); color: #fff; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 10.5px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; }
.eyebrow .line { width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
h2 { font-size: clamp(34px, 3.3vw, 46px); line-height: 1.25; }
h2 em { color: var(--gold); font-weight: 400; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 52px; }
.section-head h2 { margin: 20px 0 16px; }
.section-head p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-head.light { color: var(--paper); }
.section-head.light p { color: #b9ada0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 78% 34%, #ece0cf 0%, transparent 46%), linear-gradient(125deg, #fbf8f3 0%, #f5efe5 100%); padding: 86px 0 94px; }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(#cbbda9 0.6px, transparent 0.6px); background-size: 8px 8px; mask-image: linear-gradient(90deg, transparent 40%, #000 100%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(46px, 5.4vw, 76px); line-height: 1.14; margin: 26px 0 24px; max-width: 650px; }
.hero-copy h1 em { display: block; color: var(--gold); font-weight: 400; }
.hero-lead { color: #6e6459; font-size: 16px; line-height: 1.85; max-width: 530px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 36px 0 46px; }
.hero-stats { display: flex; gap: 46px; border-top: 1px solid #dcd2c3; padding-top: 26px; }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--serif); font-size: 38px; line-height: 1; font-weight: 600; }
.hero-stats strong span { color: var(--gold); }
.hero-stats small { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }

.hero-visual { position: relative; height: 570px; }
.hero-frame { position: absolute; top: 4px; right: 0; width: 76%; height: 470px; }
.hero-frame::before { content: ""; position: absolute; inset: -16px -16px 16px 16px; border: 1px solid rgba(185,138,75,.55); z-index: -1; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; box-shadow: 0 26px 50px rgba(43,38,33,.2); }
.hero-frame-small { position: absolute; left: 0; bottom: 12px; width: 45%; height: 285px; border: 9px solid var(--cream); box-shadow: 0 18px 38px rgba(43,38,33,.18); }
.hero-frame-small img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-seal { position: absolute; right: -12px; bottom: 8px; width: 126px; height: 126px; background: var(--cream); border-radius: 50%; box-shadow: 0 10px 30px rgba(43,38,33,.16); display: grid; place-items: center; }
.hero-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero-seal svg text { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 2.6px; fill: var(--gold); }
.hero-seal span { font-family: var(--serif); font-size: 44px; color: var(--ink); line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-caption { position: absolute; left: -28px; top: 70px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; letter-spacing: 3px; color: #9a8c7c; font-weight: 700; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: 2.4px; color: #a19483; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; }
.scroll-hint span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; background: var(--espresso); border-top: 1px solid rgba(217,184,124,.2); border-bottom: 1px solid rgba(217,184,124,.2); }
.marquee { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 23px; letter-spacing: 3px; color: #eee4d5; padding: 17px 34px; white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 96px; align-items: center; }
.about-visual { position: relative; height: 610px; }
.about-img-main { position: absolute; top: 0; left: 0; width: 76%; height: 490px; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 22px 44px rgba(43,38,33,.16); }
.about-img-small { position: absolute; right: 0; bottom: 22px; width: 50%; height: 300px; border: 11px solid var(--cream); box-shadow: 0 16px 36px rgba(43,38,33,.15); }
.about-img-small img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.about-stamp { position: absolute; left: 4%; bottom: 0; width: 152px; height: 152px; background: var(--espresso); color: var(--gold-light); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.about-stamp strong { font-family: var(--serif); font-size: 24px; line-height: 1.05; letter-spacing: 1px; }
.about-stamp small { font-size: 8px; letter-spacing: 1.5px; color: #a59685; }
.about-copy h2 { margin: 22px 0 24px; max-width: 570px; }
.about-copy > p { color: var(--muted); font-size: 14.5px; line-height: 1.95; margin-bottom: 18px; max-width: 590px; }
.about-points { display: grid; gap: 13px; margin: 30px 0 34px; }
.about-points div { display: flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 600; color: #51473d; }
.check { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; border-radius: 50%; }
.about-signature { display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-top: 24px; }
.sig-line { width: 34px; height: 2px; background: var(--gold); flex: 0 0 34px; }
.about-signature div { display: flex; flex-direction: column; gap: 4px; }
.about-signature strong { font-family: var(--serif); font-size: 17px; letter-spacing: 1px; }
.about-signature small { font-size: 8.5px; letter-spacing: 1.3px; color: var(--muted); }

/* ---------- Products ---------- */
.products { background: var(--paper); }
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn { background: transparent; border: 1px solid var(--line); padding: 10px 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); transition: .25s; }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--espresso); border-color: var(--espresso); color: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: #fff; border: 1px solid var(--line); cursor: pointer; transition: transform .35s, box-shadow .35s, border-color .35s; outline: none; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-7px); box-shadow: 0 22px 44px rgba(43,38,33,.12); border-color: var(--gold-light); }
.product-card.hidden { display: none; }
.product-img { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; background: var(--sand); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,253,249,.94); color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 8px 12px; }
.product-info { position: relative; padding: 24px 26px 26px; min-height: 108px; }
.product-info h3 { font-size: 25px; line-height: 1.15; padding-right: 28px; }
.product-info p { color: var(--muted); font-size: 12px; margin-top: 8px; letter-spacing: 1px; }
.product-arrow { position: absolute; right: 24px; bottom: 28px; color: var(--gold); font-size: 20px; transition: transform .3s; }
.product-card:hover .product-arrow { transform: translate(3px,-3px); }

/* ---------- Services ---------- */
.services { background: var(--espresso); color: var(--paper); position: relative; overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; opacity: .04; background-image: radial-gradient(#fff 0.7px, transparent 0.7px); background-size: 10px 10px; pointer-events: none; }
.services > .container { position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(217,184,124,.17); padding: 38px 28px 34px; transition: background .3s, border-color .3s, transform .3s; }
.service-card:hover { background: rgba(255,255,255,.065); border-color: rgba(217,184,124,.55); transform: translateY(-5px); }
.service-icon { width: 52px; height: 52px; color: var(--gold-light); }
.service-icon svg { width: 100%; height: 100%; }
.service-num { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 40px; color: rgba(217,184,124,.15); line-height: 1; }
.service-card h3 { font-size: 26px; margin: 24px 0 13px; }
.service-card p { color: #ada296; font-size: 12.5px; line-height: 1.85; }

/* ---------- Process ---------- */
.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { border-top: 2px solid #d8cec0; padding-top: 22px; transition: border-color .3s; }
.step:hover { border-color: var(--gold); }
.step-no { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold); margin-bottom: 16px; }
.step h3 { font-size: 25px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 12.5px; line-height: 1.8; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(100deg, #251f19, #352b21); color: var(--paper); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); padding: 76px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(30px, 3.3vw, 46px); margin: 18px 0 10px; max-width: 720px; }
.cta-inner p { color: #b8ab9b; font-size: 14px; }
.cta-inner .btn { flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; }
.contact-info h2 { margin: 22px 0 18px; }
.contact-info > p { color: var(--muted); font-size: 14.5px; line-height: 1.8; max-width: 390px; }
.contact-list { margin-top: 38px; display: grid; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 18px; }
.contact-icon { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); font-size: 19px; }
.contact-item div { display: flex; flex-direction: column; gap: 4px; }
.contact-item small { font-size: 9px; letter-spacing: 1.7px; color: #a29687; font-weight: 700; }
.contact-item a, .contact-item span { font-size: 14px; font-weight: 600; }
.contact-item a:hover { color: var(--gold); }
.contact-form { background: var(--cream); border: 1px solid var(--line); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #6d6358; margin-bottom: 20px; }
.contact-form input, .contact-form select, .contact-form textarea { background: var(--paper); border: 1px solid #ded5c7; padding: 14px 15px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,138,75,.1); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 4px; }
.form-note { font-size: 12px; margin-top: 14px; color: var(--gold); min-height: 16px; }
.form-note.error { color: #b3453c; }

/* ---------- Footer ---------- */
.site-footer { background: #191511; color: #b6aa9b; padding: 78px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 56px; }
.site-footer .brand-text strong { color: var(--paper); }
.site-footer .brand-text small { color: #8a7e71; }
.site-footer .brand-mark { color: var(--gold-light); border-color: var(--gold-light); }
.footer-brand p { font-size: 12.5px; line-height: 1.9; margin-top: 22px; max-width: 320px; color: #8f8376; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h4 { font-size: 18px; color: var(--paper); margin-bottom: 8px; }
.footer-col a, .footer-col span { font-size: 12px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 10.5px; letter-spacing: .5px; color: #7d7266; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(18,14,10,.86); backdrop-filter: blur(6px); }
.lightbox-panel { position: relative; width: min(920px, 100%); max-height: 88vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: hidden; animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.lightbox-close { position: absolute; top: 12px; right: 14px; z-index: 2; background: var(--paper); border: 0; width: 40px; height: 40px; font-size: 26px; line-height: 1; color: var(--ink); }
.lightbox-close:hover { background: var(--gold); color: #fff; }
.lightbox-img { min-height: 440px; background: var(--sand); }
.lightbox-img img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-body { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.lightbox-kicker { font-size: 9px; letter-spacing: 2.5px; font-weight: 700; color: var(--gold); }
.lightbox-body h3 { font-size: 46px; line-height: 1.05; margin: 16px 0 4px; }
.lightbox-zh { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.lightbox-desc { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 26px 0 32px; }
.lightbox-body .btn { align-self: flex-start; }
body.lightbox-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid, .contact-grid { gap: 54px; }
  .hero-grid { gap: 30px; }
  .hero-visual { height: 500px; }
  .hero-frame { height: 410px; }
  .hero-frame-small { height: 240px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 40px, 1240px); }
  .section { padding: 80px 0; }
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; box-shadow: 0 20px 30px rgba(43,38,33,.1); display: none; }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 14px 0 !important; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; border: 0; }
  .hero { padding: 60px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero-visual { height: 470px; max-width: 560px; width: 100%; margin: 10px auto 0; }
  .scroll-hint { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  .section { padding: 66px 0; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .hero-stats strong { font-size: 31px; }
  .hero-visual { height: 390px; }
  .hero-frame { height: 330px; }
  .hero-frame-small { height: 190px; border-width: 6px; }
  .hero-seal { width: 96px; height: 96px; right: -6px; }
  .hero-seal span { font-size: 34px; }
  .marquee span { font-size: 19px; padding: 13px 22px; }
  .about-visual { height: 470px; }
  .about-img-main { height: 360px; }
  .about-img-small { height: 220px; }
  .about-stamp { width: 118px; height: 118px; }
  .about-stamp strong { font-size: 19px; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .lightbox-panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .lightbox-img { min-height: 260px; max-height: 320px; }
  .lightbox-body { padding: 30px 26px 40px; }
  .lightbox-body h3 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
