:root {
  --ink: #13211e;
  --ink-deep: #0d1715;
  --muted: #6e7975;
  --line: #d9dfdc;
  --soft: #f0f3f0;
  --sand: #e7e0d3;
  --accent: #d88b4a;
  --accent-deep: #bb6b2f;
  --white: #fbfcfa;
  --serif: Georgia, "Times New Roman", serif;
  --display: "Manrope", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1200px, calc(100% - 80px)); margin: 0 auto; }

.topline { background: var(--ink-deep); color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.topline__inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topline__links { display: flex; gap: 26px; }
.topline a { color: #e6e9e6; transition: color .2s; }
.topline a:hover { color: var(--accent); }

.site-header { position: absolute; z-index: 10; top: 36px; left: 0; right: 0; color: var(--white); }
.nav-wrap { min-height: 92px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: inline-flex; gap: 13px; align-items: center; }
.brand__mark { width: 37px; height: 38px; position: relative; display: inline-block; }
.brand__mark i { display: block; position: absolute; height: 5px; background: var(--accent); transform: skewY(-28deg); border-radius: 2px; }
.brand__mark i:nth-child(1) { width: 34px; top: 7px; left: 0; }
.brand__mark i:nth-child(2) { width: 28px; top: 17px; left: 5px; }
.brand__mark i:nth-child(3) { width: 22px; top: 27px; left: 10px; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__text strong { font: 800 25px/1 var(--display); letter-spacing: -.08em; }
.brand__text small { color: rgba(255,255,255,.75); font-size: 8px; letter-spacing: .16em; line-height: 1.1; }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.main-nav > a:not(.nav-cta) { position: relative; color: rgba(255,255,255,.82); }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 0; height: 1px; background: var(--accent); transition: width .25s; }
.main-nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { display: inline-flex; gap: 15px; align-items: center; border: 1px solid rgba(255,255,255,.42); padding: 14px 18px; transition: background .25s, border-color .25s; }
.nav-cta span, .button span, .text-link span { font-size: 16px; transition: transform .25s; }
.nav-cta:hover, .button:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.nav-cta:hover span, .button:hover span, .text-link:hover span { transform: translate(3px,-3px); }
.nav-toggle { display: none; background: none; color: #fff; border: 0; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: #fff; transition: transform .25s; }

.hero { min-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: #1e302c; }
.hero__image { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,27,23,.88), rgba(14,27,23,.28)), url("assets/hero-roof.png") center / cover; transform: scale(1.02); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,19,17,.54), transparent 65%); }
.hero__content { position: relative; z-index: 1; padding-top: 100px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--accent-deep); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 27px; height: 1px; background: currentColor; }
.eyebrow--light { color: #e5a66d; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { max-width: 830px; margin: 25px 0 22px; font-size: clamp(56px, 7.7vw, 112px); line-height: .96; letter-spacing: -.075em; font-weight: 800; }
h1 em, h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; letter-spacing: -.07em; }
.hero__lead { max-width: 430px; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.7; }
.hero__actions { display: flex; gap: 28px; align-items: center; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; padding: 16px 21px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; transition: all .25s; cursor: pointer; }
.button--accent { background: var(--accent); color: #fff; }
.button--dark { margin-top: 28px; background: var(--ink); }
.button--full { width: 100%; }
.text-link { display: inline-flex; gap: 15px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 6px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.text-link--light { color: rgba(255,255,255,.82); }
.hero__trust { display: flex; gap: 44px; margin-top: 90px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding-right: 36px; border-right: 1px solid rgba(255,255,255,.26); color: rgba(255,255,255,.74); font-size: 10px; line-height: 1.35; text-transform: uppercase; letter-spacing: .09em; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { color: var(--accent); font-size: 11px; }
.hero__scroll { position: absolute; z-index: 1; bottom: 38px; right: 40px; color: rgba(255,255,255,.65); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll span { display: block; width: 1px; height: 56px; margin: 12px auto 0; background: var(--accent); }

.section-pad { padding: 130px 0; }
.intro { background: var(--white); }
.intro__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
h2 { margin: 24px 0 0; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.075em; }
.intro__copy { padding-bottom: 5px; }
.lead-copy { max-width: 480px; font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.45; letter-spacing: -.035em; }
.intro__copy > p:not(.lead-copy) { max-width: 450px; color: var(--muted); font-size: 14px; }
.intro__copy .text-link { margin-top: 16px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 28px; margin-top: 110px; padding-top: 30px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat strong { font: 700 31px/1 var(--display); letter-spacing: -.06em; }
.stat span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.stat--note { padding-left: 40px; border-left: 1px solid var(--line); }
.stat--note span { color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.25; letter-spacing: -.025em; text-transform: none; }

.section-dark { background: var(--ink); color: var(--white); }
.section-heading { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 58px; }
.section-heading--light h2 { color: var(--white); }
.section-heading > p { max-width: 350px; margin: 0 0 7px; color: rgba(255,255,255,.55); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.service-card { min-height: 285px; position: relative; display: flex; flex-direction: column; padding: 30px 30px 27px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); transition: background .3s; }
.service-card:hover { background: rgba(255,255,255,.055); }
.service-card--featured { background: var(--accent); border-color: var(--accent); }
.service-card--featured:hover { background: var(--accent-deep); }
.service-card__number { color: rgba(255,255,255,.52); font-size: 10px; letter-spacing: .1em; }
.service-card__icon { margin-top: 30px; color: var(--accent); font-size: 28px; line-height: 1; }
.service-card--featured .service-card__icon { color: #fff; }
.service-card h3 { max-width: 240px; margin: 16px 0 9px; font-size: 20px; line-height: 1.05; letter-spacing: -.045em; }
.service-card p { max-width: 270px; margin-bottom: 20px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.55; }
.service-card--featured p { color: rgba(255,255,255,.78); }
.service-card a { display: inline-flex; gap: 12px; align-items: center; margin-top: auto; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-card--featured a { color: #fff; }
.service-card a span { font-size: 15px; }

.projects { background: var(--white); }
.section-heading .text-link { margin-bottom: 7px; }
.project-grid { display: grid; grid-template-columns: 1.35fr .825fr .825fr; grid-template-rows: 400px; gap: 18px; }
.project-card { position: relative; min-height: 400px; overflow: hidden; color: #fff; }
.project-card__image { position: absolute; inset: 0; background-position: center; background-size: cover; transition: transform .55s; }
.project-card__image--one { background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=85"); }
.project-card__image--two { background-image: url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1100&q=85"); }
.project-card__image--three { background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1100&q=85"); }
.project-card:hover .project-card__image { transform: scale(1.06); }
.project-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.76)); }
.project-card__meta { position: absolute; top: 23px; left: 24px; right: 24px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.8); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.project-card__bottom { position: absolute; bottom: 25px; left: 24px; right: 24px; display: flex; gap: 20px; align-items: end; justify-content: space-between; }
.project-card h3 { max-width: 300px; margin: 0; font-size: 23px; line-height: 1.05; letter-spacing: -.05em; }
.circle-arrow { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 17px; transition: background .25s, color .25s; }
.project-card:hover .circle-arrow { background: #fff; color: var(--ink); }
.demo-note { margin: 21px 0 0; color: #979e9a; font-size: 11px; font-style: italic; }

.section-soft { background: var(--soft); }
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; }
.process__intro h2 { margin-bottom: 24px; }
.process__intro > p { max-width: 310px; color: var(--muted); font-size: 14px; }
.process-list { border-top: 1px solid #cdd5d1; }
.process-step { display: grid; grid-template-columns: 66px 1fr; gap: 24px; padding: 27px 0; border-bottom: 1px solid #cdd5d1; }
.process-step > strong { color: var(--accent-deep); font-size: 11px; letter-spacing: .08em; }
.process-step h3 { margin: 0 0 7px; font-size: 20px; letter-spacing: -.04em; }
.process-step p { max-width: 440px; margin: 0; color: var(--muted); font-size: 13px; }

.cta-section { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.cta-section__image { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1628744448840-55bdb2497bd6?auto=format&fit=crop&w=2200&q=85") center / cover; }
.cta-section__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,27,23,.94) 0%, rgba(12,27,23,.82) 38%, rgba(12,27,23,.44) 100%); }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .82fr; gap: 100px; align-items: center; padding-top: 130px; padding-bottom: 130px; }
.cta-copy h2 { color: #fff; }
.cta-copy > p { max-width: 360px; margin: 25px 0 35px; color: rgba(255,255,255,.62); font-size: 15px; }
.contact-lines { display: flex; flex-direction: column; gap: 17px; }
.contact-lines a { display: flex; flex-direction: column; gap: 3px; width: fit-content; }
.contact-lines small { color: var(--accent); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.contact-lines strong { font: 600 18px var(--display); letter-spacing: -.04em; }
.quote-form { padding: 35px; color: var(--ink); background: rgba(251,252,250,.96); }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-heading span { font: 700 21px var(--display); letter-spacing: -.045em; }
.form-heading small { color: var(--muted); font-size: 10px; }
.quote-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; padding: 13px 14px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.quote-form textarea { resize: vertical; min-height: 82px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,139,74,.12); }
.quote-form .button { margin-top: 4px; }
.form-note { display: block; margin-top: 14px; color: #98a09b; font-size: 9px; line-height: 1.45; }
.form-status { min-height: 0; margin: 12px 0 0; color: #2c7956; font-size: 12px; }

.site-footer { background: var(--ink-deep); color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; padding: 62px 0; }
.brand--footer .brand__text small { color: rgba(255,255,255,.55); }
.footer-top > p { margin: 0; color: rgba(255,255,255,.5); font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.footer-phone { justify-self: end; color: #fff; font: 600 17px var(--display); letter-spacing: -.04em; }
.footer-phone span { margin-left: 12px; color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.34); font-size: 10px; }
.footer-bottom a { color: rgba(255,255,255,.7); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .container { width: min(100% - 44px, 700px); }
  .main-nav { gap: 22px; }
  .hero { min-height: 700px; }
  .hero__trust { gap: 20px; }
  .trust-item { padding-right: 20px; }
  .intro__grid, .process__grid, .cta-grid { grid-template-columns: 1fr; gap: 60px; }
  .stats-row { grid-template-columns: 1fr 1fr; row-gap: 34px; margin-top: 80px; }
  .stat--note { padding-left: 0; border-left: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 350px 350px; }
  .project-card--large { grid-column: 1 / -1; }
  .cta-grid { padding-top: 90px; padding-bottom: 90px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > p { grid-row: 2; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .topline__inner { min-height: 32px; }
  .topline__inner > span, .topline__links a:last-child { display: none; }
  .topline__links { width: 100%; justify-content: space-between; }
  .site-header { top: 32px; }
  .nav-wrap { min-height: 77px; }
  .nav-toggle { display: block; z-index: 3; }
  .main-nav { position: absolute; top: 77px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.15); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: space-between; margin-top: 12px; }
  .hero { min-height: 700px; }
  .hero__content { padding-top: 70px; }
  h1 { font-size: clamp(52px, 15vw, 78px); }
  .hero__lead { font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 19px; }
  .hero__trust { display: none; }
  .hero__scroll { right: 18px; bottom: 22px; }
  .section-pad { padding: 82px 0; }
  h2 { font-size: clamp(39px, 12vw, 56px); }
  .intro__grid { gap: 40px; }
  .lead-copy { font-size: 18px; }
  .stats-row { margin-top: 65px; gap: 26px 18px; }
  .stat strong { font-size: 26px; }
  .stat span { font-size: 9px; }
  .stat--note span { font-size: 15px; }
  .section-heading { display: block; margin-bottom: 40px; }
  .section-heading > p { margin-top: 25px; }
  .section-heading .text-link { margin-top: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 350px); }
  .project-card--large { grid-column: auto; }
  .project-card h3 { font-size: 21px; }
  .process__grid { gap: 50px; }
  .process-step { grid-template-columns: 43px 1fr; gap: 12px; }
  .process-step h3 { font-size: 18px; }
  .cta-grid { gap: 55px; }
  .quote-form { padding: 24px 18px; }
  .form-heading { display: block; }
  .form-heading small { display: block; margin-top: 7px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; padding: 47px 0; }
  .footer-top > p { grid-row: auto; }
  .footer-phone { justify-self: start; }
  .footer-bottom { display: grid; grid-template-columns: 1fr 1fr; font-size: 9px; }
  .footer-bottom span:nth-child(2) { text-align: right; }
  .footer-bottom a { grid-column: 1 / -1; }
}
