@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #102643;
  --navy-deep: #0b1e36;
  --navy-soft: #18385c;
  --blue: #1d5ddd;
  --blue-bright: #3676ff;
  --ice: #e8f3f5;
  --cyan: #6ad2da;
  --amber: #f5bc58;
  --amber-dark: #d88c2f;
  --paper: #f4f7f8;
  --white: #fff;
  --ink: #152b45;
  --text: #526476;
  --muted: #81909d;
  --line: #dbe3e7;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  --display: 'Manrope', 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --shadow: 0 22px 50px rgba(20, 43, 70, .12);
  --ease: cubic-bezier(.22, .68, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; transform: translateY(-150%); padding: 11px 16px; color: var(--white); background: var(--navy); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.045em; line-height: 1.08; }
h1 { margin-bottom: 21px; font-size: clamp(3rem, 6vw, 5.45rem); font-weight: 800; }
h2 { margin-bottom: 16px; font-size: clamp(2.1rem, 4vw, 3.45rem); font-weight: 700; }
h3 { margin-bottom: 12px; font-size: 1.35rem; font-weight: 700; }
p { color: var(--text); }
.eyebrow, .card-kicker { margin-bottom: 14px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { display: inline-block; width: 23px; height: 2px; margin: 0 9px 3px 0; background: currentColor; content: ''; }
.lead { max-width: 620px; margin-bottom: 28px; color: var(--text); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 14px; padding: 0 21px; border: 1px solid transparent; border-radius: 4px; font-size: .91rem; font-weight: 700; line-height: 1.2; transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, color .2s ease; }
.button span { font-size: 1.05rem; transition: transform .2s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(2px, -2px); }
.button--accent { color: var(--navy-deep); background: var(--amber); }
.button--accent:hover { background: #ffd279; }
.button--outline { color: var(--white); border-color: rgba(255,255,255,.46); background: transparent; }
.button--outline:hover { color: var(--navy); background: var(--white); }
.button--outline-dark { color: var(--navy); border-color: #b5c1cd; background: transparent; }
.button--outline-dark:hover { border-color: var(--navy); background: #eff3f7; }
.button--navy { color: var(--white); background: var(--navy); }
.button--navy:hover { background: var(--blue); }
.button--light { color: var(--navy); background: var(--white); }
.button--light:hover { background: #eaf4f6; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: .93rem; font-weight: 700; }
.arrow-link span, .text-link span { transition: transform .2s var(--ease); }
.arrow-link:hover span, .text-link:hover span { transform: translate(3px,-3px); }

/* Utility bar and cross-page navigation */
.site-header { position: sticky; z-index: 40; top: 0; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(16,38,67,.08); backdrop-filter: blur(14px); }
.utility-bar { color: #dfeaf1; background: var(--navy-deep); font-size: .75rem; }
.utility-inner { display: flex; min-height: 37px; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner p { margin: 0; color: inherit; letter-spacing: .035em; }
.utility-inner > a { color: rgba(255,255,255,.74); }
.utility-inner strong { margin-left: 8px; color: var(--white); }
.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(106,210,218,.12); }
.nav-shell { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; color: var(--navy); font-family: var(--display); font-size: 1.03rem; font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.brand-mark { width: 51px; height: 51px; border-radius: 50%; }
.brand small { display: block; margin-top: 5px; color: var(--blue); font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(15px, 2.3vw, 31px); }
.primary-nav > a { position: relative; padding-block: 11px; color: #526477; font-size: .87rem; font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.primary-nav > a:not(.nav-contact)::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--blue); content: ''; transition: transform .22s var(--ease); }
.primary-nav > a:hover, .primary-nav > a[aria-current="page"] { color: var(--navy); }
.primary-nav > a:hover::after, .primary-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-contact { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; margin-left: 1px; padding: 0 16px; color: var(--navy); border: 1px solid #d3dde4; border-radius: 3px; background: #fff; }
.primary-nav .nav-contact:hover { color: var(--white); border-color: var(--blue); background: var(--blue); }
.menu-toggle { display: none; width: 46px; height: 43px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 3px; background: var(--white); cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; background: var(--navy); transition: transform .2s ease; }

/* Home hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.hero::before { position: absolute; top: -190px; right: -135px; width: 590px; height: 590px; border: 1px solid rgba(106,210,218,.18); border-radius: 50%; content: ''; }
.hero::after { position: absolute; top: -100px; right: -45px; width: 410px; height: 410px; border: 1px solid rgba(106,210,218,.12); border-radius: 50%; content: ''; }
.hero-grid { position: relative; z-index: 1; display: grid; min-height: 630px; align-items: center; grid-template-columns: 1.05fr .95fr; gap: 68px; padding-block: 54px 68px; }
.hero-copy { position: relative; z-index: 2; padding-block: 35px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { max-width: 710px; margin-bottom: 20px; color: var(--white); }
.hero h1 span { color: var(--amber); font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.06em; }
.hero-lead { max-width: 490px; margin-bottom: 28px; color: #d0dde8; font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 11px; margin-top: 30px; font-size: .83rem; }
.proof-stars, .quote-star, .review-big-stars { color: var(--amber); letter-spacing: .12em; }
.hero-proof a { color: #e4edf4; }
.hero-proof a:hover { color: var(--amber); }
.hero-media { position: relative; padding: 16px 8px 18px 0; }
.image-frame { position: relative; overflow: hidden; background: #d7e1e5; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 1800 / 1013; padding: 9px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.13); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.hero-photo img { display: block; width: 100%; height: 100%; border-radius: 1px 74px 1px 1px; object-fit: cover; object-position: center; }
.frame-corner { position: absolute; top: 0; right: 0; width: 73px; height: 73px; border-top: 3px solid var(--amber); border-right: 3px solid var(--amber); pointer-events: none; }
.hero-badge { position: absolute; top: 43px; left: -42px; display: flex; width: 104px; height: 104px; align-items: center; justify-content: center; flex-direction: column; border: 5px solid rgba(255,255,255,.6); border-radius: 50%; color: var(--navy); background: var(--amber); box-shadow: 0 12px 20px rgba(0,0,0,.2); transform: rotate(-9deg); }
.hero-badge span { font-family: var(--display); font-size: 1.56rem; font-weight: 800; line-height: 1; }
.hero-badge small { margin-top: 3px; font-size: .62rem; font-weight: 700; line-height: 1.05; text-align: center; text-transform: uppercase; }
.hero-caption { position: absolute; right: -20px; bottom: 43px; display: flex; align-items: center; gap: 13px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.2); color: #d7e4ec; background: rgba(9,29,53,.91); font-size: .76rem; line-height: 1.42; }
.hero-caption strong { color: var(--white); font-size: .84rem; }
.caption-mark { width: 8px; height: 28px; background: var(--cyan); }
.hero-bottom-rule { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--amber) 0 20%, var(--cyan) 20% 58%, rgba(255,255,255,.17) 58% 100%); }
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; min-height: 102px; align-items: center; grid-template-columns: repeat(4,1fr); }
.trust-grid > div { display: flex; min-height: 55px; align-items: center; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); text-align: center; }
.trust-grid > div:last-child { border: 0; }
.trust-grid strong { color: var(--navy); font-family: var(--display); font-size: 1.12rem; font-weight: 800; }
.trust-grid span { color: var(--muted); font-size: .78rem; }

/* Page hero and reusable blocks */
.page-hero { position: relative; overflow: hidden; padding: 59px 0 72px; background: var(--paper); }
.page-hero::after { position: absolute; right: -150px; bottom: -270px; width: 570px; height: 570px; border: 1px solid rgba(29,93,221,.12); border-radius: 50%; content: ''; pointer-events: none; }
.page-hero-grid { position: relative; z-index: 1; display: grid; align-items: center; grid-template-columns: 1fr .8fr; gap: 75px; }
.page-hero h1 { max-width: 770px; margin-block: 11px 21px; font-size: clamp(2.7rem, 5.2vw, 4.45rem); }
.page-hero-copy { padding-block: 20px; }
.breadcrumb { margin-bottom: 26px; color: #8797a2; font-size: .78rem; }
.breadcrumb a { color: var(--blue); }
.breadcrumb span { padding-inline: 8px; color: #a8b3ba; }
.page-hero-image { height: 350px; border: 8px solid #fff; box-shadow: var(--shadow); transform: rotate(.6deg); }
.page-hero-image .frame-corner { border-color: var(--blue); }
.page-hero-image img { object-position: center; }
.section { padding: 100px 0; }
.section--services { padding-top: 106px; }
.section--tint { background: var(--paper); }
.section--compact { padding-block: 55px; }
.section-heading { max-width: 710px; margin-bottom: 41px; }
.section-heading h2 { margin-bottom: 13px; }
.section-heading > p { max-width: 660px; margin-bottom: 0; color: var(--text); font-size: 1rem; }

/* Service pages and cards */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 23px; }
.service-card { overflow: hidden; border: 1px solid #e1e8ea; background: #fff; transition: transform .28s var(--ease), box-shadow .28s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.service-card-image { position: relative; display: block; height: 220px; overflow: hidden; background: var(--ice); }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card-image img { transform: scale(1.045); }
.service-index { position: absolute; right: 11px; bottom: 11px; display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy); background: var(--amber); font-family: var(--display); font-size: .81rem; font-weight: 800; }
.service-card-copy { padding: 23px 23px 25px; }
.service-card-copy .card-kicker { margin-bottom: 10px; font-size: .62rem; }
.service-card-copy h3 { margin-bottom: 11px; }
.service-card-copy h3 a:hover { color: var(--blue); }
.service-card-copy > p:not(.card-kicker) { min-height: 54px; margin-bottom: 17px; font-size: .91rem; }
.service-card .arrow-link { font-size: .83rem; }
.section-link-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 37px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.more-services-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 32px; }
.more-service { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .91rem; font-weight: 600; transition: color .2s ease; }
.more-service span:last-child { color: var(--blue); }
.more-service:hover { color: var(--blue); }
.service-cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px; border-left: 4px solid var(--amber); background: var(--paper); }
.service-cta-inline .eyebrow { margin-bottom: 8px; }
.service-cta-inline h2 { margin: 0; font-size: 1.65rem; }
.service-cta-inline .hero-actions { justify-content: flex-end; }
.detail-intro-grid { display: grid; align-items: start; grid-template-columns: 1.05fr .95fr; gap: 75px; }
.detail-intro-grid h2 { max-width: 580px; }
.detail-intro-grid > div > p:not(.eyebrow) { max-width: 580px; }
.detail-intro-grid .button { margin-top: 9px; }
.detail-task-card { padding: 30px; border-top: 3px solid var(--cyan); background: var(--paper); }
.detail-task-card .card-kicker { color: var(--navy-soft); }
.check-list { display: grid; gap: 15px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; align-items: start; grid-template-columns: 17px 1fr; gap: 10px; color: var(--text); font-size: .92rem; }
.check-list li span { color: var(--blue); font-weight: 800; }
.steps-section { padding: 84px 0; background: var(--paper); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.steps-grid article { position: relative; min-height: 160px; padding: 26px; border: 1px solid #dce4e8; background: #fff; }
.step-number { display: block; margin-bottom: 23px; color: var(--blue); font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.steps-grid article p { margin: 0; color: var(--ink); font-size: .94rem; }
.original-service-band, .product-cta { color: var(--white); background: var(--blue); }
.original-service-inner, .product-cta-inner { display: flex; min-height: 245px; align-items: center; justify-content: space-between; gap: 40px; padding-block: 40px; }
.original-service-band .eyebrow, .product-cta .eyebrow { color: var(--cyan); }
.original-service-band h2, .product-cta h2 { max-width: 650px; margin-bottom: 11px; color: var(--white); font-size: clamp(1.8rem,3vw,2.8rem); }
.original-service-band p, .product-cta p { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.76); }
.original-service-inner .button, .product-cta-inner .button { flex: none; }
.related-service-list { display: flex; flex-wrap: wrap; gap: 13px 29px; padding-block: 25px; }
.related-service-list a { color: var(--text); font-size: .86rem; }
.related-service-list a:hover { color: var(--blue); }
.related-service-list a span { margin-left: 4px; color: var(--blue); }

/* Products and project stories */
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 23px; }
.product-card { display: flex; overflow: hidden; flex-direction: column; border: 1px solid #dce4e8; background: #fff; transition: transform .25s var(--ease), box-shadow .25s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-image { position: relative; display: block; height: 232px; overflow: hidden; background: var(--ice); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.product-card:hover img { transform: scale(1.04); }
.product-number { position: absolute; right: 12px; bottom: 12px; display: grid; width: 39px; height: 39px; place-items: center; color: var(--navy); background: var(--amber); font-weight: 800; }
.product-card-copy { display: flex; flex: 1; align-items: flex-start; flex-direction: column; padding: 21px 22px 23px; }
.product-card-copy .card-kicker { margin-bottom: 9px; }
.product-card-copy p:not(.card-kicker) { flex: 1; font-size: .9rem; }
.product-card-copy .arrow-link { align-items: start; font-size: .79rem; line-height: 1.5; }
.product-note { display: flex; align-items: start; gap: 12px; margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--amber); background: var(--paper); font-size: .87rem; }
.product-note span { color: var(--blue); font-weight: 700; }
.product-cta { background: var(--navy); }
.projects-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 27px 23px; }
.project-card { overflow: hidden; border: 1px solid #e2e8eb; background: #fff; }
.project-card--featured { grid-column: span 1; }
.project-image { position: relative; display: block; height: 245px; overflow: hidden; background: #d9e3e6; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-open { position: absolute; right: 12px; bottom: 12px; display: grid; width: 40px; height: 40px; place-items: center; color: var(--navy); background: var(--amber); font-weight: 700; }
.project-copy { padding: 21px 22px 23px; }
.project-copy .card-kicker { margin-bottom: 8px; }
.project-copy .card-kicker span { color: var(--amber-dark); }
.project-copy h3 { margin-bottom: 11px; font-size: 1.21rem; }
.project-copy h3 a:hover { color: var(--blue); }
.project-copy p:not(.card-kicker) { margin-bottom: 14px; font-size: .88rem; }
.project-copy .arrow-link { font-size: .79rem; }
.project-card--featured .project-image { height: 280px; }
.feature-gallery-row { display: grid; align-items: center; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.feature-gallery-row h2 { font-size: clamp(2rem,3.5vw,2.9rem); }
.gallery-mini-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.gallery-mini-row img { width: 100%; height: 190px; object-fit: cover; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-flow: dense; gap: 19px; }
.photo-card { overflow: hidden; margin: 0; border: 1px solid #e0e7ea; background: #fff; }
.photo-card:nth-child(7n + 1) { grid-column: span 2; }
.photo-button { position: relative; display: block; width: 100%; height: 228px; overflow: hidden; padding: 0; border: 0; background: #dce5e7; cursor: zoom-in; }
.photo-card:nth-child(7n + 1) .photo-button { height: 310px; }
.photo-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s var(--ease), filter .25s ease; }
.photo-button:hover img, .photo-button:focus-visible img { transform: scale(1.035); filter: brightness(.92); }
.photo-expand { position: absolute; right: 11px; bottom: 11px; display: grid; width: 37px; height: 37px; place-items: center; color: var(--navy); background: var(--amber); font-size: 1.35rem; line-height: 1; }
.photo-card figcaption { padding: 12px 13px 15px; }
.photo-category { display: block; margin-bottom: 4px; color: var(--blue); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.photo-caption { color: var(--text); font-size: .8rem; line-height: 1.45; }
.gallery-end-note { display: flex; align-items: center; gap: 15px; margin-top: 44px; }
.gallery-end-note p { margin: 0; font-size: .93rem; }
.gallery-end-note a { color: var(--blue); font-weight: 700; }
.line-marker { width: 34px; height: 3px; background: var(--amber); }
.lightbox { position: fixed; width: min(92vw, 1060px); max-width: 1060px; max-height: 90vh; padding: 18px; border: 1px solid rgba(255,255,255,.2); color: var(--white); background: #0b1c31; box-shadow: 0 35px 100px rgba(0,0,0,.55); }
.lightbox::backdrop { background: rgba(5,15,27,.84); backdrop-filter: blur(5px); }
.lightbox > img { max-width: 100%; max-height: 76vh; margin-inline: auto; object-fit: contain; }
.lightbox-caption { margin: 12px 0 0; color: #d7e3ea; font-size: .88rem; }
.lightbox-close { position: absolute; z-index: 1; top: 24px; right: 24px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--navy); background: var(--amber); font-size: 1.65rem; cursor: pointer; }

/* About, reviews, contact */
.approach-grid, .about-story-grid { display: grid; align-items: center; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.approach-photo, .about-collage { position: relative; }
.approach-image { height: 465px; border: 8px solid var(--paper); box-shadow: var(--shadow); transform: rotate(-1deg); }
.experience-chip { position: absolute; right: -23px; bottom: 37px; display: flex; width: 180px; min-height: 84px; align-items: center; gap: 12px; padding: 15px; color: var(--navy); background: var(--amber); box-shadow: 0 10px 27px rgba(18,41,66,.2); }
.experience-chip strong { font-family: var(--display); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.experience-chip span { font-size: .76rem; font-weight: 700; line-height: 1.3; }
.approach-copy h2 { margin-bottom: 23px; }
.approach-copy > p:not(.eyebrow) { max-width: 600px; }
.approach-copy .arrow-link { margin-top: 11px; }
.section--projects { background: var(--paper); }
.review-band { padding-block: 94px 75px; background: #eaf2f4; }
.review-band-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.review-band-head .section-heading { margin-bottom: 0; }
.review-band-head .section-heading h2 { max-width: 650px; font-size: clamp(2rem,3.5vw,2.75rem); }
.review-band-head > .button { flex: none; margin-bottom: 2px; }
.quotes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.quote-card { margin: 0; padding: 26px; border: 1px solid rgba(16,38,67,.1); background: #fff; }
.quote-star { margin-bottom: 14px; font-size: .77rem; }
.quote-card blockquote { margin: 0 0 17px; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-style: italic; line-height: 1.55; }
.quote-card figcaption { color: var(--navy); font-size: .8rem; font-weight: 700; }
.quote-mark { color: var(--blue); }
.quote-source { color: var(--muted); font-weight: 400; }
.review-link { display: flex; justify-content: flex-end; margin-top: 19px; }
.review-link a, .review-footnote a { color: var(--blue); font-size: .86rem; font-weight: 700; }
.home-gallery-callout { padding-block: 75px; color: #fff; background: var(--blue); }
.gallery-callout-grid { display: grid; align-items: center; grid-template-columns: 1fr .75fr; gap: 80px; }
.home-gallery-callout .eyebrow { color: var(--cyan); }
.home-gallery-callout h2 { max-width: 570px; color: var(--white); }
.home-gallery-callout p { max-width: 540px; color: rgba(255,255,255,.8); }
.home-gallery-callout .button { margin-top: 13px; }
.callout-photo { position: relative; height: 310px; overflow: hidden; border: 8px solid rgba(255,255,255,.2); }
.callout-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.callout-photo:hover img { transform: scale(1.04); }
.callout-photo > span { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 12px 16px; color: var(--navy); background: var(--amber); font-size: .84rem; font-weight: 700; }

.about-story-grid { align-items: start; }
.about-story-copy h2 { margin-bottom: 22px; }
.about-story-copy > p:not(.eyebrow) { max-width: 620px; }
.about-story-copy .arrow-link { margin-top: 12px; }
.about-collage > img { width: 100%; height: 340px; object-fit: cover; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.about-collage > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.about-collage > div img { width: 100%; height: 145px; object-fit: cover; }
.collage-caption { margin: 10px 0 0; color: var(--muted); font-size: .72rem; text-align: right; }
.values-section { padding: 90px 0; background: var(--paper); }
.values-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 23px; }
.values-row article { min-height: 200px; padding: 25px; border-top: 2px solid var(--blue); background: #fff; }

.values-row article > span { color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 800; letter-spacing: .13em; }
.values-row h3 { margin-top: 19px; font-size: 1.32rem; }
.values-row p { margin-bottom: 0; font-size: .9rem; }
.service-area-section { padding-block: 80px; color: #fff; background: var(--navy-soft); }
.area-section-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 60px; }
.service-area-section .eyebrow { color: var(--cyan); }
.service-area-section h2 { color: #fff; font-size: clamp(2rem,3.5vw,2.8rem); }
.service-area-section p { max-width: 520px; color: rgba(255,255,255,.76); }
.service-area-section .arrow-link { color: var(--amber); }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); color: #eef4f7; font-size: .8rem; }

.review-summary { padding-block: 68px; color: var(--white); background: var(--navy); }
.review-summary-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.review-summary-inner > div:first-child { max-width: 650px; }
.review-summary .eyebrow { color: var(--cyan); }
.review-big-stars { margin-bottom: 8px; font-size: 1.18rem; }
.review-summary h2 { margin-bottom: 11px; color: var(--white); font-size: clamp(2.2rem,4vw,3.15rem); }
.review-summary p:not(.eyebrow):not(.review-big-stars) { max-width: 560px; margin-bottom: 0; color: #d2dfe8; }
.review-actions { display: flex; min-width: 220px; flex-direction: column; gap: 12px; }
.review-actions .button { width: 100%; }
.quotes-grid--all { grid-template-columns: repeat(2,1fr); }
.review-footnote { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-footnote p { margin: 0; font-size: .87rem; }

.contact-section { padding-top: 70px; }
.contact-grid { display: grid; align-items: start; grid-template-columns: 1.25fr .75fr; gap: 42px; }
.contact-form-wrap { padding: 34px; border: 1px solid var(--line); background: #fff; box-shadow: 0 15px 42px rgba(17,40,63,.07); }
.form-heading { max-width: 660px; margin-bottom: 27px; }
.form-heading h2 { margin-bottom: 12px; font-size: 2.1rem; }
.form-heading p { margin-bottom: 0; font-size: .92rem; }
.inquiry-form { display: grid; gap: 17px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.inquiry-form label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: var(--ink); font-size: .82rem; font-weight: 700; }
.inquiry-form label > span { color: #c65345; }
.inquiry-form label small { display: inline; color: var(--muted); font-size: .7rem; font-weight: 500; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid #ccd7de; border-radius: 3px; outline: none; color: var(--ink); background: #fff; font-size: .9rem; font-weight: 400; }
.inquiry-form textarea { min-height: 128px; resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,93,221,.12); }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #a1adb6; }
.form-privacy { margin: -3px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.form-submit { justify-self: start; min-width: 220px; border: 0; cursor: pointer; }
.form-status { min-height: 24px; margin: 0; color: var(--blue); font-size: .83rem; }
.contact-aside { display: grid; gap: 17px; }
.contact-call-card { padding: 28px; color: #fff; background: var(--navy); }
.contact-call-card .eyebrow { color: var(--cyan); }
.contact-call-card h3 { color: #fff; font-size: 1.75rem; }
.contact-call-card > p:not(.eyebrow) { color: #d1dce5; font-size: .9rem; }
.contact-icon { display: inline-grid; width: 58px; height: 58px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--amber); font-family: var(--display); font-size: .82rem; font-weight: 800; }
.contact-large-phone { display: block; margin-block: 21px; color: var(--amber); font-family: var(--display); font-size: 1.65rem; font-weight: 800; }
.contact-call-card .button { width: 100%; }
.contact-detail-card { padding: 23px; border: 1px solid var(--line); background: var(--paper); }
.contact-detail-card h3 { margin-bottom: 10px; font-size: 1.14rem; }
.contact-detail-card p { margin-bottom: 11px; font-size: .87rem; }
.contact-detail-card > a { color: var(--blue); font-size: .83rem; font-weight: 700; }
.compact-area-list { display: flex; flex-wrap: wrap; gap: 7px; }
.compact-area-list span { padding: 4px 8px; border: 1px solid var(--line); color: var(--text); background: #fff; font-size: .72rem; }

/* Footer shared by every page */
.site-footer { color: #fff; background: var(--navy-deep); }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.14); background: var(--blue); }
.footer-cta-inner { display: flex; min-height: 210px; align-items: center; justify-content: space-between; gap: 35px; padding-block: 33px; }
.footer-cta .eyebrow { margin-bottom: 9px; color: var(--cyan); }
.footer-cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.7rem,3vw,2.45rem); }
.footer-cta p { margin: 0; color: rgba(255,255,255,.77); font-size: .9rem; }
.footer-cta .button { flex: none; }
.footer-main { display: grid; grid-template-columns: 1.15fr .8fr 1fr .9fr; gap: 43px; padding-block: 63px 54px; }
.brand--footer { color: #fff; }
.brand--footer small { color: var(--cyan); }
.brand--footer .brand-mark { border: 1px solid rgba(255,255,255,.18); }
.footer-brand > p { max-width: 250px; margin-block: 19px; color: #b3c3d0; font-size: .88rem; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: .81rem; font-weight: 700; }
.instagram-mark { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(245,188,88,.6); border-radius: 7px; font-size: 1rem; line-height: 1; }
.footer-main h3 { margin-bottom: 17px; color: #fff; font-size: 1rem; letter-spacing: -.02em; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-contact > a:not(.footer-phone) { color: #b3c3d0; font-size: .82rem; }
.footer-links a:hover, .footer-contact > a:not(.footer-phone):hover { color: var(--amber); }
.footer-small-link { display: inline-block; margin-top: 14px; color: var(--cyan); font-size: .79rem; font-weight: 700; }
.footer-phone { display: inline-block; margin-bottom: 9px; color: var(--amber); font-family: var(--display); font-size: 1.35rem; font-weight: 800; }
.footer-contact > p { color: #b3c3d0; font-size: .81rem; }
.footer-areas-title { margin: 23px 0 10px; color: #fff !important; font-weight: 700; }
.area-list { display: flex; flex-wrap: wrap; gap: 6px; }
.area-list span { padding: 3px 7px; border: 1px solid rgba(255,255,255,.16); color: #b3c3d0; font-size: .67rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom > .wrap { display: flex; min-height: 61px; align-items: center; justify-content: space-between; gap: 20px; color: #91a5b7; font-size: .73rem; }
.footer-bottom a { color: #dce8ee; font-weight: 600; }
.footer-bottom a:hover { color: var(--amber); }

@media (max-width: 1100px) {
  :root { --wrap: 980px; }
  .nav-shell { gap: 20px; }
  .primary-nav { gap: 17px; }
  .primary-nav > a { font-size: .81rem; }
  .brand { font-size: .95rem; }
  .brand-mark { width: 47px; height: 47px; }
  .hero-grid { gap: 46px; }
  .page-hero-grid { gap: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 55px; }
}

@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 40px), var(--wrap)); }
  .nav-shell { position: relative; min-height: 73px; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: absolute; z-index: 20; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 16px 17px; border: 1px solid #e0e8ec; background: #fff; box-shadow: 0 15px 24px rgba(16,38,67,.13); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 11px 4px; border-bottom: 1px solid #edf0f2; font-size: .92rem; }
  .primary-nav > a::after { display: none; }
  .primary-nav .nav-contact { justify-content: center; margin-top: 12px; }
  .hero-grid { min-height: 560px; grid-template-columns: 1.05fr .95fr; gap: 31px; }
  .hero-badge { left: -24px; width: 90px; height: 90px; }
  .hero-caption { right: -7px; }
  .page-hero { padding-block: 42px 55px; }
  .page-hero-grid { grid-template-columns: 1fr .83fr; gap: 30px; }
  .page-hero-image { height: 310px; }
  .services-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .more-services-list { grid-template-columns: repeat(2,1fr); }
  .approach-grid, .about-story-grid { gap: 48px; }
  .contact-grid { gap: 24px; }
  .footer-main { gap: 32px; }
}

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 34px), var(--wrap)); }
  .utility-inner { min-height: 35px; font-size: .68rem; }
  .utility-inner > a { white-space: nowrap; }
  .utility-inner > a strong { margin-left: 4px; }
  .utility-inner > a:not(:hover) { color: #dfeaf1; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 25px; padding-block: 49px 55px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { max-width: 550px; font-size: clamp(3rem,12vw,4.2rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-media { width: min(94%,500px); margin: 0 auto; padding: 0 8px 12px 0; }
  .hero-badge { top: 20px; left: -20px; width: 78px; height: 78px; border-width: 4px; }
  .hero-badge span { font-size: 1.25rem; }
  .hero-badge small { font-size: .54rem; }
  .hero-caption { right: -6px; bottom: 31px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); padding-block: 14px; }
  .trust-grid > div { min-height: 66px; border-right: 1px solid var(--line); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .trust-grid > div:nth-child(3), .trust-grid > div:nth-child(4) { padding-top: 8px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .page-hero-copy { padding-block: 0; }
  .page-hero h1 { font-size: clamp(2.55rem,10vw,3.75rem); }
  .page-hero-image { height: 280px; }
  .section { padding-block: 69px; }
  .section--services { padding-top: 75px; }
  .section-heading { margin-bottom: 28px; }
  .services-grid, .product-grid { grid-template-columns: 1fr; gap: 17px; }
  .service-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .service-card-image { height: 100%; min-height: 200px; }
  .service-card-copy { padding: 19px; }
  .service-card-copy > p:not(.card-kicker) { min-height: 0; }
  .service-card-copy h3 { font-size: 1.14rem; }
  .product-card { display: grid; grid-template-columns: .82fr 1.18fr; }
  .product-image { height: 100%; min-height: 230px; }
  .product-card-copy { padding: 18px; }
  .product-card-copy h3 { font-size: 1.15rem; }
  .project-image { height: 215px; }
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 12px; }
  .project-copy { padding: 15px; }
  .project-copy h3 { font-size: 1.03rem; }
  .project-copy .card-kicker { font-size: .57rem; }
  .project-copy p:not(.card-kicker) { font-size: .8rem; }
  .project-card--featured .project-image { height: 215px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .photo-card:nth-child(7n + 1) { grid-column: span 2; }
  .photo-button { height: 175px; }
  .photo-card:nth-child(7n + 1) .photo-button { height: 240px; }
  .photo-card figcaption { padding: 9px 10px 12px; }
  .photo-caption { font-size: .75rem; }
  .approach-grid, .about-story-grid, .feature-gallery-row, .area-section-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .approach-image { height: 360px; }
  .experience-chip { right: -8px; bottom: 23px; }
  .approach-copy h2 { font-size: 2.55rem; }
  .gallery-callout-grid { grid-template-columns: 1fr; gap: 29px; }
  .home-gallery-callout { padding-block: 61px; }
  .callout-photo { height: 260px; }
  .values-row { grid-template-columns: 1fr; gap: 12px; }
  .values-row article { min-height: 0; }
  .service-area-section { padding-block: 63px; }
  .more-services-list { grid-template-columns: 1fr; }
  .service-cta-inline, .review-band-head, .review-summary-inner, .original-service-inner, .product-cta-inner, .footer-cta-inner { align-items: flex-start; flex-direction: column; }
  .service-cta-inline { padding: 25px; }
  .service-cta-inline .hero-actions { justify-content: flex-start; }
  .original-service-inner, .product-cta-inner { min-height: 0; gap: 26px; padding-block: 50px; }
  .original-service-inner .button, .product-cta-inner .button { width: 100%; }
  .gallery-mini-row img { height: 120px; }
  .review-band { padding-block: 66px 57px; }
  .review-band-head { align-items: flex-start; gap: 18px; }
  .quotes-grid, .quotes-grid--all { grid-template-columns: 1fr; }
  .quote-card { padding: 22px; }
  .review-summary-inner { align-items: stretch; }
  .review-actions { width: 100%; }
  .review-footnote { align-items: flex-start; flex-direction: column; }
  .contact-section { padding-top: 45px; }
  .contact-form-wrap { padding: 23px 18px; }
  .form-heading h2 { font-size: 1.8rem; }
  .footer-cta-inner { min-height: 0; gap: 19px; padding-block: 39px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 22px; padding-block: 42px; }
  .footer-brand, .footer-contact { grid-column: span 2; }
  .footer-bottom > .wrap { align-items: flex-start; flex-direction: column; gap: 6px; padding-block: 14px; }
}

@media (max-width: 420px) {
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .utility-inner p { max-width: 53%; font-size: .62rem; }
  .utility-inner > a { font-size: .62rem; }
  .nav-shell { min-height: 68px; }
  .brand { gap: 8px; font-size: .88rem; }
  .brand-mark { width: 42px; height: 42px; }
  .menu-toggle { width: 42px; height: 40px; }
  .hero-grid { padding-top: 42px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 4px; }
  .service-card, .product-card { grid-template-columns: 1fr; }
  .service-card-image, .product-image { height: 205px; min-height: 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-image, .project-card--featured .project-image { height: 230px; }
  .photo-button { height: 145px; }
  .photo-card:nth-child(7n + 1) .photo-button { height: 200px; }
  .photo-card figcaption { min-height: 76px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
  .gallery-mini-row { gap: 8px; }
  .gallery-mini-row img { height: 97px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
