/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio, geometry.
   Put this @layer first; product CSS outside the layer wins ordinary layout rules.
   Native hidden and closed-dialog states take precedence over component display rules. */
@layer od-layout {
  [hidden]:not([hidden="until-found" i]) { display: none !important; }
  dialog:not([open]) { display: none !important; }

  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  .od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; }

  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }
  .od-nowrap  { white-space: nowrap; }
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; }

  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
:root [hidden]:where(:not([hidden="until-found" i])) { display: none; }
/* /OD-LAYOUT-PRIMITIVES v1 */

:root {
  color-scheme: dark;
  --ink: #07080b;
  --ink-2: #0a0c11;
  --surface: #0f1218;
  --surface-2: #141823;
  --line: rgba(243, 240, 233, 0.1);
  --line-2: rgba(243, 240, 233, 0.2);
  --text: #f3f0e9;
  --muted: #a4a8b0;
  --muted-2: #82868f;
  --brass: #c9a878;
  --brass-2: #e3cba4;
  --p1: #c9a878;
  --p2: #a9b8a5;
  --p3: #93b7c6;
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --section-y: clamp(88px, 11vw, 150px);
  --radius-s: 4px;
  --radius-m: 14px;
  --radius-l: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-bg: rgba(7, 8, 11, 0.94);
  --hero-glow: rgba(201, 168, 120, 0.1);
  --contact-glow: rgba(201, 168, 120, 0.11);
  --hover-wash: rgba(255, 255, 255, 0.014);
  --tab-hover: rgba(255, 255, 255, 0.03);
  --card-wash: rgba(255, 255, 255, 0.018);
  --card-hover: rgba(255, 255, 255, 0.03);
  --brass-wash: rgba(201, 168, 120, 0.07);
  --plate-grid: rgba(243, 240, 233, 0.07);
  --plate-fade: rgba(7, 8, 11, 0.82);
  --plate-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --avatar-shadow: rgba(0, 0, 0, 0.42);
  --avatar-shadow-lg: rgba(0, 0, 0, 0.5);
  --pill-bg: #0b0d12;
  --pill-text: #f3f0e9;
  --pill-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  --footer-word: rgba(243, 240, 233, 0.045);
  --dialog-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  --scrim: rgba(4, 5, 8, 0.8);
  --dot-glow: rgba(201, 168, 120, 0.12);
  --dot-glow-2: rgba(201, 168, 120, 0.06);
  --grain-opacity: 0.038;
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #f3f4f1;
  --ink-2: #eceee9;
  --surface: #fbfbf8;
  --surface-2: #f5f6f2;
  --line: rgba(20, 22, 26, 0.12);
  --line-2: rgba(20, 22, 26, 0.26);
  --text: #17191d;
  --muted: #525963;
  --muted-2: #5c636d;
  --brass: #7f5e30;
  --brass-2: #5f441f;
  --p1: #7f5e30;
  --p2: #5c6c56;
  --p3: #41697a;
  --header-bg: rgba(243, 244, 241, 0.94);
  --hero-glow: rgba(127, 94, 48, 0.08);
  --contact-glow: rgba(127, 94, 48, 0.1);
  --hover-wash: rgba(20, 22, 26, 0.035);
  --tab-hover: rgba(20, 22, 26, 0.05);
  --card-wash: rgba(20, 22, 26, 0.025);
  --card-hover: rgba(20, 22, 26, 0.045);
  --brass-wash: rgba(127, 94, 48, 0.09);
  --plate-grid: rgba(20, 22, 26, 0.08);
  --plate-fade: rgba(243, 244, 241, 0.9);
  --plate-shadow: 0 30px 60px -34px rgba(20, 22, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --avatar-shadow: rgba(20, 22, 26, 0.18);
  --avatar-shadow-lg: rgba(20, 22, 26, 0.22);
  --pill-bg: #ffffff;
  --pill-text: #17191d;
  --pill-shadow: 0 10px 24px rgba(20, 22, 26, 0.16);
  --footer-word: rgba(20, 22, 26, 0.06);
  --dialog-shadow: 0 40px 100px rgba(20, 22, 26, 0.28);
  --scrim: rgba(20, 22, 26, 0.45);
  --dot-glow: rgba(127, 94, 48, 0.14);
  --dot-glow-2: rgba(127, 94, 48, 0.06);
  --grain-opacity: 0.026;
}

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

html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html,
body {
  margin: 0;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 1px);
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--text);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-s);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: var(--grain-opacity);
  transition: opacity 0.3s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow .num {
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px var(--dot-glow);
  animation: dot-pulse 3.2s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn .od-icon {
  --od-icon-size: 16px;
  transition: transform 0.22s var(--ease);
}

.btn:hover .od-icon {
  transform: translateX(3px);
}

.btn-solid {
  background: var(--text);
  color: var(--ink);
}

.btn-solid:hover {
  background: var(--brass-2);
}

.btn-wa .od-icon-wa {
  transition: none;
}

.btn-wa:hover .od-icon-wa {
  transform: none;
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-2);
  background: var(--brass-wash);
}

