:root {
  color-scheme: light;
  --ink: #1d2220;
  --deep: #252d29;
  --muted: #535a56;
  --line: #cbd0cb;
  --paper: #fbfbf8;
  --yellow: #f6c648;
  --accent: #786016;
  --wrap: 1200px;
  font-family: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, pre:focus-visible {
  outline: 3px solid #087988;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.06; }
h2 { font-size: 3.25rem; font-weight: 790; }
.wrap { width: min(var(--wrap), calc(100% - 108px)); margin-inline: auto; }
.sr-only, .icon-set { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; z-index: 10; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--yellow); transform: translateY(-160%); }
.skip:focus { transform: none; }
.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: none; }
.site-header { background: var(--ink); color: #fff; position: relative; z-index: 2; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand > span { font-size: 1.09rem; font-weight: 820; line-height: 1.17; white-space: nowrap; }
.brand b { font-weight: 650; }
.brand small { display: block; margin-top: 3px; color: #c5cbc5; font-size: .75rem; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 2rem; font-weight: 600; }
.main-nav > a:not(.button):hover { color: var(--yellow); }
.button { display: inline-flex; min-height: 49px; padding: .65rem 1.25rem; align-items: center; justify-content: center; gap: .55rem; color: inherit; border: 1px solid transparent; border-radius: 2px; text-align: center; font-size: .95rem; font-weight: 750; transition: background-color .18s, border-color .18s; }
.button-yellow { background: var(--yellow); color: #1d2220; }
.button-yellow:hover { background: #ffda70; }
.button-outline { border-color: #fff9; color: #fff; background: #232c2688; }
.button-outline:hover { background: #3c4740; border-color: #fff; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #394540; }
.button-light { background: #fff; border-color: #82908a; color: var(--ink); }
.button-light:hover { background: #eef2ec; }
.nav-cta { min-height: 44px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #9caaa3; background: transparent; color: inherit; border-radius: 2px; }
.icon-button:hover { background: #9caaa326; }
.hero { position: relative; isolation: isolate; color: #fff; background: #34433e; display: grid; grid-template-rows: 1fr auto; min-height: clamp(475px, calc(100svh - 178px), 685px); }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: #111a1774; }
.hero-inner { display: flex; align-items: center; padding-block: 55px; }
.hero-copy { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--accent); text-transform: uppercase; font-size: .875rem; font-weight: 800; }
.eyebrow span { flex: 0 0 28px; height: 2px; background: currentColor; }
.hero .eyebrow, .workflow .eyebrow { color: var(--yellow); }
.hero h1 { font-family: "Segoe UI", Arial, sans-serif; font-size: 6.6rem; font-weight: 850; margin-block: .12em .15em; overflow-wrap: anywhere; }
.hero-lead { color: #f6f8f4; font-size: 1.35rem; font-weight: 550; max-width: 26ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.hero-note { display: flex; gap: 1rem; justify-content: space-between; border-top: 1px solid #e7f0ea55; color: #f7f9f6; padding-block: .9rem; font-size: .8rem; font-weight: 650; }
.section { padding-block: 76px; }
.section-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: end; margin-bottom: 38px; }
.section-intro h2, .project h2, .workflow h2 { margin-top: .55rem; }
.section-intro > p, .project-grid > div > p:not(.eyebrow) { max-width: 41ch; color: var(--muted); font-size: 1.12rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.service { padding: 28px 26px; }
.service:first-child { padding-left: 0; }
.service + .service { border-left: 1px solid var(--line); }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; background: #f8e2a7; color: #443408; border-radius: 2px; }
.service-icon .icon { width: 24px; height: 24px; }
.service h3 { font-size: 1.35rem; margin-block: 1.12rem .55rem; }
.service p { color: var(--muted); max-width: 33ch; }
.workflow { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(350px, 1fr); background: var(--deep); color: #fff; }
.workflow-media { position: relative; min-height: 460px; }
.workflow-media img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center; }
.workflow-media figcaption { position: absolute; bottom: 1rem; left: 1rem; background: #1d2220e6; padding: .35rem .65rem; font-size: .8rem; }
.workflow-text { width: min(600px, 100%); padding: 68px 54px; }
.steps { margin-top: 1.75rem; }
.steps div { padding-block: .8rem; border-top: 1px solid #ffffff3d; }
.steps dt { color: #fff; font-weight: 760; font-size: 1.05rem; }
.steps dd { margin-top: .24rem; color: #e0e6df; }
.project { background: #eef1ec; }
.project-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 3rem; }
.project-grid > div > p:not(.eyebrow) { margin-top: 1rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.project form label { display: flex; flex-direction: column; gap: .35rem; color: var(--ink); font-weight: 700; font-size: .92rem; }
.project form > label { margin-block: 1rem; }
.project input, .project select, .project textarea { width: 100%; min-width: 0; border: 1px solid #9fa9a1; border-radius: 2px; background: #fff; color: var(--ink); padding: .65rem .7rem; font-size: 1rem; font-weight: 400; min-height: 46px; }
.project textarea { resize: vertical; }
.project select { appearance: none; padding-right: 2rem; background: #fff url("assets/chevron.svg") no-repeat right .7rem center / 16px 16px; }
.site-footer { background: var(--ink); color: #fff; }
.footer-inner { min-height: 106px; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.footer-inner > small { color: #cad2ca; font-size: .85rem; }
.footer-contact > span { display: block; color: #cad2ca; font-size: .875rem; }
.footer-phones { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-phone { display: flex; align-items: center; gap: .55rem; }
.message-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; color: var(--yellow); font-size: 1.15rem; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.message-link .icon { color: #81e4a7; }
.message-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.call-link { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #7b8a80; border-radius: 2px; color: #fff; }
.call-link:hover { background: #394540; }
dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100% - 28px); border: 1px solid #92a098; border-radius: 6px; color: var(--ink); padding: 1.25rem; }
dialog::backdrop { background: #152019bc; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dialog-heading h2 { font-size: 1.5rem; }
.dialog-heading form { flex: none; }
#summary-text { background: #edf0ea; padding: 1rem; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.copy-status { min-height: 1.55em; color: var(--muted); font-size: .875rem; margin-top: .6rem; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .main-nav { gap: 1.1rem; }
  .hero h1 { font-size: 5.5rem; }
  .workflow-text { padding: 48px 34px; }
  h2 { font-size: 2.7rem; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 68px; }
  .brand img { width: 38px; height: 38px; }
  .main-nav { width: 100%; display: grid; gap: .6rem; padding: .65rem 0 1rem; border-top: 1px solid #59615c; }
  .main-nav > a:not(.button) { padding: .25rem 0; }
  .nav-cta { justify-self: start; }
  .hero { min-height: clamp(445px, calc(100svh - 137px), 620px); }
  .hero-photo { object-position: 61% center; }
  .hero h1 { font-size: 4.25rem; }
  .hero-lead { font-size: 1.14rem; }
  .hero-inner { padding-block: 46px; }
  .section { padding-block: 46px; }
  h2 { font-size: 2.3rem; }
  .section-intro, .project-grid { grid-template-columns: 1fr; gap: 1rem; }
  .section-intro { margin-bottom: 25px; }
  .section-intro > p, .project-grid > div > p:not(.eyebrow) { font-size: 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 23px 0; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
  .service p { max-width: none; }
  .workflow { grid-template-columns: 1fr; }
  .workflow-media { min-height: 0; aspect-ratio: 4 / 3; }
  .workflow-text { padding: 36px 18px; }
  .footer-inner { display: grid; gap: .9rem; padding-block: 24px; }
  .footer-phones { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 3.5rem; }
  .hero-actions .button { padding-inline: .85rem; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
