/* Bluecrete Asset
   Navy #08093D is the existing site background.
   Gold #E0D070 and shield blue are sampled from the crest. */

:root {
  --navy: #08093d;
  --navy-deep: #050628;
  --navy-raise: #14164e;
  --ivory: #f3efe4;
  --ivory-2: #e7e1d2;
  --ink: #14162c;
  --ink-soft: #3c4060;
  --gold: #e0d070;
  --gold-deep: #6e5628;
  --shield: #1a4a9c;
  --line: rgba(20, 22, 44, 0.16);
  --line-light: rgba(243, 239, 228, 0.18);
  --danger: #7a2e2e;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", Helvetica, Arial, sans-serif;
  --header: 4.75rem;
  --ease: cubic-bezier(0.16, 0.84, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

picture {
  display: contents;
}

picture source {
  display: none;
}

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

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

a {
  color: inherit;
}

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

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

.hero :focus-visible,
.statement :focus-visible,
.site-footer :focus-visible,
.site-header[data-surface="dark"] :focus-visible,
.nav-menu[open] :focus-visible {
  outline-color: var(--gold);
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 400;
  background: var(--gold);
  color: var(--navy);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1380px, calc(100% - 2.4rem));
  max-width: calc(100% - 2.4rem);
  margin-inline: auto;
}

.hero > .wrap {
  min-width: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker span {
  color: var(--gold-deep);
}

.hero .kicker span,
.statement .kicker span {
  color: var(--gold);
}

h1, h2, .logo-name em, .company h3, .theme h3, .menu-link {
  font-family: var(--serif);
  font-weight: 500;
}

em {
  font-style: italic;
}

.section {
  padding: 5.25rem 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 50rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.2rem;
  color: var(--ink);
  background: rgba(243, 239, 228, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header[data-surface="dark"],
.site-header[data-surface="dark"].is-scrolled,
.site-header[data-surface="light"] {
  color: var(--ink);
  background: rgba(243, 239, 228, 0.96);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.logo img {
  width: auto;
  height: 52px;
}

.logo-name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-name em {
  font-size: 1.2em;
  letter-spacing: 0;
  text-transform: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 0;
}

.nav-links a.is-current,
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.4em;
}

.site-header[data-surface="light"] .nav-links a[aria-current="page"] {
  text-decoration-color: var(--gold-deep);
}

.site-header[data-surface="light"] .nav-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold-deep);
  text-underline-offset: 0.4em;
}

.site-header[data-surface="dark"] .nav-links a:hover {
  color: var(--navy);
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--navy);
  text-decoration: none;
}

.nav-links .nav-cta[aria-current="page"] {
  background: var(--navy);
  color: var(--ivory);
  text-decoration: none;
}

.nav-menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu .close-label {
  display: none;
}

/* backdrop-filter on the header would trap this fixed layer inside the bar */
.site-header:has(.nav-menu[open]) {
  color: var(--ivory);
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header:has(.nav-menu[open]) .logo {
  position: relative;
  z-index: 320;
}

.nav-menu[open] {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding:
    max(0.85rem, env(safe-area-inset-top))
    max(1.2rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom))
    max(1.2rem, env(safe-area-inset-left));
  background:
    radial-gradient(ellipse at 80% 10%, rgba(224, 208, 112, 0.12), transparent 36%),
    var(--navy);
  color: var(--ivory);
}

.nav-menu[open] .open-label {
  display: none;
}

.nav-menu[open] .close-label {
  display: inline;
}

.nav-menu[open] summary {
  margin-left: auto;
}

.nav-menu[open]::details-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.nav-menu nav {
  display: none;
}

.nav-menu[open] nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  margin-top: auto;
  margin-bottom: 8vh;
}

.menu-link {
  display: block;
  padding: 0.15rem 0;
  font-size: clamp(2.7rem, 12vw, 4.4rem);
  line-height: 0.95;
  text-decoration: none;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: var(--gold);
}

