:root {
  --ink: #111c26;
  --muted: #66747e;
  --blue: #1c9ff1;
  --blue-deep: #0876bb;
  --line: #dce4e9;
  --soft: #f4f7f9;
  --night: #101b25;
  --nc-page-max: 1320px;
  --nc-page-gutter: clamp(22px, 4.5vw, 80px);
  --nc-editor-color-1: #111c26;
  --nc-editor-color-2: #0876bb;
  --nc-editor-color-3: #24786a;
  --nc-editor-color-4: #b04444;
  --nc-font: "MedusaWBFont", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 98px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--nc-font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
::selection { background: #c8e9ff; color: var(--ink); }
.shell { width: min(var(--nc-page-max), calc(100% - var(--nc-page-gutter) * 2)); margin-inline: auto; }
.icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 550; line-height: 1.12; letter-spacing: -.045em; }
h1 { margin-bottom: 28px; font-size: clamp(40px, 4.5vw, 70px); }
h2 { margin-bottom: 0; font-size: clamp(30px, 3.1vw, 46px); }
h3 { font-size: 23px; letter-spacing: -.035em; }
.text-blue { color: var(--blue); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 10px; line-height: 1.5; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); }
.small-cross { width: 20px; height: 20px; color: var(--blue); }
.section { padding-block: clamp(64px, 7.3vw, 110px); }
.section--soft { background: var(--soft); }
.section--line { border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.section-note { flex-shrink: 0; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .12em; padding-bottom: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 17px 24px; min-height: 56px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: white; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }
.button .icon { width: 19px; height: 19px; }
.button--blue { background: var(--blue); border-color: var(--blue); color: #071b29; }
.button--blue:hover { background: #66c5ff; border-color: #66c5ff; color: #071b29; }
.button--small { min-height: 46px; padding: 12px 18px; gap: 19px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 600; line-height: 1.5; padding-block: 9px; border-bottom: 1px solid #bac6cf; transition: color .2s; }
.text-link:hover { color: var(--blue-deep); }
.text-link .icon { width: 20px; height: 20px; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 20px; background: var(--ink); color: white; padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: var(--header-height); }
.brand { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.brand img { width: 74px; height: auto; }
.brand-description { padding-left: 22px; border-left: 1px solid var(--line); color: #5d6972; font-size: 11px; line-height: 1.6; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.main-nav > a:not(.button), .services-toggle { font-size: 13px; font-weight: 550; }
.main-nav > a:not(.button) { padding-block: 18px; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--blue-deep); }
.main-nav .button:hover { color: white; }
.services-toggle { display: flex; align-items: center; gap: 8px; padding: 18px 0; background: none; border: 0; }
.services-toggle .icon { width: 14px; height: 14px; transition: transform .2s; }
.services-toggle[aria-expanded=true] .icon { transform: rotate(180deg); }
.service-menu { position: relative; }
.services-dropdown { position: absolute; top: calc(100% + 6px); left: -24px; z-index: 60; list-style: none; margin: 0; padding: 12px; width: 340px; border: 1px solid var(--line); border-radius: 5px; background: #fff; box-shadow: 0 16px 42px #10233213; }
.services-dropdown a { display: flex; align-items: center; gap: 12px; padding: 15px 12px; font-size: 13px; border-radius: 2px; }
.services-dropdown a:hover, .services-dropdown a[aria-current] { background: #edf7fd; }
.services-dropdown a > .icon:first-child { color: var(--blue-deep); width: 21px; height: 21px; }
.services-dropdown a > .icon:last-child { margin-left: auto; width: 16px; height: 16px; }
.menu-toggle { display: none; }
.hero { padding-top: clamp(44px, 5.4vw, 78px); background: linear-gradient(110deg, #fff 40%, #f9fbfc 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5.8vw, 86px); }
.hero-copy { padding-block: 10px; min-width: 0; }
.hero h1 { max-width: 720px; }
.hero h1 .text-blue { display: block; }
.hero-location { display: block; font-size: .55em; margin-top: 16px; letter-spacing: -.035em; line-height: 1.25; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 24px; }
.hero-contact > a { min-height: 44px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; line-height: 1; }
.hero-phone > span { display: block; }
.hero-phone > span:first-child { color: var(--muted); font-size: 11px; font-weight: 400; }
.hero-phone-number { white-space: nowrap; }
.hero-phone:hover { color: var(--blue-deep); }
.hero-contact .location-link { margin-top: 0; }
.location-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 30px; color: var(--muted); font-size: 11px; }
.location-link .icon { width: 16px; height: 16px; color: var(--blue-deep); }
.hero-visual { position: relative; min-width: 0; }
.page-home .hero { background: #fff; }
.hero-artwork { position: relative; isolation: isolate; width: 100%; aspect-ratio: 4 / 5; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--night); }
.hero-artwork > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-visual-label { position: absolute; bottom: 24px; left: -24px; right: 24px; display: flex; align-items: center; gap: 12px; padding: 20px 23px; background: var(--night); color: #fff; box-shadow: 0 14px 22px #0a223c12; font-size: 9px; letter-spacing: .09em; }
.page-home .hero-visual-label { z-index: 3; bottom: 63px; left: -24px; right: 24px; }
.hero-visual-label > span:last-child { margin-left: auto; color: #87a2b4; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px #1c9ff118; flex-shrink: 0; }
/* Test białego paska: błękitna linia 1 px i biały odstęp 4 px na zewnątrz. Powrót: usuń klasę --white-preview. */
.page-home .hero-visual-label--white-preview { background: #fff; color: var(--night); box-shadow: 0 0 0 1px var(--blue), 0 0 0 5px #fff; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 52px; padding-block: 25px; border-top: 1px solid var(--line); }
.hero-bottom > span { font-size: 9px; color: var(--muted); letter-spacing: .13em; }
.hero-bottom > div { display: flex; align-items: center; gap: 26px; }
.hero-bottom a { display: flex; align-items: center; gap: 15px; font-size: 11px; }
.hero-bottom .icon { width: 15px; height: 15px; color: var(--blue-deep); }
.media-placeholder { position: relative; display: grid; place-items: center; width: 100%; max-width: 100%; overflow: hidden; isolation: isolate; min-height: 220px; background-color: #eaf2f7; color: #688192; border: 1px solid #dce8f0; background-image: linear-gradient(#b8ced51c 1px, transparent 1px), linear-gradient(90deg, #b8ced51c 1px, transparent 1px), radial-gradient(ellipse at 70% 30%, #d7edfc 0%, transparent 70%); background-size: 55px 55px, 55px 55px, 100% 100%; }
.media-placeholder::before { content: ""; position: absolute; z-index: -1; width: 68%; aspect-ratio: 1; border: 1px solid #9cbdcf30; border-radius: 50%; }
.media-placeholder--hero { min-height: 460px; aspect-ratio: 1.15; }
.page-home .media-placeholder--hero .media-placeholder-foot { display: none; }
.media-placeholder--card { min-height: 180px; aspect-ratio: 1.85; border: 0; }
.media-placeholder--about { min-height: 400px; aspect-ratio: 1.13; }
.media-placeholder--portrait { min-height: 460px; aspect-ratio: 1; }
.media-placeholder--project { min-height: 210px; aspect-ratio: 1.45; }
.media-placeholder-center { display: flex; flex-direction: column; align-items: center; padding: 28px; text-align: center; }
.media-symbol { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border: 1px solid #b9d3e3; border-radius: 50%; background: #ffffff60; color: #6699b8; }
.media-symbol .icon { width: 21px; height: 21px; }
.media-title { font-size: 12px; font-weight: 550; }
.media-caption { max-width: 260px; margin-top: 6px; font-size: 9px; opacity: .85; line-height: 1.5; }
.media-placeholder-foot { position: absolute; bottom: 16px; left: 20px; right: 20px; display: flex; align-items: center; gap: 10px; font-size: 7px; letter-spacing: .14em; color: #6b899d; }
.media-placeholder-foot > span { color: #87a5b6; }
.media-corner { position: absolute; z-index: 2; width: 28px; height: 28px; border-color: var(--blue); border-style: solid; opacity: 1; pointer-events: none; }
.media-corner--tl { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.media-corner--br { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }
.page-o-firmie .hero { background: #fff; }
.president-portrait { position: relative; width: 100%; max-width: 460px; margin: 0 0 0 auto; isolation: isolate; }
.president-portrait__frame { position: relative; background: #fff; }
.president-portrait__frame > img { width: 100%; height: auto; }
.president-portrait__caption { position: relative; z-index: 3; padding: 10px 22px 16px; text-align: center; }
.president-signature { display: block; width: min(100%, 310px); height: auto; margin-inline: auto; }
.content-slot { --slot-line: #e4eaee; --slot-width: 86%; margin-block: 28px; color: var(--muted); }
.content-slot:has(> .nc-article:empty)::after { content: ""; display: block; width: var(--slot-width); height: 62px; background: linear-gradient(var(--slot-line),var(--slot-line)) left top / 100% 6px no-repeat, linear-gradient(var(--slot-line),var(--slot-line)) left 20px / 94% 6px no-repeat, linear-gradient(var(--slot-line),var(--slot-line)) left 40px / 70% 6px no-repeat; }
.content-slot--hero { margin-top: 28px; margin-bottom: 0; }
.content-slot--hero:has(> .nc-article:empty)::after { height: 54px; }
.content-slot--dark { --slot-line: #293a46; }
.content-slot--card { --slot-line: #e9eef2; margin-block: 22px; }
.content-slot--short:has(> .nc-article:empty)::after, .content-slot--card:has(> .nc-article:empty)::after { height: 40px; background: linear-gradient(var(--slot-line),var(--slot-line)) left top / 100% 5px no-repeat, linear-gradient(var(--slot-line),var(--slot-line)) left 18px / 74% 5px no-repeat; }
.content-slot--faq:has(> .nc-article:empty)::after { width: 100%; height: 228px; background: repeating-linear-gradient(to bottom, transparent 0 54px, var(--line) 54px 55px); }
body:not(.is-preview) .content-slot:has(> .nc-article:empty)::after { display: none; }
.content-slot .nc-article > :first-child { margin-top: 0; }
.content-slot .nc-article > :last-child { margin-bottom: 0; }
.content-slot .nc-gallery-empty { display: none; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: #a6c9df; transform: translateY(-4px); }
.service-card-media { position: relative; flex: none; margin: 6px; aspect-ratio: 1.85; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--night); }
.service-card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 28px 26px 20px; }
.card-number { position: absolute; right: 26px; top: 34px; font-size: 10px; letter-spacing: .08em; color: #8397a5; }
.service-icon { width: 28px; height: 28px; margin-bottom: 25px; color: var(--blue-deep); }
.service-card h3 { margin-bottom: 0; font-size: clamp(18px, 1.65vw, 24px); }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-top: 17px; margin-top: auto; font-size: 10px; font-weight: 550; }
.card-link .icon { width: 18px; height: 18px; color: var(--blue-deep); }
.card-link:hover { color: var(--blue-deep); }
.year-section { background: var(--night); color: white; }
.year-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.year-section .eyebrow, .contact-section .eyebrow { color: #6dc4fc; }
.year-section h2 { line-height: 1.15; }
.year-section .content-slot { color: #b3c1cc; }
.year-section .button { margin-top: 8px; }
.year-items { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.year-item { padding-top: 22px; border-top: 1px solid #3a4c59; }
.year-item > .icon { color: #59b7f4; width: 26px; height: 26px; margin-bottom: 21px; }
.year-item h3 { font-size: 18px; letter-spacing: -.02em; margin: 0; }
.year-item .content-slot { margin-bottom: 0; margin-top: 18px; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 105px); align-items: center; }
.about-preview-artwork { position: relative; isolation: isolate; min-width: 0; width: 100%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--night); }
.about-preview-artwork > img { width: 100%; height: auto; }
.split-copy h2 { max-width: 550px; }
.split-copy .text-link { margin-top: 12px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px; }
.step { padding-top: 23px; border-top: 1px solid #c9d5dd; }
.step-number { display: block; color: var(--blue-deep); font-size: 11px; margin-bottom: 32px; }
.step h3 { font-size: 21px; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-layout .content-slot { margin-block: 0; }
.projects-section { background: #fff; }
.projects-placeholders { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.project-placeholder { min-width: 0; }
.projects-content:has(.nc-blog-post) .projects-placeholders { display: none; }
.placeholder-lines { display: grid; gap: 12px; padding-block: 24px 8px; }
.placeholder-lines > span { display: block; width: 66%; height: 7px; background: #e3eaee; }
.placeholder-lines > span:last-child { width: 42%; height: 5px; background: #edf1f4; }
.projects-content .nc-blog { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.projects-content .nc-blog-intro, .projects-content .nc-pagination { grid-column: 1/-1; }
.projects-content .nc-blog-post { min-width: 0; margin: 0; padding: 24px; border: 1px solid var(--line); }
.projects-content .nc-blog-post h3 { font-size: 23px; }
.projects-content .nc-blog-post p { color: var(--muted); font-size: 14px; }
.area-section { background: #eef5fa; border-top: 1px solid #deebf4; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.area-section h2 > span { color: #6b8292; }
.area-section .content-slot { --slot-line: #d9e5ee; }
.city-panel { background: #ffffffa6; border: 1px solid #d3e2ed; padding: 24px 30px 13px; }
.city-panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 9px; letter-spacing: .12em; color: #5c798c; }
.city-panel-heading .icon { width: 17px; height: 17px; color: var(--blue-deep); }
.city-panel-heading .status-dot { margin-left: auto; }
.city-list { list-style: none; padding: 0; margin: 0; }
.city-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 11px; border-bottom: 1px solid #e0e9ef; font-size: 14px; }
.city-list li:last-child { border: 0; }
.city-headquarters > span { font-weight: 600; }
.city-headquarters small { font-size: 9px; color: var(--blue-deep); }
.city-marker { font-size: 14px; color: #9cb5c7; }
.contact-section { background: var(--night); color: white; }
.contact-section > .shell > .eyebrow { margin-bottom: 16px; }
.contact-section .section-heading { margin-bottom: 50px; }
.contact-section h2 { font-size: clamp(36px, 4.2vw, 62px); }
.contact-section .section-note { color: #849eaf; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 120px); }
.contact-info { display: flex; flex-direction: column; }
.contact-info > .content-slot { margin-top: 0; color: #b3c1cc; }
.contact-detail { padding-block: 21px; border-bottom: 1px solid #2d3c47; }
.contact-detail > span { display: block; margin-bottom: 13px; font-size: 9px; letter-spacing: .16em; color: #9cabb6; }
.contact-detail a, .contact-detail p { margin: 0; font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-detail a:hover { color: #6dc4fc; }
.contact-value-placeholder { width: 60%; height: 13px; margin-block: 20px 7px; background: #2c3e4b; border-radius: 1px; }
.contact-signature { display: flex; align-items: center; justify-content: space-between; padding-top: 35px; margin-top: auto; color: #5e7483; font-size: 30px; letter-spacing: -.06em; }
.contact-signature span { color: var(--blue); font-size: 45px; font-weight: 300; }
.quote-form { padding: 34px; border: 1px solid #344550; background: #15232e; border-radius: 3px; }
.quote-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.quote-form legend { margin-bottom: 25px; font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; }
.quote-form label { display: block; margin-bottom: 8px; color: #d6dfe5; font-size: 10px; line-height: 1.5; }
.quote-form label span { color: #8fa6b6; font-size: 9px; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; min-height: 44px; margin-bottom: 20px; border: 1px solid #3c4d5a; border-radius: 2px; padding: 11px 12px; outline-offset: 2px; color: #d8e2e9; background: #1b2b37; font-size: 11px; line-height: 1.5; opacity: 1; }
.quote-form textarea { resize: vertical; min-height: 100px; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #b0bfca; opacity: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form .button { width: 100%; margin-top: 3px; justify-content: space-between; min-height: 50px; }
.quote-form :disabled { cursor: default; }
.quote-form .button:disabled:hover { transform: none; background: var(--blue); border-color: var(--blue); }
.form-privacy { margin: 16px 0 0; color: #b4c3ce; font-size: 10px; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { margin: 0 0 24px; padding: 15px; border: 1px solid #e99c91; color: #ffe0db; font-size: 13px; }
.form-status--success { border-color: #66c1a9; color: #c5f4e6; }
.form-error { margin: -12px 0 20px; color: #ffd3ca; font-size: 11px; line-height: 1.5; }
.quote-form [aria-invalid="true"] { border-color: #e99c91; }
.site-footer { background: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .7fr auto; gap: 50px; padding-block: 60px; }
.footer-brand img { width: 88px; height: auto; margin-bottom: 22px; }
.footer-brand > span { color: var(--muted); font-size: 11px; }
.footer-heading { margin-bottom: 20px; color: #83919b; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { padding-block: 4px; font-size: 11px; }
.site-footer li a:hover { color: var(--blue-deep); }
.back-to-top { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); }
.back-to-top .icon { width: 19px; height: 19px; transform: rotate(-90deg); }
.back-to-top:hover { background: var(--soft); }
.footer-rule { margin: 0; border: 0; border-top: 1px solid var(--line); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; font-size: 9px; color: var(--muted); }
.footer-copyright { display: flex; align-items: center; gap: 5px; margin: 0; }
.footer-credit-block { flex-shrink: 0; max-width: 55%; text-align: right; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 20px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 12px 23px; font-size: 10px; color: var(--muted); }
.footer-legal a:hover { color: var(--blue-deep); }
.agency-credit { margin: 0; color: var(--muted); font-size: inherit; }
.agency-credit strong { color: var(--ink); font-weight: 600; }
.agency-credit a:hover strong { color: var(--blue-deep); }
.agency-credit-description { margin: 2px 0 0; font-size: inherit; }
.admin-link { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; min-height: 28px; color: #84929b; opacity: .55; }
.admin-link .icon { width: 11px; height: 11px; }
.admin-link:hover, .admin-link:focus-visible { color: var(--blue-deep); opacity: 1; }
.legal-page { padding-top: 50px; }
.legal-page h1 { max-width: 850px; font-size: clamp(34px, 3.5vw, 54px); }
.legal-draft-note { max-width: 750px; padding: 18px 22px; border-left: 2px solid var(--blue); background: var(--soft); color: var(--muted); font-size: 13px; }
.legal-index { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-block: 30px 45px; }
.legal-index a { display: inline-flex; align-items: center; gap: 14px; padding-block: 8px; font-size: 12px; border-bottom: 1px solid var(--line); }
.legal-index .icon { width: 16px; height: 16px; }
.legal-document { border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.legal-document:last-child { border-bottom: 1px solid var(--line); }
.legal-document > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; cursor: pointer; list-style: none; }
.legal-document > summary::-webkit-details-marker { display: none; }
.legal-document > summary h2 { font-size: clamp(24px, 2.3vw, 33px); }
.legal-document > summary > .icon { color: var(--blue-deep); transition: transform .2s; }
.legal-document[open] > summary > .icon { transform: rotate(45deg); }
.legal-document-content { max-width: 82ch; margin-inline: auto; padding-block: 15px 40px; overflow-wrap: anywhere; color: var(--muted); font-size: 14px; }
.legal-document-content h3, .legal-document-content h4, .legal-document-content h5 { color: var(--ink); margin-top: 30px; line-height: 1.4; letter-spacing: -.025em; }
.legal-document-content h3 { font-size: 24px; }
.legal-document-content h4 { font-size: 19px; }
.legal-document-content hr { margin-block: 28px; border: 0; border-top: 1px solid var(--line); }
.legal-document-content table { font-size: 12px; }
.legal-document-content td { overflow-wrap: anywhere; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; font-size: 10px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue-deep); }
.breadcrumbs > span[aria-hidden] { color: #a3b6c4; }
.hero--inner { padding-block: 50px 70px; }
.hero--inner h1 { font-size: clamp(34px, 3.5vw, 54px); }
.hero--inner .content-slot { margin-bottom: 28px; }
.hero--inner .media-placeholder--hero { min-height: 400px; }
.policy-hero { max-width: 1080px; }
.policy-hero h1 { max-width: 850px; }
.internal-sections { padding-bottom: 60px; }
.service-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; }
.service-variant { min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 3px; background: var(--soft); }
.service-variant h2 { font-size: clamp(25px, 2.3vw, 33px); line-height: 1.18; }
.service-variant .content-slot { margin-bottom: 0; }
.internal-section { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(35px, 7vw, 105px); padding-block: 58px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 25px); }
.internal-heading { display: grid; grid-template-columns: 30px 1fr; gap: 20px; }
.internal-heading .eyebrow { margin-top: 6px; }
.internal-heading h2 { font-size: clamp(25px, 2.5vw, 35px); }
.internal-content .content-slot { margin-top: 5px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 20px; margin-top: 35px; }
.related-link { display: flex; align-items: center; gap: 15px; padding: 23px; border: 1px solid var(--line); background: white; font-size: 13px; }
.related-link > .icon:first-child { color: var(--blue-deep); }
.related-link > .icon:last-child { margin-left: auto; width: 18px; height: 18px; }
.related-link:hover { border-color: var(--blue); }
.error-section h1 { max-width: 850px; }
.error-section .button { margin-top: 25px; }
.cms-expand { padding: 20px 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.cms-expand summary { font-size: 15px; font-weight: 500; color: var(--ink); }
.cms-expand p { margin-top: 18px; font-size: 14px; }
.nc-article h3, .nc-article h4, .nc-article h5 { color: var(--ink); line-height: 1.3; letter-spacing: -.025em; }
.contact-info .nc-article h3, .year-section .nc-article h3 { color: white; }
.nc-article a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 961px) {
  html:not(.js) .service-menu .services-dropdown { display: none; }
  html:not(.js) .service-menu:hover .services-dropdown, html:not(.js) .service-menu:focus-within .services-dropdown { display: block; }
}
@media (max-width: 1120px) and (min-width: 961px) {
  .brand-description { display: none; }
  .main-nav { gap: 25px; }
}
@media (max-width: 960px) {
  :root { --header-height: 82px; }
  .brand img { width: 62px; }
  .brand-description { font-size: 10px; padding-left: 17px; }
  .header-inner { flex-wrap: wrap; column-gap: 20px; }
  .menu-toggle { display: none; align-items: center; gap: 12px; border: 1px solid var(--line); background: white; padding: 10px 13px; border-radius: 2px; font-size: 12px; min-height: 42px; }
  .js .menu-toggle { display: inline-flex; }
  .hamburger { width: 16px; height: 12px; border-block: 1px solid var(--ink); position: relative; }
  .hamburger::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid var(--ink); }
  .menu-toggle[aria-expanded=true] .hamburger { border: 0; }
  .menu-toggle[aria-expanded=true] .hamburger::before, .menu-toggle[aria-expanded=true] .hamburger::after { content: ""; position: absolute; top: 5px; left: 0; right: 0; border-top: 1px solid var(--ink); transform: rotate(45deg); }
  .menu-toggle[aria-expanded=true] .hamburger::after { transform: rotate(-45deg); }
  .main-nav { width: 100%; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding-block: 8px 25px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .main-nav > a:not(.button), .services-toggle { padding-block: 15px; border-bottom: 1px solid var(--line); width: 100%; font-size: 15px; }
  .services-toggle { justify-content: space-between; }
  .main-nav .button { margin-top: 22px; align-self: start; }
  .services-dropdown { position: static; width: 100%; margin-top: 9px; padding: 5px; border: 0; background: var(--soft); box-shadow: none; }
  .services-dropdown a { padding: 13px 10px; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(37px, 5.2vw, 53px); }
  .hero--inner h1 { font-size: clamp(32px, 4.4vw, 45px); }
  .media-placeholder--hero, .media-placeholder--portrait { min-height: 360px; }
  .hero-visual-label { left: -12px; right: 12px; padding: 16px 15px; font-size: 7px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 12px; }
  .hero-actions .button { padding-inline: 18px; }
  .service-grid { gap: 16px; }
  .service-card-body { padding: 23px 19px 18px; }
  .card-number { right: 19px; top: 29px; }
  .media-placeholder--card { min-height: 155px; }
  .service-card h3 { min-height: 45px; }
  .card-link { font-size: 9px; gap: 8px; }
  .year-grid { grid-template-columns: 1fr; }
  .year-grid, .area-grid { gap: 40px; }
  .year-items { gap: 22px; }
  .year-item h3 { font-size: 16px; }
  .split-layout { gap: 38px; }
  .media-placeholder--about { min-height: 340px; }
  .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 40px; }
  .quote-form { padding: 25px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 680px) {
  :root { --nc-page-gutter: 23px; }
  h1 { font-size: 43px; }
  h2 { font-size: 33px; }
  .section { padding-block: 64px; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; }
  .hero { padding-top: 37px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(40px, 8.7vw, 57px); }
  .hero-location { font-size: .55em; margin-top: 14px; }
  .hero-copy { padding-block: 0; }
  .hero-actions { flex-direction: row; align-items: center; gap: 16px 22px; }
  .hero-actions .button { min-height: 52px; padding: 15px 19px; font-size: 12px; }
  .hero-actions .text-link { font-size: 12px; gap: 13px; }
  .location-link { margin-top: 23px; }
  .media-placeholder--hero { min-height: 310px; aspect-ratio: 1.15; }
  .hero-visual-label { font-size: 8px; left: 16px; right: -8px; bottom: 21px; padding: 17px; }
  .hero-bottom { margin-top: 34px; padding-block: 21px; flex-wrap: wrap; }
  .hero-bottom > span { font-size: 8px; }
  .hero-bottom > div { gap: 22px; }
  .hero-bottom a { font-size: 10px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 32px; gap: 20px; }
  .section-note { font-size: 8px; }
  .service-grid, .service-variants, .year-grid, .split-layout, .steps-grid, .faq-layout, .area-grid, .contact-grid, .internal-section { grid-template-columns: 1fr; }
  .service-grid { gap: 24px; }
  .service-card h3 { font-size: 24px; min-height: 0; }
  .media-placeholder--card { min-height: 200px; aspect-ratio: 1.7; }
  .service-card-body { padding: 27px 24px 22px; }
  .service-icon { margin-bottom: 22px; }
  .card-number { right: 24px; top: 33px; }
  .card-link { font-size: 11px; }
  .year-grid { gap: 45px; }
  .year-items { gap: 28px 20px; }
  .year-item > .icon { margin-bottom: 20px; }
  .year-item h3 { font-size: 17px; }
  .year-item .content-slot { --slot-width: 95%; }
  .split-layout { gap: 36px; }
  .media-placeholder--about { min-height: 320px; }
  .steps-grid { gap: 32px; }
  .step { position: relative; padding-left: 45px; }
  .step-number { position: absolute; top: 25px; left: 0; }
  .step h3 { font-size: 21px; }
  .step .content-slot { margin-bottom: 0; }
  .faq-layout { gap: 18px; }
  .faq-layout h2 br { display: none; }
  .projects-placeholders { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 15px; }
  .projects-placeholders > :last-child { display: none; }
  .media-placeholder--project { aspect-ratio: .8; min-height: 200px; }
  .media-placeholder--project .media-placeholder-center { padding: 15px 10px; }
  .media-placeholder--project .media-title { font-size: 10px; }
  .media-placeholder--project .media-placeholder-foot { display: none; }
  .projects-content .nc-blog { grid-template-columns: 1fr; }
  .area-grid { gap: 30px; }
  .city-panel { padding-inline: 22px; }
  .contact-grid { gap: 35px; }
  .contact-section .section-heading { margin-bottom: 30px; }
  .contact-section .section-note { display: none; }
  .contact-info .content-slot { max-width: 360px; }
  .contact-signature { display: none; }
  .contact-detail { padding-block: 18px; }
  .quote-form { padding: 25px 20px; }
  .quote-form label { font-size: 11px; }
  .quote-form input, .quote-form select, .quote-form textarea { font-size: 16px; }
  .quote-form legend { font-size: 24px; }
  .quote-form .button { padding: 15px; gap: 12px; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 45px; gap: 35px 24px; }
  .footer-brand { grid-column: 1/-1; display: flex; align-items: center; gap: 25px; }
  .footer-brand img { width: 76px; margin-bottom: 0; }
  .back-to-top { display: grid; grid-column: 1 / -1; justify-self: end; }
  .footer-legal { align-items: start; flex-direction: column; }
  .footer-bottom { align-items: stretch; flex-direction: column; font-size: 8px; gap: 13px; }
  .footer-credit-block { max-width: none; text-align: left; }
  .hero--inner { padding-block: 35px 50px; }
  .hero--inner h1 { font-size: 37px; }
  .hero--inner .media-placeholder--hero { min-height: 310px; }
  .media-placeholder--portrait { min-height: 360px; }
  .breadcrumbs { margin-top: 23px; font-size: 9px; gap: 10px; }
  .internal-section { gap: 24px; padding-block: 38px; }
  .internal-heading { gap: 12px; grid-template-columns: 25px 1fr; }
  .internal-heading h2 { font-size: 27px; }
  .internal-content { padding-left: 37px; }
  .internal-content .content-slot { margin-block: 0 16px; }
  .internal-sections { padding-bottom: 25px; }
}
@media (max-width: 370px) {
  .brand-description { display: none; }
  .hero h1 { font-size: 37px; }
  .hero-actions { flex-direction: column; align-items: start; }
  .year-items { grid-template-columns: 1fr; }
  .projects-placeholders { grid-template-columns: minmax(0,1fr); }
  .projects-placeholders > :last-child { display: block; }
  .media-placeholder--project { aspect-ratio: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
