/* ============================================================
   TOKENS
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* JTECH brand kit: navy #001426, blue #00A1E0, white, black. */
  --ink:        #001426;
  --navy:       #001426;
  --navy-deep:  #001426;
  --paper:      #FFFFFF;
  --paper-2:    #F1F1F1;
  /* Text grays and rules are tints of the kit navy. */
  --body-c:     #293A49;
  --muted:      #5C6974;
  --line:       #D9DCDE;
  --line-dark:  rgba(255,255,255,.14);
  --line-input: #7A858E;
  /* Kit blue is only 2.93:1 against white. On light backgrounds use it for fills, bars
     and rules, with navy text on top. Use it as text only on navy (6.36:1). */
  --accent:     #00A1E0;
  --accent-lt:  #00A1E0;
  --on-navy:    rgba(255,255,255,.82);
  --on-navy-2:  rgba(255,255,255,.64);

  /* ConthraxSb, the kit's primary font, appears in the logo artwork only. Its free licence
     excludes web embedding, so page text uses Montserrat, the kit's secondary font. */
  --f-display: 'Montserrat', -apple-system, sans-serif;
  --f-body:    'Montserrat', -apple-system, sans-serif;

  --t-h1: clamp(2.35rem, 1.5rem + 3vw, 4rem);
  --t-h2: clamp(1.75rem, 1.25rem + 1.7vw, 2.55rem);

  --wrap: 1140px;
  --r: 6px;
  --ease: cubic-bezier(.33,1,.68,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body-c);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: #fff; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible, footer :focus-visible,
#lightbox :focus-visible { outline-color: var(--accent-lt); }
section:focus-visible, [tabindex="-1"]:not(.form-status):focus-visible { outline: none; }
body:has(dialog[open]) { overflow: hidden; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 3000;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--r) var(--r);
  font-weight: 600; font-size: .95rem;
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 0; }

/* ============================================================
   PRIMITIVES
============================================================ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.kicker {
  font-size: .9rem; font-weight: 600; color: var(--ink);
  margin-bottom: 16px;
}
/* Short blue bar, echoing the dash in the logo's E */
.kicker::before, .svc-n::before {
  content: ""; display: inline-block; width: 26px; height: 3px;
  margin-right: 10px; vertical-align: middle;
  background: var(--accent);
}
.dark .kicker { color: var(--accent-lt); }

.h2 {
  font-family: var(--f-display);
  font-size: var(--t-h2); font-weight: 700;
  line-height: 1.16; letter-spacing: -.012em;
  color: var(--ink);
  max-width: 20ch; text-wrap: balance;
  margin-bottom: 20px;
}
.dark .h2 { color: #fff; }

.lede { font-size: 1.06rem; line-height: 1.65; max-width: 56ch; color: var(--body-c); }
.dark .lede { color: var(--on-navy); }

.section { padding: 112px 0; }
#services, #faq { padding-top: 0; }
.dark { background: var(--navy); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: var(--r);
  font-family: var(--f-body); font-size: .92rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-input); }
