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

:root {
  --navy: #102632;
  --navy-deep: #0b1f2b;
  --ink: #102632;
  --muted: #506b7a;
  --accent: #78c9ed;
  --surface: #f7fbfd;
  --surface-blue: #edf6fa;
  --line: #cfe2eb;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(calc(100% - 72px), 1320px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 200; background: var(--accent); padding: 12px 16px; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--navy); padding: 5px 11px; text-decoration: none; }
.brand-logo { display: block; width: 126px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 43px); margin-left: auto; }
.desktop-nav a { position: relative; padding: 12px 0; text-decoration: none; font-size: 14px; font-weight: 700; }
.desktop-nav a:after { content: ""; position: absolute; inset: auto 0 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a:hover:after, .desktop-nav a:focus-visible:after { transform: scaleX(1); }
.header-call { display: inline-flex; align-items: center; gap: 18px; flex: none; border: 1px solid var(--navy); padding: 11px 15px; text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.header-call:hover { background: var(--navy); color: var(--surface); }
.header-call span { font-size: 18px; line-height: 1; }
.mobile-nav { display: none; }

.hero { background: var(--surface); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; min-height: 660px; gap: 26px; }
.hero-copy { position: relative; z-index: 1; padding: 48px 0 72px; animation: rise-in .55s ease both; }
.hero-kicker { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .15em; margin-bottom: 25px; }
.hero h1 { font-size: clamp(58px, 5.2vw, 78px); line-height: 1.07; letter-spacing: -.065em; font-weight: 800; max-width: 650px; }
.hero-lead { max-width: 510px; margin-top: 24px; color: #3e596a; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 12px 19px; border: 0; text-decoration: none; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button-primary { background: var(--accent); color: var(--navy); }
.button-primary:hover { background: #a6e0f7; transform: translateY(-2px); }
.button-primary:active { transform: translateY(1px); }
.button span { font-size: 19px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 4px; border-bottom: 1px solid var(--navy); text-decoration: none; font-size: 14px; font-weight: 800; white-space: nowrap; }
.text-link:hover { border-color: var(--accent); }
.text-link span { font-size: 18px; line-height: 1; }
.hero-media { position: relative; width: 100%; height: 550px; align-self: center; animation: rise-in .7s .1s ease both; }
.hero-photo { position: absolute; overflow: hidden; background: #d7e8ed; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; }
.hero-photo-site { top: 0; right: 0; width: 88%; height: 80%; }
.hero-photo-site img { object-position: 46% center; }
.hero-photo-finish { left: 0; bottom: 0; width: 49%; height: 43%; border: 8px solid var(--surface); }
.hero-photo-finish img { object-position: 51% center; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.section-pad { padding: 110px 0; }
.section-intro { max-width: 760px; margin-bottom: 52px; }
.section-intro h2, .about h2, .contact h2 { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.12; letter-spacing: -.06em; font-weight: 800; text-wrap: balance; }
.section-intro p { max-width: 640px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.services { background: #fff; }
.services-layout { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.service-list { border-top: 3px solid var(--accent); }
.service-row { padding: 25px 0 27px; border-bottom: 1px solid var(--line); }
.service-row h3 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -.04em; margin-bottom: 8px; }
.service-row-primary h3 { font-size: clamp(30px, 3vw, 41px); }
.service-row p { max-width: 445px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-photo { display: flex; flex-direction: column; min-width: 0; }
.service-photo picture { display: block; flex: 1; min-height: 0; }
.service-photo img { display: block; width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: 50% center; }
.service-photo figcaption { padding-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.work { background: var(--surface-blue); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 28px; align-items: start; }
.work-item { min-width: 0; }
.work-item:nth-child(1), .work-item:nth-child(4), .work-item:nth-child(5) { grid-column: span 7; }
.work-item:nth-child(2), .work-item:nth-child(3), .work-item:nth-child(6) { grid-column: span 5; }
.work-photo-link { display: block; position: relative; overflow: hidden; cursor: zoom-in; background: #d5e6ed; }
.work-photo-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.work-photo-link picture { display: block; height: 100%; }
.work-photo-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work-photo-link:hover img, .work-photo-link:focus-visible img { transform: scale(1.025); }
.work-item:nth-child(1) .work-photo-link { aspect-ratio: 1.76; }
.work-item:nth-child(2) .work-photo-link { aspect-ratio: 1.28; }
.work-item:nth-child(3) .work-photo-link { aspect-ratio: 1.34; }
.work-item:nth-child(4) .work-photo-link { aspect-ratio: 1.78; }
.work-item:nth-child(5) .work-photo-link { aspect-ratio: 1.78; }
.work-item:nth-child(6) .work-photo-link { aspect-ratio: 1.27; }
.work-item:nth-child(1) img { object-position: 42% center; }
.work-item figcaption { display: flex; flex-direction: column; gap: 5px; padding-top: 14px; }
.work-item figcaption strong { font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.work-item figcaption span { color: var(--muted); font-size: 13px; line-height: 1.55; }

.about { background: #fff; }
.about-layout { display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); align-items: center; gap: clamp(45px, 7vw, 110px); }
.about-photo { aspect-ratio: 1.33; overflow: hidden; background: #d5e6ed; }
.about-photo picture, .about-photo img { display: block; width: 100%; height: 100%; }
.about-photo img { object-fit: cover; object-position: 40% center; }
.about-copy { max-width: 530px; }
.about h2 { margin-bottom: 28px; }
.about-lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; font-weight: 700; letter-spacing: -.025em; margin-bottom: 22px; }
.about-copy p:not(.about-lead) { color: var(--muted); font-size: 15px; line-height: 1.8; }

.contact { background: var(--surface-blue); border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 70px; align-items: start; }
.contact h2 { max-width: 720px; }
.contact-copy p { max-width: 540px; margin-top: 23px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-copy .button { margin-top: 28px; }
.contact-info { display: grid; gap: 34px; border-left: 3px solid var(--accent); padding-left: 35px; }
.info-label { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; margin-bottom: 10px; }
.phone-large { display: inline-block; font-size: clamp(24px, 2.7vw, 36px); font-weight: 800; letter-spacing: -.05em; text-decoration: none; }
.phone-large:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.contact-info address { font-style: normal; font-size: 17px; font-weight: 700; line-height: 1.7; }
.directions { display: inline-block; margin-top: 13px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; font-size: 14px; font-weight: 800; }

.project-form[hidden] { display: none; }
.project-form { margin-top: 85px; padding-top: 42px; border-top: 1px solid var(--line); }
.form-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 30px; }
.form-heading h3 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.04em; line-height: 1.2; }
.form-heading p { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.form-heading a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-fields label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 800; }
.form-fields .optional { display: inline; color: var(--muted); font-weight: 500; }
.form-fields input, .form-fields select, .form-fields textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #6f8794; border-radius: 0; background: #fff; color: var(--ink); }
.form-fields textarea { min-height: 135px; resize: vertical; }
.form-fields input::placeholder, .form-fields textarea::placeholder { color: #506b7a; opacity: 1; }
.form-wide { grid-column: 1 / -1; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 27px; }
.form-actions button:disabled { opacity: .7; cursor: wait; }
#form-status { max-width: 600px; color: var(--ink); font-size: 14px; }
#turnstile-widget { margin-top: 24px; }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand .brand-logo { width: 110px; }
.footer-inner > span, .footer-inner > a:last-child { color: var(--muted); font-size: 12px; text-decoration: none; }
.footer-inner > a:last-child:hover { text-decoration: underline; text-underline-offset: 4px; }

.work-hover-preview[hidden] { display: none; }
.work-hover-preview { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 28px; background: rgba(11,31,43,.82); backdrop-filter: blur(5px); pointer-events: none; }
.photo-viewer-frame { position: relative; display: flex; flex-direction: column; width: max-content; max-width: 100%; margin: 0; background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px rgba(11,31,43,.3); }
.photo-viewer-frame picture { display: flex; justify-content: center; align-items: center; min-height: 0; }
.photo-viewer-frame img { display: block; width: 100%; height: 100%; max-width: calc(100vw - 58px); max-height: calc(100dvh - 145px); object-fit: contain; }
.photo-viewer-frame figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 15px 20px; font-size: 13px; }
.photo-viewer-title { font-size: 16px; }
.photo-viewer-description { color: var(--muted); }
.photo-viewer-hint, .photo-viewer-original { margin-left: auto; color: var(--navy); font-weight: 800; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.work-lightbox { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; overflow: visible; background: transparent; color: var(--ink); }
.work-lightbox::backdrop { background: rgba(11,31,43,.88); backdrop-filter: blur(5px); }
.photo-dialog-open { overflow: hidden; }
.work-lightbox-close { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); font: 30px/1 Arial, sans-serif; cursor: pointer; }
.work-lightbox-close:hover { background: var(--accent); }
.work-lightbox-close:focus-visible { outline-color: var(--accent); }

@media (max-width: 1080px) {
  .header-inner { gap: 22px; }
  .desktop-nav { gap: 20px; }
  .hero-layout { min-height: 610px; }
  .hero h1 { font-size: clamp(49px, 5.6vw, 63px); }
  .hero-media { height: 490px; }
  .services-layout { gap: 42px; }
}
@media (max-width: 900px) {
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; }
  .hero-copy { padding: 65px 0 32px; }
  .hero-media { width: min(100%, 690px); height: 440px; margin: 0 auto 45px; }
}
@media (max-width: 700px) {
  .shell { width: min(calc(100% - 40px), 1320px); }
  .header-inner { min-height: 70px; }
  .brand-logo { width: 112px; }
  .desktop-nav, .header-call { display: none; }
  .mobile-nav { display: block; position: relative; margin-left: auto; }
  .mobile-nav summary { display: flex; align-items: center; justify-content: center; width: 65px; height: 44px; border: 1px solid var(--navy); list-style: none; cursor: pointer; font-size: 13px; font-weight: 800; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: 51px; right: 0; z-index: 10; display: flex; flex-direction: column; width: min(260px, calc(100vw - 40px)); padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 32px rgba(11,31,43,.15); }
  .mobile-nav nav a { padding: 13px 14px; text-decoration: none; font-size: 15px; font-weight: 700; }
  .mobile-nav nav a:hover, .mobile-nav nav a:focus-visible { background: var(--surface-blue); }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; }
  .hero-copy { padding: 55px 0 30px; }
  .hero-kicker { margin-bottom: 17px; font-size: 10px; }
  .hero h1 { font-size: clamp(45px, 11.4vw, 66px); }
  .hero-lead { margin-top: 18px; font-size: 16px; line-height: 1.6; }
  .hero-actions { margin-top: 24px; }
  .hero-media { height: min(84vw, 440px); min-height: 290px; margin-bottom: 35px; }
  .hero-photo-finish { border-width: 6px; }
  .section-pad { padding: 80px 0; }
  .section-intro { margin-bottom: 35px; }
  .section-intro h2, .about h2, .contact h2 { font-size: clamp(37px, 8.5vw, 53px); }
  .section-intro p { font-size: 15px; }
  .services-layout { display: flex; flex-direction: column-reverse; gap: 28px; }
  .service-photo picture { flex: none; }
  .service-photo img { min-height: 0; height: 280px; }
  .service-row { padding: 23px 0; }
  .work-grid { display: flex; flex-direction: column; gap: 35px; }
  .work-item { width: 100%; }
  .work-photo-link, .work-item:nth-child(n) .work-photo-link { aspect-ratio: 1.55; }
  .work-item figcaption strong { font-size: 19px; }
  .about-layout { display: flex; flex-direction: column; align-items: stretch; gap: 36px; }
  .about-photo { aspect-ratio: 1.5; }
  .contact-layout { display: flex; flex-direction: column; gap: 50px; }
  .contact-info { width: 100%; }
  .form-heading { display: block; }
  .form-heading p { margin-top: 17px; }
  .form-fields { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .footer-inner { min-height: 130px; flex-wrap: wrap; padding: 25px 0; }
  .footer-inner > span { order: 3; flex-basis: 100%; }
}
@media (max-width: 480px) {
  .shell { width: min(calc(100% - 36px), 1320px); }
  .hero h1 { font-size: clamp(43px, 11.6vw, 52px); }
  .hero-actions { gap: 19px; }
  .hero-media { height: 315px; min-height: 0; }
  .hero-photo-site { width: 92%; height: 80%; }
  .hero-photo-finish { width: 53%; height: 43%; }
  .section-pad { padding: 69px 0; }
  .service-photo img { height: 225px; }
  .work-photo-link, .work-item:nth-child(n) .work-photo-link { aspect-ratio: 1.38; }
  .about-photo { aspect-ratio: 1.3; }
  .contact-info { padding-left: 20px; }
  .phone-large { font-size: 24px; }
  .photo-viewer-frame figcaption { padding: 12px 14px; }
  .photo-viewer-hint, .photo-viewer-original { flex-basis: 100%; margin-left: 0; }
  .photo-viewer-frame img { max-width: calc(100vw - 34px); max-height: calc(100dvh - 125px); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
