/* ELIAMA private-commission art direction. Loaded after the component base. */

html {
  background: var(--bg-base);
  scroll-padding-top: var(--nav-height);
}

body {
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(200, 173, 127, .07), transparent 72%),
    radial-gradient(ellipse 65% 35% at 50% 100%, rgba(200, 173, 127, .035), transparent 75%),
    var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--bg-base);
}

a,
button,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
}

.header-nav {
  z-index: 50;
  height: var(--nav-height);
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  background: rgba(10, 9, 8, .76);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.header-nav__brand {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  margin-left: 3.25rem;
  padding: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1;
}

.header-nav__brand span {
  margin-left: .7rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: .55rem;
  font-weight: 400;
  letter-spacing: .28em;
}

.header-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 1.8vw, 2rem);
}

.header-nav .header-nav__links a {
  position: relative;
  padding: .75rem 0;
  color: var(--text-secondary);
  font-size: .64rem;
  letter-spacing: .16em;
  white-space: nowrap;
}

.header-nav .header-nav__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .45rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
}

.header-nav .header-nav__links a:hover::after,
.header-nav .header-nav__links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-nav .header-nav__commission {
  flex: 0 0 auto;
  padding: .75rem 1.15rem;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: .58rem;
  letter-spacing: .13em;
  white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}

.header-nav .header-nav__commission:hover {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--bg-base);
}

.menu-trigger {
  z-index: 60;
  top: 1.65rem;
  left: clamp(1.25rem, 3vw, 3rem);
  gap: 6px;
}

.menu-trigger span {
  height: 1px;
  background: var(--text-primary);
  transition: transform .3s var(--ease-out), opacity .3s;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: calc(var(--nav-height) + 4rem) 2rem 8rem;
  background: var(--bg-base);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
  pointer-events: none;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(200, 173, 127, .07), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 35%, rgba(10, 9, 8, .7) 100%);
}

.hero-engine {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(66vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 173, 127, .1);
  border-radius: 50%;
  opacity: .72;
  transform: translate(-50%, -50%) rotateX(66deg);
  box-shadow: 0 0 120px rgba(200, 173, 127, .04), inset 0 0 100px rgba(200, 173, 127, .035);
}

.hero-engine::before,
.hero-engine::after,
.hero-engine span {
  content: "";
  position: absolute;
  border: 1px solid rgba(245, 242, 237, .08);
  border-radius: 50%;
}

.hero-engine::before { inset: 9%; }
.hero-engine::after { inset: 23%; border-color: rgba(200, 173, 127, .16); }
.hero-engine span:nth-child(1) { inset: 35%; }
.hero-engine span:nth-child(2) { inset: 44%; background: rgba(200, 173, 127, .06); }
.hero-engine span:nth-child(3) { inset: 48%; background: var(--accent); box-shadow: 0 0 50px rgba(200, 173, 127, .45); }

.hero-engine i {
  position: absolute;
  inset: -1px;
  border-top: 1px solid rgba(200, 173, 127, .5);
  border-radius: 50%;
  animation: engine-turn 24s linear infinite;
}

