/* =========================================================
   XINGHUO — Global foundation
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --orange: #ff6a12;
  --orange-deep: #e95805;
  --orange-soft: #fff0e7;
  --amber: #ffb52e;
  --ink: #0b0b0c;
  --ink-soft: #242426;
  --muted: #6f6d68;
  --muted-light: #9b9891;
  --paper: #ffffff;
  --paper-warm: #f7f5f1;
  --paper-deep: #efece5;
  --line: #e7e3db;
  --line-dark: rgba(255, 255, 255, 0.14);
  --green: #18a66a;
  --font-sans: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --max-width: 1360px;
  --gutter: clamp(22px, 4.2vw, 64px);
  --header-h: 86px;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --shadow-sm: 0 12px 34px rgba(20, 15, 8, 0.06);
  --shadow: 0 28px 80px rgba(20, 15, 8, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: max(14px, 16px);
  line-height: 1.65;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: url("../images/grain.png") repeat;
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: multiply;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--orange);
  color: #fff;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - var(--gutter) * 2), 1040px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(88px, 10vw, 148px) 0;
}

.section--tight {
  padding: clamp(64px, 7vw, 100px) 0;
}

.section--soft {
  background: var(--paper-warm);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 10px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-index::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 11px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.eyebrow--muted {
  color: var(--muted);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.56);
}

.eyebrow .dot,
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 18, 0.12);
  animation: livePulse 2.4s var(--ease-soft) infinite;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 106, 18, 0.12);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 106, 18, 0.04);
  }
}

.display-xl,
.display-lg,
.display-md,
.display-sm {
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  word-break: break-word;
}

.display-xl {
  font-size: max(14px, clamp(52px, 6.8vw, 98px));
}

.display-lg {
  font-size: max(14px, clamp(42px, 5.2vw, 76px));
}

.display-md {
  font-size: max(14px, clamp(34px, 3.8vw, 56px));
}

.display-sm {
  font-size: max(14px, clamp(26px, 2.7vw, 38px));
}

.display-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.accent {
  color: var(--orange);
}

.lead {
  font-size: max(14px, clamp(17px, 1.45vw, 20px));
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.body-copy {
  color: var(--muted);
  font-size: max(14px, 15.5px);
  line-height: 1.85;
}

.text-white {
  color: #fff;
}

.text-muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: max(14px, 14px);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.text-link:hover {
  color: var(--orange-deep);
  gap: 18px;
}

.text-link .link-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.text-link:hover .link-arrow {
  transform: translate(2px, -2px);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.82);
}

.text-link--light:hover {
  color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: max(14px, 14px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  will-change: transform;
}

.btn .btn-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: max(14px, 13px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn:hover .btn-icon {
  transform: translate(2px, -2px);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 106, 18, 0.18);
}

.btn--primary .btn-icon {
  background: rgba(255, 255, 255, 0.18);
}

.btn--primary:hover {
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(11, 11, 12, 0.16);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark .btn-icon {
  background: var(--orange);
  color: #fff;
}

.btn--dark:hover {
  background: var(--orange);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--light:hover {
  border-color: var(--ink);
}

.btn--ghost {
  border-color: rgba(11, 11, 12, 0.2);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn--sm {
  min-height: 46px;
  padding: 0 20px;
  font-size: max(14px, 13px);
}

.btn--lg {
  min-height: 62px;
  padding: 0 32px;
  font-size: max(14px, 15px);
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: height 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(18, 14, 9, 0.04);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
}

.brand-mark {
  position: relative;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 106, 18, 0.18);
  filter: blur(12px);
  z-index: -1;
}

.brand-mark img {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(255, 106, 18, 0.16));
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-type strong {
  font-size: max(14px, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-type small {
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 8px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.19em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 36px);
  margin-left: auto;
  margin-right: clamp(10px, 2vw, 30px);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}

.is-scrolled .nav-item {
  height: 72px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  color: rgba(11, 11, 12, 0.66);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active,
.nav-trigger[aria-expanded="true"] {
  color: var(--ink);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-trigger svg {
  width: 10px;
  height: 10px;
  margin-top: 1px;
  transition: transform 0.3s var(--ease);
}

.nav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  position: relative;
  z-index: 120;
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.menu-toggle__lines {
  display: flex;
  width: 17px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__lines span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}

.menu-open .menu-toggle {
  border-color: rgba(255, 255, 255, 0.24);
}

.menu-open .menu-toggle__lines span {
  background: #fff;
}

.menu-open .menu-toggle__lines span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-open .menu-toggle__lines span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- Mega menu ---------- */

