/* Nexus HSE: site styles.
   Cinematic direction: full-bleed photography, a serif display voice, plain lists separated by
   hairlines, no cards, no labels above headings, no section numbers, no stat strips.
   Navy and safety orange come from the Nexus logo; orange is reserved for actions. */

:root {
  --night: #0A111C;
  --night-2: #101A29;
  --ink: #0E1624;
  --navy: #0B2A52;
  --paper: #F3F1EC;
  --white: #FFFFFF;
  --muted: #535D6C;
  --muted-dark: #A9B2C0;
  --rule: #D6D0C4;
  --rule-dark: rgba(255, 255, 255, .16);
  --orange: #E8711C;
  --orange-hover: #F38A3F;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --space: clamp(80px, 11vw, 168px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: #8D96A3 transparent; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--orange); color: var(--night); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7vw, 6rem); line-height: .98; letter-spacing: -.025em; font-weight: 500; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.02; }
h3 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.12; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--night); color: var(--white); padding: 10px 14px; }
.skip:focus { left: 12px; }

.lead { font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.55; }
.muted { color: var(--muted); }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65em;
  padding: 16px 24px; border: 0; border-radius: 2px; cursor: pointer;
  font: 600 1rem/1 var(--sans); text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.btn-primary { background: var(--orange); color: var(--night); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.arrow-link .icon { transition: transform .25s var(--ease); }
.arrow-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white);
  transition: transform .45s var(--ease), background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.hide { transform: translateY(-100%); }
.site-header.solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.nav { display: flex; align-items: center; gap: 36px; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; }
.brand .logo-dark { display: none; }
.solid .brand .logo-light { display: none; }
.solid .brand .logo-dark { display: block; }
.nav-panel { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-links a:hover { text-decoration: underline; }
.lang { display: flex; gap: 8px; font-size: .9rem; font-weight: 500; }
.lang a { text-decoration: none; opacity: .65; }
.lang a:hover { opacity: 1; }
.nav .btn { padding: 12px 18px; font-size: .94rem; }
.menu-btn {
  display: none; margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer;
  font: 600 .95rem/1 var(--sans); padding: 10px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: max(640px, 100svh); color: var(--white); background: var(--night); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 55%; animation: hero-zoom 26s cubic-bezier(.2, .6, .3, 1) both; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,17,28,.9) 0%, rgba(10,17,28,.45) 38%, rgba(10,17,28,0) 65%),
    linear-gradient(to bottom, rgba(10,17,28,.55) 0%, rgba(10,17,28,0) 22%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 9vh, 112px); }
.hero h1 { max-width: 11ch; }
.hero .lead { max-width: 33em; margin-top: 28px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 40px; }
.film { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 500; }
.film .ring {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); transition: background-color .25s ease, border-color .25s ease;
}
.film .ring .icon { width: 14px; height: 14px; margin-left: 2px; }
.film:hover .ring { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.dark { background: var(--night); color: #E7EBF1; }
.dark .muted { color: var(--muted-dark); }
.section-head { max-width: 56em; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { max-width: 20ch; }
.section-head .lead { margin-top: 24px; color: var(--muted); max-width: 38em; }
.dark .section-head .lead { color: var(--muted-dark); }

/* Intro statement */
.intro .statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.3vw, 2.85rem); line-height: 1.2; letter-spacing: -.015em;
  max-width: 27em; margin: 0;
}
.intro .support { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); }
.intro .support p { color: var(--muted); max-width: 36em; }

/* Fields: full-bleed photo triptych */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--night); }
.field { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 68vh, 700px); color: var(--white); overflow: hidden; }
.field img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.field:hover img { transform: scale(1.03); }
.field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,17,28,.88) 0%, rgba(10,17,28,.25) 50%, rgba(10,17,28,.05) 100%); }
.field-body { position: relative; z-index: 1; padding: 0 clamp(22px, 2.6vw, 40px) clamp(28px, 3vw, 44px); }
.field h3 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.field p { margin-top: 12px; max-width: 30ch; color: rgba(255,255,255,.84); }