@keyframes engine-turn {
  to { transform: rotate(360deg); }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero .utility-status {
  position: static;
  display: inline-flex;
  margin: 0 0 clamp(1.75rem, 4vh, 3rem);
  padding: 0;
  border: 0;
  color: var(--text-secondary);
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero .utility-status::before,
.hero .utility-status::after {
  content: "";
  width: clamp(1.5rem, 4vw, 3.25rem);
  height: 1px;
  margin: 0 1rem;
  background: var(--border);
}

.status-dot {
  color: var(--accent);
  font-size: .5rem;
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(4.25rem, 9.4vw, 9.5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .88;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .45);
}

.hero-copy .hero-sub-headline {
  max-width: 32ch;
  margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.hero-copy .scroll-copy {
  max-width: 62ch;
  margin: 1.35rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(.85rem, 1.1vw, 1rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: clamp(2rem, 4vh, 3rem);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 54px;
  padding: 1rem 1.65rem;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s, border-color .25s, color .25s;
}

.hero-button--primary {
  background: var(--text-primary);
  color: var(--bg-base);
}

.hero-button--primary:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.hero-button--secondary {
  border-color: var(--border);
  background: rgba(10, 9, 8, .2);
}

.hero-button--secondary:hover {
  border-color: var(--text-primary);
  background: rgba(245, 242, 237, .06);
}

.hero-button span {
  transition: transform .3s var(--ease-out);
}

.hero-button:hover span {
  transform: translateX(4px);
}

.scroll-cue {
  position: absolute;
  bottom: 4.6rem;
  left: 50%;
  width: 1px;
  height: 2.5rem;
  overflow: hidden;
  background: var(--line-soft);
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 45%;
  background: var(--accent);
  animation: scroll-drip 2.4s var(--ease-out) infinite;
}

@keyframes scroll-drip {
  from { transform: translateY(-110%); }
  to { transform: translateY(240%); }
}

.book-call {
  min-height: 96px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-gloss);
  box-shadow: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .2em;
  transition: background .3s, color .3s;
}

.book-call:hover {
  background: var(--text-primary);
  box-shadow: none;
  color: var(--bg-base);
  transform: none;
}

.about-section,
.content-section,
.related-section,
.deliverables-section,
.faq-section,
.angle-section {
  background: var(--bg-base);
  color: var(--text-primary);
}

.about-section {
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(6rem, 11vw, 11rem) max(8vw, calc((100vw - var(--content-width)) / 2));
}

.about-block {
  grid-template-columns: minmax(140px, 20%) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.about-block > span,
.section-number {
  color: var(--ink-faint);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.friction-question {
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.about-copy {
  max-width: 26ch;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4.25rem);
  letter-spacing: -.035em;
  line-height: 1.02;
}

.pillars-grid {
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.pillar-badge {
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 0;
  background: var(--bg-gloss);
}

.pillar-layer {
  color: var(--ink-faint);
  font-size: .58rem;
  letter-spacing: .18em;
}

.pillar-name {
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
}

.trust-banner {
  padding-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.trust-banner p {
  max-width: 38ch;
  margin-inline: auto;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-style: italic;
  line-height: 1.25;
}

.content-section {
  min-height: 92svh;
  padding: clamp(7rem, 11vw, 11rem) max(8vw, calc((100vw - var(--content-width)) / 2));
}

.content-section:nth-of-type(even) {
  background: var(--bg-gloss);
}

.content-section > .section-number {
  position: static;
  display: block;
  margin-bottom: 2rem;
}

.content-section h1,
.content-section h2 {
  max-width: 16ch;
  font-size: clamp(3.25rem, 6.5vw, 6.75rem);
  letter-spacing: -.045em;
  line-height: .94;
}

.content-section h1 em,
.content-section h2 em {
  color: var(--text-secondary);
  font-weight: 400;
}

.content-section > p {
  max-width: 58ch;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: clamp(.95rem, 1.25vw, 1.1rem);
  line-height: 1.8;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-heading .section-number {
  position: static;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  max-width: 15ch;
}

.section-heading p {
  max-width: 58ch;
  margin: 2rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.service-list--marbles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem) 1rem;
  max-width: 1180px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  border: 0;
}

.service-list--marbles .marble-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding: 1.5rem .75rem 1.75rem;
  border: 1px solid transparent;
  color: var(--text-primary);
  text-align: center;
  transition: border-color .35s, background .35s;
}

.service-list--marbles .marble-slot:hover,
.service-list--marbles .marble-slot:focus-visible {
  padding-left: .75rem;
  border-color: var(--line-soft);
  background: rgba(245, 242, 237, .018);
}

.marble-stage {
  --size: clamp(82px, 7vw, 108px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 168px;
  transition: transform .45s var(--ease-out);
}

.marble {
  --c1: #a88958;
  --c2: #251a0e;
  --gl: rgba(255, 235, 194, .9);
  position: relative;
  display: block;
  width: var(--size);
  height: var(--size);
  flex: 0 0 var(--size);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .34) 9%, transparent 24%),
    radial-gradient(circle at 70% 78%, color-mix(in srgb, var(--c1) 62%, white) 0%, transparent 38%),
    radial-gradient(circle at 42% 38%, color-mix(in srgb, var(--c1) 34%, white) 0%, var(--c1) 46%, var(--c2) 80%, #050403 100%);
  box-shadow:
    inset -12px -16px 26px rgba(0, 0, 0, .38),
    inset 9px 11px 22px rgba(255, 255, 255, .14),
    0 22px 40px -12px rgba(0, 0, 0, .8),
    0 0 46px -4px color-mix(in srgb, var(--c1) 52%, transparent);
  animation: marble-bob 7s ease-in-out infinite;
}

.marble::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 62% 34%, var(--gl) 0%, transparent 42%),
    radial-gradient(closest-side at 40% 66%, color-mix(in srgb, var(--gl) 35%, transparent) 0%, transparent 55%);
  filter: blur(1.5px);
  mix-blend-mode: screen;
  opacity: .7;
}

.marble::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 118%, rgba(255, 255, 255, .16), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
}

.marble-slot:nth-child(4n+2) .marble,
.marble-slot:nth-child(4n+2) .marble-reflection i {
  --c1: #426e60;
  --c2: #0d2420;
  --gl: rgba(195, 240, 220, .85);
}

.marble-slot:nth-child(4n+3) .marble,
.marble-slot:nth-child(4n+3) .marble-reflection i {
  --c1: #777b80;
  --c2: #191c20;
  --gl: rgba(225, 235, 245, .85);
}

.marble-slot:nth-child(4n) .marble,
.marble-slot:nth-child(4n) .marble-reflection i {
  --c1: #81504c;
  --c2: #281110;
  --gl: rgba(245, 203, 185, .85);
}

.marble-slot:nth-child(3n+2) .marble { animation-delay: -2.4s; animation-duration: 7.8s; }
.marble-slot:nth-child(3n) .marble { animation-delay: -4.2s; animation-duration: 6.6s; }

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

.marble-shadow {
  width: calc(var(--size) * .8);
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .72), transparent 72%);
  filter: blur(4px);
}

.marble-reflection {
  display: block;
  width: var(--size);
  height: calc(var(--size) * .35);
  margin-top: 2px;
  overflow: hidden;
  border-radius: 50%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 80%);
  opacity: .25;
}

