/* 17 Industries. Clarivus360 round four, Industries page.
   Contract: docs/03_design/ART-DIRECTION-v4.md sections 2, 9.0 and 9.2. Look, nav, footer and final call from 14b_final_short. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter-400.woff2?v=1dc044f4") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Inter-500.woff2?v=1dc044f4") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter-600.woff2?v=1dc044f4") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("/assets/fonts/InterTight-500.woff2?v=35babd43") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("/assets/fonts/InterTight-600.woff2?v=35babd43") format("woff2"); }

:root {
  --night: #050B1F;
  --navy: #0B183D;
  --slate: #12385C;
  --steel: #7C97B2;
  --teal: #1EA5A6;
  --teal-ink: #117A7B;
  --white: #FFFFFF;
  --paper: #F5F7FA;
  --ink: #0B1220;
  --muted: #5B6577;
  --line: #DDE3EA;
  --on-dark: #C9D3E1;
  --on-dark-muted: #93A3BA;
  --hair-dark: rgb(255 255 255 / 12%);

  --font-display: "Inter Tight", "Inter", Arial, sans-serif;
  --font-text: "Inter", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --nav-h: 84px;
  --content: 1260px;
  --gutter: 90px;
  --pad: 184px;
  --h-hero: 80px;
  --h-2: 72px;
  --h-2-xl: 96px;
  --support: 24px;
  --body: 19px;
  --radius: 28px;
}
@media (max-width: 1279px) { :root { --gutter: 56px; --h-hero: 72px; --h-2-xl: 84px; } }
@media (max-width: 1023px) { :root { --gutter: 32px; --pad: 128px; --h-hero: 60px; --h-2: 56px; --h-2-xl: 68px; } }
@media (max-width: 639px) { :root { --nav-h: 64px; --gutter: 20px; --pad: 96px; --h-hero: 40px; --h-2: 40px; --h-2-xl: 46px; --support: 20px; --body: 17px; --radius: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-text); font-size: var(--body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--teal); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--pad) 0; }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }


/* Small label with a teal rule */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--muted); margin-bottom: 28px; }
.eyebrow .rule { flex: none; width: 40px; height: 2px; background: var(--teal); border-radius: 2px; }
.eyebrow-dark { color: var(--on-dark-muted); }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px; background: var(--teal); color: var(--night); font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.pill:hover { background: var(--white); color: var(--navy); }
.pill-small { height: 36px; padding: 0 18px; font-size: 15px; }
.chev { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 500; color: var(--navy); text-decoration: none; }
.chev::after { content: "›"; font-size: 23px; line-height: 1; color: var(--teal-ink); transform: translateY(-1px); transition: transform 180ms var(--ease); }
.chev:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.chev:hover::after { transform: translate(3px, -1px); }
.chev-light { color: var(--white); }
.chev-light::after { color: var(--teal); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: transparent; border-bottom: 1px solid transparent; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), height 300ms var(--ease); }
.nav.is-scrolled { height: 68px; background: rgb(5 11 31 / 90%); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--hair-dark); }
.nav-inner { height: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 40px; }
.nav-logo { flex: none; display: block; }
.nav-logo img { width: 200px; height: auto; transition: width 300ms var(--ease); }
.nav.is-scrolled .nav-logo img { width: 190px; }
.nav-links { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-links a:not(.pill) { font-size: 15px; font-weight: 500; color: #DCE3EE; text-decoration: none; transition: color 160ms ease; }
.nav-links a:not(.pill):hover { color: var(--white); }
.nav-links a[aria-current="page"] { position: relative; color: var(--white); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--teal); }
.nav-cta { margin-left: 4px; }
.nav.is-solid, .nav.is-solid.is-scrolled { background: var(--night); border-bottom: 1px solid rgb(255 255 255 / 8%); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-menu { display: none; margin-left: auto; background: none; border: 0; padding: 8px 0; font-size: 16px; font-weight: 500; color: var(--white); cursor: pointer; }

/* ---------- 1 Opening: paper, typographic ---------- */
.opening { padding-top: calc(var(--nav-h) + 152px); padding-bottom: 168px; }
.opening .eyebrow { margin-bottom: 32px; }
.opening-title { font-family: var(--font-display); font-weight: 600; font-size: var(--h-hero); line-height: .98; letter-spacing: -0.028em; color: var(--navy); max-width: 11em; text-wrap: balance; }
.opening-line { font-size: var(--support); line-height: 1.42; color: var(--muted); max-width: 32ch; margin-top: 36px; text-wrap: balance; }

/* ---------- 2 Focus: the one big moment ---------- */
.focus-title { font-family: var(--font-display); font-weight: 600; font-size: 168px; line-height: .92; letter-spacing: -0.045em; color: var(--navy); }
.focus-photo { width: 100%; max-width: calc(1440px + 2 * var(--gutter)); margin: 88px auto 0; padding: 0 var(--gutter); }
.focus-photo img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: 78% 50%; border-radius: var(--radius); }
.focus-lines { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; margin-top: 88px; }
.focus-lines > * { max-width: 26ch; }
.focus-line { font-family: var(--font-display); font-weight: 500; font-size: 48px; line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.focus-line-quiet { font-family: var(--font-text); font-weight: 400; font-size: var(--support); line-height: 1.42; letter-spacing: 0; color: var(--muted); padding-top: 0; margin-top: 8px; max-width: 40ch; }
.focus-link { grid-column: 1 / -1; margin-top: 32px; max-width: none; }

/* ---------- 3 Also built for: two calm cards ---------- */
.also h2.eyebrow { margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; }
.card { background: none; border: 0; border-top: 1px solid #CDD6E0; border-radius: 0; padding: 40px 0 0; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.card-line { font-size: var(--support); line-height: 1.42; color: var(--muted); margin-top: 18px; max-width: 30ch; text-wrap: pretty; }
.card-note { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 40ch; }

/* ---------- 4 Others: quiet ---------- */
.others { padding: 152px 0; }
.others-col > * { max-width: 820px; }
.others-title { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.08; letter-spacing: -0.018em; color: var(--navy); text-wrap: balance; }
.others-line { font-size: 20px; line-height: 1.5; color: var(--muted); margin-top: 22px; max-width: 40ch; text-wrap: pretty; }
.others-list { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 32px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: #8590A2; }
.others-list li:not(:last-child)::after { content: "·"; margin: 0 10px; color: #B4BDCA; }

/* ---------- 5 Final call ---------- */
.final { position: relative; height: clamp(620px, 78vh, 820px); display: flex; align-items: center; overflow: hidden; isolation: isolate; color: var(--white); background: var(--night); }
.final-media { position: absolute; inset: 0; z-index: -2; }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.final-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(5 11 31 / 90%) 0%, rgb(5 11 31 / 76%) 36%, rgb(5 11 31 / 34%) 66%, rgb(5 11 31 / 42%) 100%),
  linear-gradient(0deg, rgb(5 11 31 / 70%) 0%, rgb(5 11 31 / 0%) 30%); }
.final-title { font-family: var(--font-display); font-weight: 600; font-size: 84px; line-height: 1.0; letter-spacing: -0.026em; max-width: 13ch; text-wrap: balance; }
.final .actions { margin-top: 52px; }
.final-note { font-size: 14px; color: var(--on-dark-muted); margin-top: 22px; }

/* ---------- Footer: the junk drawer ---------- */
.footer { background: var(--night); color: var(--on-dark); padding: 112px 0 48px; }
.footer-top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-bottom: 72px; border-bottom: 1px solid var(--hair-dark); }
.footer-brand img { width: 260px; height: auto; }
.footer-brand p { font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); margin-top: 28px; max-width: 36ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-h { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-cols li { font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); padding: 5px 0; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--white); }
.chev-small { font-size: 15px; color: var(--on-dark-muted); }
.chev-small::after { font-size: 19px; }
.footer-bottom { font-size: 14px; color: var(--on-dark-muted); padding-top: 28px; }
.footer-bottom a { text-decoration: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1279px) {
  .focus-title { font-size: 136px; }
}
@media (max-width: 1023px) {
  .nav-links a:not(.pill) { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .opening { padding-top: calc(var(--nav-h) + 112px); padding-bottom: 128px; }
  .focus-title { font-size: 104px; }
  .focus-photo, .focus-lines { margin-top: 64px; }
  .focus-line { font-size: 40px; }
  .focus-line-quiet { font-size: var(--support); }
  .focus-link { margin-top: 12px; }
  .cards { grid-template-columns: 1fr; }
  .others { padding: 120px 0; }
  .final-title { font-size: 68px; }
}

/* ---------- Phone ---------- */
@media (max-width: 639px) {
  .nav-logo img, .nav.is-scrolled .nav-logo img { width: 160px; }
  .nav.is-scrolled { height: 64px; }
  .nav-menu { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: rgb(5 11 31 / 96%); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair-dark); }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.pill) { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--hair-dark); }
  .nav-links a[aria-current="page"]:not(.pill) { color: var(--teal); }
  .nav-links a[aria-current="page"]::after { content: none; }
  .nav-cta { margin: 20px 0 0; height: 48px; font-size: 17px; }
  .nav.menu-open, .nav.is-solid.menu-open { background: var(--night); }

  .eyebrow .rule { width: 24px; }
  .final .actions { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 28px; }
  .pill { width: 100%; }
  .eyebrow { font-size: 16px; gap: 10px; margin-bottom: 20px; }

  .opening { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; }
  .opening .eyebrow { margin-bottom: 20px; }
  .opening-line { margin-top: 24px; }

  .focus-title { font-size: 60px; letter-spacing: -0.035em; }
  .focus-photo { margin-top: 40px; padding: 0; }
  .focus-photo img { border-radius: 0; aspect-ratio: 4 / 5; object-position: 82% 50%; }
  .focus-lines { margin-top: 40px; }
  .focus-line { font-size: 30px; }
  .focus-line-quiet { font-size: var(--support); }

  .also h2.eyebrow { margin-bottom: 28px; }
  .cards { gap: 40px; }
  .card { padding: 32px 0 0; }
  .card-title { font-size: 30px; }
  .card-line { margin-top: 14px; }

  .others { padding: 96px 0; }
  .others-title { font-size: 32px; }
  .others-line { font-size: 18px; }
  .others-list { flex-direction: column; gap: 8px; }
  .others-list li:not(:last-child)::after { content: none; }

  .final { display: block; height: auto; }
  .final-media { position: relative; height: 300px; }
  .final-media img { object-position: 50% 55%; }
  .final-scrim { inset: 0 0 auto 0; height: 300px; background: linear-gradient(180deg, rgb(5 11 31 / 30%) 0%, rgb(5 11 31 / 10%) 50%, rgb(5 11 31 / 100%) 100%); }
  .final-copy { padding-top: 8px; padding-bottom: 96px; }
  .final-title { font-size: 46px; }
  .final-note { text-align: center; }

  .footer { padding-top: 80px; }
  .footer-brand img { width: 240px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Opening settle ---------- */
.settle { animation: settle-in 1s var(--ease) both; }
.settle-1 { animation-delay: 120ms; }
.settle-2 { animation-delay: 260ms; }
@keyframes settle-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Reduced motion: end states at once ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .settle { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Opening with a photo on the right (round five) ---------- */
.opening-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.opening-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: #E6EBF1; }
.opening-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opening { padding-top: calc(var(--nav-h) + 96px); padding-bottom: 112px; }
.opening-title { font-size: var(--h-2-xl); }
@media (max-width: 1023px) { .opening-grid { gap: 40px; } }
@media (max-width: 767px) {
  .opening-grid { grid-template-columns: 1fr; gap: 36px; }
  .opening-photo { aspect-ratio: 3 / 2; }
  .opening { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px; }
}
