/* Avyaan Tech
   Outfit is used under the SIL Open Font License. See fonts/OFL.txt. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f4f1;
  --glow-1: rgba(196, 22, 28, 0.1);
  --glow-2: rgba(70, 100, 255, 0.08);
  --text: #141821;
  --muted: #3d4451;
  --soft: #5c6573;
  --line: rgba(20, 24, 33, 0.12);
  --header-bg: rgba(246, 244, 241, 0.9);
  --nav: #3d4451;
  --nav-hover: #141821;
  --nav-hover-bg: rgba(20, 24, 33, 0.06);
  --surface: #ffffff;
  --card-bg: linear-gradient(180deg, #ffffff, #fbfaf8);
  --stage-bg: linear-gradient(180deg, #ffffff, #f7f5f2);
  --stage-line: rgba(20, 24, 33, 0.1);
  --shadow: 0 22px 50px rgba(20, 24, 33, 0.08);
  --accent-soft: #9d0c14;
  --link: #9d0c14;
  --pill: #9d0c14;
  --pill-bg: rgba(196, 22, 28, 0.1);
  --chip: #141821;
  --chip-bg: rgba(20, 24, 33, 0.05);
  --input-bg: #ffffff;
  --input-text: #141821;
  --input-border: rgba(20, 24, 33, 0.18);
  --footer-bg: #ffffff;
  --footer-link: #141821;
  --footer-muted: #3d4451;
  --cookie-bg: #ffffff;
  --cookie-link: #9d0c14;
  --menu-bg: rgba(255, 252, 248, 0.98);
  --ghost-border: rgba(20, 24, 33, 0.22);
  --ghost-bg: transparent;
  --hero-grad: linear-gradient(110deg, #141821 15%, #c4161c 90%);
  --note: #3d2a08;
  --marquee: #3d4451;
  --brand: #141821;
  --bar: #141821;
  --hover-border: rgba(196, 22, 28, 0.4);
  --ok: #0f6e56;
  --status-bg: rgba(15, 110, 86, 0.1);
  --status: #0f3d32;
  --btn-light-bg: #141821;
  --btn-light-text: #ffffff;
  --alt: linear-gradient(180deg, rgba(20, 24, 33, 0.035), transparent 30%, transparent 70%, rgba(20, 24, 33, 0.03));
  --red: #ff4454;
  --red-btn: #c4161c;
  --red-deep: #8e1016;
  --focus: #0b5fff;
  --max: 1160px;
  --header: 76px;
  --radius: 22px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080d;
  --glow-1: rgba(255, 60, 80, 0.18);
  --glow-2: rgba(70, 100, 255, 0.12);
  --text: #f5f7fb;
  --muted: #c5ccd8;
  --soft: #b7c0ce;
  --line: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(7, 8, 13, 0.78);
  --nav: #d5dbe8;
  --nav-hover: #ffffff;
  --nav-hover-bg: rgba(255, 255, 255, 0.06);
  --surface: rgba(255, 255, 255, 0.04);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  --stage-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  --stage-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --accent-soft: #ffb4bc;
  --link: #ffc6cb;
  --pill: #ffd0d4;
  --pill-bg: rgba(255, 68, 84, 0.12);
  --chip: #e8edf5;
  --chip-bg: rgba(255, 255, 255, 0.06);
  --input-bg: #0c0f16;
  --input-text: #ffffff;
  --input-border: rgba(255, 255, 255, 0.14);
  --footer-bg: #05060a;
  --footer-link: #e7ebf3;
  --footer-muted: #aeb6c4;
  --cookie-bg: #12151e;
  --cookie-link: #ffffff;
  --menu-bg: rgba(10, 12, 18, 0.98);
  --ghost-border: rgba(255, 255, 255, 0.18);
  --ghost-bg: rgba(255, 255, 255, 0.04);
  --hero-grad: linear-gradient(110deg, #fff 20%, #ffb7be 55%, #ff7a86);
  --note: #f8edd8;
  --marquee: #d5dbe8;
  --brand: #ffffff;
  --bar: #ffffff;
  --hover-border: rgba(255, 90, 104, 0.45);
  --ok: #7ddec0;
  --status-bg: rgba(125, 222, 192, 0.1);
  --status: #e7fff6;
  --btn-light-bg: #ffffff;
  --btn-light-text: #111111;
  --alt: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.02));
  --focus: #8eb6ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--glow-1), transparent 55%),
    radial-gradient(900px 420px at -10% 8%, var(--glow-2), transparent 50%),
    var(--bg);
  overflow-wrap: break-word;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: rgba(255, 68, 84, 0.35);
  color: var(--text);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: white;
  color: #111;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.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: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede,
.intro {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

h1,
h2,
.wordmark__name {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}

.btn--primary {
  background: linear-gradient(180deg, #e0242c, var(--red-btn));
  color: white;
  box-shadow: 0 10px 30px rgba(196, 22, 28, 0.35);
}

.btn--primary:hover {
  background: var(--red-deep);
}

.btn--ghost {
  border-color: var(--ghost-border);
  color: var(--text);
  background: var(--ghost-bg);
}

.btn--ghost:hover {
  border-color: var(--hover-border);
  background: var(--nav-hover-bg);
}

.btn--light {
  background: var(--btn-light-bg);
  color: var(--btn-light-text);
}

.btn--light:hover {
  filter: brightness(0.92);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
  flex: none;
  object-fit: contain;
  background: transparent;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brand);
  text-decoration: none;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark__name {
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark__tech {
  margin-top: 0.28rem;
  color: var(--soft);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ghost-bg);
  color: var(--text);
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
}

.theme-toggle__sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ghost-bg);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bar);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.7rem;
  color: var(--nav);
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--nav-hover);
  background: var(--nav-hover-bg);
}

.site-nav .nav-cta {
  margin-left: 0.4rem;
  padding-inline: 1.1rem;
  color: white;
  background: linear-gradient(180deg, #e0242c, var(--red-btn));
}

.site-nav .nav-cta:hover {
  background: var(--red-deep);
}

.cookie-notice {
  background: var(--cookie-bg);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.cookie-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.95rem;
}

.cookie-notice p {
  max-width: 78ch;
  color: var(--muted);
}

.cookie-notice a {
  color: var(--cookie-link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-notice .btn {
  flex: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.4rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px;
}

.hero-visual figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.sectors,
.shots {
  display: grid;
  gap: 0.9rem;
}

.sectors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sector {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  color: #ffffff;
  text-decoration: none;
}

.sector img,
.shot img,
.ops__photo img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.sector img {
  position: absolute;
  inset: 0;
  height: 100%;
  transition: transform 0.45s ease;
}

.sector:hover img,
.sector:focus-visible img {
  transform: scale(1.04);
}

.sector__name {
  position: relative;
  z-index: 1;
  margin: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.86);
  color: #ffffff;
  font-weight: 650;
}

.sector::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(10, 12, 18, 0.35));
  pointer-events: none;
}

.ops {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.ops__photo {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
}

.ops__photo img {
  min-height: 460px;
}

.ops__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ops__list article {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.ops__list h3 {
  margin-bottom: 0.35rem;
}

.ops__list p {
  color: var(--muted);
  font-size: 0.98rem;
}

.shots {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.shot img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.shot div {
  padding: 1rem 1.05rem 1.2rem;
}

.shot p {
  color: var(--muted);
}

.shot h3 {
  margin-bottom: 0.4rem;
}

.hero h1 span {
  display: inline;
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-top: 1.2rem;
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.hero-meta li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--chip-bg);
  font-size: 0.92rem;
}

.hero-meta a {
  color: var(--text);
  text-decoration: none;
}

.stage {
  position: relative;
  min-height: 460px;
}

.stage__glow {
  position: absolute;
  inset: 10% 8% auto;
  height: 70%;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(255, 60, 80, 0.45), transparent 68%);
  filter: blur(8px);
}

.stage__card {
  position: relative;
  border: 1px solid var(--stage-line);
  border-radius: 28px;
  background: var(--stage-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 1.3rem;
}

.stage__card + .stage__card {
  margin-top: 0.8rem;
}

.stage__label {
  margin-bottom: 0.9rem;
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage__row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.stage__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.stage__num {
  color: var(--red);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.stage__row p {
  color: var(--muted);
  font-size: 0.98rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.chips span {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip);
  font-size: 0.82rem;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee ul {
  display: flex;
}

.marquee li {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.15rem;
  color: var(--marquee);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 1rem;
  border-radius: 50%;
  background: var(--red);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding-block: clamp(3.4rem, 7vw, 6rem);
}

.section--alt {
  background: var(--alt);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  max-width: 52ch;
}

.about-grid,
.contact-layout,
.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.stack > * + * {
  margin-top: 1rem;
}

.stack p,
.card p,
.value p,
.mini p {
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.35rem 1.25rem;
}

.panel--red {
  background: linear-gradient(160deg, rgba(196, 22, 28, 0.95), #7d1016);
  border-color: transparent;
}

.panel--red p,
.panel--red li {
  color: #ffe8ea;
}

.panel h3,
.vm-title {
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel ul {
  padding-left: 1.1rem;
  list-style: disc;
}

.panel li + li {
  margin-top: 0.35rem;
}

.vm {
  display: grid;
  gap: 0.8rem;
}

.bento,
.card-grid,
.values,
.steps {
  display: grid;
  gap: 0.9rem;
}

.bento,
.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--4,
.values {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.values {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.card,
.value,
.mini {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 1.25rem 1.15rem 1.3rem;
}

.card::before,
.value::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #ff4454, transparent 80%);
}

.card h3,
.value h3,
.mini h3 {
  margin: 0.35rem 0 0.45rem;
}

.card .index,
.mini .index {
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.card:hover,
.value:hover,
.mini:hover {
  border-color: var(--hover-border);
  transform: translateY(-3px);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.steps article {
  padding: 1rem 1rem 0.2rem;
  border-top: 1px solid var(--line);
}

.steps .index {
  color: var(--accent-soft);
  font-weight: 650;
}

.tech-name {
  font-size: clamp(1.6rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.pill {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill);
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-card,
.contact-aside {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  padding: 1.3rem;
}

.contact-aside h2 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

address {
  font-style: normal;
}

.contact-aside a,
.prose a,
.fine a,
.text-link {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.contact-aside p,
.fine,
address {
  color: var(--muted);
}

.contact-aside p + p,
.contact-aside address + p {
  margin-top: 0.85rem;
}

fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

legend {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.fields,
.form-row {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  grid-template-columns: 1fr 1fr;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--input-border);
  border-radius: 14px;
  background: var(--input-bg);
  color: var(--input-text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.25rem;
  accent-color: #e0242c;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.check label {
  margin: 0;
  font-weight: 450;
  color: var(--muted);
}

.fine {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status:not(:empty) {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ok);
  border-radius: 14px;
  background: var(--status-bg);
  color: var(--status);
}

.form-status a {
  color: var(--text);
  font-weight: 650;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}

.site-footer::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -140px;
  border: 18px solid rgba(255, 68, 84, 0.85);
  border-radius: 50%;
  pointer-events: none;
}

.footer-grid,
.footer-base {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
  padding-block: 3rem 1.5rem;
}

.footer-tag {
  max-width: 28ch;
  margin-top: 1rem;
  color: var(--footer-muted);
}

.site-footer h2 {
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--footer-link);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer .link-btn:hover,
.site-footer .link-btn:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.site-footer li + li {
  margin-top: 0.2rem;
}

.footer-base {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.6rem;
  color: var(--footer-muted);
  font-size: 0.92rem;
}

.page-hero {
  padding-block: clamp(2.2rem, 5vw, 3.6rem) 0.4rem;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.page-hero .lede {
  margin-top: 1rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
}

.crumbs a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.prose {
  max-width: 74ch;
}

.prose > * + * {
  margin-top: 0.9rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.prose h3 {
  margin-top: 1.15rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong,
.panel strong {
  color: var(--text);
}

.note,
.callout {
  padding: 0.95rem 1rem;
  margin-block: 1rem;
  border-radius: 16px;
}

.note {
  background: rgba(245, 193, 108, 0.1);
  border: 1px solid rgba(245, 193, 108, 0.35);
  color: var(--note);
}

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
}

.redirect {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    max-height: calc(100vh - var(--header));
    overflow: auto;
    padding: 0.6rem 1rem 1rem;
    background: var(--menu-bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero,
  .section-head,
  .about-grid,
  .contact-layout,
  .split-2,
  .bento,
  .card-grid--3,
  .footer-grid,
  .ops,
  .shots {
    grid-template-columns: 1fr;
  }

  .sectors {
    grid-template-columns: 1fr 1fr;
  }

  .ops__photo img {
    min-height: 280px;
  }

  .card-grid--4,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  .stage {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .cookie-notice__inner,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-notice .btn,
  .hero__actions .btn,
  .contact-card .btn {
    width: 100%;
  }

  .card-grid--4,
  .steps,
  .values,
  .footer-grid,
  .sectors,
  .ops__list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .card:hover,
  .value:hover,
  .mini:hover,
  .sector:hover img {
    transform: none;
  }

  .marquee-track {
    width: auto;
    flex-wrap: wrap;
  }

  .marquee {
    overflow: visible;
  }

  .marquee ul {
    flex-wrap: wrap;
  }

  .marquee ul[aria-hidden="true"] {
    display: none;
  }
}

@media print {
  body,
  .site-header,
  .site-footer,
  .cookie-notice,
  .panel,
  .card,
  .contact-card {
    background: white !important;
    color: black !important;
  }

  .nav-toggle,
  .theme-toggle,
  .cookie-notice,
  .skip-link,
  .site-footer::after,
  .stage__glow {
    display: none !important;
  }
}