/* Services: a typographic list */
.services { list-style: none; margin: 0; padding: 0; }
.service { display: grid; grid-template-columns: 4fr 8fr; gap: 16px clamp(32px, 6vw, 96px); padding: clamp(32px, 3.6vw, 48px) 0; border-top: 1px solid var(--rule); }
.service:last-child { border-bottom: 1px solid var(--rule); }
.service h3 { max-width: 14em; }
.service .what { font-size: 1.16rem; line-height: 1.5; max-width: 34em; }
.service .scope { color: var(--muted); margin-top: 12px; max-width: 38em; }
.service .arrow-link { margin-top: 18px; }
.osgb-note { margin-top: 36px; color: var(--muted); }
.osgb-note a { color: var(--ink); font-weight: 600; }

/* Quote band */
.band { position: relative; display: flex; align-items: center; min-height: clamp(540px, 86vh, 860px); color: var(--white); overflow: hidden; background: var(--night); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,28,.92) 0%, rgba(10,17,28,.7) 42%, rgba(10,17,28,.1) 78%); }
.band .wrap { position: relative; z-index: 1; width: 100%; }
.band blockquote { margin: 0; max-width: 15ch; font-family: var(--serif); font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.02em; }
.band cite { display: block; margin-top: 28px; font: 500 1rem/1.4 var(--sans); font-style: normal; color: rgba(255,255,255,.78); }

/* Track record */
.evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: clamp(48px, 6vw, 80px); }
.evidence img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.evidence figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted-dark); }
.record { list-style: none; margin: 0; padding: 0; }
.record li { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 8px 32px; padding: 24px 0; border-top: 1px solid var(--rule-dark); align-items: baseline; }
.record li:last-child { border-bottom: 1px solid var(--rule-dark); }
.record .yard { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.2; color: var(--white); }
.record .role { color: var(--muted-dark); }
.footnote { margin-top: 24px; font-size: .9rem; color: var(--muted-dark); max-width: 60em; }

/* Split layouts */
.split { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(36px, 6vw, 104px); align-items: start; }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-media .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.split-media .pair img { aspect-ratio: 1 / 1; }
.split-media figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.prose p { max-width: 36em; }
.prose h3 { margin: 48px 0 16px; }
.prose h3:first-child { margin-top: 0; }

.videos { list-style: none; margin: 8px 0 0; padding: 0; }
.videos a { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.videos li:last-child a { border-bottom: 1px solid var(--rule); }
.videos .ring { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); flex: none; transition: background-color .2s ease, color .2s ease; }
.videos .ring .icon { width: 12px; height: 12px; margin-left: 2px; }
.videos a:hover .ring { background: var(--ink); color: var(--paper); }
.videos .t { font-weight: 600; display: block; }
.videos .d { font-size: .93rem; color: var(--muted); display: block; }

/* Digital */
.digital-cover { position: relative; min-height: clamp(360px, 56vh, 560px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--night); }
.digital-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.digital-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,17,28,1) 0%, rgba(10,17,28,.55) 45%, rgba(10,17,28,.15) 100%); }
.digital-cover .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(32px, 4vw, 56px); }
.digital-cover .lead { margin-top: 20px; max-width: 32em; color: rgba(255,255,255,.86); }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 5vw, 64px) clamp(36px, 7vw, 112px); }
.product h3 { color: var(--white); }
.product p { margin-top: 12px; color: var(--muted-dark); max-width: 34em; }
.principle { margin: clamp(64px, 8vw, 112px) 0 0; max-width: 22ch; font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.02em; color: var(--white); }
.principle-note { margin-top: 20px; max-width: 40em; color: var(--muted-dark); }

/* OSGB teaser: deliberately small */
.osgb-teaser { padding: clamp(64px, 8vw, 112px) 0; }
.osgb-teaser .split { grid-template-columns: 7fr 4fr; align-items: center; }
.osgb-teaser h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.osgb-teaser .split-media img { aspect-ratio: 4 / 3; }

