
:root {
  --ink: #09131a;
  --ink-soft: #111d24;
  --cream: #f3eee5;
  --paper: #fbf7ef;
  --terracotta: #cf4936;
  --terracotta-bright: #f05a3b;
  --muted: #aab2b5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.menu-toggle { display: none; }
.shell { width: min(1380px, calc(100% - 96px)); margin-inline: auto; }

.hero {
  min-height: 860px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 62%, rgba(207,73,54,.22), transparent 27%),
    linear-gradient(122deg, #071118 0 54%, #0b161d 54% 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 320px;
  left: -15%;
  bottom: -250px;
  transform: rotate(4deg);
  background: var(--paper);
  border-top: 2px solid rgba(255,255,255,.8);
}
.nav {
  height: 132px;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  gap: 42px;
  position: relative;
  z-index: 5;
}
.brand img { display: block; width: 305px; filter: brightness(0) invert(1); }
.nav nav { display: flex; justify-content: center; gap: clamp(24px, 3vw, 60px); font-size: 15px; }
.nav nav a { color: #e6e2db; transition: color .2s; }
.nav nav a:hover { color: var(--terracotta-bright); }
.pill, .button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-weight: 650; }
.pill { min-height: 56px; padding: 0 30px; border-radius: 999px; }
.pill-outline { border: 1px solid var(--terracotta-bright); color: var(--terracotta-bright); }
.pill span, .button span { font-size: 22px; }

.hero-content { padding-top: 115px; position: relative; z-index: 3; }
.eyebrow {
  margin: 0 0 26px;
  color: var(--terracotta-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(62px, 6vw, 94px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 760;
}
h1 span { color: var(--terracotta-bright); }
.lead {
  max-width: 650px;
  margin: 31px 0 37px;
  color: #bcc2c4;
  font-size: 20px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 20px; }
.button { min-height: 66px; min-width: 250px; padding: 0 32px; border: 1px solid var(--terracotta); border-radius: 11px; }
.button-primary { background: linear-gradient(135deg, var(--terracotta), #e75b43); }
.button-ghost { background: rgba(6,13,17,.5); }

.hero-art { position: absolute; inset: 0 0 0 45%; overflow: hidden; }
.hero-mark {
  position: absolute;
  top: 105px;
  left: 20%;
  font-size: 520px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.13em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236,91,61,.65);
  background: linear-gradient(160deg, #1c262d 30%, #85301f 77%, #121b21);
  -webkit-background-clip: text;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.55));
  transform: rotate(-4deg);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(240,90,59,.72);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit-one { width: 1080px; height: 430px; left: -190px; top: 410px; }
.orbit-two { width: 1140px; height: 570px; left: -140px; top: 300px; }
.spark-grid {
  position: absolute;
  right: -20px;
  bottom: 80px;
  width: 390px;
  height: 240px;
  opacity: .65;
  background-image: radial-gradient(var(--terracotta-bright) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mask-image: linear-gradient(135deg, transparent, #000);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 5;
  width: 40px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cream);
  border-radius: 25px;
  font-size: 20px;
}
.scroll-cue i { position: absolute; top: -18px; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta-bright); }

.fenix-ribbon {
  position: relative;
  z-index: 4;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid #ded7cd;
}
.fenix-ribbon-inner {
  min-height: 170px;
  display: grid;
  grid-template-columns: 460px 1fr auto;
  align-items: center;
  gap: 58px;
}
.fenix-ribbon img { width: 430px; height: auto; }
.fenix-ribbon p { max-width: 350px; padding-left: 42px; border-left: 1px solid #d4cbc0; font-size: 16px; line-height: 1.55; }
.fenix-ribbon a { display: flex; align-items: center; gap: 28px; font-weight: 700; }
.fenix-ribbon a span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--terracotta); color: var(--terracotta); border-radius: 50%; font-size: 22px; }
.section-index { margin: 0 0 28px; color: #777d80; font: 650 12px/1 "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
.intro-section, .services-section, .contact-section { background: var(--paper); color: var(--ink); }
.intro-section { padding: 150px 0 120px; }
.intro-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.intro-grid h2, .section-heading h2, .method-top h2, .fenix-heading h2, .products-heading h2, .fenix-process h2, .contact-grid h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.section-lead { max-width: 820px; margin: 35px 0 60px; color: #566168; font-size: 20px; line-height: 1.7; }
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d7d0c7; }
.value-row div { padding: 28px 24px 0 0; }
.value-row strong, .value-row span { display: block; }
.value-row strong { margin-bottom: 10px; font-size: 17px; }
.value-row span { color: #7a8083; font-size: 14px; }

.services-section { padding: 100px 0 145px; }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; margin-bottom: 80px; }
.section-heading h2 { max-width: 900px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfc8bf; border-left: 1px solid #cfc8bf; }
.service-card { min-height: 350px; display: flex; flex-direction: column; padding: 35px; border-right: 1px solid #cfc8bf; border-bottom: 1px solid #cfc8bf; transition: background .25s, color .25s; }
.card-top, .discipline-top, .product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.card-top > span { color: var(--terracotta); font: 600 12px/1 "Courier New", monospace; }
.service-card h3 { max-width: 320px; margin: 42px 0 18px; font-size: 27px; line-height: 1.1; letter-spacing: -.035em; }
.service-card p { margin: 0; color: #697176; font-size: 14px; line-height: 1.65; }
.service-card a { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 22px; border-top: 1px solid #d8d1c9; font-size: 14px; font-weight: 700; }
.service-card:hover { background: var(--ink); color: var(--cream); }
.service-card:hover p { color: #aeb7ba; }

.method-section { padding: 140px 0; background: #e9e2d8; color: var(--ink); }
.method-top { display: grid; grid-template-columns: .45fr 1.15fr .65fr; gap: 60px; align-items: end; margin-bottom: 90px; }
.method-top h2 { font-size: clamp(45px, 4.5vw, 68px); }
.method-top > p:last-child { margin: 0; color: #646d72; line-height: 1.7; }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.method-steps article { min-height: 250px; padding: 30px 26px 0 0; }
.method-steps article + article { padding-left: 26px; border-left: 1px solid #c4bcb2; }
.method-steps span { color: var(--terracotta); font: 600 12px/1 "Courier New", monospace; }
.method-marker { display: flex; align-items: center; gap: 14px; }
.method-marker i { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 7px rgba(207,73,54,.12); }
.method-steps h3 { margin: 42px 0 16px; font-size: 22px; }
.method-steps p { margin: 0; color: #646d72; font-size: 14px; line-height: 1.65; }

.fenix-labs { position: relative; overflow: hidden; padding: 145px 0; background: #071118; }
.fenix-labs::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 75% 30%, black, transparent 50%);
}
.fenix-glow { position: absolute; width: 820px; height: 820px; right: -250px; top: 50px; border: 1px solid rgba(240,90,59,.55); border-radius: 50%; box-shadow: 0 0 150px rgba(207,73,54,.13) inset; }
.fenix-heading { position: relative; max-width: 1000px; }
.fenix-heading img { width: min(720px, 100%); margin: 20px 0 75px; filter: brightness(0) invert(1); }
.fenix-heading h2 { max-width: 930px; }
.fenix-heading > p:last-child { max-width: 730px; margin: 35px 0 0; color: #aeb8bc; font-size: 19px; line-height: 1.7; }
.fenix-principle { position: relative; margin: 100px 0; padding: 55px 65px; border: 1px solid #25333c; background: rgba(15,27,34,.78); }
.fenix-principle p { margin: 0 0 10px; color: #a8b1b5; font-size: 18px; }
.fenix-principle strong { display: block; max-width: 1000px; color: var(--cream); font-size: clamp(33px, 4vw, 56px); line-height: 1.08; letter-spacing: -.04em; }
.disciplines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.disciplines article { min-height: 300px; padding: 32px; border: 1px solid #2a3942; background: rgba(10,21,27,.85); }
.disciplines span, .product-card > div > span { color: var(--terracotta-bright); font: 600 11px/1 "Courier New", monospace; text-transform: uppercase; letter-spacing: .12em; }
.disciplines h3 { margin: 54px 0 16px; font-size: 26px; }
.disciplines p { margin: 0; color: #98a4a8; font-size: 14px; line-height: 1.65; }
.products-heading { position: relative; display: grid; grid-template-columns: .55fr 1.45fr; gap: 70px; align-items: start; margin: 160px 0 70px; }
.products-heading h2 { font-size: clamp(44px, 4.4vw, 68px); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.product-card { min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: 36px; border: 1px solid #34434b; background: linear-gradient(155deg, #111e25, #081217); transition: transform .25s, border-color .25s; }
.product-card:hover { transform: translateY(-7px); border-color: var(--terracotta-bright); }
.product-card h3 { margin: 90px 0 20px; font-size: 42px; letter-spacing: -.045em; }
.product-card p { color: #9ba6aa; font-size: 15px; line-height: 1.7; }
.product-card b { color: var(--terracotta-bright); font-size: 14px; }

/* Minimal line language: each symbol is built from the same three-stroke system. */
.mini-icon {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: var(--terracotta);
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .92;
  transition: transform .3s ease, background .3s ease;
}
.service-card:hover .mini-icon, .product-card:hover .mini-icon { transform: rotate(8deg); background: rgba(240,90,59,.08); }
.mini-icon i { position: absolute; display: block; border-color: currentColor; }
.mini-icon-route i:nth-child(1) { width: 28px; height: 1px; left: 14px; top: 28px; background: currentColor; transform: rotate(-28deg); }
.mini-icon-route i:nth-child(2), .mini-icon-route i:nth-child(3) { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.mini-icon-route i:nth-child(2) { left: 10px; top: 34px; } .mini-icon-route i:nth-child(3) { right: 9px; top: 14px; }
.mini-icon-search i:nth-child(1) { width: 22px; height: 22px; left: 14px; top: 12px; border: 1px solid currentColor; border-radius: 50%; }
.mini-icon-search i:nth-child(2) { width: 15px; height: 1px; left: 34px; top: 37px; background: currentColor; transform: rotate(45deg); }
.mini-icon-search i:nth-child(3) { width: 4px; height: 4px; left: 23px; top: 21px; background: currentColor; border-radius: 50%; }
.mini-icon-network i { width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 2px; }
.mini-icon-network i:nth-child(1) { left: 25px; top: 11px; } .mini-icon-network i:nth-child(2) { left: 12px; bottom: 12px; } .mini-icon-network i:nth-child(3) { right: 12px; bottom: 12px; }
.mini-icon-network::after { content:""; position:absolute; left:17px; right:17px; top:26px; height:15px; border:1px solid currentColor; border-bottom:0; }
.mini-icon-spark i:nth-child(1) { inset: 16px; border: 1px solid currentColor; transform: rotate(45deg); }
.mini-icon-spark i:nth-child(2) { width: 24px; height: 1px; left: 17px; top: 28px; background: currentColor; }
.mini-icon-spark i:nth-child(3) { width: 1px; height: 24px; left: 28px; top: 17px; background: currentColor; }
.mini-icon-signal i { bottom: 15px; width: 5px; background: currentColor; border-radius: 4px 4px 0 0; }
.mini-icon-signal i:nth-child(1) { left: 16px; height: 10px; }.mini-icon-signal i:nth-child(2) { left: 26px; height: 18px; }.mini-icon-signal i:nth-child(3) { left: 36px; height: 27px; }
.mini-icon-people i { border: 1px solid currentColor; border-radius: 50%; }
.mini-icon-people i:nth-child(1) { width: 12px; height: 12px; left: 22px; top: 11px; }.mini-icon-people i:nth-child(2) { width: 24px; height: 13px; left: 16px; top: 30px; border-radius: 15px 15px 4px 4px; }.mini-icon-people i:nth-child(3) { width: 7px; height: 7px; right: 8px; top: 23px; }
.mini-icon-target i:nth-child(1) { inset: 12px; border: 1px solid currentColor; border-radius: 50%; }.mini-icon-target i:nth-child(2) { inset: 20px; border: 1px solid currentColor; border-radius: 50%; }.mini-icon-target i:nth-child(3) { width: 20px; height: 1px; left: 28px; top: 21px; background: currentColor; transform: rotate(-45deg); }
.mini-icon-ai i:nth-child(1) { inset: 13px; border: 1px solid currentColor; border-radius: 10px; }.mini-icon-ai i:nth-child(2) { width: 5px; height: 5px; left: 20px; top: 25px; background: currentColor; border-radius: 50%; }.mini-icon-ai i:nth-child(3) { width: 5px; height: 5px; right: 20px; top: 25px; background: currentColor; border-radius: 50%; }
.mini-icon-code i:nth-child(1), .mini-icon-code i:nth-child(2) { width: 14px; height: 14px; top: 20px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }.mini-icon-code i:nth-child(1) { left: 13px; transform: rotate(-45deg); }.mini-icon-code i:nth-child(2) { right: 13px; transform: rotate(135deg); }.mini-icon-code i:nth-child(3) { width: 1px; height: 24px; left: 28px; top: 17px; background: currentColor; transform: rotate(18deg); }
.mini-icon-browser i:nth-child(1), .mini-icon-pos i:nth-child(1), .mini-icon-dashboard i:nth-child(1) { inset: 12px; border: 1px solid currentColor; border-radius: 3px; }
.mini-icon-browser i:nth-child(2) { left: 13px; right: 13px; top: 21px; border-top: 1px solid currentColor; }.mini-icon-browser i:nth-child(3) { left: 19px; right: 19px; top: 30px; height: 8px; border: 1px solid currentColor; }
.mini-icon-pos i:nth-child(2) { width: 20px; height: 9px; left: 19px; top: 17px; border: 1px solid currentColor; }.mini-icon-pos i:nth-child(3) { width: 16px; height: 11px; left: 21px; bottom: 15px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.mini-icon-dashboard i:nth-child(2) { width: 8px; height: 8px; left: 18px; top: 18px; border: 1px solid currentColor; }.mini-icon-dashboard i:nth-child(3) { width: 12px; height: 16px; right: 17px; bottom: 17px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.disciplines .mini-icon, .product-card .mini-icon { color: var(--terracotta-bright); border-color: #32434c; }
.fenix-process { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; margin-top: 160px; padding-top: 100px; border-top: 1px solid #293740; }
.fenix-process ol { margin: 0; padding: 0; list-style: none; }
.fenix-process li { display: grid; grid-template-columns: 60px 1fr; padding: 19px 0; border-bottom: 1px solid #293740; font-size: 18px; }
.fenix-process li span { color: var(--terracotta-bright); font: 600 12px/1.8 "Courier New", monospace; }

.contact-section { padding: 150px 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 120px; }
.contact-copy { padding-top: 50px; }
.contact-copy > p { margin: 0 0 40px; color: #5e686d; font-size: 19px; line-height: 1.7; }
.contact-copy .button { color: var(--cream); }
.text-link { display: flex; justify-content: space-between; margin-top: 35px; padding: 20px 0; border-bottom: 1px solid #cfc8bf; font-weight: 650; }
footer { padding: 80px 0 30px; background: #050d12; color: #b2babd; }
.footer-grid { display: grid; grid-template-columns: 330px 1fr auto; align-items: center; gap: 50px; padding-bottom: 70px; }
.footer-grid img { width: 300px; filter: brightness(0) invert(1); }
.footer-grid p { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid div { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; font-size: 14px; }
.footer-grid div a { color: var(--cream); font-size: 18px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 25px; border-top: 1px solid #1d2a31; font-size: 12px; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 40px, 920px); }
  .nav { grid-template-columns: 220px 1fr; }
  .brand img { width: 210px; }
  .nav nav { display: none; }
  .nav .pill { justify-self: end; }
  .hero-art { left: 42%; opacity: .75; }
  .fenix-ribbon-inner { grid-template-columns: 1fr auto; padding-block: 35px; }
  .fenix-ribbon p { display: none; }
  .intro-grid, .section-heading, .method-top, .products-heading, .fenix-process, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .disciplines, .products-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid p { display: none; }
}
@media (max-width: 680px) {
  .hero { min-height: 820px; }
  .nav { height: 96px; grid-template-columns: 1fr auto; }
  .brand img { width: 180px; }
  .nav .pill { display: none; }
  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 7px;
    justify-self: end;
    border: 1px solid rgba(240,90,59,.8);
    border-radius: 50%;
    background: transparent;
    color: var(--terracotta-bright);
    cursor: pointer;
    position: relative;
    z-index: 8;
  }
  .menu-toggle span { display: block; width: 19px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav nav {
    display: none;
    position: absolute;
    inset: 82px 0 auto;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid #25333c;
    border-radius: 12px;
    background: rgba(7,17,24,.98);
    box-shadow: 0 24px 70px rgba(0,0,0,.4);
  }
  .nav nav.is-open { display: flex; }
  .nav nav a { padding: 15px 4px; border-bottom: 1px solid #25333c; }
  .nav nav a:last-child { border-bottom: 0; }
  .hero-content { padding-top: 110px; }
  h1 { font-size: 54px; }
  .lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { min-width: 0; }
  .hero-art { left: 20%; top: 70px; opacity: .38; }
  .hero-mark { font-size: 360px; left: 6%; }
  .scroll-cue { display: none; }
  .fenix-ribbon-inner { grid-template-columns: 1fr; gap: 25px; }
  .fenix-ribbon img { width: min(100%, 390px); }
  .fenix-ribbon a { justify-content: space-between; }
  .intro-section, .services-section, .method-section, .fenix-labs, .contact-section { padding-block: 90px; }
  .intro-grid h2, .section-heading h2, .method-top h2, .fenix-heading h2, .products-heading h2, .fenix-process h2, .contact-grid h2 { font-size: 43px; }
  .value-row, .services-grid, .method-steps { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .method-steps article + article { padding-left: 0; border-left: 0; }
  .fenix-principle { margin: 70px 0; padding: 35px 28px; }
  .fenix-heading img { margin-bottom: 50px; }
  .disciplines h3 { margin-top: 55px; }
  .products-heading, .fenix-process { margin-top: 100px; }
  .product-card h3 { margin-top: 65px; font-size: 36px; }
  .contact-copy { padding-top: 0; }
  .contact-copy .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid div { align-items: flex-start; }
  .footer-grid img { width: 250px; }
}
