@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --navy: #071726;
  --navy-2: #0c2338;
  --ink: #101923;
  --muted: #5d6874;
  --line: #dfe5ea;
  --paper: #f4f6f7;
  --white: #ffffff;
  --orange: #f28a23;
  --orange-2: #ffae49;
  --teal: #0c8f8b;
  --shadow: 0 20px 60px rgba(7, 23, 38, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: white; color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(7,23,38,.96); box-shadow: 0 10px 30px rgba(0,0,0,.14); backdrop-filter: blur(14px); }
.nav-wrap { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 236px; height: 92px; display: grid; align-items: center; overflow: visible; }
.brand img { width: 226px; height: auto; filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; gap: 31px; }
.main-nav a { text-decoration: none; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: white; }
.main-nav .nav-cta { border: 1px solid rgba(255,255,255,.35); padding: 11px 17px; border-radius: 999px; color: white; }
.main-nav .nav-cta:hover { border-color: var(--orange); background: var(--orange); color: var(--navy); }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: transparent; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: white; }

.hero { min-height: 760px; position: relative; display: grid; align-items: end; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; background: url('assets/hero-jakc.webp') center / cover no-repeat; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,18,31,.96) 0%, rgba(5,18,31,.86) 31%, rgba(5,18,31,.22) 66%, rgba(5,18,31,.1) 100%), linear-gradient(0deg, rgba(5,18,31,.78), transparent 52%); }
.hero-content { position: relative; z-index: 2; padding: 180px 0 54px; color: white; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--orange-2); }
.hero h1, h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.045em; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(54px, 7vw, 92px); line-height: .97; font-weight: 600; }
.hero h1 em { color: var(--orange-2); font-style: normal; }
.hero-copy { max-width: 680px; margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 23px; border: 0; border-radius: 7px; text-decoration: none; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--navy); background: var(--orange); }
.button.primary:hover { background: var(--orange-2); }
.button.ghost { color: white; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.06); }
.button.ghost:hover { background: white; color: var(--navy); }
.button.full { width: 100%; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); width: min(760px, 100%); margin-top: 70px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-proof div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 13px; padding: 19px 22px 0 0; }
.hero-proof strong { color: var(--orange-2); font-size: 12px; }
.hero-proof span { color: rgba(255,255,255,.72); font-size: 13px; }

.signal-strip { overflow: hidden; background: var(--orange); color: var(--navy); }
.marquee { width: max-content; display: flex; align-items: center; gap: 30px; padding: 14px 0; animation: marquee 32s linear infinite; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.marquee i { width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 112px 0; }
.intro { background: white; }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 110px; align-items: start; }
.section-heading h2, .section-top h2, .process h2, .principles h2, .contact-section h2 { margin: 0; font-size: clamp(37px, 5vw, 60px); line-height: 1.05; }
.intro-copy { padding-top: 50px; }
.intro-copy p { margin: 0 0 19px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.text-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 12px; color: var(--ink); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 5px; }