.btn-outline {
  border-color: var(--line-2);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--brass);
  color: var(--brass-2);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: var(--header-bg);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--brass);
}

.brand-word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1;
}

.brand-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 11px 18px;
  min-height: 44px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--brass);
  color: var(--brass-2);
}

.theme-toggle .od-icon {
  --od-icon-size: 18px;
  grid-area: 1 / 1;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-35deg) scale(0.78);
}

:root[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(35deg) scale(0.78);
}

:root[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--brass);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 5px));
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 5px));
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
  background: var(--ink);
  overflow-y: auto;
  transition: background-color 0.3s var(--ease);
}

.mobile-menu:not([hidden]) {
  animation: menu-in 0.3s var(--ease-out);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

.mobile-menu nav a span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
}

.menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(48px, 9vh, 110px)) 0 clamp(64px, 9vh, 110px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 16.666% 100%;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    560px circle at var(--mx, 68%) var(--my, 30%),
    var(--hero-glow),
    transparent 64%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  animation: hero-fade 0.4s var(--ease-out) 0.05s both;
}

.hero-title {
  max-width: 950px;
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.4vw, 5.375rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.hero-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
  padding-right: 0.06em;
  margin-right: -0.06em;
}

.hero-title .w > span {
  display: inline-block;
  transform: translateY(115%);
  animation: word-up 0.4s var(--ease-out) both;
  animation-delay: calc(120ms + var(--i) * 32ms);
}

.hero-title em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.hero-sub {
  max-width: 54ch;
  margin-top: 30px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted);
  animation: hero-fade 0.4s var(--ease-out) 0.55s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: hero-fade 0.4s var(--ease-out) 0.65s both;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 780px;
  margin-top: clamp(44px, 7vh, 72px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  animation: hero-fade 0.4s var(--ease-out) 0.75s both;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}

.hero-scroll {
  position: absolute;
  right: calc(var(--gutter) + 4px);
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
  writing-mode: vertical-rl;
}

.hero-scroll span {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  writing-mode: horizontal-tb;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 17px 20px;
}

.marquee-group span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.marquee-group i {
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.section-title em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.section-lead {
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    column-gap: 48px;
  }

  .section-head .eyebrow {
    grid-column: 1 / -1;
  }

  .section-head .section-lead {
    justify-self: end;
    max-width: 38ch;
  }
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.partner {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 28px) clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}

.partner + .partner {
  border-left: 1px solid var(--line);
}

.partner:hover {
  background: var(--hover-wash);
}

.partner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.partner-index {
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

.partner-role {
  color: var(--muted-2);
}

.figure-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-m);
}

.figure {
  display: block;
  position: relative;
  padding: 7% 7% 13%;
  perspective: 1100px;
  --mx: 50%;
  --my: 50%;
}

