@font-face { font-family: "Red Hat Display"; src: url("fonts/RedHatDisplay.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("fonts/RedHatText.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --petrol: #0c2430;
  --petrol-deep: #081a23;
  --petrol-2: #12303e;
  --cyan: #27d9e5;
  --teal: #087a86;
  --steel: #5b6b75;
  --mist: #eef2f3;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: #d5dee1;
  --muted-dark: #9fb0b8;
  --white: #ffffff;
  --display: "Red Hat Display", "Segoe UI", Arial, sans-serif;
  --text: "Red Hat Text", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--petrol-deep); color: var(--white); font-family: var(--text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.08; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * 20px); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--text); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
.light .eyebrow, .mist .eyebrow { color: var(--teal); }
.lead { font-size: 20px; line-height: 1.6; color: #d6e2e6; max-width: 640px; }
.light .lead, .mist .lead { color: #33454f; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--cyan); color: var(--petrol); padding: 8px 14px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-primary { background: var(--cyan); color: var(--petrol); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.light .btn-ghost, .mist .btn-ghost { border-color: var(--petrol); color: var(--petrol); }
.light .btn-ghost:hover { background: var(--petrol); color: #fff; }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 26, 35, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); padding-top: env(safe-area-inset-top, 0px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #cfdbe0; position: relative; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--cyan); }
.nav .btn { text-transform: none; letter-spacing: .02em; color: var(--petrol); padding: 10px 20px; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; width: 46px; height: 46px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* crossover motif: two crossing lines with a gap, from the logo's X */
.motif { position: absolute; pointer-events: none; opacity: .5; }
.motif line { stroke: var(--cyan); stroke-width: 1.2; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 6vw, 80px); letter-spacing: -.02em; line-height: 1.02; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 18s ease-out both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,35,0) 55%, rgba(8,26,35,.55)); }
.hero-media .tag { position: absolute; left: 22px; bottom: 20px; z-index: 1; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: 96px 0 72px; border-bottom: 1px solid var(--line-dark); }
.page-hero h1 { font-weight: 800; font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -.02em; max-width: 900px; margin-bottom: 22px; }
.page-hero h1 em { font-style: normal; color: var(--cyan); }

/* sections */
section { position: relative; overflow: clip; }
html, body { overflow-x: clip; }
.section { padding: 110px 0; }
.light { background: var(--white); color: var(--petrol); }
.mist { background: var(--mist); color: var(--petrol); }
.panel { background: var(--petrol); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-weight: 800; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.015em; }
.section-head p { margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stat { padding: 34px 28px 10px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--cyan); }
.stat .l { margin-top: 12px; color: var(--muted-dark); font-size: 15px; line-height: 1.45; }

/* two sections cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; text-decoration: none; color: #fff; isolation: isolate; }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.duo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,35,.05) 20%, rgba(8,26,35,.92) 85%); }
.duo-card:hover img { transform: scale(1.04); }
.duo-card .k { font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.duo-card h3 { font-weight: 800; font-size: 44px; margin: 8px 0 10px; }
.duo-card p { color: #d6e2e6; max-width: 440px; margin-bottom: 18px; }
.duo-card .more { font-family: var(--display); font-weight: 700; font-size: 15px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.pillar { padding: 36px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.pillar .no { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--cyan); letter-spacing: .1em; }
.pillar h3 { font-weight: 800; font-size: 24px; margin: 14px 0 12px; }
.pillar p { color: #c7d5da; font-size: 16px; }
.pillar .inc { font-size: 13px; font-weight: 700; color: var(--cyan); line-height: 1.6; }
.light .pillars, .mist .pillars { border-color: var(--line-light); }
.light .pillar + .pillar, .mist .pillar + .pillar { border-color: var(--line-light); }

/* projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.proj { text-decoration: none; color: inherit; }
.proj .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--petrol-2); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj:hover img { transform: scale(1.04); }
.proj .sec { margin-top: 16px; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.light .proj .sec, .mist .proj .sec { color: var(--teal); }
.proj h3 { font-weight: 800; font-size: 21px; margin-top: 6px; line-height: 1.2; }

/* project list */
.plist { columns: 3; column-gap: 48px; }
.plist .grp { break-inside: avoid; margin-bottom: 36px; }
.plist h3 { font-family: var(--text); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1.5px solid var(--teal); }
.plist ul { list-style: none; padding: 0; margin: 0; }
.plist li { padding: 7px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; }
.plist li:last-child { border-bottom: 0; }

/* services */
.svc-block { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start; }
.svc-block + .svc-block { margin-top: 110px; }
.svc-aside { position: sticky; top: 110px; }
.svc-aside .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 28px; }
.svc-aside .media img { width: 100%; height: 100%; object-fit: cover; }
.svc-aside h2 { font-weight: 800; font-size: 56px; letter-spacing: -.02em; }
.svc-aside .sub { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--cyan); margin: 8px 0 16px; }
.svc-aside p { color: #c7d5da; }
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 40px; }
.group h3 { font-family: var(--text); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); padding-bottom: 12px; border-bottom: 1.5px solid var(--cyan); margin-bottom: 4px; }
.group ul { list-style: none; padding: 0; margin: 0; }
.group li { font-family: var(--display); font-weight: 700; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.group li:last-child { border-bottom: 0; }

.delivery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.delivery .d { background: var(--white); border-radius: var(--radius); padding: 30px 26px; }
.delivery .d .no { font-family: var(--display); font-weight: 800; color: var(--teal); font-size: 14px; letter-spacing: .1em; }
.delivery .d h3 { font-weight: 800; font-size: 22px; margin: 12px 0 14px; }
.delivery .d ul { margin: 0; padding: 0; list-style: none; }
.delivery .d li { padding: 6px 0; font-size: 15px; border-top: 1px solid var(--line-light); }
.models { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.models span { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-right: 8px; }
.models b { font-family: var(--display); font-size: 16px; padding: 10px 18px; border: 1.5px solid var(--petrol); border-radius: 999px; }

/* story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.quote { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.01em; }
.quote em { font-style: normal; color: var(--cyan); }
.light .quote em, .mist .quote em { color: var(--teal); }
.heritage { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.heritage img { border-radius: var(--radius); filter: grayscale(1) contrast(1.05); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.heritage .big { font-family: var(--display); font-weight: 800; font-size: 96px; line-height: 1; color: var(--teal); }

/* CTA band */
.cta { position: relative; overflow: hidden; padding: 110px 0; background: var(--petrol); }
.cta .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.015em; max-width: 760px; }
.cta h2 em { font-style: normal; color: var(--cyan); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.contact-list .k { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.contact-list a, .contact-list .v { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; text-decoration: none; margin-top: 4px; }
.contact-list a:hover { color: var(--cyan); }
.form { background: var(--white); color: var(--petrol); border-radius: var(--radius); padding: 40px; }
.form h2 { font-weight: 800; font-size: 30px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 13px; letter-spacing: .04em; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--petrol); background: var(--mist); border: 1.5px solid transparent; border-radius: 10px; padding: 13px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn-primary { background: var(--teal); color: #fff; border: 0; }
.form .btn-primary:hover { background: var(--petrol); }
.form .note { font-size: 13px; color: var(--steel); margin: 14px 0 0; }
.hidden { position: absolute; left: -9999px; }

/* footer */
.site-footer { background: var(--petrol-deep); border-top: 1px solid var(--line-dark); padding: 72px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: #c7d5da; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-grid img { height: 24px; width: auto; margin-bottom: 18px; }
.foot-grid .tag { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; }
.foot-grid .tag em { font-style: normal; color: var(--cyan); }
.foot-grid h4 { font-family: var(--text); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { padding: 4px 0; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--cyan); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted-dark); }

/* whatsapp */
.wa { position: fixed; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* reveal */
.reveal { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
.js .reveal.pending { opacity: 0; transform: translateY(24px); }

@media (max-width: 1024px) {
  .hero .wrap, .story-grid, .contact-grid, .svc-block, .section-head { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .svc-aside { position: static; }
  .pillars, .delivery { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .plist { columns: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--petrol-deep); border-bottom: 1px solid var(--line-dark); padding: 10px var(--gutter) 24px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 18px; width: auto; border-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .duo { grid-template-columns: 1fr; }
  .duo-card { min-height: 380px; padding: 26px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .pillars, .delivery, .projects-grid, .groups { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .plist { columns: 1; }
  .heritage { grid-template-columns: 1fr; }
  .heritage img { max-width: 220px; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .svc-aside h2 { font-size: 44px; }
  .stat .n { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .js .reveal.pending { opacity: 1; transform: none; }
  * { transition: none !important; }
}
