/* Montes — centered masthead, split nav, editorial industrial */
:root {
  --brand: #810040;
  --brand-deep: #5c002e;
  --brand-soft: #f8eef3;
  --slate: #584878;
  --ink: #16121c;
  --muted: #6a6474;
  --line: #ddd6e0;
  --surface: #fbfafc;
  --surface-alt: #f3f0f5;
  --white: #ffffff;
  --max: 1180px;
  --header-h: 7.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(129, 0, 64, 0.06), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(88, 72, 120, 0.05), transparent 50%),
    var(--surface);
  -webkit-font-smoothing: antialiased;
}

#main {
  flex: 1 0 auto;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Slim contact strip — not a heavy brand bar */
.topbar {
  background: transparent;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.35rem;
  padding-block: 0.4rem;
}

.topbar a {
  color: var(--ink);
}

.topbar a:hover {
  color: var(--brand);
}

.topbar .icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  display: block;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item span {
  line-height: 1;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.topbar-social a:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.topbar-social .icon {
  width: 0.85rem;
  height: 0.85rem;
}

/* Centered logo + split navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 252, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 0.35rem 1.25rem;
  position: relative;
  z-index: 2;
}

.logo::before,
.logo::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: 2.75rem;
  background: linear-gradient(to bottom, transparent, var(--brand), transparent);
  transform: translateY(-50%);
}

.logo::before {
  left: 0;
}

.logo::after {
  right: 0;
}

.logo img {
  height: 92px;
  width: auto;
  max-width: min(340px, 48vw);
}

.nav-left {
  justify-self: start;
  justify-content: flex-start;
  width: 100%;
}

.nav-right {
  justify-self: end;
  justify-content: flex-end;
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-left .nav-list {
  justify-content: flex-start;
  margin-right: auto;
}

.nav-right .nav-list {
  justify-content: flex-end;
  margin-left: auto;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a,
.nav-list > li > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.nav-list > li > a::after,
.nav-list > li > button::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav-list > li > a:hover,
.nav-list > li > a:focus-visible,
.nav-list > li > a[aria-current="page"],
.nav-list > li > button:hover,
.nav-list > li.is-open > button {
  color: var(--brand);
}

.nav-list > li > a:hover::after,
.nav-list > li > a:focus-visible::after,
.nav-list > li > a[aria-current="page"]::after,
.nav-list > li > button:hover::after,
.nav-list > li.is-open > button::after {
  transform: scaleX(1);
}

.nav-list > li > button .chev {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s var(--ease);
}

.nav-list > li.is-open > button .chev {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  min-width: 17.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.45rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  z-index: 50;
  box-shadow: 0 18px 40px rgba(22, 18, 28, 0.08);
}

.nav-left .dropdown {
  left: 0;
  right: auto;
}

.nav-right .dropdown {
  right: 0;
  left: auto;
}

.nav-list > li.is-open > .dropdown,
.nav-list > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink);
  border-left: 3px solid transparent;
}

.dropdown a:hover,
.dropdown a[aria-current="page"] {
  background: var(--brand-soft);
  border-left-color: var(--brand);
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Full-bleed hero: full photo + blurred edge fill */
.hero {
  position: relative;
  width: 100%;
  min-height: min(82vh, 780px);
  display: grid;
  overflow: hidden;
  background: #1a0f16;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a0f16;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition:
    opacity 0.85s var(--ease),
    transform 1.05s var(--ease),
    visibility 0s linear 0.85s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transform: scale(1);
  transition:
    opacity 0.85s var(--ease),
    transform 1.05s var(--ease),
    visibility 0s linear 0s;
}

.hero-slide-fill {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  filter: blur(42px) saturate(1.2) brightness(0.38);
  transform: scale(1.08);
  pointer-events: none;
}

.hero-slide-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02) contrast(1.03);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 4%,
    #000 11%,
    #000 89%,
    rgba(0, 0, 0, 0.35) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 4%,
    #000 11%,
    #000 89%,
    rgba(0, 0, 0, 0.35) 96%,
    transparent 100%
  );
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(18vw, 11rem);
  pointer-events: none;
}

.hero-media::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 15, 22, 0.72) 0%,
    rgba(129, 0, 64, 0.18) 42%,
    transparent 100%
  );
}

.hero-media::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(26, 15, 22, 0.72) 0%,
    rgba(129, 0, 64, 0.18) 42%,
    transparent 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26, 15, 22, 0.5) 0%, rgba(26, 15, 22, 0.12) 36%, rgba(26, 15, 22, 0.16) 60%, rgba(26, 15, 22, 0.7) 100%),
    radial-gradient(ellipse at center, transparent 38%, rgba(26, 15, 22, 0.34) 100%);
}