.btn-secondary:hover { border-color: var(--ink); background: rgba(0,20,38,.04); }
.dark .btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.dark .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.dark .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-fill { fill: currentColor; stroke: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: border-color .18s;
}
.text-link:hover { border-color: var(--ink); }
.text-link .ic { width: 16px; height: 16px; }
.dark .text-link { color: #fff; border-color: var(--accent-lt); }
.dark .text-link:hover { border-color: #fff; }

/* ============================================================
   HEADER
============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
#header.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 32px; width: auto; }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); list-style: none; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--body-c); padding: 6px 0; white-space: nowrap; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-tel { font-size: .86rem; font-weight: 500; color: var(--muted); white-space: nowrap; padding: 6px 0; }
.nav-tel:hover { color: var(--ink); }
.nav-cta .btn { padding: 10px 15px; font-size: .85rem; position: relative; }

.ham {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--r);
  align-items: center; justify-content: center; color: var(--ink);
}
.ham .ic { width: 24px; height: 24px; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: var(--navy-deep);
  flex-direction: column; padding: 18px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: 52px; margin-bottom: 36px; }
.mm-logo { height: 28px; width: auto; }
.mm-close {
  background: none; border: 1px solid var(--line-dark); cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.mm-links { list-style: none; }
.mm-links a {
  display: block; color: #fff; font-family: var(--f-display); font-weight: 600;
  font-size: 1.45rem; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mm-links a.small { font-family: var(--f-body); font-size: 1.05rem; font-weight: 500; color: var(--on-navy); }
.mm-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.mm-note { margin-top: 26px; font-size: .95rem; color: var(--on-navy-2); }

/* ============================================================
   HERO: text on paper, photograph to the edge
============================================================ */
#hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: min(100vh, 780px); padding-top: 74px;
}
.hero-copy {
  padding: 72px 56px 64px max(24px, calc((var(--vw, 100vw) - var(--wrap)) / 2 + 24px));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-where { font-size: 1rem; font-weight: 500; color: var(--muted); margin-bottom: 28px; }
.hero-h1 {
  font-family: var(--f-display);
  font-size: var(--t-h1); font-weight: 700;
  line-height: 1.08; letter-spacing: -.02em;
  color: var(--ink); max-width: 12ch;
  margin-bottom: 28px; text-wrap: balance;
}
.hero-lede { font-size: 1.08rem; line-height: 1.65; max-width: 46ch; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust { font-size: .92rem; color: var(--muted); max-width: 46ch; }
.hero-trust a { color: var(--ink); font-weight: 500; border-bottom: 2px solid var(--accent); }
.hero-trust a:hover { border-color: var(--ink); }

#hero-photo { position: relative; display: flex; flex-direction: column; background: var(--paper-2); }
#hero-photo img { flex: 1; width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: 62% 50%; }
.hero-cap {
  font-size: .9rem; color: var(--muted);
  padding: 14px 24px 14px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* stats strip */
#stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 30px 28px 30px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat .num { font-family: var(--f-display); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.stat .lbl { font-size: .92rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   WHO WE HELP
============================================================ */
.who-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.who { padding: 30px 26px 8px 0; border-bottom: 1px solid var(--line); }
.who + .who { padding-left: 26px; border-left: 1px solid var(--line); }
.who h3 { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.who p { font-size: .92rem; line-height: 1.55; color: var(--muted); padding-bottom: 22px; }

/* ============================================================
   SERVICES: editorial rows
============================================================ */
#services .section-head { margin-bottom: 20px; }
.svc {
  display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center;
  padding: 64px 0; border-top: 1px solid var(--line);
}
.svc:last-of-type { border-bottom: 1px solid var(--line); }
.svc.flip .svc-text { order: 2; }
.svc.flip .svc-media { order: 1; }
.svc-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.svc-media figcaption { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.svc-n { font-family: var(--f-display); font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.svc h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.012em; line-height: 1.16; color: var(--ink); margin-bottom: 8px; }
.svc .sub { font-size: 1.02rem; color: var(--muted); margin-bottom: 20px; }
.svc p.desc { max-width: 52ch; margin-bottom: 22px; }
.svc-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; max-width: 52ch; margin-bottom: 28px; }
.svc-list li { font-size: .92rem; color: var(--body-c); }
.svc-list li + li::before { content: '·'; color: var(--line-input); margin: 0 10px; }
.svc.no-media { grid-template-columns: 5fr 7fr; align-items: start; }
.svc.no-media .svc-text { order: 0; }

/* ============================================================
   TRAILER: product showcase
============================================================ */
#trailers { color: #fff; }
.tr-head { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.tr-head .lede { max-width: 50ch; }
.tr-head-cta { display: flex; justify-content: flex-end; }
.tr-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 70%; border-radius: 3px; }
.tr-specs { font-size: .95rem; color: var(--on-navy-2); margin-top: 14px; }
.tr-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-top: 1px solid var(--line-dark); }
.tr-fact { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line-dark); }
.tr-fact + .tr-fact { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.tr-fact h3 { font-family: var(--f-display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; color: #fff; margin-bottom: 8px; }
.tr-fact p { font-size: .92rem; color: var(--on-navy); line-height: 1.55; }
.tr-uses { margin-top: 36px; display: flex; gap: 12px 0; flex-wrap: wrap; align-items: baseline; font-size: 1rem; color: var(--on-navy); }
.tr-uses strong { color: #fff; font-weight: 600; margin-right: 14px; }
.tr-uses span + span::before { content: '·'; color: var(--on-navy-2); margin: 0 12px; }
.hp-mock img { width: 100%; height: auto; display: block; border-radius: 6px; border: 1px solid var(--line-dark); box-shadow: 0 18px 48px rgba(0,0,0,.45); }

/* ============================================================
   PROJECTS: editorial grid
============================================================ */
.proj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.proj-head .h2 { margin-bottom: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter {
  background: none; border: none; cursor: pointer;
  font-family: var(--f-body); font-size: .92rem; font-weight: 500; color: var(--muted);
  padding: 12px 8px; min-width: 44px;
  transition: color .15s;
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }

.proj-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px; grid-auto-flow: dense; gap: 18px;
}
.p-a { grid-column: span 8; grid-row: span 4; }
.p-b { grid-column: span 4; grid-row: span 4; }
.p-c { grid-column: span 3; grid-row: span 3; }
.p-d { grid-column: span 4; grid-row: span 2; } /* two stack beside a .p-a; the tile is close to 16:9 */
.proj-grid.filtered { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.proj-grid.filtered .proj-item-wrap { grid-column: auto; grid-row: auto; }
.proj-grid.filtered .proj-media { aspect-ratio: 4/3; flex: none; }
.proj-item {
  border: none; padding: 0; background: none; text-align: left;
  cursor: zoom-in; display: flex; flex-direction: column; width: 100%; height: 100%;
}
.proj-media { flex: 1; min-height: 0; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.proj-item:hover .proj-media img { transform: scale(1.03); }
/* JTECH mark on every tile; the lightbox (-full.jpg) photos have it built in */
.proj-media { position: relative; }
.proj-media::after {
  content: ""; position: absolute; right: 10px; bottom: 10px;
  width: clamp(64px, 20%, 120px); aspect-ratio: 360 / 104;
  background: url(images/logo-badge.png) center / contain no-repeat;
  opacity: .9; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); pointer-events: none;
}
.proj-cap { font-size: .93rem; color: var(--body-c); padding: 10px 0 0; line-height: 1.4; }
.proj-cap span { color: var(--muted); }
.proj-more { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.proj-more p { color: var(--muted); }

#lightbox { border: none; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: fit-content; }
#lightbox:not([open]) { display: none; }
#lightbox::backdrop { background: rgba(0,20,38,.94); }
.lb-card img { display: block; width: auto; height: auto; max-width: min(1200px, 94vw); max-height: 80vh; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px 0; }
.lb-bar p { font-size: .95rem; color: var(--on-navy); }
.lb-close {
  background: none; border: none; color: #fff; cursor: pointer;
  width: 40px; height: 40px; border-radius: var(--r); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(255,255,255,.1); }

/* ============================================================
   HOW WE WORK
============================================================ */
#process { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 16px; }
.step { padding: 34px 30px 10px 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--f-display); font-size: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 20px; letter-spacing: -.02em; }
.step .n::after { content: ""; display: block; width: 26px; height: 3px; margin-top: 14px; background: var(--accent); }
.step h3 { font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.step p { font-size: .92rem; color: var(--muted); line-height: 1.6; padding-bottom: 24px; }

/* ============================================================
   ABOUT / TRUST
============================================================ */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; }
.about-copy p + p { margin-top: 18px; }
.about-copy .lede { margin-bottom: 0; }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 7rem 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts .k { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; }
.facts .k.sm { font-size: .95rem; font-weight: 600; }
.facts .v { font-size: .92rem; color: var(--body-c); line-height: 1.55; }
.quote-card { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin-top: 28px; }
.quote-card p { font-size: 1.1rem; color: var(--ink); }
.quote-card cite { display: block; margin-top: 8px; font-style: normal; color: var(--muted); }

/* ============================================================
   FAQ: editorial accordion
============================================================ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .2s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; max-width: 60ch; color: var(--body-c); }
.faq-note { margin-top: 28px; color: var(--muted); font-size: 1rem; }
.faq-note a { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--accent); }
.faq-note a:hover { border-color: var(--ink); }

/* ============================================================
   CONTACT
============================================================ */
#quote { border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.contact-list { list-style: none; border-top: 1px solid var(--line); margin-top: 36px; }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list .k { font-size: .95rem; color: var(--muted); }
.contact-list .v { font-size: 1rem; font-weight: 600; color: var(--ink); }
.contact-list .v.reg { font-weight: 400; color: var(--body-c); font-size: 1rem; }
.contact-list a.v:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.q-social { display: flex; gap: 18px; margin-top: 26px; }
.q-social a { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.q-social a:hover { color: var(--ink); }

.form-head h3 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-head p { color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-lbl { display: block; font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-lbl .opt { font-weight: 400; color: var(--muted); }
.form-ctrl {
  width: 100%; padding: 13px 14px; border-radius: var(--r);
  border: 1.5px solid var(--line-input); background: #fff;
  font-size: 1rem; color: var(--ink); font-family: var(--f-body);
  transition: border-color .15s, box-shadow .15s;
}
.form-ctrl:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,161,224,.35); }
.form-ctrl::placeholder { color: var(--muted); }
textarea.form-ctrl { resize: vertical; min-height: 110px; }
select.form-ctrl { cursor: pointer; }
.form-btn { width: 100%; padding: 16px; font-size: 1rem; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.form-status {
  display: none; margin-top: 20px;
  border-left: 3px solid var(--accent); padding: 4px 0 4px 18px;
  font-size: .92rem; color: var(--body-c); line-height: 1.65;
}
.form-status.show { display: block; }
.form-status strong { display: block; color: var(--ink); margin-bottom: 4px; }
.form-status a { color: var(--ink); font-weight: 600; text-decoration: underline; }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--navy-deep); color: var(--on-navy); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 56px; }
.foot-logo { height: 30px; width: auto; margin-bottom: 18px; }
.foot-tag { font-size: .92rem; line-height: 1.65; max-width: 34ch; color: var(--on-navy-2); }
.foot-h { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: .92rem; color: var(--on-navy-2); transition: color .15s; }
.foot-links a:hover { color: #fff; }
.foot-contact { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; color: var(--on-navy-2); }
.foot-contact a:hover { color: #fff; }
.foot-social { display: flex; gap: 18px; margin-top: 16px; }
.foot-social a { color: var(--on-navy-2); display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; }
.foot-social a:hover { color: #fff; }
.foot-bar { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--on-navy-2); }

/* mobile action bar */
.mob-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr; gap: 10px;
}
.mob-bar .btn { padding: 13px 10px; font-size: .95rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
  .who:nth-child(3n+1) { padding-left: 0; border-left: none; }
  .svc { gap: 48px; }
  .about-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; gap: 52px; }
  .tr-head { grid-template-columns: 1fr; gap: 24px; }
  .tr-head-cta { justify-content: flex-start; }
  .p-a { grid-column: span 12; }
  .p-b { grid-column: span 6; grid-row: span 3; }
  .p-c { grid-column: span 6; }
  .p-d { grid-column: span 6; grid-row: span 3; }
  .proj-item-wrap:last-child { grid-column: span 12; grid-row: span 4; }
}

@media (max-width: 1000px) { .nav-tel { display: none; } }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .ham { display: flex; }
  .nav-cta .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav-cta .btn { padding: 11px 13px; }
  .section { padding: 84px 0; }
  #hero { grid-template-columns: 1fr; min-height: 0; }
  #hero-photo { order: -1; }
  .hero-copy { padding: 28px 24px 44px; }
  #hero-photo img { min-height: 0; aspect-ratio: 16/10; height: auto; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 20px 0; }
  .stat + .stat { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
  .svc, .svc.no-media { grid-template-columns: 1fr; gap: 30px; padding: 52px 0; }
  .svc .svc-text { order: 2; }
  .svc .svc-media { order: 1; }
  .tr-facts { grid-template-columns: 1fr 1fr; }
  .tr-fact:nth-child(odd) { padding-left: 0; border-left: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd) { padding-left: 0; border-left: none; }
  .step { padding-top: 28px; }
}

@media (max-width: 700px) {
  .who-grid { grid-template-columns: 1fr; }
  .who { padding-left: 0 !important; border-left: none !important; }
  .proj-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 16px; }
  .p-a, .p-b, .p-c, .p-d { grid-column: span 1; grid-row: auto; }
  .p-a, .proj-item-wrap:last-child { grid-column: span 2; }
  .proj-grid.filtered { grid-template-columns: 1fr 1fr; }
  .proj-grid.filtered .proj-item-wrap { grid-column: span 1; }
  .proj-media { aspect-ratio: 4/3; flex: none; }
  .form-row { grid-template-columns: 1fr; }
  .tr-facts { grid-template-columns: 1fr; }
  .tr-fact { padding-left: 0 !important; border-left: none !important; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-left: 0 !important; border-left: none !important; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .facts li, .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .hero-ctas .btn { width: 100%; }
  .mob-bar { display: grid; }
  body { padding-bottom: 74px; }
}

@media (max-width: 460px) {
  .proj-grid, .proj-grid.filtered { grid-template-columns: 1fr; }
  .p-a, .proj-item-wrap:last-child { grid-column: span 1; } /* the 700px rule's span 2 would add a skinny extra column */
  .filters { gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
}

/* ============================================================
   SHARED LINK ROWS
============================================================ */
.svc-links { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.tr-page-link { margin-top: 28px; }

/* ============================================================
   SERVICE PAGES
============================================================ */
#hero.page-hero { min-height: min(86vh, 620px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-input); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-h1 {
  font-family: var(--f-display);
  font-size: clamp(2.05rem, 1.35rem + 2.3vw, 3.25rem); font-weight: 700;
  line-height: 1.12; letter-spacing: -.018em;
  color: var(--ink); margin-bottom: 22px; text-wrap: balance;
}
.hero-panel {
  display: flex; flex-direction: column; justify-content: center; color: #fff;
  background: var(--navy);
  padding: 56px max(24px, calc((var(--vw, 100vw) - var(--wrap)) / 2 + 24px)) 56px 56px;
}
.hero-panel h2 { font-size: .9rem; font-weight: 600; color: var(--accent-lt); margin-bottom: 18px; }
.hero-panel ul { list-style: none; }
.hero-panel li { font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; padding: 15px 0; border-top: 1px solid var(--line-dark); }
.hero-panel li:last-child { border-bottom: 1px solid var(--line-dark); }

.section.tint { background: var(--paper-2); }
.section.flush { padding-top: 0; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.feat { padding: 28px 26px 22px 0; border-bottom: 1px solid var(--line); }
.feat:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.feat h3 { font-family: var(--f-display); font-size: 1.06rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.feat p { font-size: .92rem; line-height: 1.6; color: var(--muted); }
.feat a, .inline-link { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--accent); }

.page-split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.photo-grid.two { grid-template-columns: 1fr 1fr; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; background: var(--paper-2); }
.photo-grid figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.4; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.related-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 26px; border-top: 1px solid var(--line); margin-top: 8px; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; height: 100%; font-weight: 600; font-size: .95rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.related-list a:hover { border-bottom-color: var(--accent); }
.related-list .ic { width: 16px; height: 16px; }

@media (max-width: 860px) {
  #hero.page-hero { min-height: 0; }
  .hero-panel { padding: 36px 24px; }
  .page-split { grid-template-columns: 1fr; gap: 36px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(n) { padding-left: 26px; border-left: 1px solid var(--line); }
  .feat:nth-child(odd) { padding-left: 0; border-left: none; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .related-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat:nth-child(n) { padding-left: 0; border-left: none; }
}
@media (max-width: 460px) {
  .photo-grid, .photo-grid.two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
