:root {
  --ink: #11213c;
  --forest: #001c44;
  --teal: #0752b3;
  --orange: #ff5a0a;
  --sand: #eaf0f6;
  --cream: #f4f6f8;
  --paper: #ffffff;
  --line: #d5dee8;
  --muted: #627084;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }
.container { width: min(1180px, calc(100% - 64px)); margin: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 99; padding: 12px 16px; background: var(--paper); color: var(--forest); }
.skip-link:focus { top: 16px; }
.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; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(17, 33, 60, .12); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 168px; height: 55px; object-fit: contain; }
.main-nav { display: flex; align-items: stretch; align-self: stretch; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; display: grid; place-items: center; color: #53635e; font-size: 14px; font-weight: 600; }
.main-nav a::after { position: absolute; content: ""; right: 0; bottom: 0; left: 0; height: 2px; background: var(--forest); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--forest); }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--forest); color: var(--forest); font-size: 13px; font-weight: 700; }
.header-cta span { font-size: 18px; line-height: 0; }
.menu-toggle { display: none; }

.hero { padding: 66px 0 0; overflow: hidden; background: linear-gradient(110deg, var(--cream) 0%, var(--cream) 54%, #edf2f7 54%, #edf2f7 100%); }
.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: clamp(42px, 7vw, 104px); align-items: end; }
.hero-copy { padding-bottom: 50px; }
.eyebrow, .section-label { margin: 0; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 26px; height: 1px; background: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { max-width: 590px; margin: 22px 0 25px; color: var(--forest); font-size: clamp(43px, 5.45vw, 78px); font-weight: 700; letter-spacing: -.075em; line-height: 1.01; }
h1 em, h2 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.065em; }
.hero-text { max-width: 490px; color: #43546f; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 53px; padding: 0 20px; border: 1px solid transparent; font-size: 14px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--teal); }
.button span { font-size: 20px; font-weight: 400; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 700; }
.text-link span { font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.hero-points { display: flex; gap: 29px; margin: 62px 0 0; }
.hero-points div { display: flex; gap: 9px; align-items: flex-start; }
.hero-points dt { color: var(--orange); font-family: var(--display); font-size: 12px; font-weight: 700; }
.hero-points dd { margin: 0; color: #43546f; font-size: 12px; line-height: 1.35; }
.hero-visual { position: relative; height: min(625px, 53vw); min-height: 490px; overflow: hidden; background: #edf2f7; }
.hero-visual > img { height: 100%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.image-note { position: absolute; right: 9px; bottom: 7px; padding: 3px 6px; color: rgba(255,255,255,.76); background: rgba(0,0,0,.25); font-size: 9px; }
.hero-rule { width: min(1180px, calc(100% - 64px)); height: 1px; margin: 0 auto; background: var(--line); }

.section { padding: 128px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.intro-copy { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); }
h2 { margin-bottom: 0; color: var(--forest); font-size: clamp(32px, 3.5vw, 51px); font-weight: 700; letter-spacing: -.065em; line-height: 1.08; }
.intro-detail { padding-top: 7px; }
.intro-detail p { color: #43546f; line-height: 1.7; }
.intro-detail .text-link { margin-top: 14px; }

.services-section { background: var(--forest); color: white; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; }
.services-section h2 { color: white; }
.services-section .section-label { color: #ff955d; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 59px; }
.section-heading h2 { margin-top: 15px; }
.section-heading > p { max-width: 315px; margin-bottom: 5px; color: #c5d2e2; line-height: 1.6; }
.service-list { border-top: 1px solid rgba(255,255,255,.3); }
.service { position: relative; display: grid; grid-template-columns: 90px minmax(210px, .78fr) 1fr 32px; align-items: center; gap: 25px; padding: 29px 18px 29px 0; border-bottom: 1px solid rgba(255,255,255,.3); transition: background .25s, padding .25s; }
.service:hover { padding-left: 18px; background: rgba(255,255,255,.07); }
.service-number { color: #ff955d; font-size: 12px; font-weight: 700; }
.service h3 { margin: 0; font-size: 23px; letter-spacing: -.045em; }
.service p { max-width: 415px; margin: 0; color: #c4d4e5; font-size: 14px; }
.service-arrow { font-size: 25px; text-align: right; }

.process-section { background: #e8eef4; }
.process-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 8vw, 125px); align-items: center; }
.process-image { position: relative; height: 625px; }
.process-image img { height: 100%; object-fit: cover; object-position: center; }
.process-content h2 { margin: 17px 0 35px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c8d5e3; }
.process-list li { display: grid; grid-template-columns: 41px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid #c8d5e3; }
.process-list li > span { color: var(--orange); font-size: 12px; font-weight: 700; }
.process-list h3 { margin: 0 0 3px; color: var(--forest); font-size: 19px; letter-spacing: -.04em; }
.process-list p { margin: 0; color: #53647d; font-size: 14px; }

.works-section { background: var(--paper); }
.works-section .section-heading { align-items: end; }
.button-outline { border-color: var(--forest); color: var(--forest); }
.button-outline:hover { background: var(--forest); color: white; }
.works-grid { display: grid; grid-template-columns: 1.4fr .85fr .85fr; gap: 19px; }
.work-card { position: relative; min-height: 415px; overflow: hidden; background: #edf2f7; border: 1px solid #d8e0e8; }
.work-card img { height: 100%; object-fit: cover; transition: transform .55s; }
.work-card:hover img { transform: scale(1.045); }
.work-facade { grid-column: 1 / -1; min-height: 340px; }
.work-facade img { object-position: center 35%; }
.work-meta { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 20px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
.work-meta span { font-size: 12px; }
.work-meta strong { font-family: var(--display); font-size: 15px; }
.works-note { margin: 16px 0 0; color: #7a807b; font-size: 11px; }

.contact-section { padding: 128px 0; background: #e2edf8; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 10vw, 155px); }
.contact-copy h2 { max-width: 470px; margin: 17px 0 22px; }
.contact-copy > p:not(.section-label) { max-width: 395px; color: #43546f; line-height: 1.65; }
.contact-options { margin-top: 45px; border-top: 1px solid #bdcde0; }
.contact-options a { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #bdcde0; font-size: 13px; transition: padding .2s; }
.contact-options a:hover { padding-left: 7px; }
.contact-options span { color: #53647d; }
.contact-options strong { color: var(--forest); }
.quote-form { padding: clamp(25px, 4vw, 47px); background: var(--paper); }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 23px; border-bottom: 1px solid var(--line); color: var(--forest); font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.form-heading small { color: #737a73; font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.quote-form > label, .form-row label { display: grid; gap: 7px; margin-top: 18px; color: var(--forest); font-size: 12px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input:not([type="checkbox"]), .quote-form select, .quote-form textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid #cdd0c9; border-radius: 0; outline: none; color: var(--ink); background: transparent; font-size: 14px; transition: border-color .2s; }
.quote-form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23132b2d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right center; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--teal); }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #9a9d97; }
.consent { display: flex !important; align-items: flex-start; gap: 9px; margin: 22px 0 !important; color: #59645f !important; font-size: 11px !important; font-weight: 500 !important; }
.consent input { margin: 2px 0 0; accent-color: var(--forest); }
.consent a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.quote-form .button { width: 100%; }
.form-status { min-height: 18px; margin: 11px 0 0; color: var(--teal); font-size: 12px; }

.site-footer { padding: 30px 0; border-top: 1px solid var(--line); background: white; color: #43546f; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr 2fr 1.3fr; align-items: center; gap: 20px; }
.brand-footer .brand-logo { width: 150px; height: 48px; }
.footer-inner p { margin: 0; font-size: 11px; }
.future-note { color: #5d6f88; }
.site-footer a:hover { color: var(--teal); }

.legal-page { background: var(--paper); }
.legal-header { justify-content: space-between; }
.legal-header .header-cta { margin-left: auto; }
.legal-hero { padding: 93px 0 76px; background: linear-gradient(120deg, #eef4fa 0%, #eef4fa 70%, #f9fbfd 70%); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 15px; }
.legal-hero > .container > p:not(.eyebrow):not(.legal-updated) { max-width: 545px; margin-bottom: 25px; color: #465a76; font-size: 18px; }
.legal-updated { color: #65758c; font-size: 12px; }
.legal-content { padding-top: 84px; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 710px); gap: clamp(45px, 9vw, 140px); align-items: start; }
.legal-index { position: sticky; top: 105px; display: grid; gap: 6px; padding-left: 14px; border-left: 2px solid var(--orange); }
.legal-index strong { margin-bottom: 7px; color: var(--forest); font-size: 13px; }
.legal-index a { color: #5c6c80; font-size: 13px; }
.legal-index a:hover { color: var(--teal); }
.legal-copy { color: #43536a; font-size: 15px; line-height: 1.75; }
.legal-copy a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy h2 { margin: 68px 0 17px; color: var(--forest); font-size: 26px; letter-spacing: -.045em; }
.legal-copy section:first-of-type h2 { margin-top: 0; }
.legal-copy p { margin-bottom: 18px; }
.legal-copy ul { margin: 0 0 20px; padding-left: 21px; }
.legal-copy li { margin: 7px 0; }
.legal-lead { margin-bottom: 61px !important; padding: 24px 27px; border-left: 4px solid var(--orange); background: #f3f7fb; color: var(--forest); font-size: 18px; font-weight: 500; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .container { width: min(100% - 44px, 720px); }
  .header-inner { gap: 18px; }
  .main-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { width: min(100%, 630px); height: 530px; margin: 0 0 0 auto; }
  .hero-badge { left: 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-label { margin-bottom: 0; }
  .intro-copy { grid-template-columns: 1.15fr .85fr; }
  .process-image { height: 470px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .work-large { grid-column: span 2; min-height: 460px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 38px; }
  .legal-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 0 20px; border-left: 0; border-bottom: 2px solid var(--orange); }
  .legal-index strong { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container, .hero-rule { width: min(100% - 32px, 520px); }
  .site-header { min-height: 65px; }
  .header-inner { height: 65px; justify-content: space-between; }
  .menu-toggle { display: grid; width: 43px; height: 38px; padding: 9px; border: 1px solid #ccd1cc; background: transparent; place-content: center; gap: 5px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 19px; height: 1px; background: var(--forest); transition: transform .2s; }
  .menu-toggle.open span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; padding: 13px 16px 18px; border-bottom: 1px solid var(--line); background: white; }
  .main-nav.open { display: grid; }
  .main-nav a { display: block; padding: 12px 4px; }
  .main-nav a::after { right: auto; width: 32px; }
  .hero { padding-top: 45px; }
  h1 { font-size: clamp(42px, 13vw, 59px); }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-points { gap: 12px; justify-content: space-between; margin-top: 45px; }
  .hero-points div { gap: 5px; }
  .hero-points dd { font-size: 10px; }
  .hero-visual { height: 405px; min-height: 0; margin-top: 45px; }
  .hero-badge { width: 150px; height: 86px; font-size: 11px; }
  .section { padding: 78px 0; }
  .intro-copy { grid-template-columns: 1fr; gap: 20px; }
  h2 { font-size: 35px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 24px; margin-bottom: 37px; }
  .section-heading > p { margin: 0; }
  .service { grid-template-columns: 34px 1fr 22px; gap: 12px; padding: 22px 0; }
  .service:hover { padding-left: 8px; }
  .service h3 { font-size: 19px; }
  .service p { grid-column: 2 / -1; font-size: 12px; }
  .service-arrow { grid-column: 3; grid-row: 1; }
  .process-image { height: 340px; }
  .process-grid { gap: 45px; }
  .works-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-card, .work-large { grid-column: auto; min-height: 310px; }
  .contact-section { padding: 78px 0; }
  .contact-grid { gap: 48px; }
  .form-heading { align-items: flex-start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 13px; }
  .legal-hero { padding: 65px 0 57px; }
  .legal-hero > .container > p:not(.eyebrow):not(.legal-updated) { font-size: 16px; }
  .legal-content { padding-top: 60px; }
  .legal-index { grid-template-columns: 1fr; }
  .legal-copy { font-size: 14px; }
  .legal-copy h2 { margin-top: 49px; font-size: 24px; }
  .legal-lead { margin-bottom: 45px !important; padding: 20px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { transition-duration: .01ms !important; } }
