/* Biro Cegnar — responsive, dependency-free concept website. */
:root {
  --ink: #30363e;
  --body: #53585d;
  --muted: #727571;
  --gold: #c89653;
  --gold-text: #986629;
  --line: #e0e1de;
  --paper: #ffffff;
  --soft: #f7f6f2;
  --header-h: 100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { color: inherit; }
svg { display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(32px, 3.1vw, 46px); font-weight: 400; letter-spacing: -1.1px; }
::selection { background: #f0dfc6; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 5px; border-radius: 2px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 192px), 1320px); margin-inline: auto; }
.icon { width: 30px; height: 30px; flex-shrink: 0; }
.eyebrow { color: var(--gold-text); text-transform: uppercase; font-size: 12px; font-weight: 400; letter-spacing: 1.35px; line-height: 1.4; margin-bottom: 15px; }
.gold-dot { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 15px; top: -80px; padding: 12px 22px; background: white; border: 1px solid var(--gold); z-index: 200; }
.skip-link:focus { top: 10px; }
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50; display: flex; align-items: center; gap: 24px; padding: 0 27px; background: linear-gradient(180deg,rgba(255,255,255,.89),rgba(255,255,255,.15)); transition: background .2s, box-shadow .2s; }
.site-header.scrolled, .site-header.menu-active { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(58,63,64,.08); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark { color: var(--gold); width: 48px; height: 57px; }
.brand-type { display: flex; flex-direction: column; }
.brand-name { font-size: 24px; letter-spacing: -.4px; line-height: 1.4; font-weight: 400; white-space: nowrap; border-bottom: 1px solid #d3d6d7; padding-bottom: 1px; }
.brand-domain { font-size: 14px; letter-spacing: -.1px; }
.brand-tagline { font-size: 9px; letter-spacing: 2.4px; padding-top: 5px; line-height: 1.5; font-weight: 500; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 1.55vw, 29px); margin-left: auto; white-space: nowrap; height: 100%; }
.nav-link, .nav-dropdown > summary { position: relative; text-transform: uppercase; font-size: 10.5px; line-height: 1.6; padding: 10px 0; cursor: pointer; }
.nav-link::after { content: ''; position: absolute; height: 1px; left: 0; right: 0; bottom: -7px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-link:hover, .nav-link.is-active, .nav-dropdown > summary:hover { color: var(--gold-text); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary .icon { width: 11px; height: 11px; stroke-width: 3; }
.dropdown-panel { position: absolute; top: calc(100% + 20px); left: -25px; width: 286px; padding: 15px 0; background: white; border: 1px solid var(--line); box-shadow: 0 14px 40px #30363e13; }
.dropdown-panel::before { content: ''; position: absolute; inset: -26px 0 auto; height: 28px; }
.dropdown-panel a { display: block; font-size: 13px; padding: 9px 23px; }
.dropdown-panel a:hover { color: var(--gold-text); background: #faf8f3; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.phone-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--gold); color: var(--gold-text); border-radius: 100px; padding: 7px 15px; font-size: 13px; white-space: nowrap; transition: background .2s; }
.phone-pill:hover { background: #fcf1e0; }
.phone-pill .icon { width: 18px; height: 22px; fill: currentColor; stroke-width: 0; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 44px; padding: 10px 7px; position: relative; }
.menu-toggle span { display: block; height: 1px; width: 25px; background: var(--ink); position: absolute; left: 8px; top: 16px; transition: transform .2s, top .2s; }
.menu-toggle span + span { top: 26px; }
.menu-toggle[aria-expanded=true] span { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] span + span { transform: rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 45; inset: var(--header-h) 0 0; padding: 20px 30px 36px; background: #faf9f5; overflow: auto; }
.mobile-menu nav a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #dedbd4; font-size: 22px; letter-spacing: -.4px; }
.mobile-menu nav a span { color: var(--gold-text); font-size: 12px; padding-top: 7px; }
.mobile-mail { display: inline-block; margin-top: 28px; color: var(--gold-text); font-size: 16px; }
.hero { position: relative; height: 634px; overflow: hidden; isolation: isolate; background: #f9fbfb; }
.hero-picture { display: contents; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg,#fcfdfd 0%,#fcfdfd 34%,rgba(252,253,253,.97) 39%,rgba(252,253,253,.65) 48%,rgba(252,253,253,.10) 63%,rgba(252,253,253,0) 78%),linear-gradient(180deg,#fff 0%,#fff 17%,rgba(255,255,255,.08) 31%,rgba(255,255,255,0) 40%,rgba(255,255,255,0) 90%,rgba(255,255,255,.6) 100%); }
.hero-content { padding-top: 153px; position: relative; }
.hero-content .eyebrow { font-size: 13px; margin-bottom: 17px; letter-spacing: 1.15px; }
.hero h1 { font-size: clamp(50px,4.35vw,66px); font-weight: 400; line-height: 1.015; letter-spacing: -1.65px; max-width: 520px; }
.hero-description { margin: 23px 0 30px; color: var(--body); font-size: 15px; line-height: 1.8; max-width: 520px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 24px; min-height: 48px; border: 1px solid var(--gold); background: transparent; text-transform: uppercase; font-size: 12px; letter-spacing: 1.3px; line-height: 1.4; transition: background .2s, border-color .2s, color .2s; cursor: pointer; }
.button .icon { width: 27px; height: 22px; color: var(--gold); stroke-width: 1.5; transition: transform .2s; }
.button:hover .icon { transform: translateX(4px); }
.button-outline:hover { background: #fff8ed; border-color: var(--gold-text); }
.button-solid { background: #9d682b; border-color: #9d682b; color: white; }
.button-solid .icon { color: white; }
.button-solid:hover { background: #835521; border-color: #835521; }
.hero-caption { position: absolute; right: 100px; bottom: 90px; color: #454b49; font-size: 8px; letter-spacing: 1px; text-transform: uppercase; padding: 2px 6px; background: rgba(255,255,255,.6); }
.section-rail { position: fixed; right: 24px; top: 188px; width: 42px; z-index: 35; }
.section-rail::before { content: ""; position: absolute; top: -15px; bottom: -12px; right: -24px; width: 100px; z-index: -1; background: linear-gradient(90deg,transparent,rgba(255,255,255,.92)); pointer-events: none; }
.rail-numbers { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.rail-link { display: flex; align-items: center; justify-content: center; width: 42px; height: 33px; font-size: 18px; position: relative; background: transparent; border-radius: 2px; line-height: 1; }
.rail-link::before { content: attr(data-label); position: absolute; right: 56px; top: 5px; background: white; border: 1px solid var(--line); padding: 8px 12px; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; }
.rail-link:hover::before, .rail-link:focus-visible::before { opacity: 1; }
.rail-link::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: -3px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.rail-link.is-active { color: var(--gold-text); }
.rail-link.is-active::after { transform: scaleX(1); }
.rail-arrows { display: flex; flex-direction: column; gap: 14px; margin-top: 25px; }
.rail-arrows button, .back-top { border: 1px solid var(--gold); width: 41px; height: 41px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.87); }
.rail-arrows button:disabled { opacity: .45; cursor: default; }
.rail-arrows .icon, .back-top .icon { width: 24px; height: 24px; stroke-width: 2; }
#section-prev .icon, .back-top .icon { transform: rotate(-90deg); }
#section-next .icon { transform: rotate(90deg); }
.services-section { position: relative; z-index: 2; margin-top: -56px; scroll-margin-top: 118px; }
.services-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 12px 25px rgba(31,37,38,.025); }
.service-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 151px; padding: 23px 19px 17px 21px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 17px; background: rgba(255,255,255,.65); transition: background .2s; }
.service-card:hover { background: #fcf6eb; }
.service-icon { width: 49px; height: 61px; color: var(--gold); margin-top: 0; }
.service-copy h3 { font-size: 12px; font-weight: 600; line-height: 1.45; text-transform: uppercase; min-height: 32px; }
.service-copy p { font-size: 11px; line-height: 1.7; color: var(--body); margin-top: 5px; }
.card-arrow { display: block; color: var(--gold); margin-top: 6px; }
.card-arrow .icon { width: 24px; height: 15px; stroke-width: 1.6; transition: transform .2s; }
.service-card:hover .card-arrow .icon { transform: translateX(5px); }
.about-section { scroll-margin-top: 118px; }
.about-grid { display: grid; grid-template-columns: 28% 32% 40%; min-height: 320px; border-bottom: 1px solid #eeefec; }
.about-photo { position: relative; height: 100%; min-height: 320px; overflow: hidden; background: #e5edf0; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.about-main { padding: 32px 32px 27px 42px; position: relative; }
.about-main::before { content: ''; position: absolute; left: 0; top: 35px; bottom: 32px; width: 1px; background: var(--gold); }
.about-main .eyebrow { margin-bottom: 12px; font-size: 11px; }
.about-main h2 { font-size: 25px; letter-spacing: -.45px; line-height: 1.36; }
.signature { width: 235px; height: auto; margin: 17px 0 5px -3px; }
.qualification { font-size: 10px; letter-spacing: .65px; }
.about-quote { padding: 34px 29px 72px 30px; position: relative; overflow: hidden; }
.about-quote::before { content: ''; position: absolute; left: 0; top: 35px; bottom: 42px; width: 1px; background: var(--gold); }
.about-quote blockquote { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; line-height: 1.65; margin: 0; color: #52545a; position: relative; z-index: 1; }
.mountain-line { color: var(--gold); width: 100%; }
.about-quote .mountain-line { position: absolute; bottom: 0; left: 25px; width: calc(100% - 35px); height: 95px; opacity: .75; }
.section-pad { padding-top: 100px; padding-bottom: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 35px; }
.section-intro { max-width: 350px; color: var(--body); font-size: 14px; line-height: 1.85; padding-bottom: 2px; }
.reference-filters { display: flex; gap: 28px; margin: 35px 0 26px; flex-wrap: wrap; }
.filter-button { background: none; border: 0; border-bottom: 1px solid transparent; color: var(--muted); font-size: 12px; padding: 9px 0; }
.filter-button span { font-size: 9px; margin-left: 6px; color: var(--gold-text); }
.filter-button.is-active { color: var(--gold-text); border-bottom-color: var(--gold); }
.filter-button:hover { color: var(--gold-text); }
.reference-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.reference-card { border: 1px solid var(--line); padding: 24px 27px 20px; background: linear-gradient(140deg,#fbfaf7,#fff); transition: border-color .2s; }
.reference-card:hover { border-color: var(--gold); }
.reference-top { display: flex; align-items: center; justify-content: space-between; }
.reference-top > span { font-size: 10px; letter-spacing: 1px; color: var(--gold-text); }
.reference-top .icon { width: 36px; height: 42px; color: var(--gold); }
.reference-card h3 { font-weight: 400; letter-spacing: -.5px; font-size: 23px; margin-top: 26px; }
.reference-card > p { font-size: 12px; color: var(--body); min-height: 38px; margin-top: 9px; }
.reference-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 17px; }
.reference-bottom > span { font-size: 10px; color: var(--muted); letter-spacing: .35px; }
.reference-bottom a { display: flex; width: 35px; height: 30px; justify-content: center; align-items: center; color: var(--gold-text); }
.reference-source { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.reference-source > span { max-width: 580px; font-size: 10px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--gold-text); font-size: 12px; padding: 5px 0; border: 0; background: transparent; line-height: 1.5; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 25px; height: 20px; stroke-width: 1.4; }
.legal-section { background: var(--soft); padding: 85px 0; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 78px; }
.legal-visual { position: relative; min-height: 552px; align-self: stretch; overflow: hidden; background: #e9edec; }
.legal-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.legal-visual::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(0deg,rgba(40,46,45,.75),transparent); pointer-events: none; }
.image-label { position: absolute; bottom: 69px; left: 32px; color: white; font-size: 27px; font-weight: 400; line-height: 1.4; letter-spacing: -.55px; z-index: 1; }
.visual-note { position: absolute; bottom: 26px; left: 32px; right: 24px; color: #f5f5f5; font-size: 9px; letter-spacing: .3px; z-index: 1; }
.legal-copy h2 { font-size: clamp(32px,3vw,43px); }
.legal-copy > p:not(.eyebrow) { margin-top: 21px; color: var(--body); font-size: 14px; line-height: 1.85; }
.accordion { margin: 24px 0 30px; border-top: 1px solid #dcdad4; }
.accordion details { border-bottom: 1px solid #dcdad4; }
.accordion summary { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding: 15px 0; cursor: pointer; list-style: none; line-height: 1.5; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 16px; height: 20px; stroke-width: 2; transition: transform .2s; }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion details p { font-size: 12px; line-height: 1.85; padding: 0 25px 20px 0; color: var(--body); }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 80px; }
.expertise-card { display: grid; grid-template-columns: 57px 1fr; padding: 37px 33px; gap: 24px; scroll-margin-top: 123px; }
.expertise-card + .expertise-card { border-left: 1px solid var(--line); }
.expertise-icon { width: 57px; height: 66px; color: var(--gold); }
.expertise-card .eyebrow { font-size: 10px; margin-bottom: 10px; }
.expertise-card h2 { font-size: 27px; letter-spacing: -.45px; }
.expertise-card p:not(.eyebrow) { margin: 14px 0 15px; font-size: 13px; color: var(--body); line-height: 1.8; }
.process-heading h2 { font-size: 38px; }
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; margin: 40px 0 0; gap: 25px; }
.process-steps li { position: relative; border-top: 1px solid var(--line); padding-top: 25px; }
.step-number { font-size: 32px; line-height: 1; font-weight: 400; color: var(--gold); letter-spacing: -1px; }
.process-steps h3 { font-size: 15px; font-weight: 500; margin-top: 22px; }
.process-steps p { font-size: 12px; line-height: 1.85; color: var(--body); margin-top: 10px; max-width: 230px; }
.contact-section { padding: 90px 0; background: #f6f5f1; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; }
.contact-copy { padding-top: 15px; position: relative; }
.contact-copy h2 { font-size: clamp(37px,3.7vw,52px); line-height: 1.13; }
.contact-copy > p:not(.eyebrow) { font-size: 14px; color: var(--body); line-height: 1.85; margin-top: 24px; }
.contact-phone { display: flex; align-items: center; gap: 22px; font-size: 32px; letter-spacing: -.7px; width: fit-content; margin-top: 34px; line-height: 1.4; }
.contact-phone .icon { width: 34px; color: var(--gold); }
.contact-phone:hover, .contact-email:hover { color: var(--gold-text); }
.contact-email { font-size: 18px; display: inline-block; margin-top: 7px; }
.company-data { display: flex; flex-direction: column; margin-top: 40px; gap: 2px; font-size: 12px; line-height: 1.75; color: var(--body); }
.company-data strong { color: var(--ink); font-weight: 500; font-size: 14px; }
.contact-copy .mountain-line { margin-top: 30px; max-width: 420px; height: 105px; opacity: .7; }
.contact-form { background: white; padding: 34px 35px; border: 1px solid #e7e4dd; }
.form-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 27px; }
.form-title h3 { font-size: 25px; font-weight: 400; letter-spacing: -.6px; }
.form-title > span { font-size: 9px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; margin-bottom: 23px; }
.field label { font-size: 11px; line-height: 1.5; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; color: var(--ink); border: 0; border-bottom: 1px solid #cdcec9; border-radius: 0; padding: 8px 0; background: white; font-size: 12px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #7c807d; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: #825921; box-shadow: 0 1px 0 #825921; }
.field select { min-height: 36px; }
.field textarea { resize: vertical; min-height: 82px; }
.form-notice { font-size: 10px; line-height: 1.8; color: var(--muted); margin: -3px 0 20px; }
.contact-form .button { width: 100%; font-size: 11px; letter-spacing: 1px; }
.site-footer { padding: 35px 0 22px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-bottom: 26px; }
.site-footer .brand-mark { width: 36px; height: 44px; }
.site-footer .brand-name { font-size: 19px; }
.site-footer .brand-domain { font-size: 10px; }
.site-footer .brand-tagline { font-size: 7px; letter-spacing: 1.9px; padding-top: 4px; }
.site-footer .brand { gap: 10px; }
.footer-links { display: flex; gap: 26px; font-size: 11px; margin-left: auto; }
.footer-links button { background: none; border: 0; font-size: 11px; padding: 0; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold-text); }
.back-top { width: 37px; height: 37px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; color: var(--muted); line-height: 1.7; }
.content-dialog { width: min(660px,calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; border: 1px solid var(--line); padding: 47px 46px 38px; color: var(--ink); background: white; box-shadow: 0 20px 90px #19232126; }
.content-dialog::backdrop { background: rgba(30,39,43,.45); backdrop-filter: blur(4px); }
.content-dialog h2 { font-size: 34px; margin: 6px 25px 22px 0; }
.content-dialog > p { font-size: 14px; color: var(--body); line-height: 1.8; margin-top: 15px; }
.content-dialog > .eyebrow { font-size: 11px; color: var(--gold-text); margin: 0; }
.content-dialog > .dialog-lead { font-size: 20px; color: var(--ink); line-height: 1.45; letter-spacing: -.3px; }
.dialog-close { position: absolute; top: 14px; right: 15px; background: white; width: 36px; height: 36px; border: 0; display: grid; place-items: center; }
.dialog-close .icon { width: 22px; height: 22px; stroke-width: 2; }
.dialog-subtitle { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .7px; margin-top: 28px; }
.dialog-points { padding: 0; margin: 14px 0 0; list-style: none; }
.dialog-points li { padding: 9px 0 9px 24px; position: relative; border-bottom: 1px solid #eeefeb; font-size: 13px; }
.dialog-points li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.content-dialog > .dialog-disclaimer { font-size: 11px; color: var(--muted); line-height: 1.75; margin-top: 21px; }
.dialog-actions { display: flex; gap: 23px; flex-wrap: wrap; align-items: center; margin-top: 25px; }
.dialog-actions .button { font-size: 10px; padding: 13px 17px; letter-spacing: .7px; }
.mail-preview { padding: 18px 20px; border: 1px solid var(--line); background: #faf9f6; margin-top: 18px; }
.mail-preview > strong { font-size: 13px; font-weight: 500; display: block; border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.mail-preview pre { font-family: inherit; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 210px; overflow: auto; margin: 13px 0 0; }
.content-dialog .copy-status { color: var(--gold-text); font-size: 11px; min-height: 0; margin: 10px 0 0; }
#privacy-dialog a { color: var(--gold-text); text-decoration: underline; }
@media(min-width:1650px) {
  .hero { height: 710px; }
  .hero-content { padding-top: 178px; }
  .hero-art img { object-position: right 47%; }
  .hero-description { font-size: 17px; }
  .service-card { min-height: 162px; padding-top: 26px; }
  .service-copy h3 { font-size: 13px; }
  .service-copy p { font-size: 12px; }
}
@media(max-width:1320px) {
  .desktop-nav { gap: 15px; }
  .brand-name { font-size: 22px; }
  .brand-mark { width: 43px; }
  .brand { gap: 10px; }
  .site-header { gap: 18px; padding-inline: 22px; }
  .phone-pill { padding-inline: 11px; font-size: 12px; }
  .nav-link, .nav-dropdown > summary { font-size: 9.5px; }
  .container { width: calc(100% - 150px); }
  .service-card { padding: 22px 15px 17px; gap: 12px; grid-template-columns: 43px minmax(0,1fr); }
  .service-icon { width: 44px; }
  .service-copy h3 { font-size: 11px; }
  .about-main { padding-left: 28px; padding-right: 24px; }
  .about-main h2 { font-size: 23px; }
  .about-quote { padding-inline: 25px; }
  .about-quote blockquote { font-size: 14px; }
  .legal-grid { gap: 50px; }
  .contact-grid { gap: 60px; }
}
@media(max-width:1179px) {
  :root { --header-h: 88px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header { padding-inline: 28px; }
  .brand-name { font-size: 24px; }
  .brand-mark { width: 46px; }
  .phone-pill { font-size: 13px; padding-inline: 16px; }
  .header-actions { gap: 15px; }
  .container { width: calc(100% - 116px); }
  .section-rail { right: 10px; width: 35px; }
  .rail-link { width: 35px; height: 31px; font-size: 16px; }
  .rail-arrows button { width: 35px; height: 35px; }
  .hero { height: 590px; }
  .hero-content { padding-top: 139px; }
  .hero h1 { font-size: 57px; }
  .hero-description { max-width: 430px; font-size: 14px; }
  .hero-content .eyebrow { font-size: 11px; }
  .hero-wash { background: linear-gradient(90deg,#fcfdfd 0%,#fcfdfd 25%,rgba(252,253,253,.98) 39%,rgba(252,253,253,.73) 49%,rgba(252,253,253,.12) 70%,transparent 85%),linear-gradient(180deg,#fff 0%,#fff 17%,transparent 35%); }
  .service-card { grid-template-columns: 1fr; gap: 10px; padding: 19px 16px 16px; min-height: 190px; }
  .service-icon { width: 42px; height: 43px; }
  .service-copy h3 { font-size: 11px; min-height: 32px; }
  .service-copy p { font-size: 11px; min-height: 36px; }
  .about-grid { grid-template-columns: 31% 33% 36%; }
  .about-main { padding: 30px 22px; }
  .about-main h2 { font-size: 21px; }
  .about-quote { padding: 31px 17px 69px 22px; }
  .about-quote blockquote { font-size: 13px; }
  .about-quote .mountain-line { left: 14px; width: calc(100% - 22px); height: 70px; }
  .qualification { font-size: 8px; }
  .section-heading { gap: 45px; }
  .section-intro { max-width: 290px; font-size: 13px; }
  .reference-card { padding-inline: 22px; }
  .reference-card h3 { font-size: 21px; }
  .reference-source { align-items: start; }
  .reference-source > span { max-width: 52%; }
  .reference-source .text-link { max-width: 42%; }
  .legal-grid { gap: 35px; }
  .legal-visual { min-height: 565px; }
  .legal-copy h2 { font-size: 33px; }
  .image-label { left: 24px; font-size: 24px; }
  .visual-note { left: 24px; }
  .expertise-card { grid-template-columns: 40px 1fr; gap: 17px; padding: 30px 25px; }
  .expertise-icon { width: 40px; height: 50px; }
  .expertise-card h2 { font-size: 23px; }
  .contact-grid { gap: 35px; grid-template-columns: .85fr 1.15fr; }
  .contact-form { padding: 28px; }
  .form-row { gap: 16px; }
  .contact-copy h2 { font-size: 38px; }
  .contact-phone { font-size: 27px; gap: 10px; }
  .footer-links { gap: 18px; }
}
@media(max-width:899px) {
  .container { width: calc(100% - 64px); }
  .section-rail { display: none; }
  .hero { height: 610px; }
  .hero-caption { right: 26px; bottom: 66px; }
  .services-section { margin-top: -28px; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { display: grid; grid-template-columns: 49px 1fr; gap: 20px; min-height: 136px; padding: 24px 22px 18px; }
  .service-icon { width: 48px; height: 57px; }
  .service-copy h3 { min-height: 17px; font-size: 12px; }
  .service-copy p { min-height: 34px; font-size: 12px; }
  .about-grid { grid-template-columns: 40% 60%; }
  .about-photo { min-height: 280px; }
  .about-main { padding: 34px; }
  .about-main h2 { font-size: 27px; max-width: 340px; }
  .signature { max-width: 240px; margin-top: 20px; }
  .qualification { font-size: 10px; }
  .about-quote { grid-column: 1/-1; padding: 28px 120px 45px 33px; min-height: 205px; }
  .about-quote blockquote { font-size: 16px; }
  .about-quote::before { left: 0; top: 29px; bottom: 45px; }
  .about-quote .mountain-line { left: auto; right: 0; width: 330px; height: 80px; opacity: .45; }
  .section-pad { padding-block: 75px; }
  .section-heading { align-items: start; gap: 30px; }
  .section-heading h2 { font-size: 34px; }
  .section-intro { max-width: 270px; padding-top: 30px; }
  .reference-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reference-source { flex-direction: column; gap: 10px; }
  .reference-source > span, .reference-source .text-link { max-width: 100%; }
  .legal-section { padding-block: 65px; }
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-visual { min-height: 0; height: 380px; }
  .legal-visual > img { object-position: center 51%; }
  .legal-copy { max-width: 610px; }
  .legal-copy h2 { font-size: 40px; }
  .expertise-grid { margin-bottom: 60px; }
  .expertise-card { display: block; padding: 28px; }
  .expertise-icon { margin-bottom: 20px; }
  .process-heading h2 { font-size: 34px; }
  .process-steps { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 35px; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-copy { padding: 0 0 20px; }
  .contact-copy h2 { font-size: 46px; }
  .contact-copy .mountain-line { position: absolute; right: 0; bottom: 0; width: 330px; opacity: .45; }
  .contact-section { padding-block: 60px; }
  .contact-form { padding: 35px; }
  .form-row { gap: 25px; }
  .footer-top { flex-wrap: wrap; gap: 22px; }
  .footer-links { order: 3; flex-basis: 100%; margin-left: 0; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .back-top { margin-left: auto; }
}
@media(max-width:599px) {
  :root { --header-h: 77px; }
  html { scroll-padding-top: 92px; }
  body { font-size: 14px; }
  .container { width: calc(100% - 40px); }
  .site-header { padding-inline: 17px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 44px; }
  .brand-name { font-size: 19px; letter-spacing: -.55px; }
  .brand-domain { font-size: 10px; }
  .brand-tagline { font-size: 7px; letter-spacing: 1.75px; padding-top: 4px; }
  .header-actions { gap: 4px; }
  .phone-pill { width: 37px; height: 37px; padding: 7px; }
  .phone-pill .icon { width: 17px; height: 19px; }
  .phone-pill span { display: none; }
  .menu-toggle { width: 37px; }
  .hero { height: 713px; }
  .hero-content { padding-top: 124px; }
  .hero-content .eyebrow { font-size: 9px; letter-spacing: 1.25px; margin-bottom: 17px; }
  .hero h1 { font-size: clamp(45px,12.8vw,61px); line-height: 1.015; letter-spacing: -1.7px; }
  .hero-description { font-size: 13px; line-height: 1.8; margin: 22px 0 23px; max-width: 330px; }
  .desktop-break { display: none; }
  .hero .button { padding: 11px 20px; min-height: 44px; font-size: 10px; letter-spacing: 1.2px; gap: 13px; }
  .hero-art img { position: absolute; inset: auto 0 0 auto; width: 100%; height: 320px; object-fit: cover; object-position: right center; }
  .hero-wash { background: linear-gradient(180deg,#fcfdfd 0%,#fcfdfd 52%,rgba(252,253,253,.97) 57%,rgba(252,253,253,.70) 63%,rgba(252,253,253,.14) 77%,transparent 88%),linear-gradient(90deg,rgba(255,255,255,.35),transparent 65%); }
  .hero-caption { bottom: 28px; right: 20px; font-size: 7px; }
  .services-section { margin-top: -1px; scroll-margin-top: 88px; }
  .service-card { display: block; padding: 19px 17px 15px; min-height: 185px; }
  .service-icon { width: 42px; height: 45px; margin-bottom: 13px; }
  .service-copy h3 { font-size: 10.5px; line-height: 1.5; min-height: 32px; }
  .service-copy p { font-size: 11px; line-height: 1.75; min-height: 39px; }
  .card-arrow { margin-top: 7px; }
  .about-section { scroll-margin-top: 90px; }
  .about-grid { grid-template-columns: 40% 60%; }
  .about-photo { min-height: 242px; }
  .about-photo img { object-position: 50% 32%; }
  .about-main { padding: 26px 17px 19px; }
  .about-main::before { top: 27px; bottom: 26px; }
  .about-main .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .about-main h2 { font-size: 19px; line-height: 1.4; letter-spacing: -.45px; }
  .signature { width: 180px; max-width: 100%; margin-top: 13px; margin-left: -2px; }
  .qualification { font-size: 7px; letter-spacing: .2px; }
  .about-quote { padding: 26px 13px 64px 23px; min-height: 252px; }
  .about-quote blockquote { font-size: 14px; line-height: 1.8; }
  .about-quote::before { top: 28px; bottom: 56px; }
  .about-quote .mountain-line { width: 280px; height: 70px; bottom: 2px; }
  .section-pad { padding-block: 60px; }
  .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2 { font-size: 34px; }
  .section-intro { padding-top: 21px; max-width: 100%; font-size: 13px; line-height: 1.8; }
  .reference-filters { gap: 16px; margin: 24px 0 20px; }
  .filter-button { font-size: 10px; padding-bottom: 7px; }
  .filter-button span { display: none; }
  .reference-grid { grid-template-columns: 1fr; gap: 14px; }
  .reference-card { padding: 20px 23px 16px; }
  .reference-card h3 { font-size: 24px; margin-top: 13px; }
  .reference-card > p { min-height: 24px; font-size: 12px; }
  .reference-top .icon { width: 32px; height: 36px; }
  .reference-bottom { margin-top: 12px; padding-top: 11px; }
  .reference-source > span { font-size: 9px; line-height: 1.75; }
  .reference-source .text-link { font-size: 11px; }
  .legal-section { padding-block: 45px 55px; }
  .legal-visual { height: 320px; }
  .legal-grid { gap: 35px; }
  .image-label { left: 23px; bottom: 65px; font-size: 24px; }
  .visual-note { left: 23px; bottom: 21px; font-size: 8px; }
  .legal-copy h2 { font-size: 34px; letter-spacing: -1px; }
  .legal-copy > p:not(.eyebrow) { font-size: 13px; }
  .accordion summary { font-size: 12px; }
  .legal-copy .button { font-size: 10px; padding-inline: 20px; gap: 13px; }
  .expertise-grid { grid-template-columns: 1fr; margin-bottom: 55px; }
  .expertise-card { display: grid; grid-template-columns: 39px 1fr; gap: 19px; padding: 26px 22px; }
  .expertise-card + .expertise-card { border-left: 0; border-top: 1px solid var(--line); }
  .expertise-icon { width: 39px; height: 49px; margin: 0; }
  .expertise-card .eyebrow { font-size: 9px; }
  .expertise-card h2 { font-size: 23px; }
  .expertise-card p:not(.eyebrow) { font-size: 12px; line-height: 1.8; }
  .expertise-card .text-link { font-size: 11px; }
  .process-heading h2 { font-size: 32px; }
  .process-steps { column-gap: 20px; row-gap: 30px; margin-top: 30px; }
  .process-steps li { padding-top: 19px; }
  .step-number { font-size: 28px; }
  .process-steps h3 { font-size: 13px; margin-top: 18px; }
  .process-steps p { font-size: 11px; }
  .contact-section { padding-block: 50px; }
  .contact-copy h2 { font-size: 42px; }
  .contact-copy > p:not(.eyebrow) { font-size: 13px; }
  .contact-phone { font-size: 30px; }
  .contact-email { font-size: 17px; }
  .company-data { font-size: 11px; margin-top: 29px; }
  .contact-copy .mountain-line { position: static; width: 100%; margin: 0; height: 70px; }
  .contact-copy { padding-bottom: 0; }
  .contact-grid { gap: 15px; }
  .contact-form { padding: 25px 22px; }
  .form-title h3 { font-size: 23px; }
  .form-title span { font-size: 8px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 21px; }
  .field label { font-size: 11px; }
  .field input, .field select, .field textarea { font-size: 16px; padding-block: 9px; }
  .field input::placeholder, .field textarea::placeholder { font-size: 12px; }
  .field select { font-size: 13px; min-height: 44px; }
  .form-notice { font-size: 9px; line-height: 1.9; }
  .contact-form .button { font-size: 10px; letter-spacing: .75px; padding-inline: 12px; }
  .site-footer { padding-top: 28px; }
  .footer-top { gap: 22px; padding-bottom: 23px; }
  .footer-links { gap: 23px; font-size: 10px; }
  .footer-links button { font-size: 10px; }
  .footer-bottom { font-size: 8px; gap: 9px; }
  .content-dialog { padding: 39px 24px 28px; max-height: calc(100dvh - 30px); }
  .content-dialog h2 { font-size: 28px; letter-spacing: -.65px; margin-right: 5px; }
  .content-dialog > .dialog-lead { font-size: 18px; }
  .content-dialog > p { font-size: 13px; }
  .dialog-actions { gap: 15px; }
  .dialog-actions .button { width: 100%; font-size: 9px; }
  .dialog-points li { font-size: 12px; }
  .mail-preview { padding: 14px; }
}
@media(max-width:359px) {
  .brand-name { font-size: 17px; }
  .brand-domain { font-size: 9px; }
  .brand-mark { width: 30px; }
  .brand-tagline { font-size: 6px; }
  .site-header { padding-inline: 12px; }
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 44px; }
  .service-card { padding-inline: 14px; }
  .reference-filters { gap: 12px; }
  .filter-button { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header { position: static; }
  .section-rail, .header-actions, .desktop-nav, .reference-filters, .contact-form, .footer-links, .back-top, .hero-caption { display: none !important; }
  .container { width: 94%; }
  .hero { height: 460px; }
  .hero-content { padding-top: 35px; }
  .hero h1 { font-size: 50px; }
  .services-section { margin-top: 0; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card, .reference-card, .expertise-card { break-inside: avoid; }
  .section-pad, .legal-section, .contact-section { padding-block: 35px; }
  .contact-grid { grid-template-columns: 1fr; }
}