.figure-aura {
  position: absolute;
  inset: 5% 2% 8%;
  z-index: 0;
  background: radial-gradient(
    circle at var(--mx) var(--my),
    color-mix(in srgb, var(--accent) 24%, transparent),
    transparent 62%
  );
  filter: blur(26px);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.partner:hover .figure-aura,
.figure-btn:focus-visible .figure-aura {
  opacity: 0.92;
}

.figure-rings {
  position: absolute;
  inset: -4% -5% 6%;
  z-index: 0;
  display: grid;
  place-items: center;
  transform: translateZ(-40px);
  animation: ring-spin 90s linear infinite;
  pointer-events: none;
}

.figure-rings span {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 1px dashed color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 50%;
}

.figure-rings span:nth-child(2) {
  width: 78%;
  border-style: solid;
  opacity: 0.5;
}

.figure-rings span:nth-child(3) {
  width: 54%;
  opacity: 0.35;
}

.stage {
  display: block;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.16s ease-out;
  will-change: transform;
}

.avatar-plate {
  display: block;
  position: relative;
  z-index: 1;
  aspect-ratio: 360 / 440;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-2);
  background: radial-gradient(
    120% 88% at 50% 8%,
    color-mix(in srgb, var(--accent) 15%, var(--surface)) 0%,
    var(--ink-2) 56%,
    var(--ink) 100%
  );
  overflow: hidden;
  box-shadow: var(--plate-shadow);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  animation: plate-bob 9s ease-in-out infinite;
}

.avatar-plate::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: 1;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--plate-grid) 0 1px,
    transparent 1px 22px
  );
  -webkit-mask-image: linear-gradient(to bottom, transparent, black);
  mask-image: linear-gradient(to bottom, transparent, black);
  opacity: 0.7;
}

.avatar-plate::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  z-index: 3;
  background: linear-gradient(to top, var(--plate-fade), transparent);
  pointer-events: none;
}

.avatar {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 26px var(--avatar-shadow));
}

.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pill-text);
  box-shadow: var(--pill-shadow);
  transform: translateZ(46px);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  pointer-events: none;
}

.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.chip-a {
  top: 13%;
  right: -3%;
  animation: float 8s ease-in-out infinite;
}

.chip-b {
  bottom: 20%;
  left: -5%;
  animation: float 9s ease-in-out infinite reverse;
}

.figure-zoom {
  position: absolute;
  left: 50%;
  bottom: 2%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pill-text);
  box-shadow: var(--pill-shadow);
  opacity: 0;
  transform: translate(-50%, 6px) translateZ(52px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  pointer-events: none;
}

.figure-zoom .od-icon {
  --od-icon-size: 13px;
  color: var(--brass);
}

.figure-btn:hover .figure-zoom,
.figure-btn:focus-visible .figure-zoom {
  opacity: 1;
  transform: translate(-50%, 0) translateZ(52px);
}

.partner-info {
  margin-top: 10px;
}

.partner-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.partner-bio {
  max-width: 35ch;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .partner-bio {
    min-height: calc(4 * 1.62em);
  }
}

.partner-contact {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.partner-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.partner-contact a:hover {
  color: var(--brass-2);
}

.partner-contact .od-icon {
  --od-icon-size: 14px;
  flex: none;
  color: var(--brass);
}

.partner-contact a > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.partner-contact .partner-wa {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-arrow .od-icon {
  --od-icon-size: 15px;
  transition: transform 0.22s var(--ease);
}

.link-arrow:hover {
  color: var(--brass-2);
  border-bottom-color: var(--brass);
}

.link-arrow:hover .od-icon {
  transform: translateX(3px);
}

.services {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.services-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .services-rail {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }
}

.partner-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.partner-tab:hover {
  background: var(--tab-hover);
}

.partner-tab[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--line-2);
}

.tab-thumb {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-2);
  overflow: hidden;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tab-thumb svg {
  position: absolute;
  left: -25%;
  top: -33%;
  width: 150%;
  height: auto;
}

.tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.tab-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.tab-role {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color 0.2s var(--ease);
}

.partner-tab[aria-selected="true"] .tab-role {
  color: var(--accent, var(--brass));
}

.tab-arrow {
  --od-icon-size: 16px;
  color: var(--muted-2);
  transition: transform 0.22s var(--ease), color 0.22s var(--ease);
}

.partner-tab[aria-selected="true"] .tab-arrow {
  color: var(--accent, var(--brass));
  transform: translateX(2px);
}

.services-panel {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  overflow: hidden;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.services-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80% 60% at 100% 0%,
    color-mix(in srgb, var(--accent, var(--brass)) 13%, transparent),
    transparent 62%
  );
  pointer-events: none;
}

