:root{
  --bg:#f3f5f9;
  --paper:#ffffff;

  --text:#0b1220;
  --muted:#516072;

  --line: rgba(11,18,32,.12);
  --line2: rgba(11,18,32,.08);

  --steel:#111827;         /* industrial dark */
  --amber:#f59e0b;         /* hazard accent */
  --amber2:#fbbf24;
  --blueprint:#0b1b37;     /* blueprint tint */
  --shadow: 0 22px 70px rgba(2,6,23,.12);

  --radius: 16px;
  --max: 1120px;
  --ring: 0 0 0 3px rgba(245, 158, 11, .28);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);

  /* Blueprint grid background (very different vibe) */
  background:
    linear-gradient(to right, rgba(11,27,55,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,27,55,.06) 1px, transparent 1px),
    radial-gradient(900px 480px at 10% 5%, rgba(245,158,11,.12), transparent 60%),
    radial-gradient(900px 480px at 95% 0%, rgba(17,24,39,.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 40%, var(--bg) 100%);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;

  overflow-x:hidden;
}

a{ color: inherit; text-decoration:none; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Watermark (Tero-Tech) — tiled to feel different */
.watermark::before{
  content: "Tero-Tech • Tero-Tech • Tero-Tech • Tero-Tech • Tero-Tech";
  position: fixed;
  inset: -10%;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(11,18,32,.85);
  -webkit-text-stroke: 1px rgba(11,18,32,.25);
  text-stroke: 1px rgba(11,18,32,.25);
  text-shadow: 0 2px 8px rgba(11,18,32,.20);
  transform: rotate(-24deg);
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.watermark::after{
  content: "Tero-Tech • Tero-Tech • Tero-Tech • Tero-Tech • Tero-Tech";
  position: fixed;
  inset: -10%;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(11,18,32,.80);
  -webkit-text-stroke: 1px rgba(11,18,32,.20);
  text-stroke: 1px rgba(11,18,32,.20);
  text-shadow: 0 2px 8px rgba(11,18,32,.18);
  transform: rotate(-24deg) translateY(140px);
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.watermark *{ position: relative; z-index: 10000; }

/* Mast header (compact, not sticky glass) */
.mast{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mast__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

.logo{ display:flex; align-items:center; gap: 12px; }
.logo__mark{
  width: 42px; height: 42px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--steel), #0b1220);
  position: relative;
  box-shadow: 0 16px 35px rgba(2,6,23,.16);
}
.logo__mark::after{
  /* little hazard corner notch */
  content:"";
  position:absolute;
  right: -1px; bottom: -1px;
  width: 16px; height: 16px;
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  border-top-left-radius: 10px;
}
.logo__name{ font-weight: 950; letter-spacing: .2px; }
.logo__sub{ color: var(--muted); font-size: 12px; margin-top: 2px; }

.mast__meta{ display:flex; gap: 10px; flex-wrap: wrap; }

.meta__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  font-weight: 900;
  font-size: 13px;
}
.meta__pill--ghost{
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.25);
  color: #92400e;
}

/* Layout: rail + main (big difference) */
.layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: calc(100vh - 72px);
}

.rail{
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
.rail__sticky{
  position: sticky;
  top: 0;
  padding: 18px 16px;
}
.rail__title{
  font-weight: 950;
  letter-spacing: .2px;
  color: var(--steel);
}
.rail__nav{
  display:grid;
  gap: 8px;
  margin-top: 12px;
}
.rail__nav a{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 800;
  background: transparent;
  transition: background .16s ease, border-color .16s ease, transform .1s ease;
}
.rail__nav a:hover{
  background: rgba(11,18,32,.04);
  border-color: var(--line2);
  color: var(--text);
  transform: translateX(2px);
}

.rail__panel{
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(11,18,32,.18);
  background: rgba(255,255,255,.88);
  padding: 12px;
}
.rail__panelTitle{ font-weight: 950; font-size: 13px; }
.rail__panelText{ color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.45; }
.rail__panelLine{ height: 1px; background: var(--line2); margin: 10px 0; }

.rail__cta{
  display:block;
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--steel), #1f2937);
  color: #fff;
  font-weight: 950;
  text-align:center;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 40px rgba(2,6,23,.16);
}
.rail__cta:hover{ opacity: .92; }

.main{ min-width: 0; }

/* Buttons (new styling, squared/industrial) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-weight: 950;
  font-size: 14px;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover{ background: rgba(255,255,255,1); transform: translateY(-1px); }
.btn:focus{ outline:none; box-shadow: var(--ring); }

.btn--primary{
  border-color: rgba(17,24,39,.28);
  background: linear-gradient(135deg, var(--steel), #1f2937);
  color: white;
}
.btn--ghost{
  background: rgba(245,158,11,.10);
  border-color: rgba(245,158,11,.24);
  color: #92400e;
}
.btn--block{ width: 100%; }

/* Hero */
.hero{ padding: 26px 0 10px; }
.hero__stripe{
  height: 10px;
  border-radius: 999px;
  margin: 8px 0 18px;
  background:
    repeating-linear-gradient(45deg, var(--amber) 0 10px, #111827 10px 20px);
  box-shadow: 0 14px 44px rgba(2,6,23,.14);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items:start;
}

.stamp{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(11,18,32,.22);
  background: rgba(255,255,255,.86);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.stamp__dot{
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--amber), var(--amber2));
}