.menu-contact {
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Hero */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 1.5rem) 0 2.5rem;
  background-color: #040514;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #040514 url("../assets/hero-poster.webp") center / cover no-repeat;
  background-image: image-set(
    url("../assets/hero-poster.avif") type("image/avif"),
    url("../assets/hero-poster.webp") type("image/webp")
  );
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero > .wrap {
  position: relative;
  z-index: 3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(4, 5, 20, 0.78) 0%, rgba(4, 5, 20, 0.42) 46%, rgba(4, 5, 20, 0.18) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("../assets/grain.webp");
  background-image: image-set(
    url("../assets/grain.avif") type("image/avif"),
    url("../assets/grain.webp") type("image/webp")
  );
  mix-blend-mode: overlay;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(3.3rem, 7.2vw, 6.4rem);
  font-weight: 700;
  font-variation-settings: "wght" 700;
  line-height: 0.92;
  letter-spacing: -0.025em;
  -webkit-text-stroke: 0.45px currentColor;
  paint-order: stroke fill;
}

.hero h1 .line {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 719px) {
  .hero {
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.15rem);
  }

  .hero .kicker {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .hero .actions,
  .hero .btn,
  .hero .text-link {
    max-width: 100%;
  }

  .hero::before {
    background-image: linear-gradient(180deg, rgba(4, 5, 20, 0.55) 0%, rgba(4, 5, 20, 0.78) 38%, rgba(4, 5, 20, 0.84) 100%);
  }
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.line-b {
  max-width: min(12em, 100%);
  margin-top: 0.15rem;
  font-size: 1em;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.hero-mark {
  width: 72px;
  height: auto;
  margin-bottom: 1.25rem;
}

.lede {
  max-width: min(38rem, 100%);
  margin-top: 1.35rem;
  color: #e6e2d6;
  font-size: 1.05rem;
  font-weight: 400;
}

.identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  max-width: 40rem;
  margin-top: 1.35rem;
}

.identity div {
  padding-top: 0.55rem;
  border-top: 1px solid var(--line-light);
}

.identity dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.identity dd {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ivory);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.6rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--ivory);
  color: var(--navy);
}

.btn.on-light {
  border-color: var(--navy);
  color: var(--navy);
}

.btn.on-light:hover,
.btn.on-light:focus-visible {
  background: var(--navy);
  color: var(--ivory);
}

.text-link.on-light {
  color: var(--ink);
  border-bottom-color: var(--gold-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}

.arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow,
.text-link:hover .arrow,
.company:hover .arrow,
.company:focus-within .arrow {
  transform: translateX(4px);
}

.hero-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(100%, 460px);
  height: auto;
  overflow: visible;
}

.hero-crest {
  position: relative;
  width: min(78%, 360px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}

.hero-names {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin-top: 2.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
}

.hero-names a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6e2d6;
}

.hero-names a:hover {
  color: var(--gold);
}

/* Business model */

.model {
  background: var(--ivory);
}

.model-lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

.model-list {
  margin-top: 2.2rem;
}

