@font-face {
  font-family: Manrope;
  src: url("./assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111e2d;
  --navy: #091322;
  --navy-light: #152740;
  --night-text: #f8f5ee;
  --night-muted: #c5cfdd;
  --gold: #e1c389;
  --gold-deep: #806025;
  --paper: #f7f5ef;
  --white: #fffdf8;
  --muted: #536073;
  --line: #dcd6c8;
  --night-line: #ffffff29;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 100px }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.7 Manrope, system-ui, sans-serif }
h1, h2, h3, p, figure, ol, ul { margin: 0 }
h1, h2 { font: 400 clamp(2.7rem, 5.4vw, 5.25rem)/1.04 var(--serif); letter-spacing: -.055em }
h1 { font-size: clamp(3rem, 6.25vw, 6.2rem); line-height: .99 }
h3 { font-size: 1.37rem; line-height: 1.23; letter-spacing: -.042em; font-weight: 800 }
ol, ul { padding: 0 }
a { color: inherit; text-underline-offset: .22em }
img { display: block; max-width: 100% }
button, input, textarea, select { font: inherit }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid #ac8540; outline-offset: 4px }
.night :focus-visible, .header :focus-visible { outline-color: var(--gold) }
.shell { width: min(1260px, calc(100% - 104px)); margin-inline: auto }
.night { background: var(--navy); color: var(--night-text) }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 5; transform: translateY(-150%); background: white; padding: .5rem 1rem }
.skip:focus { transform: translateY(0) }

.header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #091322f3;
  color: var(--night-text);
  border-bottom: 1px solid var(--night-line);
  backdrop-filter: blur(18px);
}
.nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 80px }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 11px; text-decoration: none; font-size: 1.35rem; font-weight: 800; line-height: 1; letter-spacing: -.035em }
.brand img { object-fit: contain }
.brand small { display: block; margin-top: 7px; color: var(--night-muted); font-size: .7rem; font-weight: 650; letter-spacing: .035em }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 39px) }
nav a { color: var(--night-muted); font-size: .91rem; font-weight: 700; text-decoration: none }
nav a:hover, .footer a:hover { color: var(--gold) }
.mobile-contact { display: none }
.button, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .89rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.gold { background: var(--gold); color: var(--navy) }
.gold:hover { background: #f5dca7 }
.dark { background: var(--navy); color: var(--night-text) }
.dark:hover { background: var(--navy-light) }
.outline, .menu-toggle { border-color: #b3a88f; color: var(--ink); background: transparent }
.outline:hover, .menu-toggle:hover { background: #d9c59c27 }
.night .outline, .header .outline, .menu-toggle { color: var(--night-text); border-color: #e1c38973 }
.nav-cta { min-height: 43px }

.hero {
  background:
    radial-gradient(ellipse at 84% 17%, #26334b 0, transparent 44%),
    var(--navy);
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#ffffff09 1px, transparent 1px), linear-gradient(90deg, #ffffff09 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(black, transparent 90%);
}
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 4.5vw, 70px); padding-block: clamp(60px, 7vw, 105px) clamp(56px, 6vw, 86px) }
.eyebrow, .service-label, .framework-code {
  color: var(--gold-deep);
  font-size: .77rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px }
.eyebrow::before { content: ""; width: 31px; height: 1px; background: currentColor; flex-shrink: 0 }
.night .eyebrow { color: var(--gold) }
h1 em { display: block; color: var(--gold); font-style: italic }
.intro { font-size: clamp(1.05rem, 1.5vw, 1.17rem); color: var(--night-muted); max-width: 495px; margin-top: 24px }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.hero-image {
  position: relative;
  isolation: isolate;
  min-width: 0;
  width: 100%;
  min-height: 460px;
  height: 100%;
  max-height: 600px;
  aspect-ratio: 1.06;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #e1c38960;
  background: var(--navy-light);
  box-shadow: 0 24px 80px #0005;
}
.hero-image > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50% }
.hero-image::after { content: ""; position: absolute; inset: 56% 0 0; z-index: 0; background: linear-gradient(transparent, #050d18a3) }
figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border: 1px solid #e1c38958;
  border-radius: 11px;
  background: #091322d9;
  backdrop-filter: blur(18px);
  color: var(--night-text);
  font-size: .89rem;
  font-weight: 800;
}
figcaption small { display: block; color: var(--night-muted); font-size: .76rem; font-weight: 550 }
.focus { display: flex; align-items: center; gap: 22px 34px; padding-block: 22px; border-top: 1px solid var(--night-line); font-size: .89rem }
.focus > span { flex-shrink: 0; color: var(--gold); font-weight: 800 }
.focus ul { display: flex; flex-wrap: wrap; gap: 7px 24px; color: var(--night-muted); list-style: none }

.section { padding-block: clamp(64px, 8vw, 112px) }
.section-head {
  display: grid;
  grid-template-columns: 1.38fr .62fr;
  gap: 18px 46px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head h2 { max-width: 880px; font-size: clamp(2.7rem, 4.85vw, 4.8rem) }
.visual-head {
  grid-template-columns: 1fr .94fr;
  align-items: center;
  gap: 20px clamp(24px, 5vw, 76px);
  margin-bottom: clamp(26px, 4vw, 49px);
}
.section-intro { max-width: 495px; margin-top: 16px; color: var(--muted) }
.night .section-intro { color: var(--night-muted) }
.section-visual {
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.76;
  border: 1px solid #11243b35;
  border-radius: 18px;
  background: var(--navy-light);
  box-shadow: 0 20px 56px -32px #0913229c;
}
.section-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 49% }
.night .section-visual { border-color: #e1c3895c }
.contact-visual { max-width: 540px; aspect-ratio: 2.6; margin-top: 24px }
.contact-visual img { object-position: center 54% }
.grid { display: grid; gap: 16px }
.card { min-width: 0; padding: clamp(22px, 3vw, 35px); border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 16px 40px -32px #1224385c }
.card h3 + p { margin-top: 10px; color: var(--muted) }
.services { grid-template-columns: repeat(6, minmax(0, 1fr)) }
.service { grid-column: span 2; min-height: 193px }
.service.featured {
  grid-column: span 3;
  min-height: 209px;
  color: var(--night-text);
  border-color: #20405f;
  background: radial-gradient(ellipse at top right, #243d5a, transparent 65%), var(--navy-light);
}
.service.featured h3 { font: 400 clamp(1.9rem, 3.1vw, 3.1rem)/1.05 var(--serif); letter-spacing: -.045em }
.service.featured h3 + p { color: var(--night-muted) }
.service.featured .service-label { color: var(--gold) }
.service-label { margin-bottom: 22px; letter-spacing: .1em }

.approach { background: #efebe2; border-block: 1px solid var(--line) }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: var(--white);
}
.steps li { display: flex; align-items: start; gap: 15px; padding: clamp(22px, 2.5vw, 33px) }
.steps li:not(:nth-child(3n)) { border-right: 1px solid var(--line) }
.steps li:nth-child(n+4) { border-top: 1px solid var(--line) }
.steps li > span { color: var(--gold-deep); font: 400 1.5rem/1.2 var(--serif); font-variant-numeric: tabular-nums; flex-shrink: 0 }
.steps h3 { font-size: 1.2rem }
.steps p { margin-top: 8px; color: var(--muted) }

.portfolio { background: radial-gradient(ellipse at 92% 25%, #172a43, transparent 62%), var(--navy) }
.product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) }
.product {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #ffffff10, #ffffff05);
  border-color: var(--night-line);
  transition: border-color .18s, background-color .18s;
}
.product:nth-last-child(-n+2) { grid-column: span 3 }
.product:focus-within, .product:hover { border-color: #e1c38980; background-color: #ffffff07 }
.product h3 { font: 400 clamp(1.6rem, 2.5vw, 2.25rem)/1.1 var(--serif); letter-spacing: -.04em }
.product h3 + p { color: var(--night-muted); margin-bottom: 23px }
.product a { width: fit-content; margin-top: auto; color: var(--gold); font-size: .89rem; font-weight: 750 }
.product a:hover { color: #fcebc9 }
.product-top { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; color: var(--night-muted); font-size: .83rem; font-weight: 700 }
.product-mark { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #ffffff36; border-radius: 10px; font: 400 1.45rem/1 var(--serif) }
.sacco { background: #e7d5a8; color: #3f2f14 }
.eco { background: #d8e8c5; color: #294922 }
.rides { background: #d4e4fa; color: #233c66 }
.skin { background: #f2d9df; color: #63334b }
.flight { background: #e5ddf4; color: #423568 }

.framework-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.framework-code { display: inline-block; margin-bottom: 18px; border-bottom: 1px solid #a98647; padding-bottom: 5px }
.framework h3 { font: 400 clamp(1.55rem, 2.5vw, 2.3rem)/1.14 var(--serif); letter-spacing: -.04em }
.partner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 20px; padding: clamp(24px, 3.8vw, 44px); border: 1px solid var(--line); border-radius: 17px; background: #eee8db }
.partner p { color: var(--muted); max-width: 620px; margin-top: 8px }

.contact { background: radial-gradient(ellipse at 14% 36%, #1b2f49, transparent 56%), var(--navy) }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: center }
.contact-copy h2 { max-width: 540px }
.contact-copy > p:not(.eyebrow) { color: var(--night-muted); max-width: 380px; margin-top: 20px }
.contact-copy ul { display: grid; gap: 15px; margin-top: 27px; list-style: none }
.contact-copy li { overflow-wrap: anywhere }
.contact-copy li span { display: block; color: var(--gold); font-size: .82rem; font-weight: 800 }
.contact-copy a:hover { color: var(--gold) }
form { display: grid; gap: 14px; color: var(--ink) }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
label { display: grid; gap: 6px; font-size: .91rem; font-weight: 800 }
label small { font-size: .82rem; font-weight: 500; color: var(--muted) }
input, textarea, select { width: 100%; min-width: 0; border: 1px solid #c4bdac; border-radius: 7px; background: #faf8f1; padding: 9px 12px; color: var(--ink) }
form :focus-visible { outline-color: var(--gold-deep) !important }
textarea { resize: vertical }
select { padding-right: 22px }
form button { justify-self: start }
form button:disabled { opacity: .65; cursor: wait }
p.fine { color: var(--muted); font-size: .85rem }
#form-status:empty { display: none }
.trap { position: absolute; inset-inline-start: -10000px }
footer { border-top: 1px solid var(--night-line) }
.footer { min-height: 104px }
.footer > small, .footer > a:last-child { color: var(--night-muted); font-size: .86rem }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px) }
  .hero-image { min-height: 420px }
  .section-head { grid-template-columns: 1.25fr .75fr; gap: 16px 28px }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 84px }
  .shell { width: calc(100% - 44px) }
  .nav { min-height: 70px; flex-wrap: wrap; gap: 0 16px }
  .nav-cta { display: none }
  .mobile-contact { display: inline }
  nav { width: 100%; flex-wrap: wrap; gap: 12px 20px; padding: 14px 0 18px; border-top: 1px solid var(--night-line) }
  .menu-toggle { min-height: 40px; padding-inline: 14px }
  .hero-layout { grid-template-columns: 1fr; padding-block: 55px 31px }
  .hero-copy { max-width: 650px }
  .hero-image { height: auto; min-height: 0; max-height: 470px; aspect-ratio: 1.45 }
  .focus { align-items: start; flex-direction: column; gap: 6px }
  .section-head { grid-template-columns: 1fr; margin-bottom: 26px }
  .section-intro { max-width: 550px }
  .section-visual { max-height: 380px }
  .services, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .service, .service.featured, .product, .product:nth-last-child(-n+2) { grid-column: auto }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .steps li:not(:nth-child(3n)) { border-right: 0 }
  .steps li:nth-child(odd) { border-right: 1px solid var(--line) }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line) }
  .contact-layout { grid-template-columns: 1fr; gap: 28px }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 36px) }
  h1 { font-size: clamp(3rem, 10.5vw, 4rem) }
  .hero-layout { padding-top: 42px }
  .hero-image { aspect-ratio: 1.13; border-radius: 15px }
  figcaption { inset: auto 10px 10px; padding: 9px 10px; font-size: .8rem }
  figcaption small { font-size: .7rem }
  .services, .product-grid, .framework-grid, .form-row, .steps { grid-template-columns: 1fr }
  .section-visual { border-radius: 14px }
  .contact-visual { aspect-ratio: 1.85 }
  .service, .service.featured { min-height: 0 }
  .service-label { margin-bottom: 12px }
  .steps li:nth-child(odd) { border-right: 0 }
  .steps li + li { border-top: 1px solid var(--line) }
  .partner { align-items: start; flex-direction: column }
  .footer { flex-wrap: wrap; gap: 16px 23px; padding-block: 21px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  * { transition: none !important }
}