.hero-title {
  position: absolute;
  top: 1.75rem;
  left: 1rem;
  right: 1rem;
  z-index: 5;
  margin: 0;
  padding: 0 0.5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  opacity: 1;
}

.hero-actions {
  position: absolute;
  left: 50%;
  bottom: 6.75rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  transform: translateX(-50%);
  opacity: 1;
}

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-captions {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
  opacity: 1;
}

.hero-subline {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 0.95vw, 0.78rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 0.95vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  pointer-events: auto;
}

.hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.hero-dots button.is-active {
  background: var(--white);
  transform: scaleX(1.8);
}

.hero-kicker,
.hero-brand,
.hero-panel {
  display: none;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 34ch;
  margin-bottom: 1.85rem;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero */
.page-hero {
  position: relative;
  padding: 4.75rem 0 3.5rem;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  left: -8%;
  top: -40%;
  width: 42%;
  height: 180%;
  background: var(--brand);
  transform: skewX(-18deg);
  opacity: 0.08;
}

.page-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}

.page-hero h1 {
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 42ch;
  margin: 0.85rem 0 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
  position: relative;
  padding-left: 1.15rem;
  border-left: 3px solid var(--brand);
}

.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.section-head p {
  margin-top: 0.65rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: auto -1rem -1rem auto;
  width: 55%;
  height: 55%;
  border: 1px solid var(--brand);
  z-index: 0;
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy .eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.6rem;
}

.about-copy h2 {
  font-size: clamp(1.65rem, 2.9vw, 2.25rem);
}

.about-copy .lead {
  color: var(--slate);
  font-size: 1.02rem;
}

/* Homepage YouTube */
.youtube-section {
  background: var(--paper, #f7f4f1);
}

.youtube-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
}

.youtube-copy h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 0.85rem;
}

.youtube-copy p {
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .youtube-layout {
    grid-template-columns: 1fr;
  }
}

/* Homepage full story */
.story-section .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.65rem;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
  text-align: left;
}

.story-media {
  position: sticky;
  top: 8rem;
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  margin-bottom: 1rem;
}

.story-copy h3 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.story-copy p {
  color: var(--muted);
}

.story-motto {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand) !important;
  letter-spacing: -0.02em;
}

.about-values-list li strong {
  color: var(--ink);
  font-weight: 700;
}

/* Creative about tabs */
.about-tabs-section .section-head {
  max-width: 36rem;
}

.about-tabs {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
  min-height: 28rem;
}

.about-tabs-rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--line);
  padding-right: 1rem;
}

.about-tab {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 1rem 0.85rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  position: relative;
  transition: color 0.25s, background 0.25s;
}

.about-tab::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.about-tab:hover {
  color: var(--ink);
  background: rgba(129, 0, 64, 0.04);
}

.about-tab.is-active {
  color: var(--ink);
  background: var(--brand-soft);
}

.about-tab.is-active::before {
  transform: scaleY(1);
}

.about-tab-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.03em;
}

.about-tab-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-tabs-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.75rem;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.about-tabs-visual {
  position: relative;
  min-height: 22rem;
  background: var(--ink);
}

.about-tabs-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.about-tabs-mark {
  position: absolute;
  left: 1rem;
  bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: -0.06em;
  pointer-events: none;
}

.about-tabs-panels {
  position: relative;
  padding: 2rem 1.75rem 2rem 0.5rem;
  display: grid;
  align-content: center;
}

.about-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.about-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.about-panel[hidden] {
  display: block !important;
}

.about-panel h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-bottom: 0.85rem;
}

.about-panel .lead {
  color: var(--slate);
  font-size: 1.08rem;
}

.about-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.about-points li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--brand);
}

.link-rows {
  display: grid;
  gap: 0;
}

.link-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.45rem 1rem;
  border-top: 1px solid var(--line);
  color: inherit;
  transition: background 0.25s, padding-left 0.3s var(--ease);
}

.link-row:last-child {
  border-bottom: 1px solid var(--line);
}

.link-row:hover {
  background: var(--white);
  padding-left: 1.4rem;
}

.link-row .idx {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.04em;
}

.link-row strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  display: block;
  letter-spacing: -0.02em;
}

.link-row:hover strong {
  color: var(--brand);
}

.link-row span.desc {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.link-row .arrow {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform 0.25s var(--ease);
}

.link-row:hover .arrow {
  transform: translateX(5px);
}

/* Deliver showcase */
.deliver-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 32rem;
  overflow: hidden;
}

.deliver-visual {
  position: relative;
  background: var(--ink);
  min-height: 28rem;
}

.deliver-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s var(--ease), transform 0.9s var(--ease);
}