.services-panel > * {
  position: relative;
  z-index: 1;
}

.panel-kicker {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--brass));
}

.panel-title {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.services-grid {
  --od-cols: 2;
  --od-gap: 12px;
  margin-top: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 152px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-wash);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
    transform 0.22s var(--ease);
  opacity: 0;
  transform: translateY(10px);
}

.services-panel.is-active .service-card {
  animation: card-in 0.38s var(--ease-out) both;
  animation-delay: calc(var(--i) * 45ms + 50ms);
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--brass)) 45%, var(--line-2));
  background: var(--card-hover);
  transform: translateY(-3px);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-index {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent, var(--brass));
  font-variant-numeric: tabular-nums;
}

.service-icon {
  display: inline-flex;
  --od-icon-size: 20px;
  color: var(--accent, var(--brass));
  opacity: 0.9;
}

.service-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.panel-foot .btn {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 12px;
}

.panel-foot p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.approach-grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (min-width: 1024px) {
  .approach-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.approach-quote {
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.approach-quote em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.approach-note {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
}

.principles {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principle-index {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.principle h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.principle p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
}

.contact {
  position: relative;
  padding-block: clamp(84px, 10vw, 140px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: min(900px, 110vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--contact-glow), transparent 62%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.contact-eyebrow {
  justify-content: center;
}

.contact-title {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 7.6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.contact-title em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.contact-lead {
  max-width: 48ch;
  margin: 26px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 34px;
}

.footer-word {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 13vw, 10rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: var(--footer-word);
  margin-bottom: 36px;
  user-select: none;
  transition: color 0.3s var(--ease);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand .brand-word {
  font-size: 14px;
}

.footer-brand p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-mail {
  align-self: flex-start;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  transition: color 0.2s var(--ease);
}

.footer-mail:hover {
  color: var(--brass-2);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-nav a:hover {
  color: var(--brass-2);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-2);
}

.profile-dialog {
  width: min(1020px, 94vw);
  max-width: none;
  max-height: 92vh;
  max-height: 92svh;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--dialog-shadow);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94) translateY(18px);
  transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out);
}

.profile-dialog[open].is-open {
  opacity: 1;
  transform: none;
}

.profile-dialog[open].is-closing {
  opacity: 0;
  transform: scale(0.97) translateY(8px);
}

.profile-dialog::backdrop {
  background: transparent;
  transition: background-color 0.26s var(--ease);
}

.profile-dialog[open].is-open::backdrop {
  background: var(--scrim);
}

.dialog-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  max-height: min(90vh, 780px);
  max-height: min(90svh, 780px);
  overflow: hidden;
}

.dialog-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 32px;
  background: var(--ink-2);
  background: radial-gradient(
    100% 80% at 50% 10%,
    color-mix(in srgb, var(--accent, var(--brass)) 16%, var(--surface-2)) 0%,
    var(--ink-2) 64%,
    var(--ink) 100%
  );
  overflow: hidden;
}

.dialog-halo {
  position: absolute;
  inset: 10%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent, var(--brass)) 26%, transparent),
    transparent 62%
  );
  filter: blur(32px);
  opacity: 0.7;
  pointer-events: none;
}

.dialog-avatar-wrap {
  position: relative;
  z-index: 1;
  width: min(320px, 82%);
  transform: translateY(-34px);
}

.dialog-avatar {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 34px var(--avatar-shadow-lg));
  opacity: 0.7;
  transform: scale(1.06);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.profile-dialog.is-open .dialog-avatar {
  opacity: 1;
  transform: none;
}

.dialog-tag {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--pill-bg);
  box-shadow: var(--pill-shadow);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pill-text);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.dialog-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, var(--brass));
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--pill-bg);
  color: var(--pill-text);
  box-shadow: var(--pill-shadow);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.dialog-close:hover {
  border-color: var(--brass);
  color: var(--brass-2);
  background: var(--surface-2);
}

.dialog-close .od-icon {
  --od-icon-size: 18px;
}