.model-list li {
  display: grid;
  gap: 0.7rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.model-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.model-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.model-list p {
  max-width: 40rem;
  color: var(--ink-soft);
}

/* About */

.about {
  background: var(--ivory);
}

.firm-band {
  background: var(--ivory-2);
}

.fact-cards {
  gap: 0.85rem;
  border-top: 0;
}

.fact-cards div {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1.2rem;
}

.fact-cards dd {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.15;
  color: var(--navy);
}

.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.logo-grid a {
  display: flex;
  flex-direction: column;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.logo-tile,
.logo-tile.light {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 1.25rem;
  background: #efeeeb;
  transition: background 0.25s var(--ease);
}

.logo-grid a:hover .logo-tile,
.logo-grid a:focus-visible .logo-tile {
  background: #e3e1dc;
}

.logo-tile img {
  display: block;
  width: 100%;
  max-height: 4.6rem;
  object-fit: contain;
}

.logo-tile.crest img {
  width: auto;
  max-width: 72%;
  max-height: 7.5rem;
}

.logo-word {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 0.95;
  text-align: center;
}

.logo-word small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.logo-grid strong {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.logo-grid em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.about h2,
.model h2,
.record h2,
.portfolio h2,
.philosophy h2,
.contact h2 {
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.about h2 em,
.model h2 em,
.record h2 em,
.portfolio h2 em,
.philosophy h2 em,
.contact h2 em {
  color: var(--navy);
}

.about-copy p + p,
.contact-copy p + p,
.legal p + p {
  margin-top: 1.1rem;
}

.about-copy {
  max-width: 38rem;
  color: var(--ink-soft);
}

.facts {
  display: grid;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.facts dd {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

/* Portfolio */

.portfolio {
  background: var(--ivory);
  padding-top: 1rem;
}

.portfolio-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.portfolio-head p {
  max-width: 36rem;
  color: var(--ink-soft);
}

.portfolio-note {
  max-width: 36rem;
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.group-map {
  margin: 0 0 3rem;
}

.group-map figcaption {
  margin-bottom: 1.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.group-map-core {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.group-map ol {
  border-left: 1px solid var(--line);
}

.group-map a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.65rem 0 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.group-map a span {
  flex: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.group-map a:hover,
.group-map a:focus-visible {
  color: var(--navy);
  border-left-color: var(--gold-deep);
  background: linear-gradient(90deg, rgba(224, 208, 112, 0.16), transparent 70%);
}

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

.company:last-child {
  border-bottom: 1px solid var(--line);
}

.plate {
  display: grid;
  gap: 1.15rem;
  padding: 1.75rem 0 2rem;
}

.plate-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--gold-deep);
}

.plate-copy {
  min-width: 0;
}

.company h3 {
  margin-top: 0.3rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.industry {
  margin-top: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.company .desc {
  max-width: 36rem;
  color: var(--ink-soft);
}

.credential {
  max-width: 36rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink);
}

.visit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
  width: fit-content;
  min-height: 44px;
}

.visit.static {
  border-bottom-color: transparent;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  min-height: 190px;
  padding: 1.5rem 1.25rem;
  overflow: hidden;
}

.visual img {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  max-height: 9.5rem;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}

.visual.crest {
  min-height: 190px;
}

.visual.crest img {
  width: auto;
  max-width: 78%;
  max-height: 15rem;
}

.visual.light {
  background: var(--ivory-2);
}

.visual.wordmark p {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-align: center;
}

.visual.wordmark span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stage-core {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stage-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.stage-core {
  flex-basis: 100%;
}

.stage-index button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stage-index button[aria-pressed="true"] {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--ivory-2);
}

.stage .company {
  display: block;
  border-top: 1px solid var(--line);
  margin-top: 2.75rem;
  padding-top: 2.75rem;
}

.stage .company:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.stage .company:target {
  scroll-margin-top: calc(var(--header) + 1rem);
}

.js .stage .company {
  display: none;
}

.js .stage .company.is-open,
.js .stage .company:target {
  display: block;
}

.stage .mark-grid .logo-tile,
.stage .mark-grid .logo-tile.light {
  background: #e8e6e2;
  height: 9rem;
  min-height: 9rem;
  padding: 1rem 1.15rem;
  transition: background 0.25s var(--ease);
}

.stage .mark-grid .logo-tile img,
.stage .mark-grid .logo-tile.crest img {
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 6.25rem;
}

.stage .mark-grid a:hover .logo-tile,
.stage .mark-grid a:focus-visible .logo-tile,
.stage .mark-grid a[aria-current="true"] .logo-tile {
  background: #d8d5d0;
}

.stage .mark-grid .logo-word,
.stage .mark-grid .logo-word small {
  color: var(--navy);
}

.stage .mark-grid [hidden] {
  display: none !important;
}

.stage .plate {
  padding: 0;
}

.stage .plate-index {
  display: none;
}

.stage .visual {
  min-height: 220px;
}

/* Philosophy */

.philosophy {
  background: var(--ivory-2);
}

.philosophy-intro {
  max-width: 38rem;
  margin: 1.25rem 0 2rem;
  color: var(--ink-soft);
}

.theme {
  display: grid;
  gap: 0.7rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.theme:last-child {
  border-bottom: 1px solid var(--line);
}

.theme h3 {
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
}

.theme p {
  max-width: 26rem;
  color: var(--ink-soft);
}

.philosophy-note {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Record */

.record {
  background: var(--ivory-2);
}

.record-lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

.record-list {
  margin-top: 2rem;
}

.record-list div {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.record-list div:last-child {
  border-bottom: 1px solid var(--line);
}

#officers {
  scroll-margin-top: calc(var(--header) + 1rem);
}

.record-list dt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.record-list dd {
  font-size: 1.05rem;
}

/* Statement */

.statement {
  padding: 5.5rem 0;
  background: var(--navy);
  color: var(--ivory);
}

.contact-page .statement {
  padding-top: calc(var(--header) + 3rem);
}

.statement-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.statement-crest {
  width: min(240px, 70%);
  height: auto;
}

.statement-copy {
  max-width: 36rem;
}

.statement h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.statement h1 em {
  color: var(--gold);
}

.statement p {
  margin-top: 1.4rem;
  max-width: 32rem;
  color: #e6e2d6;
}

.caption {
  margin-top: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #d9d6c8;
}

/* Contact */

.contact {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-copy p {
  max-width: 32rem;
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.contact-meta span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-meta a {
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.service-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1.2rem;
}

.service-paths a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.form {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.form-note {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-note,
.fine,
.field-error {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9rem;
}

.form-note,
.fine {
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(20, 22, 44, 0.28);
  border-radius: 0;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--navy);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.field [aria-invalid="true"] {
  border-bottom-color: var(--danger);
}

.field-error {
  color: var(--danger);
  min-height: 0;
}

.field-error:not([hidden]) {
  min-height: 1.2em;
}

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

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--navy);
}

.consent label {
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.fine a {
  color: var(--ink);
}

.submit {
  justify-self: start;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border: none;
  background: var(--navy);
  color: var(--ivory);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.submit:hover,
.submit:focus-visible {
  background: var(--navy-raise);
}

.submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form.is-sent .submit:disabled {
  cursor: default;
}

.form-status {
  min-height: 1.4em;
  max-width: 38rem;
}

.form-status.is-error {
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 3.5rem 0 2rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 50rem;
}

.footer-grid {
  display: grid;
  gap: 2.2rem;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1rem;
  color: #e6e2d6;
  font-size: 0.98rem;
}

.col-title {
  margin-bottom: 0.7rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f3efe4;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-footer li {
  color: #e6e2d6;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
  color: #d9d6c8;
}

.footer-base a {
  min-height: 44px;
}

.page-intro {
  padding: calc(var(--header) + 3.25rem) 0 0.5rem;
}

.page-intro.band {
  background: var(--ivory-2);
  padding-bottom: 3rem;
}

.intro-split {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

.page-intro h1 {
  max-width: 14em;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.page-intro h1 em {
  color: var(--navy);
}

.page-intro .lede {
  max-width: 40rem;
  color: var(--ink-soft);
}

.page-index {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.name-rail {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.name-rail a {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.15rem 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.name-rail span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.name-rail strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.name-rail em {
  grid-column: 2;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.perspective {
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 50rem;
  padding: 6.5rem 0;
  background: #040514;
  color: var(--ivory);
  overflow: hidden;
}

.perspective::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 5, 20, 0.78) 0%, rgba(4, 5, 20, 0.5) 55%, rgba(4, 5, 20, 0.35) 100%);
}

.perspective .wrap {
  position: relative;
  z-index: 1;
}

.perspective h2 {
  max-width: 12em;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.perspective h2 em {
  color: var(--gold);
}

.perspective .kicker span {
  color: var(--gold);
}

.perspective p {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: #e6e2d6;
}

.page-index a {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.page-index strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.page-index span {
  max-width: 36rem;
  color: var(--ink-soft);
}

.page-index a:hover,
.page-index a:focus-visible {
  background: linear-gradient(90deg, rgba(224, 208, 112, 0.16), transparent 80%);
}

.scope {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.scope p,
.scope li {
  max-width: 36rem;
  color: var(--ink-soft);
}

.scope ul {
  margin-top: 0.8rem;
}

.scope li + li {
  margin-top: 0.45rem;
}

.about-follow {
  margin-top: 2.5rem;
}

.visit-row {
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .name-rail a {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: center;
  }
  .name-rail em { grid-column: auto; }
  .page-index { grid-template-columns: 1fr 1fr; }
  .page-index a { padding-right: 1.5rem; }
  .scope { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Privacy */

.legal {
  padding-top: calc(var(--header) + 3rem);
  padding-bottom: 5rem;
}

.legal h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.legal .updated {
  margin: 1rem 0 2rem;
  color: var(--ink-soft);
}

.legal h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.legal p,
.legal li {
  max-width: 42rem;
  color: var(--ink-soft);
}

.legal ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.8rem;
}

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

.legal a {
  color: var(--ink);
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: page-in 0.45s var(--ease) both;
  }

  .line,
  .hero .lede,
  .hero .identity,
  .hero .actions,
  .hero-art {
    animation: rise 0.7s var(--ease) both;
  }

  .hero h1 .line:nth-child(2) { animation-delay: 0.06s; }
  .hero h1 .line:nth-child(3) { animation-delay: 0.1s; }
  .hero .lede { animation-delay: 0.14s; }
  .hero .identity { animation-delay: 0.18s; }
  .hero .actions { animation-delay: 0.22s; }

  .orbit path {
    stroke-dasharray: 1;
    animation: draw 0.9s var(--ease) both;
  }

  .orbit path:first-child {
    animation-duration: 1.35s;
    animation-delay: 0.15s;
  }

  .orbit path:not(:first-child) {
    animation-delay: 0.45s;
  }

  .orbit circle {
    animation: node-in 0.4s var(--ease) 1.05s both;
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(10px);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }

  .js .group-map.is-in ol {
    animation: map-in 0.8s var(--ease) both;
  }
}

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

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

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

@keyframes map-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}

@media (hover: hover) and (pointer: fine) {
  .company:hover .visual img,
  .company:focus-within .visual img {
    transform: scale(1.04);
  }

  .company:hover h3,
  .company:focus-within h3 {
    color: var(--navy-raise);
  }

  .company:hover,
  .company:focus-within {
    background: linear-gradient(90deg, rgba(224, 208, 112, 0.16), transparent 70%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
}

@media (min-width: 720px) {
  .wrap { width: min(1380px, calc(100% - 4.5rem)); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div { padding-right: 1.5rem; }
  .facts div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .fact-cards { gap: 1rem; }
  .fact-cards div,
  .fact-cards div + div {
    border: 1px solid var(--line);
    padding: 1.35rem 1.25rem 1.2rem;
  }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme {
    grid-template-columns: 1.3fr 0.8fr;
    align-items: end;
    gap: 2rem;
  }
  .theme:nth-child(2) h3 { padding-left: 8vw; }
  .theme:nth-child(3) h3 { padding-left: 3vw; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 2.85rem); }
  .page-intro h1,
  .legal h1 { font-size: clamp(2.55rem, 12vw, 3.15rem); }
  .statement h1 { font-size: clamp(2.45rem, 11vw, 3rem); }
  .theme h3 { font-size: clamp(2.7rem, 14vw, 3.3rem); }
  .menu-link { font-size: clamp(2.05rem, 11vw, 2.7rem); }
}

@media (max-height: 700px) {
  .menu-link { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .nav-menu[open] nav { margin-bottom: 1.5rem; gap: 0; }
}

@media (max-width: 640px) {
  .service-paths {
    display: grid;
    gap: 0;
  }

  .service-paths a {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 979px) {

  .hero .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem 1.6rem;
  }

  .hero-art {
    width: min(100%, 320px);
    aspect-ratio: 400 / 480;
    min-height: 0;
    margin-inline: auto;
  }

  .orbit {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .site-footer { padding: 2.6rem 0 1.35rem; }

  .footer-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 1.35rem 1.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p { margin-top: 0.75rem; }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    padding-top: 0.35rem;
  }

  .footer-grid > div:last-child ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.1rem 1.15rem;
  }

  .footer-grid > div:last-child li {
    display: flex;
    align-items: center;
    min-height: 2.4rem;
  }

  .footer-grid > div:last-child li:last-child { display: none; }

  .site-footer a,
  .footer-base a { min-height: 2.4rem; }

  .footer-base {
    margin-top: 1.35rem;
    align-items: center;
  }
}

@media (max-width: 979px) and (max-height: 780px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header) + 0.85rem);
    padding-bottom: 1.5rem;
  }

  .hero-grid { gap: 1.15rem; }
  .lede { margin-top: 1rem; }
  .actions { margin-top: 1.2rem; }

  .hero-art {
    width: min(58%, 180px);
    aspect-ratio: 1;
  }
}

@media (min-width: 980px) {
  .site-header { padding-inline: 2rem; }
  .nav-links { display: flex; }
  .nav-menu { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 40rem); }
  .intro-split { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .model-list li {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2.5rem;
    align-items: start;
  }
  .section { padding: 7.5rem 0; }
  .about-grid { grid-template-columns: 0.9fr 1fr; gap: 4rem; align-items: end; }
  .portfolio-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
  .plate {
    grid-template-columns: 5.5rem 340px minmax(0, 1fr);
    gap: 1.5rem 2.5rem;
    align-items: center;
    padding: 2.4rem 0 2.6rem;
  }
  .plate-index,
  .plate-mark,
  .plate-copy {
    grid-row: 1;
  }
  .plate-index { grid-column: 1; align-self: start; }
  .plate-mark { grid-column: 2; }
  .plate-copy { grid-column: 3; }
  .plate-copy .desc,
  .plate-copy .credential {
    max-width: none;
  }
  .stage {
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 3rem 3.5rem;
    align-items: start;
  }
  .stage-index {
    display: block;
    position: sticky;
    top: calc(var(--header) + 1.25rem);
    margin-bottom: 0;
  }
  .stage-index button {
    display: flex;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 0.7rem 0.2rem;
  }
  .stage-index button[aria-pressed="true"] {
    border-color: var(--line);
    background: var(--ivory-2);
  }
  .stage .mark-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage .plate {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.05fr);
    padding: 0;
    align-items: stretch;
  }
  .stage .plate-mark { grid-column: 1; grid-row: 1; }
  .stage .plate-copy { grid-column: 2; grid-row: 1; align-self: center; }
  .stage .visual { min-height: 0; padding: 2.75rem 2rem; }
  .stage .visual.crest { min-height: 18rem; }
  .stage .visual img { max-height: none; }
  .stage .visual.crest img { max-height: 20rem; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
  .contact-copy { position: sticky; top: calc(var(--header) + 1.5rem); }
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 1fr 0.8fr; }
  .record-list div { grid-template-columns: 14rem 1fr; align-items: baseline; gap: 1.5rem; }
  .statement-layout { grid-template-columns: 280px 1fr; }
  .group-map-body { text-align: center; }
  .group-map-core {
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 1rem;
  }
  .group-map-core::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 1rem;
    background: var(--line);
  }
  .group-map ol {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .group-map a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-height: 6.4rem;
    padding: 0.95rem 0.5rem 0 0.7rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
    font-size: 1rem;
    line-height: 1.25;
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 980px) {
  .js .group-map.is-in ol {
    animation-name: map-across;
  }
}

@keyframes map-across {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

.analytics-choice {
  position: fixed;
  z-index: 340;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.85rem;
  width: min(36rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.1rem 1.15rem 1.15rem;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(8, 9, 61, 0.18);
}

.analytics-choice p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.analytics-choice .consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.analytics-choice .consent-actions a {
  margin-right: auto;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.analytics-choice button {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.analytics-choice .consent-accept {
  background: var(--navy);
  color: var(--ivory);
}

/* Company detail */

.company-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header) + 10rem) 0 15rem;
  background: var(--ivory);
}

.company-page::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 0 52%, rgba(255, 252, 246, 0.72) 52% 100%),
    linear-gradient(114deg, transparent 0 36%, #e7e1d2 36% 58%, transparent 58%),
    linear-gradient(102deg, transparent 0 64%, #ddd4c2 64% 84%, transparent 84%),
    linear-gradient(128deg, #efe8d8 0 28%, transparent 28%);
}

.company-page > .wrap {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-bottom: 2.25rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.back-link:hover {
  color: var(--navy);
}

.company-layout {
  display: grid;
  gap: 2.75rem;
  align-items: start;
}

.company-mark,
.company-mark.light {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 16rem);
  height: auto;
  margin-bottom: 1.5rem;
  padding: 0;
  background: transparent;
}

.company-mark img {
  display: block;
  width: auto;
  max-width: 88%;
  max-height: 5.75rem;
  object-fit: contain;
}

.company-mark .logo-word,
.company-mark .logo-word small {
  color: var(--navy);
}

.company-page h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.company-page .lede,
.company-about {
  max-width: 36rem;
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

.company-about p {
  margin: 0 0 1rem;
}

.company-about p:last-child {
  margin-bottom: 0;
}

.company-page .actions {
  margin-top: 1.75rem;
}

.detail-card {
  background: #fff;
  border: 0;
  padding: 2rem 1.6rem 1.7rem;
  clip-path: polygon(0 0, calc(100% - 2.6rem) 0, 100% 2.6rem, 100% 100%, 0 100%);
  box-shadow: 0 18px 40px rgba(20, 22, 44, 0.04);
}

.detail-card h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
}

.detail-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.45rem 1.5rem;
  margin: 0;
}

.detail-card .wide {
  grid-column: 1 / -1;
}

.detail-card dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.detail-card dd {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  color: #2a2a2e;
}

@media (min-width: 980px) {
  .company-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.9fr);
    gap: 4rem;
  }

  .detail-card {
    padding: 2.4rem 2.2rem 2rem;
  }
}