.mega-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  width: min(700px, calc(100vw - 48px));
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(20, 15, 8, 0.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.985);
  transform-origin: top center;
  transition: opacity 0.28s var(--ease), transform 0.35s var(--ease),
    visibility 0.28s;
}

.mega-menu::before {
  content: "";
  position: absolute;
  inset: -22px 0 auto;
  height: 22px;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.mega-menu--wide {
  width: min(780px, calc(100vw - 48px));
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 236px;
  gap: 12px;
}

.mega-main {
  padding: 20px 18px 16px;
}

.mega-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 8px;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 9px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mega-kicker span:last-child {
  color: var(--orange-deep);
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.mega-link {
  display: flex;
  min-height: 65px;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  border-radius: 12px;
  transition: background 0.25s ease;
}

.mega-link:hover {
  background: var(--paper-warm);
}

.mega-num {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-light);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 9px);
  font-weight: 700;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mega-link:hover .mega-num {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.mega-link-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.mega-link-copy strong {
  font-size: max(14px, 13px);
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.mega-link-copy small {
  overflow: hidden;
  color: var(--muted-light);
  font-size: max(14px, 10.5px);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-aside {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 226px;
  padding: 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.mega-aside::before {
  content: "";
  position: absolute;
  right: -45px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #ffb52e, #ff6a12 52%, #8e2e00);
  filter: blur(1px);
  opacity: 0.9;
  z-index: -1;
}

.mega-aside::after {
  content: "✳";
  position: absolute;
  right: 12px;
  bottom: -34px;
  color: rgba(255, 255, 255, 0.07);
  font-size: max(14px, 150px);
  line-height: 1;
}

.mega-aside span {
  color: rgba(255, 255, 255, 0.55);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 9px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega-aside strong {
  margin: 8px 0 15px;
  font-size: max(14px, 21px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.mega-aside .text-link {
  align-self: flex-start;
  font-size: max(14px, 11.5px);
}

/* ---------- Mobile navigation ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 26px) var(--gutter) 48px;
  background: #0d0d0e;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3%);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease),
    visibility 0.45s;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  right: -30%;
  top: 8%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 106, 18, 0.17) 0%,
    rgba(255, 106, 18, 0) 68%
  );
  pointer-events: none;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-open .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.menu-open .brand {
  padding: 5px 9px;
  border-radius: 8px;
  background: #f8f6f1;
}

.menu-open .brand-type small {
  color: rgba(255, 255, 255, 0.46);
}

.menu-open .main-nav,
.menu-open .header-actions > .btn {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100svh - 170px);
  flex-direction: column;
}

.mobile-menu__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.42);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 10px);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: max(14px, clamp(24px, 6.5vw, 38px));
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.mobile-menu__link span:last-child {
  color: var(--orange);
  font-size: max(14px, 18px);
  transition: transform 0.3s var(--ease);
}

.mobile-menu__link:hover span:last-child {
  transform: translate(3px, -3px);
}

.mobile-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  padding: 20px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sub a {
  color: rgba(255, 255, 255, 0.58);
  font-size: max(14px, 12px);
  line-height: 1.5;
  transition: color 0.25s ease;
}

.mobile-sub a:hover {
  color: #fff;
}

.mobile-menu__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 42px;
}

.mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-contact small {
  color: rgba(255, 255, 255, 0.36);
  font-size: max(14px, 10px);
  letter-spacing: 0.1em;
}

.mobile-contact a {
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 20px);
  font-weight: 600;
}

.mobile-menu .btn--primary {
  margin-top: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: #0b0b0c;
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1.1fr;
  gap: clamp(32px, 4vw, 76px);
  padding: clamp(64px, 7vw, 100px) 0 clamp(48px, 5vw, 70px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .brand {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 25px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #f8f6f1;
}

.footer-brand .brand-logo {
  height: 32px;
}

.footer-brand .brand-type small {
  color: rgba(255, 255, 255, 0.42);
}

.footer-brand .brand-mark img {
  filter: drop-shadow(0 6px 18px rgba(255, 106, 18, 0.28));
}

.footer-statement {
  max-width: 280px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: max(14px, 14px);
  line-height: 1.8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact a {
  font-family: "Manrope", sans-serif;
  font-size: max(14px, clamp(22px, 2vw, 30px));
  font-weight: 500;
  letter-spacing: -0.03em;
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-contact small {
  color: rgba(255, 255, 255, 0.36);
  font-size: max(14px, 10px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.37);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 9px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.7);
  font-size: max(14px, 13px);
  line-height: 1.6;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-address {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.38);
  font-size: max(14px, 11.5px);
  line-height: 1.75;
}

.footer-machine {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 26px 0 10px;
}

.footer-wordmark {
  overflow: hidden;
  color: transparent;
  font-family: var(--font-sans);
  font-size: max(14px, clamp(64px, 12.5vw, 176px));
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.17);
  user-select: none;
}

.footer-machine-side {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.32);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 9px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

.footer-machine-side strong {
  color: var(--orange);
  font-size: max(14px, 11px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 30px;
  color: rgba(255, 255, 255, 0.28);
  font-size: max(14px, 10.5px);
  line-height: 1.6;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}

.footer-legal a {
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Pre-footer CTA ---------- */

.prefooter {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 128px) 0 clamp(52px, 6vw, 76px);
  background: var(--orange);
  color: var(--ink);
  isolation: isolate;
}

.prefooter::before {
  content: "";
  position: absolute;
  top: -22vw;
  right: -8vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(11, 11, 12, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 5vw rgba(255, 255, 255, 0.035),
    0 0 0 10vw rgba(255, 255, 255, 0.02);
  z-index: -1;
}

.prefooter::after {
  content: "✳";
  position: absolute;
  right: 7vw;
  top: 50%;
  color: rgba(11, 11, 12, 0.1);
  font-size: max(14px, clamp(220px, 32vw, 470px));
  line-height: 1;
  transform: translateY(-50%) rotate(12deg);
  z-index: -1;
}

.prefooter__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(11, 11, 12, 0.17);
}

.prefooter__top p {
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 10px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prefooter__top span {
  color: rgba(11, 11, 12, 0.48);
  font-size: max(14px, 12px);
}

.prefooter__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.prefooter__title {
  max-width: 960px;
  font-size: max(14px, clamp(42px, 6vw, 90px));
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.prefooter__title .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.prefooter__actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 10px;
}

.prefooter__actions small {
  color: rgba(11, 11, 12, 0.54);
  font-size: max(14px, 11px);
  line-height: 1.6;
}

.prefooter__ticker {
  display: flex;
  gap: 36px;
  overflow: hidden;
  margin-top: clamp(58px, 7vw, 94px);
  padding-top: 20px;
  border-top: 1px solid rgba(11, 11, 12, 0.17);
  color: rgba(11, 11, 12, 0.6);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 10px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.prefooter__ticker-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 36px;
  animation: ticker 26s linear infinite;
}

.prefooter__ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

.prefooter__ticker-track i {
  font-style: normal;
  color: var(--ink);
  font-size: max(14px, 13px);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Page hero / inner pages ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 9vw, 124px)) 0 clamp(58px, 7vw, 92px);
  background: var(--paper);
}

.page-hero--soft {
  background: var(--paper-warm);
}

.page-hero--dark {
  background: var(--ink);
  color: #fff;
}

.page-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(44px, 6vw, 78px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-light);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 10px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--orange-deep);
}

.breadcrumb span {
  color: var(--line);
}

.page-hero__meta {
  color: var(--muted-light);
  font-family: "Manrope", sans-serif;
  font-size: max(14px, 10px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
}

.page-hero__copy .display-xl {
  max-width: 900px;
}

.page-hero__aside {
  max-width: 350px;
  padding-bottom: 10px;
}

.page-hero__aside p {
  color: var(--muted);
  font-size: max(14px, 14px);
  line-height: 1.9;
}

.page-hero__aside .text-link {
  margin-top: 26px;
}

.page-hero--dark .page-hero__aside p {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero--dark .page-hero__meta,
.page-hero--dark .breadcrumb {
  color: rgba(255, 255, 255, 0.36);
}

.page-hero--dark .breadcrumb span {
  color: rgba(255, 255, 255, 0.18);
}

.page-hero--dark .breadcrumb a:hover {
  color: var(--orange);
}

/* ---------- Common section heading ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(40px, 5.5vw, 72px);
}

.section-head__copy {
  max-width: 780px;
}

.section-head__copy .display-lg {
  margin-top: 5px;
}

.section-head__side {
  max-width: 335px;
  padding-bottom: 7px;
}

.section-head__side p {
  color: var(--muted);
  font-size: max(14px, 14px);
  line-height: 1.85;
}

.section-head__side .text-link {
  margin-top: 24px;
}

.section-head--light .section-index,
.section-head--light .section-head__side p {
  color: rgba(255, 255, 255, 0.42);
}

.section-head--light .section-index::before {
  background: rgba(255, 255, 255, 0.24);
}

/* ---------- Reveal / motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="left"] {
  transform: translate3d(-32px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(32px, 0, 0);
}

.js [data-reveal="scale"] {
  transform: scale(0.96);
}

.js [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive foundation ---------- */

@media (max-width: 1180px) {
  .main-nav {
    gap: 22px;
    margin-right: 10px;
  }

  .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-h: 76px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions > .btn {
    margin-right: 8px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    display: flex;
    gap: 40px;
  }

  .footer-col:last-child h3 {
    display: none;
  }

  .footer-col:last-child .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
  }

  .footer-address {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-hero__aside {
    max-width: 560px;
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --header-h: 70px;
  }

  body {
    font-size: max(14px, 15px);
  }

  .site-header.is-scrolled {
    height: 65px;
  }

  .brand-logo {
    height: 34px;
  }

  .menu-open .brand {
    padding: 5px 9px;
    border-radius: 8px;
    background: #f8f6f1;
  }

  .header-actions > .btn {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .section-head__side {
    max-width: 100%;
  }

  .prefooter__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }

  .prefooter__top span {
    display: none;
  }

  .prefooter__actions {
    padding-bottom: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    display: block;
    grid-column: 1 / -1;
  }

  .footer-col:last-child .footer-links {
    display: grid;
    gap: 11px;
  }

  .footer-address {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .footer-machine {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-machine-side {
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-links {
    gap: 16px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .page-hero__top {
    margin-bottom: 36px;
  }

  .page-hero__meta {
    display: none;
  }

  .mobile-menu__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .prefooter {
    padding-bottom: 44px;
  }

  .prefooter__title {
    font-size: max(14px, clamp(40px, 11.5vw, 62px));
  }

  .btn--lg {
    min-height: 56px;
    padding: 0 24px;
  }

  .footer-wordmark {
    font-size: max(14px, 19vw);
  }
}

@media (max-width: 420px) {
  .mobile-sub {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* Minimum readable type */
small,
sup,
sub {
  font-size: 14px;
}

.brand-logo,
svg,
img {
  font-size: initial;
}