.deliver-visual img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.deliver-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 18, 28, 0.72));
  pointer-events: none;
}

.deliver-visual-meta {
  position: absolute;
  left: 1.25rem;
  bottom: 1.15rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.deliver-list {
  display: flex;
  flex-direction: column;
}

.deliver-item {
  flex: 1;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  transition: background 0.25s, padding-left 0.3s var(--ease);
}

.deliver-item:last-child {
  border-bottom: 0;
}

.deliver-item:hover,
.deliver-item.is-active {
  background: var(--brand-soft);
  padding-left: 1.7rem;
}

.deliver-item.is-active {
  box-shadow: inset 3px 0 0 var(--brand);
}

.deliver-idx {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
}

.deliver-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.deliver-body span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.deliver-go {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brand);
  transition: transform 0.25s var(--ease);
}

.deliver-item:hover .deliver-go,
.deliver-item.is-active .deliver-go {
  transform: translateX(4px);
}

/* Document cards — side by side */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.doc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.3s var(--ease);
}

.doc-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  transform: translateY(-3px);
}

.doc-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}

.doc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.doc-card:hover .doc-card-media img {
  transform: scale(1.06);
}

.doc-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(22, 18, 28, 0.55));
  pointer-events: none;
}

.doc-card-idx {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.doc-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.35rem 1.5rem;
}

.doc-card-copy h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.doc-card-copy p {
  margin-bottom: 1.15rem;
  flex: 1;
}

.doc-band-cta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.doc-list {
  display: grid;
  gap: 0;
}

.doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem;
  border-top: 1px solid var(--line);
}

.doc-item:last-child {
  border-bottom: 1px solid var(--line);
}

.doc-item span {
  color: var(--ink);
}

.doc-item .tag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 0.35rem 0.65rem;
}

a.tag-download {
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

a.tag-download:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.ref-list {
  display: grid;
  gap: 0;
}

.ref-item {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.ref-item:last-child {
  border-bottom: 1px solid var(--line);
}

.ref-item .place {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  line-height: 1.4;
}

.ref-item p {
  margin: 0;
  color: var(--ink);
}

.prose {
  max-width: 48rem;
  margin-inline: 0;
  text-align: left;
}

.prose h2,
.prose h3 {
  margin-top: 2rem;
}

.prose ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.prose li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--brand);
}

/* About page layout */
.page-hero-about {
  position: relative;
  color: var(--white);
  background: var(--ink);
  border-bottom: 0;
  overflow: hidden;
}

.page-hero-about::before {
  display: none;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.85);
}

.page-hero-about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(22, 18, 28, 0.92) 0%, rgba(129, 0, 64, 0.55) 100%);
}

.page-hero-about .container {
  position: relative;
  z-index: 1;
}

.page-hero-about .eyebrow,
.page-hero-about h1,
.page-hero-about p {
  color: var(--white);
}

.page-hero-about .eyebrow {
  color: #f0c9d8;
}

.page-hero-about h1,
.page-hero-about p {
  max-width: none;
  text-align: left;
}

.page-hero-about p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.85);
}

.about-page .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.65rem;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
  text-align: left;
}

.about-intro-copy h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  margin-bottom: 1rem;
}

.about-intro-copy .lead,
.about-intro-copy p,
.about-split-copy p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.65;
}

.about-intro-media {
  position: relative;
}

.about-intro-media::before {
  content: "";
  position: absolute;
  inset: 1rem -0.85rem -0.85rem 1rem;
  border: 1px solid var(--brand);
  z-index: 0;
}

.about-intro-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
  text-align: left;
}

.about-split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-split-copy h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 1rem;
}

.about-banner {
  position: relative;
  margin-bottom: 4.5rem;
  min-height: 16rem;
  overflow: hidden;
  background: var(--ink);
}

.about-banner img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  opacity: 0.7;
}

.about-banner-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.about-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
  text-align: left;
}

.about-values-copy h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 1rem;
}

.about-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.about-values-list li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
}

.about-values-list li p {
  margin: 0;
  color: var(--muted);
}

.about-values-list span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.06em;
}

.about-signoff {
  text-align: left;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.about-sign {
  margin: 1.25rem 0 1.75rem;
  color: var(--ink);
  line-height: 1.55;
}

.about-sign span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .story-layout,
  .about-intro,
  .about-split,
  .about-values {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 3.25rem;
  }

  .story-media {
    position: static;
  }

  .about-intro-media::before {
    inset: 0.65rem -0.65rem -0.65rem 0.65rem;
  }

  .about-banner {
    margin-bottom: 3.25rem;
    min-height: 12rem;
  }
}

.machine-groups {
  display: grid;
  gap: 1.75rem;
  margin-top: 0.5rem;
}

