:root {
  color-scheme: dark;
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f6ff;
  background: #0c101a;
  --ink: #f4f6ff;
  --muted: #b5c0d6;
  --blue: #4056dc;
  --navy: #0b1020;
  --line: #b8caff27;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #96b7ff; outline-offset: 4px; }
.wrap { width: min(100% - clamp(32px, 8vw, 112px), 1320px); margin-inline: auto; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .75rem 1rem; background: #25366a; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.masthead { position: relative; z-index: 2; background: #0b1324; border-bottom: 1px solid var(--line); }
.foot .wrap { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img { width: clamp(130px, 12vw, 172px); height: auto; max-height: 44px; object-fit: contain; object-position: left center; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.project-link:hover, .foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 17px; border-radius: 10px; border: 1px solid #a9bdff40; color: var(--ink); background: #ffffff0c; font-size: 14px; font-weight: 700; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: white; }
.btn.primary:hover { background: #364cce; }
.btn:not(.primary):hover { background: #ffffff17; }
.btn .icon, .project-link .icon, .nav .nav-chevron { filter: drop-shadow(0 0 4px #9fbaff55); }
.btn:disabled { opacity: .65; cursor: wait; }
.hero { background: radial-gradient(ellipse at 50% 0%, #16254a, transparent 70%), #0b1324; padding-block: clamp(62px, 10vh, 110px); text-align: center; }
.hero-content { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.05vw, 72px); line-height: 1.08; letter-spacing: -.05em; font-weight: 450; text-wrap: balance; }
.hero h1 span { color: #9baed5; }
.hero .intro { max-width: 58ch; margin-top: 24px; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); }
.hero .actions { justify-content: center; margin-top: 29px; }
@media (min-width: 851px) { .hero h1 span { display: block; } }
.contact h2 { font-size: clamp(35px, 4.7vw, 66px); letter-spacing: -.065em; line-height: 1.05; text-wrap: balance; }
.masthead .wrap { min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.masthead .brand { justify-self: start; }
.nav { grid-column: 2; display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #b6cbff0d; }
.nav > a, .nav summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 550; white-space: nowrap; }
.nav .nav-home, .nav > a:hover, .nav summary:hover, .nav details[open] > summary { background: #b6cbff18; }
.nav details { position: relative; }
.nav summary { cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav .nav-chevron { width: 15px; height: 15px; }
.nav details[open] .nav-chevron { transform: rotate(180deg); }
.service-nav { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 208px; padding: 6px; border: 1px solid #364567; border-radius: 12px; background: #151e32; box-shadow: 0 14px 26px #05081080; }
.service-nav a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 7px; font-size: 14px; color: #d6dff0; }
.service-nav a:hover { background: #b6cbff18; }
.service-nav .icon { width: 16px; height: 16px; color: #aec2ef; }
.nav .mobile-label, .nav .mobile-nav-link { display: none; }
.work, .project h3 { scroll-margin-top: 20px; }
.project { background: #0b1324; border-block-start: 1px solid var(--line); }
.project:nth-child(even) { background: #101b30; }
.project-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(22px, 4vw, 62px); align-items: center; padding-block: clamp(27px, 3.7vw, 58px); }
.project:nth-child(even) .project-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.project:nth-child(even) .project-media { grid-column: 1; grid-row: 1; }
.project:nth-child(even) .project-copy { grid-column: 2; grid-row: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 450; letter-spacing: .065em; text-transform: uppercase; }
.eyebrow .icon { width: 36px; height: 36px; padding: 8px; border-radius: 11px; color: var(--accent, #a5bcff); background: #ffffff0c; border: 1px solid #ffffff29; box-shadow: 0 0 16px #637cff25; filter: drop-shadow(0 0 5px #637cff25); }
.project h3 { overflow-wrap: anywhere; margin-top: 12px; font-size: clamp(30px, 3.15vw, 49px); font-weight: 670; letter-spacing: -.047em; line-height: 1.08; text-wrap: balance; }
.project-description { max-width: 53ch; margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.project-features { list-style: none; padding: 0; margin: 16px 0; font-size: 15px; line-height: 1.5; }
.project-features li { display: flex; gap: 9px; align-items: baseline; }
.project-features li::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: none; align-self: flex-start; margin-top: .56em; opacity: .65; }
.project-features li + li { margin-top: 7px; }
.project-link { display: inline-flex; gap: 8px; min-height: 44px; align-items: center; font-size: 14px; font-weight: 750; border-top: 1px solid var(--line); }
.project-media {
  min-width: 0;
  display: block;
  cursor: zoom-in;
  background: radial-gradient(ellipse at center, #233d715e, transparent 70%);
}
.project-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.contact { background: radial-gradient(ellipse at 14% 40%, #24335d, transparent 58%), var(--navy); color: #fff; padding-block: clamp(46px, 7vw, 96px); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(28px, 6vw, 96px); }
.contact-copy .eyebrow { color: #d6e1ff; }
.contact-copy .eyebrow .icon { color: #fff; background: #536aff35; border-color: #768bff65; box-shadow: 0 0 20px #6d8aff45; }
.contact h2 { margin: 13px 0; text-wrap: initial; }
.contact-copy > p:last-of-type { max-width: 38ch; line-height: 1.6; color: #e0e6fa; }
.contact-direct { display: inline-flex; align-items: center; gap: 9px; margin-top: 19px; min-height: 48px; padding-block: 8px; font-size: 14px; font-weight: 550; }
.contact-direct:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact :focus-visible { outline-color: #acbaff; }
.form-box { min-width: 0; background: linear-gradient(160deg, #1a253d, #121b2d 75%); color: var(--ink); border: 1px solid #a0b7f442; border-radius: 22px; box-shadow: 0 20px 52px #070c1e80; padding: clamp(18px, 3vw, 32px); }
.form-box :focus-visible { outline-color: #96b7ff; }
.form-box h3 { font-size: clamp(23px, 2.6vw, 32px); letter-spacing: -.04em; margin-bottom: 14px; }
.form-box fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 14px; }
.form-box legend, .field { font-size: 14px; font-weight: 650; }
.choices, .form-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; border: 1px solid #a0b7f442; border-radius: 9px; font-size: 13px; gap: 8px; background: #0c152675; }
.choice input:checked + span { background: #304672; border-color: #a5bcff; color: #fff; }
.choice input:focus-visible + span { outline: 3px solid #96b7ff; outline-offset: 2px; }
.field { display: block; margin: 13px 0; }
.field input, .field textarea { display: block; min-width: 0; width: 100%; margin-top: 6px; padding: 11px; border: 1px solid #a0b7f45c; border-radius: 10px; background: #0b1324; color: var(--ink); font-size: 16px; font-weight: 400; }
.field textarea { min-height: 105px; resize: vertical; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-note, .status { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 10px; }
.status:empty { display: none; }
.source { display: inline-block; padding: 6px 9px; background: #283b61; border-radius: 6px; margin-bottom: 12px; font-size: 13px; }
.foot .wrap { padding-block: 16px; flex-wrap: wrap; font-size: 14px; }
.foot .brand img { width: clamp(100px, 18vw, 130px); max-height: 36px; }
.foot a:last-child { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; }
.foot p { color: var(--muted); }
.image-viewer { width: max-content; max-width: min(94vw, 1150px); max-height: 91vh; max-height: 91dvh; padding: 0; border: 0; border-radius: 13px; background: #161e31; color: var(--ink); }
.image-viewer::backdrop { background: #0c1023db; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; }
.image-viewer img { width: auto; max-height: 75vh; max-height: 75dvh; object-fit: contain; }
@media (max-width: 850px) {
  .contact .wrap, .project-inner, .project:nth-child(even) .project-inner { grid-template-columns: minmax(0, 1fr); }
  .project:nth-child(even) .project-media, .project:nth-child(even) .project-copy { grid-column: auto; grid-row: auto; }
  .project-media { width: min(100%, 650px); margin-inline: auto; }
}
@media (max-width: 480px) {
  .masthead .wrap { min-height: 67px; gap: 10px; }
  .hero { padding-block: 56px 60px; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 40px); }
  .hero .intro { margin-top: 18px; }
  .hero .actions { margin-top: 22px; gap: 9px; }
  .hero .actions .btn { padding-inline: 12px; font-size: 13px; gap: 6px; }
  .hero .actions .icon { width: 17px; height: 17px; }
  .project-inner { gap: 15px; }
  .fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contact-copy { align-self: center; }
.contact-direct { color: var(--muted); }
.form-box #details .choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-box legend { color: var(--muted); font-weight: 550; }
.choice span .icon { width: 16px; height: 16px; color: #a5bcff; }
.choice:hover span { border-color: #a5bcff; }
.choice .choice-check { display: none; margin-inline-start: auto; color: #bbd4ff; }
.choice input:checked + span > .choice-check { display: block; }
.field textarea::placeholder { color: #9aa9c4; }
#whatsapp-submit { width: 100%; background: #97ebc8; border-color: #97ebc8; color: #0b2a21; }
#whatsapp-submit:hover { background: #b3f6d9; }
@media (max-width: 360px) {
  .form-box #details .choices { grid-template-columns: 1fr; }
}
@media (min-width: 361px) {
  #details .choice:last-child { grid-column: 1 / -1; }
}


.approach { padding-block: clamp(42px, 6vw, 86px); background: #0c101a; border-top: 1px solid var(--line); }
.approach h2 { margin-bottom: clamp(22px, 3vw, 40px); font-size: clamp(34px, 4.3vw, 58px); font-weight: 550; letter-spacing: -.055em; line-height: 1.08; }
.approach-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 52px); margin: 0; padding: 0; list-style: none; }
.approach-steps li { padding-block: 17px 24px; border-top: 1px solid var(--line); }
.approach h3 { margin-bottom: 7px; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.approach p { max-width: 62ch; color: var(--muted); line-height: 1.55; }
.proposal { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); align-items: baseline; gap: 8px 24px; padding: 19px 22px; border: 1px solid var(--line); border-radius: 12px; background: #11192a; }
.proposal h3 { margin: 0; }

@media (max-width: 850px) {
  .masthead .wrap { display: flex; justify-content: space-between; min-height: 64px; }
  .masthead .brand img { width: clamp(94px, 28vw, 132px); max-height: 34px; }
  .nav { padding: 0; }
  .nav > a, .nav .desktop-label { display: none; }
  .nav .mobile-label { display: inline; }
  .nav .mobile-nav-link { display: flex; }
  .service-nav { left: auto; right: 0; transform: none; max-height: 70vh; max-height: 70dvh; overflow: auto; }
}
@media (max-width: 600px) {
  .approach-steps, .proposal { grid-template-columns: minmax(0, 1fr); }
  .approach-steps li { padding-block: 15px; }
  .proposal { margin-top: 8px; }
}