.marble-reflection i {
  --c1: #a88958;
  --c2: #251a0e;
  display: block;
  width: 100%;
  height: 200%;
  border-radius: 50%;
  background: radial-gradient(circle at 31% 74%, rgba(255, 255, 255, .65), transparent 18%), radial-gradient(circle at 50% 45%, var(--c1), var(--c2) 70%);
  transform: scaleY(-1);
}

.service-list--marbles .service-number {
  min-width: 0;
  color: var(--ink-faint);
  font-size: .58rem;
  letter-spacing: .25em;
  opacity: 1;
}

.service-list--marbles .service-label {
  max-width: 18ch;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: none;
}

.service-list--marbles .service-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  color: var(--accent);
  font-size: .8rem;
  opacity: 0;
}

@media (hover: hover) {
  .marble-slot:hover .marble-stage {
    transform: translateY(-10px) scale(1.035);
  }

  .marble-slot:hover .service-arrow {
    opacity: 1;
    transform: none;
  }
}

.service-list:not(.service-list--marbles) {
  max-width: 960px;
}

.service-list:not(.service-list--marbles) .service-link {
  border-bottom-color: var(--border);
}

.service-list:not(.service-list--marbles) .service-label {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: .02em;
}

.process-list {
  border-color: var(--border);
}

.process-list b {
  color: var(--text-muted);
}

.process-list strong {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.portfolio-list {
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.portfolio-list div {
  min-height: 190px;
  justify-content: space-between;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 0;
  background: var(--bg-gloss);
}

.portfolio-list b {
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.15;
  opacity: .9;
}

.portfolio-card:hover {
  background: var(--bg-raised);
}

.security-callout,
.role-card,
.insight-card,
.insight-contact {
  border-color: var(--border);
  background: rgba(245, 242, 237, .025);
  box-shadow: none;
}

.security-callout p,
.role-card__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.3;
}

.final-section {
  align-items: center;
  justify-content: center;
  min-height: 80svh;
  text-align: center;
}

.final-section h2 {
  max-width: 15ch;
}

.final-call {
  width: 100%;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
}

.elevator-pitch {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-gloss);
}

.elevator-pitch__text {
  max-width: 24ch;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 1.04;
}

.related-section,
.deliverables-section,
.faq-section,
.angle-section {
  padding-inline: max(8vw, calc((100vw - var(--content-width)) / 2));
}

.related-section h2,
.deliverables-section h2,
.faq-section h2,
.angle-section h2,
.case-study-header h2,
.case-studies-cta h2,
.role-card h3 {
  font-family: var(--font-serif);
  letter-spacing: -.035em;
}