h1{
  margin: 12px 0 10px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -1px;
}
h2{
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.3px;
}
h3{ margin: 0; font-size: 16px; }

.lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 64ch;
}
.hero__actions{ display:flex; gap: 10px; flex-wrap:wrap; }

.metrics{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.metric{
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.90);
  padding: 12px;
}
.metric__value{ font-weight: 950; font-size: 18px; }
.metric__label{ color: var(--muted); font-size: 13px; margin-top: 4px; }

/* Spec card */
.specCard{
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.specCard__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(17,24,39,.06), rgba(245,158,11,.10));
  border-bottom: 1px solid var(--line);
}
.specCard__title{ font-weight: 950; }
.specCard__sub{ color: var(--muted); font-size: 12px; margin-top: 3px; }

.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245,158,11,.14);
  border: 1px solid rgba(245,158,11,.25);
  color: #92400e;
  font-weight: 950;
  white-space: nowrap;
}

.specGrid{ padding: 10px 14px; }
.specRow{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(11,18,32,.14);
}
.specRow:last-child{ border-bottom: 0; }
.specKey{ color: var(--muted); font-weight: 800; font-size: 13px; }
.specVal{ font-weight: 900; font-size: 13px; }

.specCard__foot{
  padding: 14px;
  border-top: 1px solid var(--line);
}
.fine{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Callouts (stacked) */
.callouts{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.callout{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  padding: 12px;
}
.callout__k{ font-weight: 950; }
.callout__v{ color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.5; }

/* Sections */
.section{ padding: 34px 0; }
.section--alt{
  background: rgba(255,255,255,.52);
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
}
.section__head h2{ margin: 0; }
.section__head p{
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  max-width: 80ch;
}

/* Service blocks */
.blocks{
  display:grid;
  gap: 12px;
  margin-top: 14px;
}
.block{
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  padding: 14px;
}
.block__top{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.block__icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(245,158,11,.14);
  border: 1px solid rgba(245,158,11,.25);
}
.block p{ margin: 6px 0 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.block__tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(11,18,32,.03);
  color: var(--muted);
  font-weight: 800;
}

/* Capabilities “table” */
.specTable{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow:hidden;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 54px rgba(2,6,23,.08);
}
.specTable__row{
  display:grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0;
}
.specTable__row--head{
  background: rgba(11,18,32,.04);
  font-weight: 950;
}
.specTable__cell{
  padding: 12px 14px;
  border-bottom: 1px solid var(--line2);
  border-right: 1px solid var(--line2);
  color: var(--muted);
}
.specTable__row .specTable__cell:last-child{ border-right: 0; }
.specTable__row:last-child .specTable__cell{ border-bottom: 0; }
.specTable__row--head .specTable__cell{ color: var(--text); }

/* Timeline */
.timeline{
  list-style:none;
  padding: 0;
  margin: 14px 0 0;
  display:grid;
  gap: 12px;
}
.step{
  display:grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items:start;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  padding: 14px;
}
.step__num{
  font-weight: 950;
  font-size: 18px;
  color: var(--steel);
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.24);
  border-radius: 14px;
  display:grid;
  place-items:center;
  height: 46px;
}
.step__body p{ margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

/* Work grid */
.workGrid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.workItem{
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  padding: 14px;
  position: relative;
  overflow:hidden;
}
.workItem__bar{
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--steel));
  margin-bottom: 10px;
}
.workItem__meta{ color: var(--muted); font-size: 12px; font-weight: 800; }
.workItem p{ margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

/* Quote section (different container) */
.quote{
  padding: 36px 0 60px;
}
.quote__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items:start;

  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding: 16px;
}

.contactStrip{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.contactStrip__item{
  border-radius: 16px;
  border: 1px dashed rgba(11,18,32,.18);
  background: rgba(255,255,255,.92);
  padding: 12px;
}
.contactStrip__k{ color: var(--muted); font-size: 12px; font-weight: 900; }
.contactStrip__v{ font-weight: 950; margin-top: 6px; display:block; }

.form{
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(11,18,32,.02);
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
label{ display:block; margin-bottom: 10px; }
label span{
  display:block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
input, select, textarea{
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  color: var(--text);
  outline: none;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus{ box-shadow: var(--ring); }

.check{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.check input{
  width: 18px; height: 18px; margin-top: 2px;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line2);
  background: rgba(255,255,255,.70);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 16px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer__brand{ font-weight: 950; color: var(--text); }
.footer__dot{ opacity:.6; margin: 0 8px; }
.footer__right a{ font-weight: 900; }

/* Responsive */
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .rail{ display:none; }

  .hero__grid{ grid-template-columns: 1fr; }
  .workGrid{ grid-template-columns: 1fr; }
  .quote__grid{ grid-template-columns: 1fr; }
  .contactStrip{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .mast__inner{ flex-direction: column; align-items:flex-start; }
  .form__row{ grid-template-columns: 1fr; }
  .metrics{ grid-template-columns: 1fr; }
  .specTable__row{ grid-template-columns: 1fr; }
  .specTable__cell{ border-right: 0; }
}