/* About */
.columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(36px, 6vw, 104px); }
.about-block { margin-top: clamp(64px, 8vw, 112px); }
.about-block > h3 { margin-bottom: 24px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin-bottom: 1em; max-width: 36em; }
.plain-list li:last-child { margin-bottom: 0; }
.plain-list strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: 4px; }
.person { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.person img { width: 100%; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person .role { color: var(--muted); margin: 8px 0 20px; }
.person p { max-width: 38em; }

/* Contact */
.contact { position: relative; color: var(--white); background: var(--night); overflow: hidden; }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,28,.55) 0%, rgba(10,17,28,.92) 60%, rgba(10,17,28,1) 100%); z-index: 0; }
.contact .wrap { position: relative; z-index: 1; }
.contact .section-head .lead { color: rgba(255,255,255,.8); }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); }
.form { display: grid; gap: 28px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field-line { display: flex; flex-direction: column; gap: 6px; }
.field-line label { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.85); }
.field-line input, .field-line select, .field-line textarea {
  width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 3px;
  background: var(--white); color: var(--ink); font: 400 1.05rem/1.4 var(--sans);
  caret-color: var(--orange); appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-line select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E1624' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; padding-right: 40px;
}
.field-line option { color: var(--ink); }
.field-line textarea { min-height: 120px; resize: vertical; }
.field-line input::placeholder, .field-line textarea::placeholder { color: #8A919C; }
.field-line input:focus, .field-line select:focus, .field-line textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,113,28,.35); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }
.text-btn { background: none; border: 0; padding: 0 0 3px; color: var(--white); font: 600 1rem/1 var(--sans); border-bottom: 1px solid currentColor; cursor: pointer; }
.text-btn:hover { color: var(--orange-hover); }
.form-note { font-size: .88rem; color: rgba(255,255,255,.6); }
.details { margin: 0; }
.details div + div { margin-top: 26px; }
.details dt { font-size: .9rem; color: rgba(255,255,255,.62); margin-bottom: 4px; }
.details dd { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.details a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.details a:hover { border-bottom-color: var(--orange); }

/* Footer */
.site-footer { background: var(--night-2); color: var(--muted-dark); padding: 72px 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 36px; }
.site-footer img { height: 34px; width: auto; margin-bottom: 20px; }
.site-footer h4 { margin: 0 0 14px; font: 600 .95rem/1.3 var(--sans); color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: .86rem; color: #7F8A9B; }

/* Inner pages (OSGB) */
.page-top { padding: calc(80px + clamp(56px, 8vw, 120px)) 0 clamp(56px, 7vw, 96px); }
.page-top .crumbs { margin: 0 0 28px; font-size: .92rem; color: var(--muted); }
.page-top .crumbs a { text-decoration: none; }
.page-top .crumbs a:hover { text-decoration: underline; }
.page-top h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); max-width: 14ch; }
.page-top .lead { margin-top: 28px; max-width: 36em; }
.page-top .note { margin-top: 16px; color: var(--muted); max-width: 40em; }
.page-top .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.page-top .tel { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.rule-top { border-top: 1px solid var(--rule); }
.law { margin-top: 40px; max-width: 46em; color: var(--muted); }
.law strong { color: var(--ink); }
.tests { columns: 2; column-gap: clamp(36px, 6vw, 96px); }
.tests div { break-inside: avoid; margin-bottom: 28px; }
.tests h3 { font-size: 1.45rem; margin-bottom: 6px; }
.tests p { color: var(--muted); }
.light-form .field-line label { color: var(--muted); }
.light-form .field-line input, .light-form .field-line select, .light-form .field-line textarea { border-color: #BDB6A6; }
.light-form .text-btn { color: var(--ink); }
.light-form .text-btn:hover { color: var(--orange); }
.light-form .form-note { color: var(--muted); }
.light-details dt { color: var(--muted); }
.light-details a { border-bottom-color: var(--rule); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .nav-panel { gap: 24px; }
}

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav-panel {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 12px var(--gutter) 32px; background: var(--paper); color: var(--ink);
    box-shadow: 0 1px 0 var(--rule);
  }
  .nav-panel.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.6rem; border-bottom: 1px solid var(--rule); }
  .nav-panel .btn { align-self: flex-start; }

  .section-head, .intro .support, .service, .split, .contact-grid, .columns-2 { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .fields { grid-template-columns: 1fr; }
  .field { min-height: 72vw; }
  .record li { grid-template-columns: 1fr 1fr; }
  .record .yard { grid-column: 1 / -1; }
  .products { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .person { grid-template-columns: 1fr; }
  .band::after { background: linear-gradient(90deg, rgba(10,17,28,.9) 0%, rgba(10,17,28,.6) 100%); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav { height: 68px; }
  .nav-panel { top: 68px; }
  .brand img { height: 34px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .field { min-height: 108vw; }
  .evidence { grid-template-columns: 1fr 1fr; }
  .evidence figure:last-child { display: none; }
  .record li { grid-template-columns: 1fr; gap: 4px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tests { columns: 1; }
}

/* Spacing details */
.prose > .lead { margin: 24px 0 28px; }
.digital-body { padding-top: clamp(56px, 7vw, 104px); }
.about-block h3 { margin-bottom: 20px; }
@media (max-width: 960px) {
  .osgb-teaser .split { grid-template-columns: 1fr; }
  .osgb-teaser .split-media { max-width: 480px; }
}

/* Record list on a light ground */
.record.light li { border-top-color: var(--rule); }
.record.light li:last-child { border-bottom-color: var(--rule); }
.record.light .yard { color: var(--ink); }
.record.light .role { color: var(--muted); }

.about-intro-line { margin: -4px 0 24px; max-width: 40em; }

/* =====================================================================
   Round 2: framed photos, Academy stage, video tiles, product explorer,
   about rows. Added after review on 6 Nov 2026.
   ===================================================================== */

/* Framed photographs: a paper mount and a soft, offset shadow */
.split-media img, .evidence img, .framed img {
  background: var(--white); padding: 10px;
  box-shadow: 0 26px 50px -26px rgba(10,17,28,.55), 0 2px 8px rgba(10,17,28,.12);
}
.dark .split-media img, .dark .evidence img, .dark .framed img { background: var(--paper); box-shadow: 0 34px 70px -30px rgba(0,0,0,.85); }
.evidence { align-items: start; gap: clamp(16px, 2.4vw, 32px); }
.evidence figure:nth-child(2) { margin-top: 56px; }
.evidence figure:nth-child(3) { margin-top: 24px; }

/* Academy: a wide stage for the talk, then a photo collage beside the programme */
.stage { position: relative; overflow: hidden; background: var(--night); color: var(--white); padding: clamp(88px, 11vw, 160px) 0; }
.stage-bg { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(30px) saturate(.75) brightness(.42); }
.stage .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.stage .lead { margin-top: 26px; color: rgba(255,255,255,.88); max-width: 30em; }
.stage-photo { justify-self: end; width: 100%; max-width: 600px; }
.stage-photo img { width: 100%; height: auto; background: var(--paper); padding: 12px; box-shadow: 0 50px 90px -34px rgba(0,0,0,.9); }
.stage-photo figcaption { margin-top: 16px; font-size: .95rem; color: rgba(255,255,255,.75); }
.academy-body { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.collage { position: relative; margin: 0; padding-bottom: 72px; }
.collage .main { width: 86%; aspect-ratio: 3 / 2; object-fit: cover; }
.collage .inset { position: absolute; right: 0; bottom: 34px; width: 44%; aspect-ratio: 1 / 1; object-fit: cover; }
.collage figcaption { position: absolute; left: 0; bottom: 0; width: 52%; font-size: .9rem; color: var(--muted); }
.collage img { background: var(--white); padding: 10px; box-shadow: 0 26px 50px -26px rgba(10,17,28,.55), 0 2px 8px rgba(10,17,28,.12); }
.academy-body .prose p { max-width: 34em; }

/* Field recordings: video tiles that look clickable */
.videos-block { margin-top: clamp(72px, 9vw, 128px); }
.videos-block h3 { margin-bottom: 28px; }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.video { display: block; text-decoration: none; }
.video .thumb { position: relative; display: block; overflow: hidden; background: var(--night); }
.video .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s var(--ease); }
.video:hover .thumb img { transform: scale(1.05); }
.video .play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--night);
  box-shadow: 0 10px 28px rgba(0,0,0,.4); transition: transform .3s var(--ease);
}
.video:hover .play { transform: scale(1.1); }
.video .play .icon { width: 16px; height: 16px; margin-left: 3px; }
.video .v-title { display: block; margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.01em; }
.video .v-desc { display: block; margin-top: 6px; font-size: .95rem; color: var(--muted); }
.video .v-cta { display: inline-flex; align-items: center; gap: .45em; margin-top: 12px; font-size: .95rem; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.video:hover .v-cta { color: var(--orange-ink, #B4530C); }

/* Nexus Digital: product explorer */
.explorer { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.tablist { display: grid; gap: 6px; }
.tab {
  display: flex; align-items: center; gap: 18px; width: 100%; padding: 18px 16px;
  background: transparent; border: 0; border-radius: 14px;
  color: var(--muted-dark); text-align: left; font: inherit; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.tab:hover { color: var(--white); background: rgba(255,255,255,.04); }
.tab[aria-selected="true"] { color: var(--white); background: rgba(255,255,255,.07); }
.tab-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.tab-icon svg, .panel-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-selected="true"] .tab-icon { background: var(--orange); border-color: var(--orange); color: var(--night); }
.tab-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.15; }
.tab-short { display: block; margin-top: 4px; font-size: .92rem; color: var(--muted-dark); }
.panels { position: sticky; top: 112px; }
.panel { padding: clamp(28px, 3.4vw, 48px); background: #111C2C; }
.panel[hidden] { display: none; }
.panel-head { display: flex; align-items: center; gap: 22px; }
.panel-icon { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--orange); color: var(--night); }
.panel-icon svg { width: 34px; height: 34px; }
.panel h3 { color: var(--white); font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.panel > p { margin-top: 26px; color: #C9D0DA; max-width: 40em; }
.flow { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow li { position: relative; padding-top: 46px; }
.flow li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--orange); color: var(--orange); font-size: .88rem; font-weight: 600;
}
.flow li::after { content: ""; position: absolute; top: 16px; left: 42px; right: -10px; height: 1px; background: rgba(232,113,28,.45); }
.flow li:last-child::after { display: none; }
.flow b { display: block; color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.flow span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.4; color: var(--muted-dark); }

/* About: one left rail of titles, content on the right, nothing zig-zags */
.about-intro { max-width: 46em; }
.about-intro p { color: var(--muted); font-size: 1.12rem; line-height: 1.6; }
.about-row { display: grid; grid-template-columns: 4fr 8fr; gap: 20px clamp(32px, 6vw, 96px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.about-intro + .about-row { margin-top: clamp(48px, 6vw, 80px); }
.about-row > h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.about-row .about-intro-line { margin: 0 0 24px; }
.stack-list { list-style: none; margin: 0; padding: 0; }
.stack-list li { max-width: 40em; }
.stack-list li + li { margin-top: 22px; }
.stack-list strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.stack-list.big li { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.3; letter-spacing: -.012em; }
.person-row .portrait { margin: 0; max-width: 300px; }
.person-row .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--white); padding: 10px; box-shadow: 0 26px 50px -26px rgba(10,17,28,.55); }
.person-row h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.person-row .role { margin: 8px 0 20px; color: var(--muted); }
.person-row p { max-width: 40em; }

@media (max-width: 960px) {
  .stage .wrap, .academy-body, .explorer, .about-row { grid-template-columns: 1fr; }
  .stage-photo { justify-self: start; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .panels { position: static; }
  .tablist { display: grid; grid-template-columns: 1fr 1fr; }
  .tab-short { display: none; }
  .evidence figure:nth-child(2), .evidence figure:nth-child(3) { margin-top: 0; }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: 1fr; }
  .tab { padding: 14px 8px; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li { padding: 0 0 0 48px; min-height: 32px; }
  .flow li::after { top: 40px; left: 16px; right: auto; bottom: -14px; width: 1px; height: auto; }
  .collage { padding-bottom: 0; }
  .collage .main { width: 100%; }
  .collage .inset { position: static; display: block; width: 100%; aspect-ratio: 3 / 2; margin: 16px 0 0; }
  .collage figcaption { position: static; width: auto; margin-top: 14px; }
}

/* =====================================================================
   Round 3: rounded frames, typewriter hero, grow-in photo, floating
   contact, email fallback. Added after second review on 6 Nov 2026.
   ===================================================================== */

/* Softer, modern corners */
.split-media img, .evidence img, .framed img, .collage img, .stage-photo img, .person-row .portrait img { border-radius: 20px; }
.video .thumb { border-radius: 16px; }
.panel { border-radius: 20px; }
.btn, .nav .btn { border-radius: 10px; }
.field-line input, .field-line select, .field-line textarea { border-radius: 10px; }

/* Hero heading: typed in with a soft glow that settles */
.hero h1 { text-shadow: 0 0 36px rgba(255, 255, 255, .16); }
.tw-word { white-space: nowrap; }
.tw-char { opacity: 0; animation: tw-in .8s var(--ease) forwards; }
@keyframes tw-in {
  0% { opacity: 0; text-shadow: 0 0 26px rgba(255, 196, 140, .95), 0 0 8px rgba(255, 255, 255, .9); }
  30% { opacity: 1; }
  100% { opacity: 1; text-shadow: 0 0 36px rgba(255, 255, 255, .16); }
}
.tw-caret {
  display: inline-block; width: 3px; height: .78em; margin-left: .1em; vertical-align: -.02em;
  background: var(--orange); border-radius: 2px; box-shadow: 0 0 14px rgba(232, 113, 28, .85);
  animation: tw-blink .9s steps(1) infinite;
}
.tw-caret.done { animation: tw-blink .9s steps(1) 3, tw-out .6s ease 2.7s forwards; }
@keyframes tw-blink { 50% { opacity: 0; } }
@keyframes tw-out { to { opacity: 0; } }

/* The Academy photo grows into place when it scrolls into view */
html.js .stage-photo { transform: scale(.84); opacity: .35; transition: transform 1.9s var(--ease), opacity 1.3s ease; }
html.js .stage-photo.in { transform: none; opacity: 1; }

/* Careers actions */
.career-actions { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 4px; }
.career-note { margin-top: 18px; font-size: .95rem; }
.career-note a { color: var(--ink); }

/* Floating WhatsApp and email */
.float-contact { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fc { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--white); box-shadow: 0 14px 30px -12px rgba(10, 17, 28, .6); transition: transform .25s var(--ease), box-shadow .25s ease; }
.fc:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 18px 36px -12px rgba(10, 17, 28, .7); }
.fc svg { width: 26px; height: 26px; }
.fc-wa { background: #25D366; }
.fc-mail { background: var(--navy); }

/* Shown when a mailto link did not open an email app */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: min(560px, calc(100vw - 32px));
  padding: 16px 20px; border-radius: 14px; background: var(--night); color: var(--white);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6); font-size: .98rem;
}
.toast strong { font-weight: 600; }
.toast button { margin-left: auto; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--orange); color: var(--night); font: 600 .92rem/1 var(--sans); cursor: pointer; }

@media (max-width: 640px) {
  .fc { width: 50px; height: 50px; }
  .fc svg { width: 23px; height: 23px; }
}
/* Floating buttons appear once the visitor has scrolled past the top of the page */
html.js .float-contact { opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s ease, transform .35s var(--ease); }
html.js .float-contact.show { opacity: 1; transform: none; pointer-events: auto; }

/* =====================================================================
   Round 4: field photo strip, gallery page and lightbox.
   ===================================================================== */

/* Home page strip: photos drift slowly, pause on hover, scroll by hand with reduced motion */
.field-strip { padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.strip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.strip-head .lead { margin-top: 16px; max-width: 32em; color: var(--muted); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 18px; width: max-content; padding: 8px 0 32px; animation: marquee 120s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.marquee a { flex: none; display: block; border-radius: 20px; }
.marquee img {
  height: clamp(220px, 26vw, 340px); width: auto; border-radius: 20px;
  background: var(--white); padding: 8px; box-shadow: 0 22px 44px -24px rgba(10,17,28,.55), 0 2px 6px rgba(10,17,28,.1);
  transition: transform .4s var(--ease);
}
.marquee a:hover img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; padding-left: var(--gutter); }
  .marquee .dup { display: none; }
}

/* Gallery page */
.gallery-grid { columns: 3 300px; column-gap: 22px; }
.gallery-item {
  display: block; width: 100%; margin: 0 0 22px; padding: 0; border: 0; border-radius: 20px;
  background: none; cursor: zoom-in; break-inside: avoid; text-align: left; font: inherit; color: inherit;
}
.gallery-item img {
  width: 100%; height: auto; border-radius: 20px; background: var(--white); padding: 8px;
  box-shadow: 0 22px 44px -24px rgba(10,17,28,.55), 0 2px 6px rgba(10,17,28,.1); transition: transform .4s var(--ease);
}
.gallery-item:hover img { transform: translateY(-3px); }
.gallery-item span { display: block; margin: 10px 4px 0; font-size: .92rem; color: var(--muted); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,17,28,.96); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(10,17,28,.7); }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 72px 0 32px; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 16px; }
.lightbox figcaption { margin-top: 16px; max-width: 46em; text-align: center; font-size: 1rem; color: rgba(255,255,255,.82); }
.lb-btn { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 clamp(8px, 2.4vw, 32px); border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); cursor: pointer; transition: background-color .2s ease; }
.lb-btn:hover { background: rgba(255,255,255,.1); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: 18px; right: 6px; }
.lb-count { position: absolute; top: 32px; left: clamp(16px, 3vw, 40px); font-size: .92rem; color: rgba(255,255,255,.7); }
@media (max-width: 640px) {
  .lb-btn { width: 42px; height: 42px; margin: 0 6px; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; padding: 64px 12px 84px; }
  .lightbox img { max-height: calc(100vh - 200px); }
}