.deliverable-label,
.faq-question {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

.angle-copy {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.35;
}

.capabilities-select,
.search-form__input {
  border-color: var(--border);
  background: var(--bg-gloss);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.capabilities-select option,
.capabilities-select optgroup {
  background: var(--bg-gloss);
  color: var(--text-primary);
}

.search-form__button,
.send-button,
.devise-form input[type="submit"] {
  background: var(--text-primary);
  color: var(--bg-base);
  font-family: var(--font-sans);
  font-weight: 500;
}

.search-form__button:hover,
.send-button:hover,
.devise-form input[type="submit"]:hover {
  background: var(--accent);
  color: var(--bg-base);
}

.case-study-number,
.case-study-header h2,
.case-study-block p,
.case-studies-intro {
  font-family: var(--font-serif);
}

.case-study-block p {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

.case-study-tag {
  border-color: var(--border);
  color: var(--text-muted);
}

.insight-card__title,
.insight-page__title,
.insight-page__body h2,
.insight-contact__title {
  font-family: var(--font-serif);
}

.insight-card__title {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.1;
}

.insight-card:hover {
  border-color: rgba(200, 173, 127, .35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
  transform: translateY(-4px);
}

.legal-page__body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
}

.contact-drawer {
  z-index: 90;
  border-left: 1px solid var(--border);
  background: var(--bg-gloss);
  box-shadow: -30px 0 90px rgba(0, 0, 0, .35);
}

.drawer-inner h2,
.drawer-success h2 {
  font-family: var(--font-serif);
  letter-spacing: -.045em;
}

.drawer-inner > p,
.drawer-inner form > p {
  color: var(--text-muted);
}

.drawer-inner input,
.drawer-inner textarea {
  font-family: var(--font-sans);
}

.site-menu {
  z-index: 70;
  background:
    radial-gradient(ellipse 70% 70% at 85% 15%, rgba(200, 173, 127, .07), transparent 70%),
    var(--bg-base);
}

.site-menu > a {
  width: fit-content;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.site-menu .menu-contact {
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.language-switcher {
  font-family: var(--font-sans);
}

.site-footer {
  padding: clamp(4rem, 8vw, 7rem) max(5vw, calc((100vw - 1360px) / 2)) 2.5rem;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-gloss);
}

.site-footer__wordmark {
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  color: transparent;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15.2vw, 13rem);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: .75;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(245, 242, 237, .18);
  user-select: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1.5fr 1.25fr .8fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.site-footer__group {
  min-width: 0;
  margin: 0;
}

.site-footer__label {
  margin-bottom: 1.5rem;
  color: var(--ink-faint);
  font-size: .58rem;
  letter-spacing: .2em;
}

.site-footer__links {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: .65rem;
}

.site-footer__links a {
  width: fit-content;
  max-width: 100%;
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .02em;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.site-footer__links a:hover {
  color: var(--text-primary);
}

.site-footer__rights {
  margin-top: clamp(3rem, 6vw, 5rem);
  color: var(--ink-faint);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-transition {
  background: var(--bg-base);
}

.site-flash {
  z-index: 100;
  background: var(--bg-raised);
  color: var(--text-primary);
}

.sectors-field {
  background: var(--bg-base);
}

.sectors-field h1,
.sf-tile__label {
  font-family: var(--font-serif);
}

.sf-tile__label {
  font-weight: 500;
}

@media (max-width: 1180px) {
  .header-nav__links {
    display: none;
  }

  .header-nav__commission {
    margin-left: auto;
  }

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

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

@media (max-width: 760px) {
  .hero {
    padding: calc(var(--nav-height) + 3rem) 1.25rem 8rem;
  }

  .hero-engine {
    width: 120vw;
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 17vw, 6.5rem);
  }

  .hero-copy .hero-sub-headline {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-button {
    width: min(100%, 360px);
  }

    .service-list--marbles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0;
  }

  .marble-stage {
    height: 148px;
  }

  .about-block {
    grid-template-columns: 1fr;
  }

  .portfolio-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-list div {
    min-height: 150px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .header-nav {
    padding-inline: 1.25rem;
  }

  .header-nav__brand {
    margin-left: 2.75rem;
    font-size: 1.2rem;
  }

  .header-nav__brand span,
  .header-nav__commission {
    display: none;
  }

  .hero .utility-status {
    font-size: .52rem;
    letter-spacing: .16em;
  }

  .hero .utility-status::before,
  .hero .utility-status::after {
    margin-inline: .65rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  .content-section h1,
  .content-section h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .about-section,
  .content-section {
    padding: 7rem 6vw;
  }

  .section-heading {
    align-items: flex-start;
    text-align: left;
  }

  .service-list--marbles .marble-slot {
    padding-inline: .25rem;
  }

  .service-list--marbles .marble-slot:hover,
  .service-list--marbles .marble-slot:focus-visible {
    padding-left: .25rem;
  }

  .marble-stage {
    --size: 78px;
    height: 132px;
  }

  .service-list--marbles .service-label {
    font-size: .95rem;
  }

  .portfolio-list,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-list div:last-child {
    grid-column: auto;
  }

  .contact-drawer {
    border-left: 0;
  }

  .site-footer__wordmark {
    font-size: 22vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-engine i,
  .scroll-cue span,
  .marble {
    animation: none;
  }

  .marble-stage,
  .hero-button span,
  .header-nav a::after,
  .insight-card {
    transition: none;
  }
}
