/* ==========================================================================
   Accent Technologies — v2 premium design language
   Neutrals do the work; orange #E0782D is rationed to the primary CTA.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/spacegrotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #14171B;
  --ink-2: #1A1E24;
  --paper: #FAFAF8;
  --paper-2: #F3F2EF;
  --line: #E4E2DC;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #23262B;
  --muted: #6E7178;
  --muted-dark: #9BA0A6;
  --paper-dark-text: #F2F1ED;
  --orange: #E0782D;
  --orange-deep: #C9661F;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.04; }
.h-display { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -0.02em; }
.h-section { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -0.015em; }

.label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }

/* ---------- buttons: one orange, everything else quiet ---------- */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  padding: 16px 30px; background: var(--orange); color: #fff; border: 0; border-radius: 2px;
  cursor: pointer; transition: background 0.2s ease;
}
.btn:hover { background: var(--orange-deep); }
.btn-ghost {
  background: transparent; color: var(--paper-dark-text);
  border: 1px solid var(--line-dark); border-radius: 2px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.textlink {
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.textlink:hover { color: var(--orange-deep); border-color: var(--orange-deep); }

/* ---------- header ---------- */
.hd {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.hd.scrolled { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; height: 92px; gap: 40px; }
.hd-logo img { height: 58px; width: auto; }
.hd-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.hd-nav > a { font-size: 0.94rem; font-weight: 500; color: var(--ink); opacity: 0.82; transition: opacity .15s; }
.hd-nav > a:hover { opacity: 1; }
.hd-cta { padding: 12px 22px; font-size: 0.88rem; }
.hd-burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.hd-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: 0.25s; }

/* dropdown */
.dd { position: relative; }
.dd-t { font-size: 0.94rem; font-weight: 500; color: var(--ink); opacity: 0.82; cursor: pointer; }
.dd:hover .dd-t { opacity: 1; }
.dd-m {
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 250px;
  background: var(--paper); border: 1px solid var(--line); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.dd:hover .dd-m { opacity: 1; visibility: visible; transform: none; }
.dd-m a { display: block; padding: 9px 22px; font-size: 0.92rem; color: var(--ink); opacity: .8; }
.dd-m a:hover { opacity: 1; background: var(--paper-2); }

/* ---------- hero: typographic, no imagery ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-type { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; padding: 140px 0 110px; align-items: end; }
.hero-left .label { display: block; margin-bottom: 32px; }
.hero-left h1 { font-size: clamp(2.9rem, 6vw, 5.1rem); }
.hero-right { padding-bottom: 10px; }
.hero-right .lead { margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.hero-foot { border-top: 1px solid var(--line); padding: 20px 0; }
.hero-foot p { font-size: 0.92rem; color: var(--muted); }

/* ---------- solutions index ---------- */
.sols { padding: 140px 0 120px; }
.sols-head { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; margin-bottom: 64px; align-items: end; }
.sols-head p { color: var(--muted); max-width: 30em; }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr 60px; align-items: center;
  gap: 24px; padding: 26px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.row:hover { background: #fff; }
.row-num { font-family: var(--display); font-weight: 500; font-size: 1rem; color: var(--muted); transition: color .2s; }
.row:hover .row-num { color: var(--orange); }
.row-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.7rem); color: var(--ink); letter-spacing: -0.01em; }
.row-desc { font-size: 0.95rem; color: var(--muted); }
.row-arr { font-family: var(--display); font-size: 1.4rem; color: var(--ink); justify-self: end; transition: transform 0.22s ease; }
.row:hover .row-arr { transform: translateX(8px); }

/* ---------- dark statement band ---------- */
.dark { background: var(--ink); color: var(--paper-dark-text); }
.dark h2 { color: #fff; }
.stmt { padding: 140px 0; }
.stmt-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 90px; }
.stmt-copy h2 { margin-bottom: 26px; max-width: 10em; }
.stmt-copy p { color: var(--muted-dark); max-width: 30em; }
.stmt-copy p + p { margin-top: 18px; }
.pillars { display: flex; flex-direction: column; justify-content: center; }
.pillar2 { border-top: 1px solid var(--line-dark); padding: 26px 0; }
.pillar2:last-child { border-bottom: 1px solid var(--line-dark); }
.pillar2 .n { font-family: var(--display); font-size: 0.85rem; color: var(--orange); letter-spacing: 0.1em; }
.pillar2 h3 { color: #fff; font-size: 1.15rem; margin: 8px 0 6px; }
.pillar2 p { font-size: 0.93rem; color: var(--muted-dark); }

/* ---------- BKH ---------- */
.bkh { padding: 140px 0; }
.bkh-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 90px; align-items: center; }
.bkh-copy .label { margin-bottom: 22px; display: block; }
.bkh-copy h2 { margin-bottom: 24px; }
.bkh-copy p { color: var(--muted); margin-bottom: 36px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); }
.tile figure { overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 26px; }
.tile img { max-height: 100%; width: auto; object-fit: contain; transition: transform 0.4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { border-top: 1px solid var(--line); padding: 12px 18px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }

/* ---------- proof numeral ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.proof-in { display: grid; grid-template-columns: auto 1fr; gap: 70px; align-items: center; padding: 88px 0; }
.proof-num { font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 14vw, 11rem); line-height: 0.9; color: var(--ink); letter-spacing: -0.04em; }
.proof-txt { max-width: 30em; }
.proof-txt h3 { font-size: 1.3rem; margin-bottom: 10px; }
.proof-txt p { color: var(--muted); font-size: 0.98rem; }

/* ---------- industries ---------- */
.inds { padding: 130px 0; }
.inds-head { margin-bottom: 60px; max-width: 26em; }
.inds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.ind { border-top: 2px solid var(--ink); padding-top: 26px; }
.ind h3 { font-size: 1.2rem; margin-bottom: 12px; }
.ind p { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }
.ind .textlink { font-size: 0.9rem; }

/* ---------- process strip ---------- */
.proc { border-top: 1px solid var(--line); padding: 56px 0; }
.proc-in { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.proc-in .label { margin-right: 30px; }
.proc-step { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.proc-sep { color: var(--line); margin: 0 16px; font-size: 1.05rem; }

/* ---------- closing ---------- */
.close { padding: 150px 0; text-align: left; }
.close h2 { max-width: 13em; margin-bottom: 20px; }
.close p { color: var(--muted-dark); max-width: 32em; margin-bottom: 44px; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); padding: 72px 0 0; font-size: 0.92rem; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.ft-brand img { height: 66px; margin-bottom: 20px; }
.ft-brand p { color: var(--muted); font-size: 0.9rem; max-width: 22em; }
.ft h4 { font-family: var(--body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ft li { margin-bottom: 10px; }
.ft a { color: var(--ink); opacity: 0.78; }
.ft a:hover { opacity: 1; }
.ft address { font-style: normal; color: var(--muted); line-height: 1.7; }
.ft-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); }

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
  [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hd-nav { display: none; }
  .hd-burger { display: block; }
  .hd.open .hd-nav {
    display: flex; position: fixed; inset: 92px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: flex-start; padding: 36px 32px; gap: 22px; overflow-y: auto;
  }
  .hd.open .hd-nav > a, .hd.open .dd-t { font-size: 1.15rem; }
  .hd.open .dd-m { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 8px 0 0 16px; }
  .hd.open .hd-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hd.open .hd-burger span:nth-child(2) { opacity: 0; }
  .hd.open .hd-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-type { grid-template-columns: 1fr; gap: 36px; padding: 84px 0 64px; }
  .hero-right { padding-bottom: 0; }
  .stmt-grid, .bkh-grid { grid-template-columns: 1fr; gap: 56px; }
  .sols-head { grid-template-columns: 1fr; gap: 18px; }
  .row { grid-template-columns: 60px 1fr 40px; }
  .row-desc { display: none; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .proof-in { grid-template-columns: 1fr; gap: 28px; padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .sols, .bkh, .inds { padding: 88px 0; }
  .stmt, .close { padding: 96px 0; }
  .inds-grid { grid-template-columns: 1fr; gap: 36px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ft-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- inner pages ---------- */
.page-hero { padding: 104px 0 66px; border-bottom: 1px solid var(--line); }
.page-hero .label { display: block; margin-bottom: 26px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); max-width: 14em; margin-bottom: 22px; }
.page-hero .lead { max-width: 38em; }

.pbody { padding: 104px 0; }
.pbody-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 84px; align-items: start; }
.prose p { max-width: 36em; }
.prose p + p { margin-top: 18px; }
.dlist-h { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-bottom: 20px; }
.dlist { border-top: 1px solid var(--line); }
.dlist li { border-bottom: 1px solid var(--line); padding: 14px 4px; font-size: 0.97rem; display: flex; gap: 18px; }
.dlist .dn { font-family: var(--display); color: var(--muted); font-size: 0.85rem; padding-top: 2px; min-width: 26px; }

.inkbox { background: var(--ink); padding: 46px 50px; margin-top: 76px; }
.inkbox .label { color: var(--orange); display: block; margin-bottom: 12px; }
.inkbox h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.inkbox p { color: var(--muted-dark); max-width: 46em; }
.inkbox a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.5); font-weight: 600; font-size: 0.95rem; }
.inkbox a:hover { border-color: #fff; }
.note2 { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); max-width: 52em; }

/* products page */
.prod { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; padding: 70px 0; border-bottom: 1px solid var(--line); align-items: center; }
.prod:last-of-type { border-bottom: 0; }
.prod figure { background: #fff; border: 1px solid var(--line); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 34px; overflow: hidden; }
.prod img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.4s ease; }
.prod:hover img { transform: scale(1.03); }
.prod .label { display: block; margin-bottom: 12px; }
.prod h2 { font-size: 1.7rem; margin-bottom: 14px; }
.prod p { color: var(--muted); font-size: 0.98rem; max-width: 34em; }
.prod .textlink { display: inline-block; margin-top: 22px; }
.prod-plain { grid-template-columns: 1fr; }
.prod-plain p { max-width: 46em; }

/* industries */
.indsec { padding: 96px 0; border-bottom: 1px solid var(--line); }
.indsec:last-of-type { border-bottom: 0; }
.indsec h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 30px; max-width: 14em; }

/* why accent pillars & steps */
.pillars-l { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar-l { border-top: 2px solid var(--ink); padding-top: 24px; }
.pillar-l .n { font-family: var(--display); font-size: 0.85rem; color: var(--orange); letter-spacing: 0.1em; }
.pillar-l h3 { font-size: 1.2rem; margin: 10px 0 10px; }
.pillar-l p { font-size: 0.95rem; color: var(--muted); }
.steps-l { border-top: 1px solid var(--line); margin-top: 8px; }
.steps-l li { border-bottom: 1px solid var(--line); padding: 20px 4px; display: grid; grid-template-columns: 60px 220px 1fr; gap: 20px; align-items: baseline; }
.steps-l .dn { font-family: var(--display); color: var(--muted); font-size: 0.9rem; }
.steps-l h3 { font-size: 1.1rem; }
.steps-l p { font-size: 0.95rem; color: var(--muted); }

/* contact */
.contact-grid2 { display: grid; grid-template-columns: 7fr 4fr; gap: 84px; align-items: start; }
.f-alert { display: none; padding: 14px 18px; margin-bottom: 24px; border: 1px solid #C94F4F; color: #A33B3B; font-size: 0.95rem; }
.f-alert.on { display: block; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-field { margin-bottom: 22px; }
.f-field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 8px; color: var(--ink); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; padding: 14px 16px; font-family: var(--body); font-size: 0.97rem; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 2px; transition: border-color 0.15s;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--ink); }
.f-field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.c-info h3 { font-size: 1.05rem; margin-bottom: 10px; }
.c-block { border-top: 1px solid var(--line); padding: 24px 0; }
.c-block p, .c-block address { font-style: normal; color: var(--muted); font-size: 0.96rem; line-height: 1.7; }
.c-block a { color: var(--ink); border-bottom: 1px solid var(--line); }
.c-block a:hover { border-color: var(--ink); }

/* small dark CTA */
.close-sm { padding: 110px 0; }

/* centred utility pages */
.centerpage { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0; }
.centerpage .label { display: block; margin-bottom: 22px; }
.centerpage h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 18px; }
.centerpage p { color: var(--muted); max-width: 34em; margin-bottom: 36px; }

@media (max-width: 1060px) {
  .pbody-grid, .contact-grid2 { grid-template-columns: 1fr; gap: 56px; }
  .prod { grid-template-columns: 1fr; gap: 34px; }
  .pillars-l { grid-template-columns: 1fr; gap: 32px; }
  .steps-l li { grid-template-columns: 44px 1fr; }
  .steps-l p { grid-column: 2; }
}
@media (max-width: 640px) {
  .hd-logo img { height: 46px; }
  .page-hero { padding: 70px 0 48px; }
  .pbody, .indsec { padding: 70px 0; }
  .f-row { grid-template-columns: 1fr; }
  .inkbox { padding: 32px 26px; }
}

.ft address strong, .c-block address strong { color: var(--ink); font-weight: 600; }

/* ---------- photo bands ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band img { width: 100%; height: clamp(300px, 40vw, 540px); object-fit: cover; display: block; }
.ind-photo { margin-top: 48px; border: 1px solid var(--line); }
.ind-photo img { width: 100%; height: clamp(240px, 32vw, 440px); object-fit: cover; display: block; }

.ind-photo-top { margin: 0 0 44px; }