.dialog-body {
  min-height: 0;
  max-height: min(90vh, 780px);
  max-height: min(90svh, 780px);
  padding: clamp(24px, 3.4vw, 46px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-role {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--brass));
}

.dialog-name {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.dialog-bio {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.dialog-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 22px;
}

.dialog-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-wash);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.dialog-contact-item:hover {
  border-color: color-mix(in srgb, var(--accent, var(--brass)) 45%, var(--line-2));
  background: var(--card-hover);
}

.ci-icon {
  display: inline-flex;
  flex: none;
  color: var(--accent, var(--brass));
}

.ci-icon .od-icon {
  --od-icon-size: 17px;
}

.ci-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ci-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.ci-value {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: anywhere;
}

.dialog-services {
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.dialog-services li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.d-icon {
  display: inline-flex;
  --od-icon-size: 18px;
  color: var(--accent, var(--brass));
  margin-top: 2px;
}

.d-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.d-title {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
}

.d-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

.dialog-actions {
  margin-top: 26px;
}

.dialog-actions .btn {
  width: 100%;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes word-up {
  to {
    transform: translateY(0);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px var(--dot-glow);
  }
  50% {
    box-shadow: 0 0 0 7px var(--dot-glow-2);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ring-spin {
  to {
    transform: translateZ(-40px) rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateZ(46px) translateY(0);
  }
  50% {
    transform: translateZ(46px) translateY(-9px);
  }
}

@keyframes plate-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.brand,
.brand-mark,
.eyebrow,
.eyebrow .num,
.hero-sub,
.hero-meta span,
.section-lead,
.partner-index,
.partner-role,
.partner-bio,
.tab-name,
.tab-role,
.panel-kicker,
.service-desc,
.service-index,
.service-icon,
.panel-foot p,
.principle-index,
.principle p,
.contact-lead,
.approach-note,
.marquee-group span,
.footer-brand p,
.footer-nav,
.footer-legal,
.mobile-menu nav a,
.menu-foot,
.hero-title em,
.section-title em,
.approach-quote em,
.contact-title em {
  transition: color 0.3s var(--ease);
}

@media (max-width: 1023px) {
  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-rail {
    flex-direction: row;
    gap: 10px;
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .services-rail.is-scrollable {
    cursor: grab;
  }

  .services-rail.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .services-rail::-webkit-scrollbar {
    display: none;
  }

  .partner-tab {
    flex: none;
    width: auto;
    min-width: 232px;
    scroll-snap-align: start;
  }

  .section-head .section-lead {
    max-width: 52ch;
  }
}

@media (max-width: 1023px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .partner {
    max-width: 580px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 0;
  }

  .partner + .partner {
    border-left: 0;
    border-top: 0;
  }

  .figure {
    padding: 4% 10% 12%;
  }

  .hero-scroll {
    display: none;
  }

  .dialog-inner {
    grid-template-columns: 1fr;
    max-height: 92svh;
    overflow-y: auto;
  }

  .dialog-visual {
    min-height: 300px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }

  .dialog-body {
    max-height: none;
    overflow: visible;
  }

  .dialog-avatar-wrap {
    width: min(240px, 66%);
    transform: translateY(-24px);
  }
}

@media (max-width: 640px) {
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-grid {
    --od-cols: 1;
  }

  .dialog-contact {
    grid-template-columns: 1fr;
  }

  .panel-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-foot .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    align-items: flex-start;
    text-align: left;
  }

  .figure-zoom {
    display: none;
  }

  .chip-b {
    display: none;
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .approach-quote {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-word {
    font-size: 12.5px;
    letter-spacing: 0.14em;
  }

  .brand-sub {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 460px) {
  .chip-a {
    display: none;
  }

  .partner-tab {
    min-width: 210px;
  }

  .dialog-tag {
    left: 18px;
    bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-title .w > span,
  .hero-sub,
  .hero-actions,
  .hero-meta,
  .hero-eyebrow {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
    width: 100%;
    overflow: hidden;
  }

  .marquee-group:nth-child(2) {
    display: none;
  }

  .figure-rings {
    animation: none !important;
  }

  .chip {
    animation: none !important;
  }

  .dot {
    animation: none !important;
  }
}
