/* ==========================================================================
   TAG Industries
   Layout: a clean architectural grid. One family (Archivo), one accent (teal),
   black and white like the logo, photos from our buildings.
   ========================================================================== */
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  --ink: #111315;
  --ink-2: #2a2e32;
  --muted: #5f656a;
  --paper: #f5f6f4;
  --stone: #e6e8e5;
  --white: #ffffff;
  --line: rgba(17, 19, 21, .12);
  --teal: #0e7c7b;
  --teal-2: #0a6261;
  --teal-soft: #d8ecea;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --head-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.label::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.h1, .h2, .h3 { margin: 0; font-weight: 600; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 5.8vw, 5.2rem); }
.h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
.h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.2; font-stretch: 104%; letter-spacing: -.01em; }
.lead { font-size: clamp(1.06rem, 1.45vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 50ch; margin: 20px 0 0; }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 6px; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s; }
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-2); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--teal); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link i { font-style: normal; transition: transform .4s var(--ease); }
.link:hover i { transform: translateX(4px); }

/* ---------- header ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); color: var(--white); transition: background .35s, color .35s, box-shadow .35s; }
.head .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: block; flex: none; height: 52px; }
.logo img { height: 100%; width: auto; filter: invert(1); transition: filter .35s; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.login { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 6px; background: var(--teal); color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: .02em; transition: background .3s; }
.login:hover { background: var(--teal-2); }
.login svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; box-shadow: 0 7px 0 currentColor; transform: translateY(-3.5px); }
.head.is-solid { background: rgba(245, 246, 244, .92); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.head.is-solid .logo img { filter: none; }

.drawer { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--white); padding: 96px var(--gut) 40px; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer .d-link { font-size: 2rem; font-weight: 600; font-stretch: 108%; text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer .login { margin-top: 20px; height: 52px; justify-content: center; }
.drawer-close { position: absolute; top: 18px; right: var(--gut); height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(660px, 96svh); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.05); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 12, .6) 0%, rgba(8, 10, 12, .1) 32%, rgba(8, 10, 12, .35) 58%, rgba(8, 10, 12, .9) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--head-h) + 40px); padding-bottom: clamp(36px, 6vh, 60px); }
.hero .label { color: #9fd6d2; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(40px, 7vh, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.chips-k { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-right: 6px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); font-size: 14.5px; font-weight: 500; text-decoration: none;
  background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, border-color .3s, color .3s; }
.chip:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 150px) 0; }
.sec--tight { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .lead { margin: 0; justify-self: end; }
.center-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.center-head .label { justify-content: center; }
.center-head .lead { margin: 18px auto 0; }
.dark { background: var(--ink); color: var(--white); }
.dark .label { color: #7ccbc5; }
.dark .lead { color: rgba(255, 255, 255, .74); }

/* ---------- paths: who are you? ---------- */
.paths { display: grid; grid-template-columns: 320px 1fr; gap: 0; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--white); overflow: hidden; box-shadow: 0 40px 80px -60px rgba(17, 19, 21, .45); }
.tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--paper); }
.tab { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 6px 12px; align-items: center; padding: 22px 24px; text-align: left; border-bottom: 1px solid var(--line); transition: background .3s, color .3s; }
.tab:last-child { border-bottom: 0; }
.tab .n { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.tab b { font-weight: 600; font-size: 1.06rem; font-stretch: 104%; }
.tab small { grid-column: 2; font-size: 14px; color: var(--muted); line-height: 1.4; }
.tab::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(0); transition: transform .4s var(--ease); }
.tab:hover { background: var(--white); }
.tab[aria-selected="true"] { background: var(--white); }
.tab[aria-selected="true"]::after { transform: scaleY(1); }
.tab[aria-selected="true"] .n { color: var(--teal); }
.panels { position: relative; min-height: 560px; }
.panel { padding: clamp(28px, 4vw, 52px); animation: panelIn .55s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel .h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.panel .lead { max-width: 60ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 36px; background: var(--teal-soft); color: var(--teal-2); font-size: 14px; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.steps li::before { content: '0' counter(s); display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--teal); margin-bottom: 8px; }
.steps b { display: block; color: var(--ink); font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; }
.panel-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.panel-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---------- facts band ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.num { padding: 34px 24px 30px; border-left: 1px solid rgba(255, 255, 255, .16); }
.num:first-child { border-left: 0; padding-left: 0; }
.num b { display: block; font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 600; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .7); max-width: 24ch; }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.value:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(17, 19, 21, .45); border-color: transparent; }
.value svg { width: 40px; height: 40px; stroke: var(--teal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.value p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---------- process ---------- */
.process { max-width: 1040px; margin: 0 auto; }
.rail { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rail::before { content: ''; position: absolute; left: 10%; right: 10%; top: 23px; height: 2px; background: rgba(255, 255, 255, .16); }
.rail-fill { position: absolute; left: 10%; top: 23px; height: 2px; background: #7ccbc5; width: 0; transition: width .6s var(--ease); }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 6px; text-align: center; }
.stop i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; font-weight: 600; border: 2px solid rgba(255, 255, 255, .3); background: var(--ink); transition: background .4s, border-color .4s, color .4s; }
.stop b { font-weight: 600; font-size: 1rem; }
.stop[aria-selected="true"] i { background: #7ccbc5; border-color: #7ccbc5; color: var(--ink); }
.stop.is-done i { border-color: #7ccbc5; }
.stop-detail { max-width: 680px; margin: 40px auto 0; text-align: center; min-height: 6em; }
.stop-detail p { color: rgba(255, 255, 255, .78); font-size: 1.12rem; line-height: 1.6; margin: 0; animation: panelIn .5s var(--ease); }
.stop-detail p[hidden] { display: none; }

/* ---------- Salt Lake ---------- */
.valley { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.map { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 18px; }
.map svg { display: block; width: 100%; height: auto; }
.map .rng { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.map .lake { fill: var(--teal-soft); stroke: var(--teal); stroke-width: 1.2; opacity: 0; transition: opacity 1.2s var(--ease) .4s; }
.map .core { fill: rgba(14, 124, 123, .12); stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 4 4; opacity: 0; transition: opacity 1.2s var(--ease) 1.2s; }
.map text { font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .18em; fill: var(--muted); opacity: 0; transition: opacity 1s var(--ease) 1.4s; }
.map text.t-core { fill: var(--teal-2); }
.map.is-in .rng { stroke-dashoffset: 0; }
.map.is-in .lake, .map.is-in .core, .map.is-in text { opacity: 1; }
.points { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.points b { color: var(--ink); font-weight: 600; }

/* ---------- photo grids ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1096px; margin: 0 auto; }
.shot { margin: 0; }
.shot-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.shot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover .shot-img img { transform: scale(1.04); }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; }
.shot figcaption b { color: var(--ink); font-weight: 600; }
.dark .shot figcaption { color: rgba(255, 255, 255, .6); }
.dark .shot figcaption b { color: var(--white); }

/* ---------- team ---------- */
.team-photo { max-width: 1096px; margin: 0 auto clamp(40px, 5vw, 64px); }
.team-photo .shot-img { aspect-ratio: 16 / 8; }
.team-photo .shot-img img { object-position: 50% 30%; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person-img { aspect-ratio: 500 / 520; overflow: hidden; background: var(--stone); }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: grayscale(1); transition: filter .6s, transform 1.2s var(--ease); }
.person:hover .person-img img { filter: grayscale(0); transform: scale(1.03); }
.person-in { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.person .role { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin: 6px 0 14px; }
.person p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.person .link { margin-top: auto; align-self: flex-start; font-size: 14.5px; }

/* ---------- faq ---------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.12rem; font-weight: 600; font-stretch: 104%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 18px; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* ---------- careers ---------- */
.job { max-width: 880px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.job details { margin-top: 18px; border-top: 1px solid var(--line); }
.job summary { cursor: pointer; list-style: none; padding: 16px 0 6px; font-weight: 600; color: var(--teal-2); }
.job summary::-webkit-details-marker { display: none; }
.job h4 { margin: 18px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.job ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.job li { margin: 4px 0; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.direct { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.direct li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 15.5px; }
.direct span { color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; }
.direct a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.direct a:hover { border-color: var(--white); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3vw, 34px); }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--white); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; padding: 13px 14px; width: 100%; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #7ccbc5; background: rgba(255, 255, 255, .1); }
.form.is-check input:invalid { border-color: #e98a7a; }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .55); line-height: 1.5; }
.form-note a { color: inherit; }
.form-honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done { grid-column: 1 / -1; padding: 30px 0; }
.form-done b { display: block; font-size: 1.6rem; font-weight: 600; font-stretch: 108%; margin-bottom: 8px; }

/* ---------- footer ---------- */
.foot { background: #0a0b0c; color: rgba(255, 255, 255, .6); padding: 64px 0 40px; font-size: 14.5px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); flex-wrap: wrap; }
.foot .logo { height: 70px; }
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-nav a { color: var(--white); text-decoration: none; }
.foot-nav a:hover { color: #7ccbc5; }
.legal { margin: 26px 0 0; font-size: 13px; line-height: 1.6; max-width: 92ch; }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .head .wrap { gap: 12px; }
  .head .login { margin-left: auto; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths { grid-template-columns: 260px 1fr; }
}
@media (max-width: 860px) {
  :root { --head-h: 68px; }
  body { font-size: 16px; }
  .logo { height: 44px; }
  .sec-head, .valley, .contact { grid-template-columns: 1fr; gap: 20px; }
  .sec-head .lead { justify-self: start; }
  .paths { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; grid-template-columns: auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 16px 18px; }
  .tab .n, .tab small { display: none; }
  .tab::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; transform: scaleX(0); }
  .tab[aria-selected="true"]::after { transform: scaleX(1); }
  .panels { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding: 24px 16px; border-left: 0; }
  .num:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, .16); }
  .num:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .num:first-child { padding-left: 16px; }
  .rail { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stop b { font-size: 12.5px; }
  .grid3, .team { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .team-photo .shot-img { aspect-ratio: 4 / 3; }
  .form { grid-template-columns: 1fr; }
  .points li { grid-template-columns: 1fr; gap: 2px; }
  .direct li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 540px) {
  .values { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .head .login { padding: 0 14px; }
  .h1 { font-size: 2.45rem; }
  .chips-k { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
.lg-short { display: none; }
@media (max-width: 540px) { .head .lg-long { display: none; } .head .lg-short { display: inline; } }
.foot .login { height: 40px; }
.values { grid-auto-rows: 1fr; }

/* ============ Round 2: real map, four column buildings ============ */
.map { padding: 0; overflow: hidden; }
.map iframe { display: block; width: 100%; aspect-ratio: 1 / 1.05; border: 0; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid4 .shot-img { aspect-ratio: 1 / 1; }
@media (max-width: 860px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .map iframe { aspect-ratio: 4 / 3.4; }
}

/* ============ Round 3: proven process ============ */
.pp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-auto-rows: 1fr; position: relative; }
.pp-step { position: relative; display: flex; flex-direction: column; padding: 30px 26px 30px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .03);
  transition: transform .5s var(--ease), background .4s, border-color .4s; }
.pp-step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .24); }
.pp-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #7ccbc5; margin-bottom: 26px; }
.pp-ic svg { width: 30px; height: 30px; stroke: #7ccbc5; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pp-n { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: #7ccbc5; margin-bottom: 8px; }
.pp-step p { margin: 12px 0 0; color: rgba(255, 255, 255, .72); font-size: 15.5px; line-height: 1.6; }
.pp-step--on { background: var(--teal); border-color: var(--teal); }
.pp-step--on:hover { background: var(--teal-2); border-color: var(--teal-2); }
.pp-step--on .pp-ic { border-color: var(--white); }
.pp-step--on .pp-ic svg { stroke: var(--white); }
.pp-step--on .pp-n { color: var(--white); }
.pp-step--on p { color: rgba(255, 255, 255, .88); }

.loop-wrap { display: grid; grid-template-columns: 1fr 420px; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 960px; margin: clamp(56px, 7vw, 90px) auto 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .14); }
.loop-t { margin-bottom: 14px; }
.loop-d { color: rgba(255, 255, 255, .74); font-size: 1.08rem; line-height: 1.6; min-height: 3.4em; margin: 0; max-width: 40ch; }
.loop { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1; margin: 0 auto; }
.loop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.loop-arc { fill: none; stroke: #7ccbc5; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.loop-wrap.is-in .loop-arc { stroke-dashoffset: 0; }
.loop-wrap.is-in .loop-arc:nth-of-type(2) { transition-delay: .3s; } .loop-wrap.is-in .loop-arc:nth-of-type(3) { transition-delay: .6s; } .loop-wrap.is-in .loop-arc:nth-of-type(4) { transition-delay: .9s; }
.loop-dot { fill: #7ccbc5; }
.node { position: absolute; transform: translate(-50%, -50%); min-width: 116px; height: 42px; padding: 0 16px; border-radius: 42px; border: 1px solid rgba(255, 255, 255, .25); background: var(--ink);
  color: var(--white); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.node:hover { border-color: #7ccbc5; }
.node.is-on { background: #7ccbc5; border-color: #7ccbc5; color: var(--ink); }
.node--t { left: 50%; top: 15%; } .node--r { left: 85%; top: 50%; } .node--b { left: 50%; top: 85%; } .node--l { left: 15%; top: 50%; }
.loop-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 13px; font-weight: 600; letter-spacing: .4em; padding-left: .4em; color: rgba(255, 255, 255, .45); }
@media (max-width: 1100px) { .pp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .loop-wrap { grid-template-columns: 1fr; text-align: center; }
  .loop-copy .label { justify-content: center; }
  .loop-d { margin: 0 auto; }
  .loop { max-width: 340px; }
  .node { min-width: 96px; height: 38px; font-size: 11px; padding: 0 12px; }
}
@media (max-width: 540px) { .pp { grid-template-columns: 1fr; grid-auto-rows: 1fr; } }

/* Team names are images so full names are not indexed by search engines */
.name { margin: 0; }
.name-img { display: block; height: 1.2em; width: auto; max-width: 100%; }
