:root {
  --blue: #54b4f2;
  --blue-dark: #3693ce;
  --navy: #0f2535;
  --ink: #111820;
  --muted: #65717a;
  --mist: #eef4f7;
  --line: #dbe3e8;
  --white: #fff;
  --wrap: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
button { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: 128px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 99; padding: 12px 18px; background: #fff; box-shadow: 0 6px 25px rgba(0,0,0,.15); }
.skip-link:focus { top: 20px; }
.scroll-progress { position: fixed; z-index: 40; top: 0; right: 0; left: 0; height: 3px; pointer-events: none; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--blue-dark), var(--blue)); will-change: transform; }
.material-symbols-rounded { font-size: 20px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; line-height: 1; vertical-align: middle; }

.kicker { margin: 0 0 26px; color: var(--blue-dark); font: 700 11px/1.2 "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px 3px 0; background: currentColor; }
.kicker-light { color: var(--blue); }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.055em; }
h1 { font-size: clamp(62px, 7.25vw, 112px); font-weight: 600; line-height: .87; }
h2 { font-size: clamp(45px, 5vw, 72px); font-weight: 600; line-height: 1.02; }
h1 span, h2 span { color: var(--blue-dark); }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; padding-inline: max(32px, calc((100vw - 1240px)/2)); background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(17,24,32,.1); transition: height .25s, box-shadow .25s; }
.site-header { animation: header-enter .7s cubic-bezier(.2,.8,.2,1) both; }
.site-header.scrolled { height: 72px; box-shadow: 0 10px 40px rgba(15,37,53,.08); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; justify-self: start; }
.brand img { width: 170px; height: auto; display: block; }
.desktop-nav { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 500; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--blue); transition: right .2s; }
.desktop-nav a:hover::after { right: 0; }
.header-action { justify-self: end; display: flex; align-items: center; gap: 12px; font-size: 11px; }
.header-action > .material-symbols-rounded { color: var(--blue-dark); font-size: 18px; }
.header-action .action-label { color: var(--muted); text-transform: uppercase; letter-spacing: .11em; }
.header-action b { color: var(--navy); font-weight: 600; white-space: nowrap; }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; display: grid; grid-template-columns: 48% 52%; min-height: 860px; height: min(100svh, 980px); padding-top: 88px; background: #fff; }
.hero-copy { display: flex; align-items: center; }
.hero-copy-inner { width: min(100% - 64px, 570px); margin-left: max(32px, calc((100vw - 1240px)/2)); padding-bottom: 60px; }
.hero-copy-inner > .kicker, .hero-copy-inner > h1, .hero-copy-inner > .hero-lead, .hero-copy-inner > .hero-actions { opacity: 0; animation: hero-copy-enter .75s cubic-bezier(.2,.75,.2,1) forwards; }
.hero-copy-inner > .kicker { animation-delay: .16s; }
.hero-copy-inner > h1 { animation-delay: .25s; }
.hero-copy-inner > .hero-lead { animation-delay: .38s; }
.hero-copy-inner > .hero-actions { animation-delay: .5s; }
.hero-lead { max-width: 510px; margin: 34px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.hero-actions .button { gap: 18px; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 60px; padding: 0 24px; border: 0; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue-dark); box-shadow: 0 12px 30px rgba(54,147,206,.22); }
.button-primary:hover { background: #277fae; box-shadow: 0 16px 36px rgba(54,147,206,.3); }
.button-white { color: var(--navy); background: #fff; }
.link-button { display: inline-flex; align-items: center; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.link-button span { margin-left: 16px; color: var(--blue-dark); font-size: 17px; }
.hero-image { position: relative; background: linear-gradient(90deg, rgba(15,37,53,.12), transparent 30%), url("assets/hero-workshop.png") 61% center/cover no-repeat; overflow: hidden; }
.hero-image { animation: hero-media-enter 1s cubic-bezier(.2,.8,.2,1) both; }
.hero-image::after { content: ""; position: absolute; inset: 0; border-left: 1px solid rgba(255,255,255,.25); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-image::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(15,37,53,.12), transparent 30%); }
.image-label { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 18px; width: 330px; padding: 25px 30px; color: #fff; background: rgba(15,37,53,.92); backdrop-filter: blur(8px); }
.image-label span { color: var(--blue); font: 600 12px "Manrope", sans-serif; }
.image-label p { margin: 0; font-size: 11px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.image-label { z-index: 2; }
.image-label { animation: label-enter .7s .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-proof { position: absolute; left: max(32px, calc((100vw - 1240px)/2)); bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); width: calc(48% - max(32px, calc((100vw - 1240px)/2))); border-top: 1px solid var(--line); }
.hero-proof { animation: proof-enter .7s .65s cubic-bezier(.2,.8,.2,1) both; }
.hero-proof div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; min-height: 96px; padding-right: 22px; border-right: 1px solid var(--line); }
.hero-proof div:not(:first-child) { padding-left: 22px; }
.hero-proof strong { color: var(--blue-dark); font: 600 24px "Manrope", sans-serif; letter-spacing: -.04em; }
.hero-proof span { color: var(--muted); font-size: 9px; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; }

.section-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; column-gap: 80px; }
.section-heading .kicker { grid-column: 1 / -1; }
.section-lead { max-width: 470px; margin: 0 0 7px; color: var(--muted); font-size: 17px; }
.solutions { display: grid; grid-template-columns: 1.05fr .975fr .975fr; margin-top: 68px; border: 1px solid var(--line); }
.solution { display: flex; flex-direction: column; min-height: 510px; padding: 32px; border-right: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.solution:last-child { border-right: 0; }
.solution:hover { position: relative; z-index: 2; transform: translateY(-7px); border-color: transparent; box-shadow: 0 26px 80px rgba(15,37,53,.13); }
.solution-featured { color: #fff; background: var(--navy); }
.solution-top { display: flex; justify-content: space-between; align-items: center; }
.solution-no { color: var(--blue-dark); font: 600 12px "Manrope", sans-serif; }
.solution-featured .solution-no { color: var(--blue); }
.solution-tag { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.solution-featured .solution-tag { color: rgba(255,255,255,.48); }
.solution-content { margin-top: auto; }
.solution h3 { font-size: 30px; line-height: 1.12; }
.solution p { min-height: 90px; margin: 22px 0 28px; color: var(--muted); font-size: 14px; }
.solution-featured p { color: rgba(255,255,255,.58); }
.solution button { display: flex; justify-content: space-between; width: 100%; padding: 17px 0 0; color: inherit; border: 0; border-top: 1px solid var(--line); background: none; font-size: 12px; font-weight: 600; cursor: pointer; }
.solution-featured button { border-color: rgba(255,255,255,.18); }
.solution button span { color: var(--blue-dark); font-size: 18px; }
.solution-featured button span { color: var(--blue); }

.principle { padding: 90px 0; background: var(--mist); }
.principle-grid { display: grid; grid-template-columns: .42fr 1.58fr; gap: 60px; }
.principle-quote { max-width: 850px; margin: 0; color: var(--navy); font: 600 clamp(36px,4.3vw,64px)/1.12 "Manrope", sans-serif; letter-spacing: -.055em; }
.principle-copy { max-width: 650px; margin: 32px 0 0; color: var(--muted); font-size: 17px; }

.portfolio { background: #fff; }
.portfolio-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 100px; }
.portfolio-side > p { max-width: 500px; margin: 0 0 30px; color: var(--muted); font-size: 16px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filters button { padding: 9px 14px; color: var(--muted); border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.gallery-filters button:hover, .gallery-filters button.active { color: #fff; border-color: var(--navy); background: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 330px 330px; gap: 16px; margin-top: 58px; }
.gallery-item { position: relative; display: block; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--navy); cursor: pointer; }
.gallery-item-large { grid-row: span 2; }
.gallery-item-tall { grid-row: span 2; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.gallery-item:hover img { transform: scale(1.035); opacity: .88; }
.gallery-caption { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 50px 24px 22px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(8,22,31,.84)); }
.gallery-caption > span { display: grid; gap: 5px; }
.gallery-caption small { color: rgba(255,255,255,.62); font-size: 9px; font-style: normal; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.gallery-caption strong { font: 600 16px/1.25 "Manrope", sans-serif; letter-spacing: -.025em; }
.gallery-caption i { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; color: var(--navy); border-radius: 50%; background: #fff; font-size: 18px; font-style: normal; transition: transform .2s; }
.gallery-item:hover .gallery-caption i { transform: scale(1.08); }
.gallery-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: #909ba2; }
.gallery-note .material-symbols-rounded { color: var(--blue-dark); font-size: 17px; }
.gallery-note p { margin: 0; font-size: 10px; }
.gallery-dialog { width: min(1120px, calc(100vw - 40px)); max-height: calc(100svh - 40px); padding: 0; overflow: hidden; border: 0; background: var(--navy); box-shadow: 0 35px 120px rgba(4,16,24,.42); }
.gallery-dialog::backdrop { background: rgba(4,16,24,.88); backdrop-filter: blur(6px); }
.gallery-dialog > img { display: block; width: 100%; max-height: calc(100svh - 160px); object-fit: contain; background: #081a25; }
.gallery-dialog-close { position: absolute; z-index: 2; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--navy); border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.gallery-dialog-info { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 88px; padding: 18px 28px; color: #fff; }
.gallery-dialog-info p { margin: 0; color: var(--blue); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gallery-dialog-info h3 { font-size: 20px; letter-spacing: -.03em; }

.process { color: #fff; background: var(--navy); }
.process-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 100px; }
.process-heading > p { max-width: 450px; margin: 0 0 7px; color: rgba(255,255,255,.56); font-size: 16px; }
.process-list { display: grid; grid-template-columns: repeat(4,1fr); margin: 72px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); list-style: none; }
.process-list li { position: relative; min-height: 280px; padding: 35px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.15); }
.process-list li:not(:first-child) { padding-left: 28px; }
.process-list li:last-child { border-right: 0; }
.process-list li::before { content: ""; position: absolute; top: -3px; left: 0; width: 34px; height: 5px; background: var(--blue); }
.process-list li:not(:first-child)::before { left: 28px; }
.process-list li > span { color: var(--blue); font: 600 11px "Manrope", sans-serif; }
.process-list li div { margin-top: 80px; }
.process-list h3 { font-size: 20px; letter-spacing: -.03em; }
.process-list p { color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.7; }

.heritage-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 110px; }
.heritage-image { position: relative; min-height: 650px; background: url("assets/hero-workshop.png") 79% center/cover no-repeat; }
.heritage-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(15,37,53,.28)); }
.heritage-year { position: absolute; right: -42px; bottom: 42px; display: flex; flex-direction: column; justify-content: center; width: 170px; height: 170px; padding: 30px; color: #fff; background: var(--blue-dark); }
.heritage-year span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.heritage-year strong { font: 600 38px "Manrope", sans-serif; letter-spacing: -.05em; }
.heritage-copy { padding-left: 20px; }
.large-copy { margin: 36px 0 22px; color: var(--navy); font-size: 20px; line-height: 1.55; }
.heritage-copy > p:not(.kicker):not(.large-copy) { color: var(--muted); }
.heritage-facts { margin: 38px 0 0; }
.heritage-facts div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.heritage-facts dt { color: var(--navy); font-weight: 600; }
.heritage-facts dd { margin: 0; color: var(--muted); font-size: 13px; }

.reviews { background: var(--mist); }
.reviews-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.reviews-summary h2 { font-size: clamp(43px, 4.6vw, 68px); }
.google-rating { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; margin-top: 44px; padding: 24px 0; border-top: 1px solid #cedae1; border-bottom: 1px solid #cedae1; }
.google-brand { display: grid; justify-items: center; gap: 2px; padding-right: 18px; border-right: 1px solid #cedae1; }
.google-brand span, .google-g { font: 700 28px/1 Arial, sans-serif; color: var(--blue-dark); }
.google-brand b { color: var(--muted); font-size: 9px; font-weight: 500; }
.google-rating > strong { color: var(--navy); font: 600 38px/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.rating-stars { display: flex; gap: 2px; color: #f4b400; }
.rating-stars .material-symbols-rounded { font-size: 18px; font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20; }
.google-rating p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.google-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 25px; color: var(--navy); font-size: 12px; font-weight: 600; }
.google-link .material-symbols-rounded { color: var(--blue-dark); font-size: 17px; }
.reviews-date { margin: 12px 0 0; color: #929da4; font-size: 9px; }
.review-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-card { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border: 1px solid #d6e0e5; background: #fff; }
.review-card-wide { grid-column: span 2; min-height: 250px; }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-top .rating-stars .material-symbols-rounded { font-size: 16px; }
.review-top .google-g { font-size: 23px; }
.review-card blockquote { margin: 42px 0; color: var(--navy); font: 500 22px/1.45 "Manrope", sans-serif; letter-spacing: -.035em; }
.review-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; border-radius: 50%; background: var(--blue-dark); font-size: 13px; font-weight: 600; }
.review-card footer div { display: grid; gap: 1px; }
.review-card footer strong { color: var(--navy); font-size: 12px; }
.review-card footer small { color: #919ba2; font-size: 9px; }

.contact { position: relative; color: #fff; background: linear-gradient(120deg, #122c3e, var(--navy)); overflow: hidden; }
.contact::after { content: ""; position: absolute; right: -260px; top: -260px; width: 620px; height: 620px; border: 100px solid rgba(84,180,242,.05); border-radius: 50%; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 120px; }
.contact-intro > p:not(.kicker) { max-width: 540px; margin: 28px 0 34px; color: rgba(255,255,255,.56); font-size: 17px; }
.contact-details { padding-left: 60px; border-left: 1px solid rgba(255,255,255,.15); font-style: normal; }
.address-block > span, .phone-list span { color: rgba(255,255,255,.4); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.address-block p { margin: 12px 0; font-size: 18px; }
.address-block > a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 12px; font-weight: 600; }
.address-block > a .material-symbols-rounded { font-size: 16px; }
.phone-list { margin-top: 32px; }
.phone-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.phone-list a:hover, .contact-email:hover { color: var(--blue); }
.contact-email { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.28); font: 500 18px "Manrope", sans-serif; }
.contact-email > span:first-child { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.contact-email .material-symbols-rounded { color: var(--blue); font-size: 20px; }

.site-footer { padding: 82px 0 0; background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.3fr .65fr 1fr 1.2fr; gap: clamp(42px, 6vw, 90px); padding-bottom: 70px; }
.footer-brand img { width: 180px; }
.footer-about > p { max-width: 310px; margin: 28px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.footer-since { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-dark); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer-since::before { content: ""; width: 22px; height: 2px; background: var(--blue); }
.footer-label { margin: 0 0 24px; color: #8b969e; font: 600 10px/1.2 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column > a { position: relative; color: var(--navy); font-size: 13px; font-weight: 500; }
.footer-column > a::after { content: ""; position: absolute; right: 100%; bottom: -3px; left: 0; height: 1px; background: var(--blue); transition: right .2s; }
.footer-column > a:hover::after { right: 0; }
.footer-contact > a, .footer-contact > p:not(.footer-label) { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact > p:not(.footer-label) { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.footer-contact .material-symbols-rounded { color: var(--blue-dark); font-size: 17px; }
.footer-cta { align-self: start; padding: 30px; background: var(--mist); border-top: 3px solid var(--blue); }
.footer-cta .footer-label { margin-bottom: 18px; }
.footer-cta h3 { max-width: 250px; font-size: 23px; line-height: 1.2; }
.footer-cta button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 30px; padding: 14px 0 0; color: var(--navy); border: 0; border-top: 1px solid #cbd8df; background: none; font-size: 12px; font-weight: 600; cursor: pointer; }
.footer-cta button .material-symbols-rounded { color: var(--blue-dark); font-size: 18px; transition: transform .2s; }
.footer-cta button:hover .material-symbols-rounded { transform: translateX(4px); }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; min-height: 68px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: #849099; font-size: 10px; letter-spacing: .04em; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 11px; font-weight: 600; }
.footer-bottom a .material-symbols-rounded { color: var(--blue-dark); font-size: 17px; }

.project-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 50px 58px; border: 0; color: var(--ink); background: #fff; box-shadow: 0 35px 120px rgba(15,37,53,.3); overflow-y: auto; }
.project-dialog::backdrop { background: rgba(9,24,34,.75); backdrop-filter: blur(5px); }
.dialog-logo { width: 132px; margin-bottom: 30px; }
.project-dialog h2 { font-size: 44px; }
.project-dialog > p:not(.kicker) { color: var(--muted); }
.project-dialog > p a { color: var(--blue-dark); text-decoration: underline; }
.dialog-close { position: absolute; top: 18px; right: 20px; padding: 4px 12px; border: 0; background: none; font-size: 30px; cursor: pointer; }
.project-dialog [data-form-content] > p:not(.kicker), .form-success > p:not(.kicker) { max-width: 610px; color: var(--muted); line-height: 1.65; }
.project-dialog form { display: grid; gap: 16px; margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-dialog label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.field-label { color: var(--muted); }
.field-label i { color: var(--blue-dark); font-style: normal; }
.project-dialog input, .project-dialog select, .project-dialog textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--mist); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.project-dialog input:focus, .project-dialog select:focus, .project-dialog textarea:focus { border-color: var(--blue-dark); background: #fff; box-shadow: 0 0 0 3px rgba(54,147,206,.12); }
.project-dialog textarea { resize: vertical; }
.form-hint { margin: -7px 0 0; color: var(--muted); font-size: 11px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit-row { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.form-submit-row > p { max-width: 250px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.form-submit-row > p a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-submit-row .button { flex: 0 0 auto; }
.form-submit-row .button[disabled] { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 18px; margin: -4px 0 0; color: #a53b3b; font-size: 12px; font-weight: 600; }
.form-status.is-success { color: #24734b; }
.form-success { padding-block: 34px 16px; text-align: center; }
.form-success > .material-symbols-rounded { display: block; margin-bottom: 24px; color: var(--blue-dark); font-size: 64px; }
.form-success .kicker::before { display: none; }
.form-success h2 { margin-bottom: 18px; }
.form-success > p:not(.kicker) { margin-inline: auto; }
.form-success a { color: var(--blue-dark); font-weight: 600; }
.form-success .button { margin: 26px auto 0; }

/* Privacy policy */
.legal-page { color: var(--ink); background: #f7f9fa; }
.legal-page [id] { scroll-margin-top: 110px; }
.legal-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 88px; background: #fff; border-bottom: 1px solid var(--line); }
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.legal-back { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 12px; font-weight: 600; }
.legal-back .material-symbols-rounded { color: var(--blue-dark); transition: transform .2s; }
.legal-back:hover .material-symbols-rounded { transform: translateX(-4px); }
.legal-main { padding: 178px 0 110px; }
.legal-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; padding-bottom: 78px; border-bottom: 1px solid var(--line); }
.legal-hero .kicker { grid-column: 1 / -1; margin-bottom: -20px; }
.legal-page h1 { font-size: clamp(58px, 7vw, 92px); line-height: .92; }
.legal-intro { padding-bottom: 4px; }
.legal-intro > p:first-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal-date { margin: 26px 0 0; color: var(--blue-dark); font: 600 10px/1.4 "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 80px; padding-top: 74px; }
.legal-toc { position: sticky; top: 122px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.legal-toc p { margin: 0 0 12px; color: #8b969e; font: 600 10px/1.2 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.legal-toc a { width: fit-content; color: var(--muted); font-size: 12px; transition: color .2s, transform .2s; }
.legal-toc a:hover { color: var(--blue-dark); transform: translateX(3px); }
.legal-content { display: grid; gap: 18px; }
.legal-content section { position: relative; padding: 50px 54px; background: #fff; border: 1px solid var(--line); }
.legal-number { display: block; margin-bottom: 22px; color: var(--blue-dark); font: 600 11px/1 "Manrope", sans-serif; letter-spacing: .12em; }
.legal-content h2 { margin-bottom: 26px; font-size: clamp(30px, 3.2vw, 44px); }
.legal-content h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: #566571; font-size: 15px; line-height: 1.8; }
.legal-content p { margin: 0 0 16px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { display: grid; gap: 8px; margin: 16px 0 18px; padding-left: 20px; }
.legal-content a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--ink); }
.legal-purposes { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 24px; border: 1px solid var(--line); }
.legal-purposes > div { padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-purposes > div:nth-child(even) { border-right: 0; }
.legal-purposes > div:nth-last-child(-n+2) { border-bottom: 0; }
.legal-purposes > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.legal-purposes p { margin: 0; font-size: 13px; line-height: 1.65; }
.legal-footer { color: #fff; background: var(--navy); }
.legal-footer .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 86px; }
.legal-footer p { margin: 0; color: #9db1be; font-size: 11px; }
.legal-footer a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 12px; font-weight: 600; }
.legal-footer .material-symbols-rounded { color: var(--blue); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.75,.2,1), transform .75s cubic-bezier(.2,.75,.2,1); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

@keyframes header-enter { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-copy-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-media-enter { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes proof-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes proof-enter-mobile { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes label-enter { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

@media (min-width: 821px) and (max-width: 980px) {
  .site-header { padding-inline: 32px; }
  .desktop-nav { gap: 26px; }
  .header-action { gap: 6px; }
  .header-action .action-label { display: none; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-video { display: none; }
  .scroll-progress { display: none; }
}

@media (max-width: 820px) {
  :root { --wrap: min(100% - 40px, 800px); }
  .section { padding-block: 92px; }
  .site-header { grid-template-columns: 1fr auto; height: 74px; padding-inline: 20px; }
  [id] { scroll-margin-top: 74px; }
  .brand img { width: 155px; }
  .desktop-nav, .header-action { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle .menu-icon { color: var(--navy); font-size: 28px; }
  .mobile-nav { position: fixed; inset: 74px 0 auto; z-index: 18; display: grid; padding: 10px 20px 24px; color: var(--ink); background: #fff; box-shadow: 0 20px 50px rgba(15,37,53,.12); transform: translateY(-140%); transition: transform .25s; }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; padding-top: 74px; }
  .hero-copy { min-height: 690px; }
  .hero-copy-inner { width: var(--wrap); margin-inline: auto; padding: 80px 0 120px; }
  .hero-image { min-height: 620px; }
  .hero-proof { left: 50%; bottom: auto; top: 670px; width: var(--wrap); background: #fff; animation-name: proof-enter-mobile; }
  .section-heading, .process-heading, .heritage-grid, .reviews-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .portfolio-head { grid-template-columns: 1fr; gap: 35px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 280px 280px; }
  .gallery-item-large { grid-column: span 2; grid-row: auto; }
  .gallery-item-tall { grid-row: span 2; }
  .solutions { grid-template-columns: 1fr; }
  .solution { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--line); }
  .solution:last-child { border-bottom: 0; }
  .solution p { min-height: 0; }
  .principle-grid { grid-template-columns: 1fr; gap: 25px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); }
  .process-list li:nth-child(3) { padding-left: 0; }
  .process-list li:nth-child(3)::before { left: 0; }
  .heritage-image { min-height: 560px; margin-right: 40px; }
  .heritage-copy { padding-left: 0; }
  .contact-details { padding-left: 0; border-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-cta { min-height: 220px; }
  .legal-main { padding-top: 140px; }
  .legal-hero { grid-template-columns: 1fr; gap: 34px; }
  .legal-hero .kicker { margin-bottom: -4px; }
  .legal-layout { grid-template-columns: 1fr; gap: 38px; }
  .legal-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; padding: 24px; background: #fff; border: 1px solid var(--line); }
  .legal-toc p { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --wrap: calc(100% - 32px); }
  .section { padding-block: 76px; }
  h1 { font-size: clamp(58px, 19vw, 82px); }
  h2 { font-size: 42px; }
  .hero-copy { min-height: 700px; }
  .hero-copy-inner { padding-top: 70px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 25px; }
  .hero-proof { top: 680px; }
  .hero-proof div { grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 2px; min-height: 88px; padding-inline: 8px; text-align: center; }
  .hero-proof div:not(:first-child) { padding-left: 8px; }
  .hero-proof div:last-child { border-right: 0; }
  .hero-proof strong { font-size: 19px; }
  .hero-proof span { font-size: 7px; }
  .hero-image { min-height: 500px; background-position: 67% center; }
  .hero-video { object-position: 67% center; }
  .image-label { width: 280px; padding: 20px; }
  .section-heading { display: block; }
  .section-lead { margin-top: 28px; }
  .solutions { margin-top: 42px; }
  .solution { min-height: 410px; padding: 26px; }
  .principle { padding: 70px 0; }
  .principle-quote { font-size: 36px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; margin-top: 38px; }
  .gallery-item, .gallery-item-large, .gallery-item-tall { grid-column: auto; grid-row: auto; height: 320px; }
  .gallery-item-tall { height: 430px; }
  .gallery-caption { padding-inline: 18px; }
  .gallery-dialog-info { align-items: flex-start; flex-direction: column; gap: 6px; }
  .process-list { grid-template-columns: 1fr; margin-top: 50px; }
  .process-list li, .process-list li:not(:first-child), .process-list li:nth-child(3) { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .process-list li:not(:first-child)::before { left: 0; }
  .process-list li div { margin-top: 30px; }
  .heritage-image { min-height: 430px; margin-right: 22px; }
  .heritage-year { right: -22px; bottom: 22px; width: 125px; height: 125px; padding: 20px; }
  .heritage-year strong { font-size: 30px; }
  .heritage-facts div { grid-template-columns: 1fr; gap: 5px; }
  .google-rating { grid-template-columns: auto auto 1fr; gap: 12px; }
  .review-cards { grid-template-columns: 1fr; }
  .review-card, .review-card-wide { grid-column: auto; min-height: 270px; }
  .review-card blockquote { font-size: 20px; }
  .phone-list div { gap: 14px; }
  .site-footer { padding-top: 46px; }
  .footer-main { grid-template-columns: 1fr; gap: 0; padding-bottom: 30px; }
  .footer-about { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .footer-brand img { width: 160px; }
  .footer-about > p { max-width: none; margin: 20px 0 16px; font-size: 12px; line-height: 1.65; }
  .footer-since { font-size: 9px; }
  .footer-column { padding: 28px 0; border-bottom: 1px solid var(--line); }
  .footer-column[aria-label="Nawigacja w stopce"] { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .footer-column[aria-label="Nawigacja w stopce"] .footer-label { grid-column: 1 / -1; }
  .footer-label { margin-bottom: 7px; }
  .footer-column > a { font-size: 13px; }
  .footer-contact { gap: 15px; }
  .footer-contact > p:not(.footer-label) { margin-top: 0; }
  .footer-cta { min-height: 0; margin-top: 30px; padding: 26px; color: #fff; background: var(--navy); border-top-color: var(--blue); }
  .footer-cta .footer-label { color: #9db1be; }
  .footer-cta h3 { max-width: 270px; font-size: 25px; }
  .footer-cta button { margin-top: 24px; color: #fff; border-top-color: rgba(255,255,255,.22); }
  .footer-cta button .material-symbols-rounded { color: var(--blue); }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 7px 18px; min-height: 0; padding: 21px 0 24px; }
  .footer-bottom p { line-height: 1.45; }
  .footer-bottom p:nth-child(2) { grid-column: 1; grid-row: 2; }
  .footer-bottom a { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .project-dialog { padding: 48px 24px 28px; }
  .dialog-logo { margin-bottom: 32px; }
  .project-dialog h2 { font-size: 38px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit-row { align-items: stretch; flex-direction: column; gap: 12px; }
  .form-submit-row .button { width: 100%; }
  .form-submit-row > p { max-width: none; }
  .legal-header { height: 74px; }
  .legal-header .brand img { width: 145px; }
  .legal-back { font-size: 0; }
  .legal-back .material-symbols-rounded { font-size: 24px; }
  .legal-main { padding: 122px 0 76px; }
  .legal-hero { gap: 28px; padding-bottom: 50px; }
  .legal-page h1 { font-size: clamp(52px, 16vw, 70px); }
  .legal-intro > p:first-child { font-size: 15px; }
  .legal-layout { padding-top: 44px; }
  .legal-toc { gap: 12px 18px; padding: 22px; }
  .legal-toc a { font-size: 11px; }
  .legal-content section { padding: 34px 24px; }
  .legal-content h2 { font-size: 32px; }
  .legal-content p, .legal-content li { font-size: 14px; line-height: 1.72; }
  .legal-purposes { grid-template-columns: 1fr; }
  .legal-purposes > div, .legal-purposes > div:nth-child(even), .legal-purposes > div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .legal-purposes > div:last-child { grid-column: auto; border-bottom: 0; }
  .legal-footer .wrap { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; min-height: 100px; }
}
