:root {
  --ink: #07111d;
  --panel: #0b1827;
  --panel-2: #102338;
  --blue: #04a9ff;
  --cyan: #42dcff;
  --white: #f7fbff;
  --muted: #9eb0c3;
  --line: rgba(126, 199, 255, .18);
  --shadow: 0 28px 70px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: var(--ink); font: 400 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 85% 10%, rgba(0, 149, 255, .15), transparent 28%), linear-gradient(120deg, rgba(255,255,255,.025), transparent 35%); }

.site-header { width: min(1180px, calc(100% - 40px)); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand img { width: 230px; max-height: 74px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; }
nav > a:not(.nav-cta) { color: #c8d5e1; transition: color .2s ease; }
nav > a:not(.nav-cta):hover { color: white; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(66,220,255,.55); border-radius: 8px; background: rgba(4,169,255,.1); }
.menu-button { display: none; color: white; background: transparent; border: 1px solid var(--line); padding: 9px 14px; border-radius: 7px; font: inherit; }

.hero { min-height: 700px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 45px; padding: 90px 0 105px; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); text-transform: uppercase; letter-spacing: .17em; font-size: .78rem; font-weight: 750; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.3rem, 6.2vw, 6.35rem); letter-spacing: -.06em; line-height: .93; max-width: 760px; }
h1 span { color: transparent; background: linear-gradient(90deg, #fff 0%, #8be9ff 48%, #159dff 100%); -webkit-background-clip: text; background-clip: text; }
.intro { max-width: 670px; color: #bdcad7; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border-radius: 8px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: #03101b; background: linear-gradient(120deg, var(--cyan), var(--blue)); box-shadow: 0 14px 34px rgba(0,168,255,.25); }
.secondary { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; color: #aebccb; font-size: .88rem; }
.trust-list li::before { content: "✓"; color: var(--cyan); margin-right: 7px; }

.hero-visual { min-height: 500px; display: grid; place-items: center; position: relative; isolation: isolate; }
.hero-project { min-height: 540px; }
.hero-project img { width: 100%; height: 540px; object-fit: cover; object-position: 50% 46%; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: var(--shadow); }
.hero-project::before { content: ""; position: absolute; inset: 42% 0 0; border-radius: 0 0 14px 14px; background: linear-gradient(transparent, rgba(4,12,20,.44)); pointer-events: none; }
.hero-project .location-card { z-index: 1; }
.hero-visual::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,158,255,.18), transparent 66%); filter: blur(10px); z-index: -2; }
.hero-visual img { width: min(660px, 100%); filter: drop-shadow(0 25px 40px rgba(0,0,0,.5)); }
.blueprint { position: absolute; inset: 6% 0; border: 1px solid rgba(69,191,255,.16); border-radius: 12px; background-image: linear-gradient(rgba(74,190,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(74,190,255,.06) 1px, transparent 1px); background-size: 28px 28px; transform: perspective(600px) rotateY(-4deg); z-index: -1; mask-image: linear-gradient(to right, transparent, black 22%, black 78%, transparent); }
.location-card { position: absolute; right: 0; bottom: 10%; padding: 15px 18px; border: 1px solid rgba(76,210,255,.22); border-left: 3px solid var(--cyan); background: rgba(8,19,31,.86); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.location-card span, .location-card strong { display: block; }
.location-card span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }

.section { padding: 110px max(20px, calc((100% - 1180px) / 2)); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: end; margin-bottom: 50px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.35rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 18px; }
.section-heading > p:last-child, .statement > p { color: #aebdcb; }
.services { background: linear-gradient(180deg, rgba(15,35,55,.62), rgba(7,17,29,.25)); border-top: 1px solid rgba(255,255,255,.06); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 238px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); transition: background .25s ease, transform .25s ease; }
.service-grid article:hover { background: rgba(11,158,255,.07); transform: translateY(-3px); }
.service-grid span { color: var(--blue); font: 700 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.service-grid h3 { margin: 48px 0 10px; font-size: 1.32rem; }
.service-grid p { color: var(--muted); margin: 0; }

.portfolio { padding-top: 95px; padding-bottom: 110px; background: linear-gradient(180deg, rgba(10,26,42,.94), rgba(7,17,29,.6)); border-top: 1px solid rgba(255,255,255,.07); }
.portfolio .section-heading h2 span { color: #a9dff5; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid rgba(126,199,255,.17); border-radius: 12px; background: #0b1827; box-shadow: 0 18px 46px rgba(0,0,0,.22); }
.project-card-wide { grid-column: span 2; }
.project-card-gallery { grid-column: 1 / -1; }
.project-card img { width: 100%; aspect-ratio: 1.05; object-fit: cover; object-position: center; }
.project-card-wide img { aspect-ratio: 1.9; object-position: 50% 44%; }
.project-card img.project-crop-right { object-position: 76% center; }
.project-photo-set { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 4px; height: 520px; background: var(--ink); }
.project-photo-set img { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; }
.project-photo-set .project-photo-main { object-position: 50% 45%; }
.project-photo-set-pair { grid-template-columns: 1fr 1fr; }
.project-photo-set-five { grid-template-columns: 1.1fr 1.1fr .9fr .9fr; grid-template-rows: 1fr 1fr; }
.project-photo-set-five .project-photo-main { grid-column: 1 / 3; grid-row: 1 / -1; }
.project-caption { padding: 20px 22px 23px; }
.project-caption > span { color: var(--cyan); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.project-caption h3 { margin: 7px 0 5px; font-size: 1.18rem; }
.project-caption p { margin: 0; color: var(--muted); font-size: .94rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.statement { position: sticky; top: 40px; }
.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.credentials span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; color: #c9d6e2; font-size: .82rem; }
.process { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process li > span { width: 40px; height: 40px; display: grid; place-items: center; color: var(--cyan); border: 1px solid rgba(66,220,255,.38); border-radius: 50%; font-weight: 800; }
.process h3 { margin: 0 0 4px; font-size: 1.15rem; }
.process p { margin: 0; color: var(--muted); }

.reviews { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; background: linear-gradient(180deg, rgba(15,35,55,.62), rgba(7,17,29,.25)); border-top: 1px solid rgba(255,255,255,.06); }
.review-carousel { min-width: 0; }
.review-carousel-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 15px; }
.review-carousel-bar > p { margin: 0; color: var(--muted); font-size: .9rem; }
.review-controls { display: flex; gap: 10px; }
.review-controls button { min-height: 42px; padding: 9px 15px; border: 1px solid rgba(66,220,255,.32); border-radius: 8px; color: var(--white); background: rgba(4,169,255,.08); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.review-controls button:hover:not(:disabled) { background: rgba(4,169,255,.2); }
.review-controls button:disabled { opacity: .42; cursor: default; }
.review-grid { display: flex; gap: 18px; align-items: stretch; overflow-x: auto; padding: 2px 2px 16px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(66,220,255,.45) rgba(255,255,255,.07); }
.review-grid:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 12px; }
.review-heading h2 span { color: #b9d8ec; }
.review-heading > p:last-child { max-width: 640px; color: var(--muted); }
.review-card { padding: 34px 38px; border: 1px solid rgba(66,220,255,.22); border-radius: 14px; background: linear-gradient(145deg, rgba(16,35,56,.92), rgba(8,20,33,.9)); box-shadow: var(--shadow); }
.review-grid .review-card { flex: 0 0 min(680px, calc(100% - 90px)); scroll-snap-align: start; }
.review-topline { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.review-stars { color: #ffbd45; letter-spacing: .12em; font-size: 1.1rem; }
.review-source { color: var(--muted); font-size: .83rem; }
.review-card blockquote { margin: 0; color: #d4dee8; font-size: 1rem; line-height: 1.75; }
.review-card blockquote p { margin: 0 0 16px; }
.review-card blockquote p:last-child { margin-bottom: 24px; }
.review-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 19px; border-top: 1px solid var(--line); }
.review-footer > div strong, .review-footer > div span { display: block; }
.review-footer > div strong { color: white; }
.review-footer > div span { color: var(--muted); font-size: .8rem; }
.review-footer a { color: var(--cyan); font-size: .87rem; font-weight: 700; }
.review-footer a:hover { color: white; }

.contact { width: min(1180px, calc(100% - 40px)); margin: 40px auto 90px; padding: 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; border: 1px solid rgba(67,201,255,.24); border-radius: 14px; background: linear-gradient(135deg, rgba(0,157,255,.13), rgba(255,255,255,.025)); box-shadow: var(--shadow); }
.contact h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
.contact > div > p:last-child { color: var(--muted); margin-bottom: 0; }
.contact-actions { display: grid; gap: 10px; }
.contact-actions a { padding: 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(0,0,0,.12); transition: border-color .2s ease, background .2s ease; overflow-wrap: anywhere; }
.contact-actions a:hover { border-color: rgba(66,220,255,.5); background: rgba(4,169,255,.07); }
.contact-actions small, .contact-actions strong { display: block; }
.contact-actions small { color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }

footer { min-height: 120px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; border-top: 1px solid rgba(255,255,255,.08); color: #8092a5; font-size: .78rem; }
footer img { width: 150px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 20px; flex-direction: column; align-items: stretch; gap: 14px; background: rgba(7,17,29,.98); border: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { min-height: 390px; }
  .section-heading, .split, .reviews, .contact { grid-template-columns: 1fr; }
  .hero-project, .hero-project img { min-height: 390px; height: 390px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card-wide { grid-column: span 2; }
  .project-card-gallery { grid-column: span 2; }
  .project-card-wide img { aspect-ratio: 1.7; }
  .project-photo-set { grid-template-columns: 1fr 1fr; height: auto; }
  .project-photo-set .project-photo-main { grid-column: 1 / -1; height: 420px; }
  .project-photo-set img:not(.project-photo-main) { height: 330px; }
  .project-photo-set-pair .project-photo-main { grid-column: auto; height: 460px; }
  .project-photo-set-pair img:not(.project-photo-main) { height: 460px; }
  .project-photo-set-five .project-photo-main { grid-row: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .statement { position: static; }
  footer { grid-template-columns: 1fr; padding: 30px 0; gap: 8px; }
}

@media (max-width: 600px) {
  .site-header { width: min(100% - 28px, 1180px); height: 78px; }
  .brand img { width: 185px; }
  .hero, .contact { width: min(100% - 28px, 1180px); }
  .hero { min-height: 0; padding: 55px 0 80px; }
  h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 300px; }
  .hero-project, .hero-project img { min-height: 340px; height: 340px; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card-wide { grid-column: auto; }
  .project-card-gallery { grid-column: auto; }
  .project-card img, .project-card-wide img { aspect-ratio: 1.17; }
  .project-photo-set { display: flex; overflow-x: auto; gap: 8px; padding: 8px; scroll-snap-type: x mandatory; }
  .project-photo-set .project-photo-main, .project-photo-set img:not(.project-photo-main) { flex: 0 0 88%; width: 88%; height: 430px; aspect-ratio: auto; scroll-snap-align: start; border-radius: 8px; }
  .project-caption { padding: 17px 18px 20px; }
  .location-card { right: 8px; bottom: 3%; }
  .section { padding: 80px 14px; }
  .section-heading { margin-bottom: 34px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 205px; }
  .contact { margin-bottom: 60px; padding: 30px 20px; gap: 30px; }
  .review-card { padding: 26px 22px; }
  .review-carousel-bar { align-items: flex-start; flex-direction: column; }
  .review-controls { width: 100%; }
  .review-controls button { flex: 1; }
  .review-grid .review-card { flex-basis: 88%; }
  .review-footer { align-items: flex-start; flex-direction: column; }
  footer { width: min(100% - 28px, 1180px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