.machine-group {
  padding: 1.25rem 0 1.25rem 1.15rem;
  border-left: 3px solid var(--brand);
  background: linear-gradient(90deg, var(--brand-soft), transparent 70%);
}

.machine-group h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.machine-group p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.activity-body {
  width: 100%;
  max-width: 52rem;
  margin: 0;
  text-align: left;
}

.activity-body > p {
  max-width: 48rem;
}

.activity-docs-title {
  margin: 2.5rem 0 1.25rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.activity-cta {
  margin-top: 2.5rem;
}

.training-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.training-block:first-of-type {
  border-top: 1px solid var(--line);
}

.training-block h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.training-block .meta {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.training-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.training-block li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.training-block li:last-child {
  border-bottom: 0;
}

.training-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--brand);
}

.home-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.home-gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .home-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-gallery {
    grid-template-columns: 1fr;
  }
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 40%;
  height: 160%;
  background: var(--brand);
  transform: skewX(-18deg);
  opacity: 0.35;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 0 0 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.35rem;
}

.contact-details dt {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.contact-details dd {
  margin: 0;
  color: var(--ink);
}

.contact-details a {
  color: var(--ink);
}

.contact-details a:hover {
  color: var(--brand);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  padding: 1.85rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-color: var(--brand);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-map-section .section-head {
  margin-bottom: 1.5rem;
}

.contact-map {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  min-height: 22rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: min(52vh, 420px);
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

.contact-map-link {
  margin: 1.25rem 0 0;
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  background: #e8f5ec;
  color: #1d5c34;
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-error {
  color: #a01830;
  font-size: 0.85rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 1.85rem 0;
  font-size: 0.9rem;
  width: 100%;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-list > li > a,
  .nav-list > li > button {
    padding-inline: 0.45rem;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .logo img {
    height: 78px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: min(58vh, 480px);
  }

  .hero-title {
    top: 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: normal;
    max-width: 22rem;
  }

  .hero-actions {
    bottom: 5.5rem;
  }

  .hero-actions .btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.72rem;
  }

  .hero-subline,
  .hero-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    white-space: normal;
    max-width: 20rem;
  }

  .hero-slide-fill {
    filter: blur(28px) saturate(1.1) brightness(0.4);
  }

  .about-grid,
  .contact-grid,
  .ref-item {
    grid-template-columns: 1fr;
  }

  .doc-cards {
    grid-template-columns: 1fr;
  }

  .about-tabs {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-tabs-rail {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 0.75rem;
    gap: 0.25rem;
  }

  .about-tab {
    width: auto;
    flex: 1 1 auto;
    min-width: 7.5rem;
    padding: 0.75rem;
  }

  .about-tab::before {
    left: 0.6rem;
    right: 0.6rem;
    top: auto;
    bottom: -0.75rem;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }

  .about-tab.is-active::before {
    transform: scaleX(1);
  }

  .about-tabs-stage {
    grid-template-columns: 1fr;
  }

  .about-tabs-visual {
    min-height: 14rem;
  }

  .about-tabs-panels {
    padding: 1.5rem;
  }

  .about-media::before {
    inset: -0.65rem -0.65rem auto auto;
    width: 40%;
    height: 40%;
  }

  .ref-item {
    gap: 0.4rem;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .hero-subline,
  .hero-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 860px) {
  .topbar-contact .topbar-item span {
    display: none;
  }

  .topbar-item {
    width: 1.85rem;
    height: 1.85rem;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .header-shell {
    grid-template-columns: 1fr;
    min-height: 5.25rem;
    padding-right: 3.25rem;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .logo {
    justify-self: center;
  }

  .logo img {
    height: 68px;
  }

  .logo::before,
  .logo::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-mobile {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
    border-top: 0 solid var(--line);
  }

  body.nav-open .nav-mobile {
    max-height: min(80vh, 34rem);
    overflow: auto;
    border-top-width: 1px;
  }

  .nav-mobile .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .nav-mobile .nav-list > li > a,
  .nav-mobile .nav-list > li > button {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0.15rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
  }

  .nav-mobile .nav-list > li > a::after,
  .nav-mobile .nav-list > li > button::after {
    display: none;
  }

  .nav-mobile .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    display: none;
    min-width: 0;
    padding: 0 0 0.5rem;
  }

  .nav-mobile .nav-list > li.is-open > .dropdown {
    display: block;
  }

  .section {
    padding: 3.5rem 0;
  }

  .link-row {
    grid-template-columns: 2.5rem 1fr;
  }

  .link-row .arrow {
    display: none;
  }

  .deliver-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .deliver-visual {
    min-height: 16rem;
  }

  .doc-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