.local-spotlight { padding: 90px 0; color: white; background: linear-gradient(135deg, #0b2f43, #071726); }
.local-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 80px; align-items: center; }
.local-kicker { font-family: "Space Grotesk", sans-serif; font-size: clamp(60px, 10vw, 132px); font-weight: 700; line-height: .73; letter-spacing: -.08em; color: rgba(255,255,255,.12); }
.local-kicker span { color: rgba(242,138,35,.35); }
.local-content h2 { max-width: 760px; margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(38px, 5vw, 61px); line-height: 1.04; letter-spacing: -.045em; }
.local-content > p:not(.eyebrow) { max-width: 760px; margin: 25px 0 0; color: rgba(255,255,255,.68); line-height: 1.8; }
.local-actions { display: flex; align-items: center; gap: 30px; margin-top: 31px; }
.local-address { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.6; text-decoration: none; }
.local-address strong { color: white; font-size: 13px; }

.capabilities { background: var(--paper); }
.section-top { display: grid; grid-template-columns: 1fr 340px; gap: 90px; align-items: end; margin-bottom: 54px; }
.section-top p:last-child { color: var(--muted); line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.capability-card { position: relative; min-height: 440px; padding: 34px 38px; background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.capability-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.capability-card.feature { background: linear-gradient(145deg, #fff8ef, #fff); }
.capability-card.dark { background: var(--navy); color: white; border-color: var(--navy); }
.card-number { position: absolute; right: 28px; top: 24px; color: #cbd3da; font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 700; }
.dark .card-number { color: rgba(255,255,255,.32); }
.card-icon { width: 58px; height: 58px; display: grid; place-items: center; background: #eff7f6; color: var(--teal); border-radius: 14px; }
.feature .card-icon { background: #fff0dc; color: #c6650f; }
.solar { background: linear-gradient(145deg, #f2fbf6, #ffffff); }
.solar .card-icon { background: #e7f6eb; color: #167647; }
.dark .card-icon { background: rgba(255,255,255,.1); color: var(--orange-2); }
.card-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { margin: 31px 0 12px; font-family: "Space Grotesk", sans-serif; font-size: 29px; letter-spacing: -.03em; }
.capability-card > p { color: var(--muted); line-height: 1.7; }
.dark > p { color: rgba(255,255,255,.67); }
.capability-card ul { margin: 26px 0 0; padding: 21px 0 0; border-top: 1px solid var(--line); list-style: none; }
.dark ul { border-color: rgba(255,255,255,.13); }
.capability-card li { position: relative; padding: 6px 0 6px 20px; color: #44515d; font-size: 14px; }
.capability-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 2px; background: var(--orange); }
.dark li { color: rgba(255,255,255,.77); }
.capability-grid .capability-card:last-child { grid-column: span 2; min-height: 360px; }

.solar-projects { position: relative; color: white; background: linear-gradient(135deg, #0d3b38 0%, #092c31 46%, #071726 100%); overflow: hidden; }
.solar-projects::before { content: ""; position: absolute; width: 520px; height: 520px; left: -210px; bottom: -310px; border: 1px solid rgba(255,174,73,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,174,73,.035), 0 0 0 140px rgba(255,174,73,.02); }
.solar-layout { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: center; }
.solar-lead h2 { margin: 0; max-width: 510px; font-family: "Space Grotesk", sans-serif; font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.solar-lead > p:not(.eyebrow) { max-width: 500px; margin: 25px 0 31px; color: rgba(255,255,255,.68); line-height: 1.8; }
.solar-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.solar-project-card { position: relative; min-height: 370px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.solar-project-card:hover { transform: translateY(-5px); border-color: rgba(255,174,73,.65); background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.055)); }
.solar-project-card.current { border-color: rgba(242,138,35,.72); background: linear-gradient(180deg, rgba(242,138,35,.2), rgba(255,255,255,.05)); }
.solar-project-top { position: absolute; inset: 21px 21px auto; display: flex; justify-content: space-between; align-items: center; }
.solar-project-top > span { color: rgba(255,255,255,.45); font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; }
.solar-project-top strong { padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.solar-project-card.current .solar-project-top strong { border-color: var(--orange); color: var(--orange-2); background: rgba(242,138,35,.1); }
.solar-symbol { position: absolute; width: 130px; height: 130px; right: -20px; top: 86px; border: 1px solid rgba(255,174,73,.28); border-radius: 50%; }
.solar-symbol::before, .solar-symbol::after, .solar-symbol span::before, .solar-symbol span::after { content: ""; position: absolute; background: rgba(255,174,73,.38); }
.solar-symbol::before { width: 1px; height: 28px; left: 50%; top: -38px; }
.solar-symbol::after { width: 1px; height: 28px; left: 50%; bottom: -38px; }
.solar-symbol span::before { width: 28px; height: 1px; top: 50%; left: -38px; }
.solar-symbol span::after { width: 28px; height: 1px; top: 50%; right: -38px; }
.solar-symbol i { position: absolute; inset: 39px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 36px rgba(242,138,35,.42); }
.solar-project-card > p { margin: 0 0 8px; color: var(--orange-2); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.solar-project-card h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 29px; letter-spacing: -.03em; }

.process { color: white; background: var(--navy); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.process-sticky { position: sticky; top: 130px; }
.process-sticky > p:not(.eyebrow) { margin: 24px 0 30px; color: rgba(255,255,255,.66); line-height: 1.75; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.17); }
.process-list li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 31px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.process-list > li > span { color: var(--orange-2); font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.process-list h3 { margin: 0 0 8px; font-size: 23px; }
.process-list p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.7; }

.sectors { background: white; }
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector { min-height: 180px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, color .2s ease; }
.sector:hover { color: white; background: var(--navy); }
.sector span { color: var(--orange); font-size: 12px; font-weight: 800; }
.sector h3 { margin: 73px 0 0; max-width: 190px; font-family: "Space Grotesk", sans-serif; font-size: 19px; line-height: 1.25; }

.principles { background: #edf1f3; }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.principles-lead { grid-column: span 2; padding: 12px 60px 45px 0; }
.principle { min-height: 245px; padding: 28px; border: 1px solid #d8e0e5; border-radius: 14px; background: rgba(255,255,255,.55); }
.principle span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--navy); font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.principle h3 { margin: 50px 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 21px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.contact-section { position: relative; padding: 112px 0; color: white; background: linear-gradient(135deg, #071726, #10314a); overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 650px; height: 650px; right: -240px; top: -280px; border: 1px solid rgba(242,138,35,.35); border-radius: 50%; box-shadow: 0 0 0 80px rgba(242,138,35,.04), 0 0 0 160px rgba(242,138,35,.025); }
.contact-grid { position: relative; display: grid; grid-template-columns: .87fr 1.13fr; gap: 100px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.66); line-height: 1.75; }
.contact-person { display: grid; gap: 6px; margin-top: 36px; }
.contact-person strong { font-size: 17px; }
.contact-person span { color: var(--orange-2); font-size: 13px; }
.contact-person a { color: rgba(255,255,255,.74); text-decoration: none; font-size: 14px; }
.contact-form { display: grid; gap: 18px; padding: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; outline: none; padding: 13px 14px; color: white; background: rgba(3,15,26,.5); transition: border-color .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.form-note { margin: -4px 0 0; color: rgba(255,255,255,.47); font-size: 11px; line-height: 1.6; text-align: center; }

.site-footer { padding: 70px 0 23px; color: rgba(255,255,255,.66); background: #04111d; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 70px; padding-bottom: 50px; }
.footer-brand img { width: 205px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 310px; line-height: 1.7; }
.footer-top h3 { margin: 0 0 14px; color: white; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-top p, .footer-top a { display: block; margin: 0 0 7px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.7; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom a { color: var(--orange-2); text-decoration: none; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #23c76b; box-shadow: 0 14px 35px rgba(0,0,0,.25); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 29px; fill: white; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .container { width: min(100% - 30px, 760px); }
  .nav-wrap { height: 80px; }
  .brand { width: 185px; height: 72px; }
  .brand img { width: 176px; }
  .menu-button { display: block; }
  .main-nav { position: fixed; inset: 80px 15px auto; display: grid; gap: 0; padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(7,23,38,.98); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: .2s ease; }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav .nav-cta { margin-top: 10px; text-align: center; }
  .hero { min-height: 760px; }
  .hero-media { background-position: 66% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,18,31,.97), rgba(5,18,31,.72)), linear-gradient(0deg, rgba(5,18,31,.8), transparent); }
  .hero-content { padding-top: 145px; }
  .hero-proof { grid-template-columns: 1fr; gap: 8px; }
  .hero-proof div { padding-top: 12px; }
  .intro-grid, .section-top, .process-grid, .contact-grid, .local-grid, .solar-layout { grid-template-columns: 1fr; gap: 46px; }
  .local-kicker { font-size: 82px; }
  .intro-copy { padding-top: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid .capability-card:last-child { grid-column: auto; min-height: 440px; }
  .solar-project-card { min-height: 310px; }
  .process-sticky { position: static; }
  .sector-grid { grid-template-columns: repeat(2,1fr); }
  .principles-grid { grid-template-columns: repeat(2,1fr); }
  .principles-lead { grid-column: span 2; }
  .footer-top { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  .section { padding: 82px 0; }
  .hero { min-height: 780px; }
  .hero h1 { font-size: 48px; }
  .hero-copy { font-size: 16px; line-height: 1.65; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { margin-top: 44px; }
  .section-heading h2, .section-top h2, .process h2, .principles h2, .contact-section h2 { font-size: 37px; }
  .capability-card { min-height: auto; padding: 29px 25px; }
  .capability-grid .capability-card:last-child { min-height: auto; }
  .capability-card h3 { font-size: 25px; }
  .solar-project-grid { grid-template-columns: 1fr; }
  .solar-project-card { min-height: 270px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector { min-height: 145px; }
  .sector h3 { margin-top: 46px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-lead { grid-column: auto; padding-right: 0; }
  .form-row, .footer-top { grid-template-columns: 1fr; }
  .local-actions { align-items: stretch; flex-direction: column; }
  .contact-form { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

.main-nav { gap: 22px; }
.solar-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,18,26,.96),transparent 80%); }
.photo-card > :not(.solar-cover) { z-index: 1; }
.photo-card > p,.photo-card h3,.solar-gallery-link { position: relative; }
.solar-gallery-link { color: white; font-size: 12px; margin-top: 16px; }
.portfolio { background: #f3f5f5; }
.project-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 35px 0 16px; }
.project-filters button { border: 1px solid #b9c5c9; background: transparent; border-radius: 30px; padding: 11px 19px; color: #173143; font: inherit; font-size: 14px; cursor: pointer; }
.project-filters button[aria-pressed=true] { background: #092536; color: white; border-color: #092536; }
.project-count { font-size: 12px; color: #526570; margin-bottom: 24px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.portfolio-card { border-radius: 14px; overflow: hidden; background: white; border: 1px solid #dce3e5; }
.portfolio-card[hidden] { display: none; }
.project-photo { display: block; width: 100%; padding: 0; border: 0; position: relative; background: #102b3b; cursor: pointer; overflow: hidden; }
.project-photo img { width: 100%; height: 280px; display: block; object-fit: cover; transition: transform .3s; }
.project-photo:hover img { transform: scale(1.035); }
.project-photo.thermal-cover {display:grid;grid-template-columns:1fr 1fr;gap:3px;}
.thermal-cover img {object-fit:contain;background:#071726;}
.earth-cover img {object-position:center 58%;}
.gallery-thumbnails {display:flex;gap:8px;overflow-x:auto;padding:12px 0 2px;}
.gallery-thumbnails button {flex:0 0 66px;padding:2px;border:2px solid transparent;border-radius:6px;background:#162b39;cursor:pointer;}
.gallery-thumbnails button[aria-pressed="true"] {border-color:#ffac40;}
.gallery-thumbnails img {width:58px;height:52px;object-fit:cover;display:block;}
.project-photo span { position: absolute; bottom: 15px; right: 15px; background: #071726e8; color: white; padding: 8px 12px; border-radius: 20px; font-size: 12px; }
.project-copy { padding: 25px; }
.project-copy > p:first-child { color: #9b5000; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.project-copy h3 { font-size: 25px; margin: 9px 0 12px; }
.project-description { color: #526570; font-size: 14px; line-height: 1.7; margin: 0; }
.portfolio-footer { border-top: 1px solid #cbd5d9; margin-top: 36px; padding-top: 25px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; }
.gallery-open { overflow: hidden; }
.project-dialog { width: min(1050px,calc(100% - 28px)); max-height: 94dvh; padding: 20px; border: 1px solid #425567; border-radius: 15px; background: #071726; color: white; }
.project-dialog::backdrop { background: #020b14e8; }
.gallery-top,.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gallery-top h2 { font-size: 18px; margin: 0; }
.project-dialog button { background: #193345; color: white; border: 1px solid #586b79; border-radius: 7px; padding: 10px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.project-dialog figure { margin: 18px 0; }
.project-dialog figure img { display: block; width: 100%; height: 65dvh; object-fit: contain; background: #040c13; }
.project-dialog figcaption { font-size: 14px; color: #c9d4da; margin-top: 12px; }
.gallery-controls span { font-size: 13px; }
button:focus-visible,a:focus-visible { outline: 3px solid #f9a83b; outline-offset: 4px; }
@media(max-width: 1000px) { .portfolio-grid {grid-template-columns: repeat(2,minmax(0,1fr));} }
@media(max-width: 560px) { .portfolio-grid {grid-template-columns: 1fr;} .project-photo img {height: 280px;} .project-dialog {padding: 14px;} .gallery-top h2 {font-size: 15px;} .project-dialog figure img {height: 55dvh;} .project-filters button {padding: 9px 14px;} }

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