:root {
  --bg: #f4f0e8;
  --bg-soft: #ece7dd;
  --paper: #fbfaf6;
  --paper-strong: #ffffff;
  --ink: #161b28;
  --ink-soft: #586074;
  --ink-faint: #8a90a0;
  --navy: #141c3a;
  --indigo: #241d68;
  --steel: #777b88;
  --line: rgba(20, 28, 58, 0.12);
  --line-strong: rgba(20, 28, 58, 0.2);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow-lg: 0 28px 72px rgba(14, 21, 36, 0.12);
  --shadow-md: 0 16px 34px rgba(14, 21, 36, 0.08);
  --shadow-sm: 0 10px 20px rgba(14, 21, 36, 0.06);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.7rem;
  --container: 1240px;
  --header-height: 88px;
  --display-font: "Source Serif 4", Georgia, serif;
  --body-font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono-font: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(36, 29, 104, 0.07), transparent 34%),
    radial-gradient(circle at bottom right, rgba(20, 28, 58, 0.06), transparent 28%),
    linear-gradient(180deg, #f7f4ee 0%, #f0ebe3 52%, #ece7de 100%);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 28, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 28, 58, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 92%);
  opacity: 0.28;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

iframe {
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--paper);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section-kicker,
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--steel);
  font-family: var(--mono-font);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: currentColor;
}

.hero-title,
.page-title,
.section-title {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-title {
  font-size: 5.85rem;
  max-width: 9.5ch;
}

.page-title {
  font-size: 4.8rem;
  max-width: 12ch;
}

.section-title {
  font-size: 3.6rem;
  max-width: 15ch;
}

.lead,
.chapter-note {
  margin: 0;
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 1rem;
}

.lead--hero + .lead--hero {
  margin-top: 1rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button,
.button-secondary,
.button-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.button {
  background: linear-gradient(135deg, var(--indigo), var(--navy));
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 28px rgba(20, 28, 58, 0.22);
}

.button:hover,
.button:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button-text {
  min-height: auto;
  padding: 0 0 0.2rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(20, 28, 58, 0.24);
  color: var(--navy);
  justify-content: flex-start;
}

.button-text::after {
  content: " ->";
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: calc(var(--header-height) + 2rem) 0 2.25rem;
}

.hero--page {
  padding-bottom: 1rem;
}

.chapter {
  padding: 5.25rem 0;
}

.chapter--paper {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.08));
}

.chapter--gallery {
  background:
    linear-gradient(180deg, rgba(20, 28, 58, 0.03), rgba(20, 28, 58, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.chapter--slate,
.chapter--closing {
  background: linear-gradient(145deg, #171e39 0%, #10172f 60%, #1c2451 100%);
  color: var(--paper);
}

.chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.chapter--slate .section-kicker,
.chapter--slate .section-title,
.chapter--slate .chapter-note,
.chapter--closing .section-kicker,
.chapter--closing .section-title,
.chapter--closing .chapter-note {
  color: rgba(248, 250, 255, 0.9);
}

.chapter--slate .section-kicker::before,
.chapter--closing .section-kicker::before {
  background: rgba(248, 250, 255, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0.9rem;
}

.site-header__shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(20, 28, 58, 0.97), rgba(17, 24, 48, 0.96) 56%, rgba(36, 29, 104, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 46px rgba(8, 12, 25, 0.22);
}

.site-header__shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 76px;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.brand .brand-copy {
  display: none;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong {
  color: var(--paper);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono-font);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.site-nav a,
.mobile-menu a {
  padding: 0.85rem 0.95rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.mobile-menu a.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--paper);
}

.header-cta {
  min-height: 48px;
  padding-inline: 1.2rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font-family: var(--mono-font);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-menu {
  display: none;
  position: absolute;
  inset: calc(100% + 0.75rem) 0 auto 0;
  z-index: 30;
  padding: 0.75rem;
  border-radius: 1.2rem;
  background-color: #0d1530;
  background-image: linear-gradient(180deg, rgba(20, 28, 58, 1), rgba(16, 23, 42, 1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 34px rgba(8, 12, 25, 0.45);
}

body.menu-open .mobile-menu {
  display: grid;
  gap: 0.35rem;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 2rem;
  align-items: start;
}

.hero-home__copy {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0 1rem;
}

.hero-home__media {
  display: grid;
  gap: 1rem;
}

.hero-home__image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(36, 29, 104, 0.1);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 0.92;
}

.hero-home__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home__note {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(20, 28, 58, 0.98), rgba(36, 29, 104, 0.94));
  color: rgba(248, 250, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.hero-home__note p {
  margin: 0;
}

.hero-home__note .meta-label {
  margin-bottom: 0;
  color: rgba(248, 250, 255, 0.65);
}

.metrics-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-ledger__item {
  display: grid;
  gap: 0.55rem;
  padding: 1.5rem 1rem 1.4rem 0;
}

.metrics-ledger__item:not(:last-child) {
  border-right: 1px solid var(--line);
}

.metrics-ledger__value {
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 2.45rem;
  line-height: 1;
}

.metrics-ledger__label {
  color: var(--ink-soft);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sector-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sector-board__item {
  display: grid;
  gap: 0.95rem;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.sector-board__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.sector-board__head h3,
.service-entry__body h3,
.spotlight-card h3,
.brand-preview-card strong,
.brand-feature-card h3,
.contact-card h3,
.principle-card h3,
.catalog-family h2,
.dossier-card h3,
.closing-panel h2 {
  margin: 0;
}

.sector-board__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 255, 0.92);
  font-family: var(--mono-font);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.sector-board__item h3 {
  color: var(--paper);
  font-size: 1.25rem;
  line-height: 1.2;
}

.sector-board__item p {
  margin: 0;
  color: rgba(248, 250, 255, 0.76);
}

.sector-board__samples {
  color: rgba(248, 250, 255, 0.58);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chapter--slate .button-text,
.chapter--closing .button-text {
  color: var(--paper);
  border-bottom-color: rgba(255, 255, 255, 0.24);
}

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

.service-entry {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.service-entry__code {
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 2.15rem;
  line-height: 1;
}

.service-entry__body {
  display: grid;
  gap: 0.55rem;
}

.service-entry__body p {
  margin: 0;
  color: var(--ink-soft);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.spotlight-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.spotlight-card__media {
  aspect-ratio: 1.2;
  overflow: hidden;
  background: var(--bg-soft);
}

.spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-card__body {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem;
}

.spotlight-card__body p {
  margin: 0;
  color: var(--ink-soft);
}

.visual-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.mosaic-card:nth-child(1) {
  grid-column: span 7;
  aspect-ratio: 1.45;
}

.mosaic-card:nth-child(2) {
  grid-column: span 5;
  aspect-ratio: 0.92;
}

.mosaic-card:nth-child(3),
.mosaic-card:nth-child(4),
.mosaic-card:nth-child(5),
.mosaic-card:nth-child(6) {
  grid-column: span 3;
  aspect-ratio: 0.95;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-card figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(20, 28, 58, 0.76);
  color: rgba(248, 250, 255, 0.9);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 2rem;
  align-items: start;
}

.brand-stage__intro {
  display: grid;
  gap: 1rem;
}

.brand-preview-curation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.brand-preview-card,
.brand-feature-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.brand-preview-card__mark,
.brand-feature-card__mark {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 1.25rem;
  border-radius: calc(var(--radius-lg) - 0.35rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 242, 248, 0.92));
  border: 1px solid rgba(20, 28, 58, 0.08);
}

.brand-preview-card__mark img,
.brand-feature-card__mark img,
.logo-card img {
  max-height: 70px;
  width: 100%;
  object-fit: contain;
}

.brand-preview-card__body,
.brand-feature-card__body {
  display: grid;
  gap: 0.55rem;
}

.brand-preview-card__body strong,
.brand-feature-card__body h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.brand-preview-card__body p,
.brand-feature-card__body p,
.brand-preview-archive__meta p,
.brand-archive-head p,
.catalog-family__copy p,
.contact-card p,
.closing-panel p,
.about-story p,
.film-block__copy p {
  margin: 0;
  color: var(--ink-soft);
}

.brand-preview-archive,
.brand-archive-panel {
  margin-top: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.brand-preview-archive__meta,
.brand-archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-grid--preview-archive,
.brand-archive-grid {
  display: grid;
  gap: 0.8rem;
}

.logo-grid--preview-archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-archive-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.logo-card {
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper-strong);
}

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

.closing-panel {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.closing-panel--dark {
  background: linear-gradient(145deg, rgba(20, 28, 58, 0.98), rgba(36, 29, 104, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
}

.closing-panel--dark .section-kicker,
.closing-panel--dark h2,
.closing-panel--dark p {
  color: rgba(248, 250, 255, 0.92);
}

.closing-panel--dark .section-kicker::before {
  background: rgba(248, 250, 255, 0.9);
}

.about-hero,
.catalog-hero,
.brands-hero,
.casebook-hero,
.contact-hero {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

.about-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.catalog-hero,
.brands-hero,
.casebook-hero,
.contact-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
}

.about-hero__story,
.catalog-hero__copy,
.brands-hero__copy,
.casebook-hero__copy,
.contact-hero__copy {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.about-hero__portrait,
.catalog-hero__aside,
.brands-hero__aside,
.casebook-hero__aside,
.contact-hero__aside {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.about-hero__portrait {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(20, 28, 58, 0.98), rgba(36, 29, 104, 0.94));
}

.about-hero__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius-xl) - 0.4rem);
}

.portrait-caption {
  display: grid;
  gap: 0.35rem;
  color: rgba(248, 250, 255, 0.84);
}

.portrait-caption p {
  margin: 0;
}

.catalog-hero__aside,
.casebook-hero__aside {
  background: linear-gradient(145deg, rgba(20, 28, 58, 0.98), rgba(36, 29, 104, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brands-hero__aside,
.contact-hero__aside {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.catalog-hero__aside .section-kicker,
.catalog-hero__aside .summary-stack__item span,
.catalog-hero__aside .summary-stack__item strong,
.casebook-hero__aside .section-kicker,
.casebook-hero__aside .summary-stack__item span,
.casebook-hero__aside .summary-stack__item strong {
  color: rgba(248, 250, 255, 0.9);
}

.catalog-hero__aside .section-kicker::before,
.casebook-hero__aside .section-kicker::before {
  background: rgba(248, 250, 255, 0.9);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.detail-list--compact {
  margin-top: 0.5rem;
}

.detail-item {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.detail-item span {
  color: var(--ink-faint);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-item strong {
  font-size: 0.98rem;
  line-height: 1.4;
}

.film-block {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.2rem;
  align-items: start;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #111;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}

.video-player-loading,
.video-fallback__label {
  font-family: var(--mono-font);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.video-player-loading {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.72);
}

.video-fallback {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--paper);
  background: transparent;
  text-decoration: none;
  isolation: isolate;
  appearance: none;
}

.video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.video-fallback__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 18, 31, 0.1) 0%, rgba(13, 18, 31, 0.28) 48%, rgba(13, 18, 31, 0.86) 100%),
    linear-gradient(135deg, rgba(0, 80, 125, 0.36) 0%, rgba(12, 18, 29, 0.06) 52%, rgba(12, 18, 29, 0.4) 100%);
  z-index: 1;
}

.video-fallback__content {
  position: absolute;
  right: 1.4rem;
  bottom: 1.35rem;
  left: 1.4rem;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
}

.video-fallback__label {
  color: rgba(248, 250, 255, 0.78);
}

.video-fallback__content strong {
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.video-fallback__content span:last-child {
  max-width: 28rem;
  color: rgba(248, 250, 255, 0.84);
}

.video-fallback__cta {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 2;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(248, 250, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 12, 21, 0.48);
  color: rgba(248, 250, 255, 0.92);
  font-family: var(--mono-font);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}


.film-block__copy {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}

.film-block__copy .section-title,
.film-block__copy .lead,
.film-block__copy .section-kicker {
  color: rgba(248, 250, 255, 0.9);
}

.film-block__copy .section-kicker::before {
  background: rgba(248, 250, 255, 0.9);
}

.about-narrative {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-story {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.about-story--accent {
  background: linear-gradient(145deg, rgba(20, 28, 58, 0.97), rgba(36, 29, 104, 0.92));
  border-color: rgba(255, 255, 255, 0.08);
}

.about-story--accent .section-kicker,
.about-story--accent .section-title,
.about-story--accent p {
  color: rgba(248, 250, 255, 0.92);
}

.about-story--accent .section-kicker::before {
  background: rgba(248, 250, 255, 0.9);
}

.principles-layout {
  display: grid;
  gap: 2rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.principle-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.principle-card p {
  margin: 0;
  color: var(--ink-soft);
}

.about-visual-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.88fr);
  gap: 1rem;
}

.about-visual-stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-visual-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-stack__large {
  min-height: 440px;
}

.about-visual-stack__small {
  min-height: 440px;
}

.collection-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.collection-nav a {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--navy);
  font-family: var(--mono-font);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.68);
}

.spec-sheet {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.spec-sheet div {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-sheet dt {
  color: rgba(248, 250, 255, 0.62);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-sheet dd {
  margin: 0;
  color: rgba(248, 250, 255, 0.92);
  font-size: 1rem;
  line-height: 1.45;
}

.catalog-family {
  display: grid;
  gap: 1.35rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}

.catalog-family:first-child {
  border-top: 0;
  padding-top: 0.5rem;
}

.catalog-family__header {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 280px;
  gap: 1.2rem;
  align-items: start;
}

.catalog-family__index {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.catalog-family__index strong {
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 2.5rem;
  line-height: 1;
}

.catalog-family__index span,
.catalog-family__specs dt,
.dossier-card__tally span,
.summary-stack__item span {
  color: var(--ink-faint);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-family__copy {
  display: grid;
  gap: 0.65rem;
}

.catalog-family__lead {
  color: var(--navy);
  font-weight: 600;
}

.catalog-family__specs {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
}

.catalog-family__specs div {
  display: grid;
  gap: 0.25rem;
}

.catalog-family__specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.catalog-family__applications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.catalog-tag {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.catalog-gallery,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card,
.evidence-card {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  aspect-ratio: 1.05;
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.gallery-card--wide,
.evidence-card.gallery-card--wide {
  grid-column: span 8;
  aspect-ratio: 1.7;
}

.gallery-card img,
.evidence-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption,
.evidence-card figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: rgba(248, 250, 255, 0.92);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card::after,
.evidence-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(20, 28, 58, 0.86));
  pointer-events: none;
}

.gallery-card button,
.evidence-card button {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
}

.brand-register {
  display: grid;
  gap: 1rem;
}

.brand-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.summary-stack {
  display: grid;
  gap: 0.9rem;
}

.summary-stack__item {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

a.summary-stack__item {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

a.summary-stack__item:hover,
a.summary-stack__item:focus-visible {
  color: var(--accent, currentColor);
  transform: translateX(2px);
}

.summary-stack__item strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.dossier-list {
  display: grid;
  gap: 1rem;
}

.dossier-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.dossier-card__head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 128px;
  gap: 1rem;
  align-items: start;
  padding: 1.45rem 1.5rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.dossier-card__code {
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 2.4rem;
  line-height: 1;
}

.dossier-card__copy {
  display: grid;
  gap: 0.45rem;
}

.dossier-card__copy p {
  margin: 0;
  color: var(--ink-soft);
}

.dossier-card__tally {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.dossier-card__tally strong {
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 1;
}

.client-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.1rem;
  padding: 1.2rem 1.5rem 1.45rem;
}

.client-roster__item {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.client-roster__item span {
  color: var(--ink-faint);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-roster__item p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 1rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-card,
.map-shell {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.contact-card a {
  color: var(--navy);
  font-weight: 600;
}

.map-shell iframe {
  width: 100%;
  min-height: 420px;
  border-radius: calc(var(--radius-lg) - 0.35rem);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 2rem;
  background: linear-gradient(145deg, #151b34 0%, #10162b 58%, #1b2250 100%);
  color: rgba(248, 250, 255, 0.86);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.72fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-location {
  margin: 0;
  color: rgba(248, 250, 255, 0.58);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-meta {
  margin: 0;
  color: rgba(248, 250, 255, 0.72);
  max-width: 34ch;
}

.footer-title {
  margin: 0 0 0.9rem;
  color: rgba(248, 250, 255, 0.62);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a,
.footer-links--plain span {
  color: rgba(248, 250, 255, 0.84);
  line-height: 1.5;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.35rem;
  color: rgba(248, 250, 255, 0.56);
  font-size: 0.92rem;
}

.footer-credit {
  margin-left: auto;
  color: rgba(248, 250, 255, 0.34);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 250, 255, 0.18);
  transition: color var(--transition), border-color var(--transition);
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: rgba(248, 250, 255, 0.78);
  border-bottom-color: rgba(248, 250, 255, 0.42);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: 2rem;
  background: rgba(12, 16, 27, 0.88);
}

.lightbox.is-open {
  display: grid;
  place-items: center;
}

.lightbox__panel {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(1000px, 100%);
  max-height: 100%;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.lightbox__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.lightbox__image {
  width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
}

.lightbox__caption {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono-font);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hero-home,
  .brand-stage,
  .about-hero,
  .catalog-hero,
  .brands-hero,
  .casebook-hero,
  .contact-hero,
  .film-block,
  .about-narrative,
  .about-visual-stack,
  .contact-grid,
  .footer-top,
  .chapter-head {
    grid-template-columns: 1fr;
  }

  .metrics-ledger,
  .service-list,
  .spotlight-grid,
  .brand-preview-curation,
  .brand-feature-grid,
  .principles-grid,
  .closing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-family__header,
  .dossier-card__head {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .catalog-family__specs,
  .dossier-card__tally {
    grid-column: 2 / -1;
    justify-items: start;
  }

  .brand-archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .client-roster {
    grid-template-columns: 1fr;
  }
}

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

  .site-header__shell {
    grid-template-columns: auto 1fr auto;
    border-radius: 1.2rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.menu-open .mobile-menu {
    display: grid;
    gap: 0.35rem;
  }

  .mobile-menu a {
    color: #ffffff;
    padding: 0.85rem 1rem;
    border-radius: 8px;
  }

  .mobile-menu a.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.25rem);
  }

  .chapter,
  .site-footer {
    padding-top: 4rem;
  }

  .hero-title {
    font-size: 3.65rem;
  }

  .page-title {
    font-size: 3.25rem;
  }

  .section-title {
    font-size: 2.55rem;
  }

  .metrics-ledger,
  .service-list,
  .spotlight-grid,
  .brand-preview-curation,
  .brand-feature-grid,
  .principles-grid,
  .closing-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .visual-mosaic,
  .catalog-gallery,
  .evidence-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .mosaic-card:nth-child(1),
  .mosaic-card:nth-child(2),
  .mosaic-card:nth-child(3),
  .mosaic-card:nth-child(4),
  .mosaic-card:nth-child(5),
  .mosaic-card:nth-child(6) {
    grid-column: span 6;
    aspect-ratio: 1.15;
  }

  .gallery-card,
  .evidence-card,
  .gallery-card--wide,
  .evidence-card.gallery-card--wide {
    grid-column: span 6;
    aspect-ratio: 1.1;
  }

  .metrics-ledger__item {
    padding-right: 0.5rem;
  }

  .metrics-ledger__item:nth-child(2n) {
    border-right: 0;
  }

  .brand-archive-grid,
  .logo-grid--preview-archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 1.2rem));
  }

  .site-header__shell,
  .about-hero__story,
  .catalog-hero__copy,
  .brands-hero__copy,
  .casebook-hero__copy,
  .contact-hero__copy,
  .about-hero__portrait,
  .catalog-hero__aside,
  .brands-hero__aside,
  .casebook-hero__aside,
  .contact-hero__aside,
  .film-block__copy,
  .about-story,
  .principle-card,
  .spotlight-card__body,
  .service-entry,
  .closing-panel,
  .brand-preview-card,
  .brand-feature-card,
  .brand-preview-archive,
  .brand-archive-panel,
  .contact-card,
  .map-shell {
    padding: 1rem;
  }

  .brand {
    gap: 0.75rem;
  }

  .brand img {
    width: 62px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 1.2rem;
  }

  .brand-copy span {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

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

  .metrics-ledger__item {
    padding: 1rem 0.6rem 1rem 0;
  }

  .catalog-family__header,
  .dossier-card__head {
    grid-template-columns: 1fr;
  }

  .catalog-family__specs,
  .dossier-card__tally {
    grid-column: auto;
  }

  .visual-mosaic,
  .catalog-gallery,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .evidence-card,
  .gallery-card--wide,
  .evidence-card.gallery-card--wide,
  .mosaic-card:nth-child(1),
  .mosaic-card:nth-child(2),
  .mosaic-card:nth-child(3),
  .mosaic-card:nth-child(4),
  .mosaic-card:nth-child(5),
  .mosaic-card:nth-child(6) {
    grid-column: auto;
    aspect-ratio: 1.08;
  }

  .brand-archive-grid,
  .logo-grid--preview-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-shell iframe {
    min-height: 320px;
  }

  .footer-bar {
    flex-direction: column;
  }

  .lightbox {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Premium Homaco Corporation redesign system */
:root {
  --bg: #f7f8f6;
  --bg-soft: #edf2ef;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #07111f;
  --ink-soft: #42505f;
  --ink-faint: #75808b;
  --navy: #071a34;
  --indigo: #21125c;
  --steel: #66717d;
  --line: rgba(7, 17, 31, 0.13);
  --line-strong: rgba(7, 17, 31, 0.26);
  --line-light: rgba(255, 255, 255, 0.16);
  --signal: #b82334;
  --mint: #0e8a78;
  --ice: #e9f5f2;
  --graphite: #111822;
  --shadow-lg: 0 26px 62px rgba(7, 17, 31, 0.16);
  --shadow-md: 0 18px 42px rgba(7, 17, 31, 0.12);
  --shadow-sm: 0 10px 24px rgba(7, 17, 31, 0.08);
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  letter-spacing: 0 !important;
}

html {
  background: var(--bg);
}

body {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 17, 31, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 86% 12%, rgba(14, 138, 120, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfcfb 0%, #eff4f1 48%, #f8f9f8 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  color: var(--ink);
  line-height: 1.62;
}

body::before {
  opacity: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(184, 35, 52, 0.055) 54% 54.4%, transparent 54.4%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 32rem);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
.lightbox {
  position: relative;
  z-index: 50;
}

::selection {
  background: rgba(14, 138, 120, 0.22);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(184, 35, 52, 0.82);
  outline-offset: 4px;
}

.container {
  width: min(1220px, calc(100% - 40px));
}

.section-kicker,
.meta-label {
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 2rem;
  height: 2px;
  background: var(--signal);
}

.hero-title,
.page-title,
.section-title {
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0 !important;
}

.hero-title {
  max-width: 11ch;
  font-size: 5.85rem;
}

.page-title {
  max-width: 13ch;
  font-size: 4.8rem;
}

.section-title {
  max-width: 17ch;
  font-size: 3.6rem;
}

.lead,
.chapter-note {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.72;
}

.lead--hero {
  max-width: 58ch;
}

.button,
.button-secondary,
.button-text,
.collection-nav a,
.catalog-tag {
  border-radius: 6px;
  min-height: 48px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button,
.button-secondary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button::before,
.button-secondary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
  z-index: -1;
}

.button {
  background: linear-gradient(135deg, var(--indigo), var(--navy) 58%, #0c2f4b);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(7, 17, 31, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.button:hover::before,
.button:focus-visible::before,
.button-secondary:hover::before,
.button-secondary:focus-visible::before {
  transform: scaleY(1);
}

.button:hover,
.button:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(7, 17, 31, 0.18);
}

.button-text {
  min-height: 0;
  padding: 0;
  color: var(--indigo);
  border-bottom: 2px solid var(--signal);
}

.button-text::after {
  content: " >";
}

.site-header {
  padding-top: 0.75rem;
}

.site-header__shell {
  grid-template-columns: auto 1fr auto auto;
  padding: 0.72rem 0.85rem;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(5, 13, 28, 0.98), rgba(10, 29, 54, 0.98) 52%, rgba(33, 18, 92, 0.96));
  background-size: 34px 100%, auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(4, 9, 19, 0.28);
  backdrop-filter: blur(18px);
}

.site-header__shell::before {
  inset: 6px;
  border-radius: 5px;
  border-color: rgba(255, 255, 255, 0.08);
}

.brand {
  gap: 0.8rem;
}

.brand img {
  width: auto;
  height: 76px;
  max-width: 280px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  display: block;
}

.footer-brand .brand img {
  background: transparent;
  height: 80px;
  max-width: 300px;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
}

.site-nav {
  gap: 0.15rem;
}

.site-nav a,
.mobile-menu a {
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.mobile-menu a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--signal);
}

.menu-toggle {
  border-radius: 6px;
}

.hero {
  padding: calc(var(--header-height) + 2rem) 0 2.8rem;
}

.hero--home {
  position: relative;
  overflow: hidden;
}

.hero--home::before {
  content: "HOMACO";
  position: absolute;
  right: max(1.2rem, calc((100vw - 1220px) / 2));
  top: 8.4rem;
  color: rgba(7, 17, 31, 0.045);
  font-family: var(--mono-font);
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.hero--page {
  padding-bottom: 2.2rem;
}

.hero-home {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-home__copy {
  gap: 1.22rem;
  padding: 2.5rem 0 2rem;
}

.hero-home__media {
  position: relative;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.hero-home__media::before {
  content: "";
  position: absolute;
  inset: -1rem -1rem auto auto;
  width: 44%;
  height: 42%;
  border-top: 2px solid var(--signal);
  border-right: 2px solid var(--signal);
  pointer-events: none;
}

.hero-home__image {
  border-radius: 8px;
  border: 1px solid rgba(7, 17, 31, 0.18);
  box-shadow: 0 34px 80px rgba(7, 17, 31, 0.2);
  aspect-ratio: 0.96;
}

.hero-home__image img,
.spotlight-card__media img,
.mosaic-card img,
.gallery-card img,
.evidence-card img,
.about-visual-stack img {
  filter: saturate(0.92) contrast(1.05);
  transition:
    transform 680ms ease,
    filter 680ms ease;
}

.hero-home__image:hover img,
.spotlight-card:hover .spotlight-card__media img,
.mosaic-card:hover img,
.gallery-card:hover img,
.evidence-card:hover img {
  filter: saturate(1.04) contrast(1.08);
  transform: scale(1.035);
}

.hero-home__note {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #07111f, #0d2c45 58%, #21125c);
  background-size: 32px 100%, auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.metrics-ledger {
  position: relative;
  margin-top: 2.4rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-sm);
}

.metrics-ledger::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 6px;
  background: linear-gradient(180deg, var(--signal), var(--mint));
}

.metrics-ledger__item {
  padding: 1.45rem 1.35rem;
}

.metrics-ledger__value,
.catalog-family__index strong,
.dossier-card__code,
.dossier-card__tally strong {
  color: var(--indigo);
  font-weight: 700;
}

.metrics-ledger__label {
  color: var(--ink-soft);
  font-weight: 700;
}

.chapter {
  padding: 5rem 0;
}

.chapter--paper {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f2f7f4, #ffffff);
  background-size: 72px 100%, auto;
}

.chapter--gallery {
  background:
    linear-gradient(180deg, rgba(14, 138, 120, 0.08), rgba(255, 255, 255, 0.2)),
    #f8faf9;
}

.chapter--slate,
.chapter--closing {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #07111f 0%, #0c263d 50%, #20125a 100%);
  background-size: 68px 100%, auto;
}

.chapter-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: 2.6rem;
  margin-bottom: 2.35rem;
}

.chapter--slate .section-kicker,
.chapter--slate .section-title,
.chapter--slate .chapter-note,
.chapter--closing .section-kicker,
.chapter--closing .section-title,
.chapter--closing .chapter-note {
  color: rgba(255, 255, 255, 0.92);
}

.chapter--slate .section-kicker,
.chapter--closing .section-kicker {
  color: #8be0d2;
}

.sector-board {
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.sector-board__item {
  border: 0;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  box-shadow: none;
}

.sector-board__item:nth-child(2n) {
  border-right: 0;
}

.sector-board__code {
  border-radius: 5px;
  background: rgba(184, 35, 52, 0.22);
}

.service-list,
.spotlight-grid,
.brand-preview-curation,
.brand-feature-grid,
.principles-grid,
.closing-grid,
.contact-list {
  gap: 1.1rem;
}

.service-entry,
.spotlight-card,
.brand-preview-card,
.brand-feature-card,
.closing-panel,
.about-story,
.principle-card,
.contact-card,
.map-shell,
.dossier-card,
.brand-preview-archive,
.brand-archive-panel,
.catalog-family__specs,
.detail-item,
.logo-card {
  border-radius: 8px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.service-entry {
  position: relative;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  overflow: hidden;
}

.service-entry::before,
.principle-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--signal), var(--mint));
}

.service-entry__code {
  color: var(--signal);
  font-weight: 700;
}

.spotlight-card {
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.spotlight-card__media {
  aspect-ratio: 1.05;
  background: var(--ice);
}

.visual-mosaic {
  gap: 0.85rem;
}

.mosaic-card,
.gallery-card,
.evidence-card,
.about-visual-stack figure,
.video-frame {
  border-radius: 8px;
  border-color: rgba(7, 17, 31, 0.16);
  box-shadow: var(--shadow-sm);
}

.mosaic-card::before,
.gallery-card::before,
.evidence-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.mosaic-card figcaption,
.gallery-card figcaption,
.evidence-card figcaption {
  z-index: 2;
  left: 0.85rem;
  right: auto;
  bottom: 0.85rem;
  max-width: calc(100% - 1.7rem);
  padding: 0.42rem 0.56rem;
  border-radius: 5px;
  background: rgba(7, 17, 31, 0.78);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
}

.brand-stage {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 2.4rem;
}

.brand-stage__intro {
  position: sticky;
  top: 7rem;
}

.brand-preview-card__mark,
.brand-feature-card__mark,
.logo-card {
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 238, 235, 0.9)),
    #ffffff;
}

.brand-preview-card__body strong,
.brand-feature-card__body h3,
.contact-card h3,
.principle-card h3,
.dossier-card h3,
.spotlight-card h3,
.service-entry__body h3 {
  color: var(--ink);
  line-height: 1.2;
}

.brand-archive-grid {
  gap: 0.65rem;
}

.logo-card {
  min-height: 104px;
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 138, 120, 0.42);
}

.closing-panel {
  position: relative;
  overflow: hidden;
}

.closing-panel--dark,
.about-story--accent,
.catalog-hero__aside,
.casebook-hero__aside {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #07111f, #0d2c45 54%, #21125c);
  background-size: 34px 100%, auto;
  border-color: rgba(255, 255, 255, 0.14);
}

.about-hero,
.catalog-hero,
.brands-hero,
.casebook-hero,
.contact-hero {
  gap: 1.4rem;
}

.about-hero__story,
.catalog-hero__copy,
.brands-hero__copy,
.casebook-hero__copy,
.contact-hero__copy {
  padding: 1.4rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-hero__portrait,
.catalog-hero__aside,
.brands-hero__aside,
.casebook-hero__aside,
.contact-hero__aside {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.about-hero__portrait {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #07111f, #21125c);
  background-size: 32px 100%, auto;
}

.about-hero__portrait img {
  border-radius: 6px;
  object-position: center top;
}

.portrait-caption {
  border-left: 4px solid var(--signal);
  padding-left: 0.85rem;
}

.brands-hero__aside,
.contact-hero__aside {
  background: rgba(255, 255, 255, 0.82);
}

.detail-list {
  gap: 0;
  border: 1px solid var(--line);
}

.detail-item {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.detail-item:last-child {
  border-right: 0;
}

.film-block {
  gap: 1.4rem;
}

.video-frame {
  background: #07111f;
}

.video-fallback {
  color: #ffffff;
}

.video-fallback__content strong {
  font-family: var(--display-font);
  letter-spacing: 0 !important;
  text-transform: none;
}

.film-block__copy {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.about-narrative {
  gap: 1.1rem;
}

.principle-card,
.contact-card {
  position: relative;
  overflow: hidden;
}

.collection-nav a,
.catalog-tag {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
}

.collection-nav a:hover,
.collection-nav a:focus-visible {
  border-color: rgba(14, 138, 120, 0.5);
  background: #ffffff;
}

.catalog-family {
  padding: 2.8rem 0;
  gap: 1.45rem;
}

.catalog-family__header {
  grid-template-columns: 108px minmax(0, 1fr) 278px;
}

.catalog-family__index span,
.catalog-family__specs dt,
.dossier-card__tally span,
.summary-stack__item span,
.detail-item span,
.metrics-ledger__label {
  text-transform: uppercase;
}

.catalog-gallery,
.evidence-grid {
  gap: 0.85rem;
}

.gallery-card,
.evidence-card {
  border-radius: 8px;
}

.gallery-card button,
.evidence-card button {
  cursor: zoom-in;
}

.summary-stack__item {
  border-bottom-color: var(--line);
}

.catalog-hero__aside .summary-stack__item,
.casebook-hero__aside .summary-stack__item {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.dossier-card {
  overflow: hidden;
}

.dossier-card__head {
  background:
    linear-gradient(90deg, rgba(14, 138, 120, 0.08), transparent),
    rgba(255, 255, 255, 0.66);
}

.client-roster__item {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(7, 17, 31, 0.07);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 1.2rem;
}

.map-shell {
  background: #ffffff;
}

.map-shell iframe {
  border-radius: 6px;
  filter: saturate(0.88) contrast(1.02);
}

.site-footer {
  padding: 4.2rem 0 1.8rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #07111f 0%, #0b2740 56%, #21125c 100%);
  background-size: 68px 100%, auto;
}

.footer-top {
  grid-template-columns: minmax(0, 1.05fr) repeat(3, minmax(0, 0.78fr));
  gap: 2.2rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #8be0d2;
}

.lightbox {
  background: rgba(7, 17, 31, 0.9);
}

.lightbox__panel {
  border-radius: 8px;
}

.lightbox__close {
  border-radius: 6px;
}

body.reveal-ready [data-reveal] {
  transform: translateY(14px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

@media (min-width: 841px) {
  .site-header__shell {
    min-height: 72px;
  }
}

@media (max-width: 1180px) {
  .hero-title {
    font-size: 4.8rem;
  }

  .page-title {
    font-size: 4.1rem;
  }

  .section-title {
    font-size: 3rem;
  }
}

@media (max-width: 1100px) {
  .hero-home,
  .brand-stage,
  .about-hero,
  .catalog-hero,
  .brands-hero,
  .casebook-hero,
  .contact-hero,
  .film-block,
  .about-narrative,
  .about-visual-stack,
  .contact-grid,
  .footer-top,
  .chapter-head {
    grid-template-columns: 1fr;
  }

  .brand-stage__intro {
    position: static;
  }

  .catalog-family__header,
  .dossier-card__head {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

@media (max-width: 840px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .site-header__shell {
    border-radius: 8px;
  }

  .mobile-menu {
    border-radius: 8px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.4rem);
  }

  .hero-title {
    font-size: 3.65rem;
  }

  .page-title {
    font-size: 3.25rem;
  }

  .section-title {
    font-size: 2.55rem;
  }

  .hero--home::before {
    display: none;
  }

  .hero-home {
    gap: 1.6rem;
  }

  .metrics-ledger,
  .service-list,
  .spotlight-grid,
  .brand-preview-curation,
  .brand-feature-grid,
  .principles-grid,
  .closing-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .sector-board {
    grid-template-columns: 1fr;
  }

  .sector-board__item,
  .sector-board__item:nth-child(2n) {
    border-right: 0;
  }

  .detail-item,
  .detail-item:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 20px, 1220px);
  }

  .hero-title {
    font-size: 3rem;
  }

  .page-title {
    font-size: 2.65rem;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .brand img {
    width: 58px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy span {
    display: none;
  }

  .hero-home__copy,
  .about-hero__story,
  .catalog-hero__copy,
  .brands-hero__copy,
  .casebook-hero__copy,
  .contact-hero__copy {
    padding: 0.8rem 0 1rem;
  }

  .hero-home__image {
    aspect-ratio: 1.05;
  }

  .catalog-family__header,
  .dossier-card__head {
    grid-template-columns: 1fr;
  }

  .client-roster {
    padding: 1rem;
  }

  .client-roster__item {
    grid-template-columns: 2rem minmax(0, 1fr);
  }
}

/* Viewport polish after screenshot verification */
.hero {
  padding-top: 3.1rem;
}

.hero--page {
  padding-top: 3rem;
}

.hero-title {
  max-width: 15ch;
  font-size: 4.45rem;
}

.page-title {
  max-width: 14.5ch;
  font-size: 4.15rem;
}

.section-title {
  font-size: 3.15rem;
}

.hero-home {
  align-items: start;
}

.hero-home__copy {
  padding-top: 1.3rem;
}

.hero-home__media {
  padding-top: 4.4rem;
}

.hero-home__image {
  aspect-ratio: 1.05;
}

@media (max-width: 1180px) {
  .hero-title {
    font-size: 4.25rem;
  }

  .page-title {
    font-size: 3.65rem;
  }

  .section-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 840px) {
  .hero,
  .hero--page {
    padding-top: 2.35rem;
  }

  .hero-title {
    max-width: 14ch;
    font-size: 2.85rem;
    line-height: 1.02;
  }

  .page-title {
    max-width: 14ch;
    font-size: 2.85rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero-home__copy {
    padding-top: 0;
  }

  .hero-home__media {
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  .hero,
  .hero--page {
    padding-top: 2rem;
  }

  .hero-title {
    font-size: 2.55rem;
  }

  .page-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Company profile editorial page */
.profile-main {
  padding: 3rem 0 5rem;
}

.profile-book {
  --profile-blue: #071a34;
  --profile-blue-soft: #0b2c4a;
  --profile-paper: #f9fbfb;
  --profile-mist: #e9f2f1;
  --profile-line: rgba(7, 26, 52, 0.16);
  --profile-red: #b82334;
  --profile-green: #0e8a78;
  display: grid;
  gap: 1.1rem;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  color: var(--profile-blue);
}

.profile-page {
  position: relative;
  display: grid;
  min-height: 720px;
  padding: 4.25rem;
  overflow: hidden;
  border: 1px solid var(--profile-line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 26, 52, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 26, 52, 0.045) 1px, transparent 1px),
    var(--profile-paper);
  background-size: 64px 64px, 64px 64px, auto;
  box-shadow: 0 18px 54px rgba(7, 17, 31, 0.1);
}

.profile-page::before {
  content: "";
  position: absolute;
  inset: 1.15rem;
  border: 1px solid rgba(7, 26, 52, 0.08);
  pointer-events: none;
}

.profile-page__number {
  position: absolute;
  right: 2rem;
  top: 1.7rem;
  z-index: 2;
  color: rgba(7, 26, 52, 0.5);
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-kicker {
  margin: 0 0 0.9rem;
  color: var(--profile-green);
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-page h1,
.profile-page h2,
.profile-page h3,
.profile-large-copy {
  margin: 0;
  color: var(--profile-blue);
  line-height: 1.02;
}

.profile-page h1 {
  max-width: 11ch;
  font-family: var(--display-font);
  font-size: 5.5rem;
  font-weight: 700;
}

.profile-page h2 {
  max-width: 14ch;
  font-family: var(--display-font);
  font-size: 4.2rem;
  font-weight: 700;
}

.profile-page h3 {
  font-size: 1.15rem;
}

.profile-page p {
  margin: 0;
  color: #2e4055;
  font-size: 1rem;
  line-height: 1.7;
}

.profile-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-page--blue {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #07111f 0%, #0b2c4a 56%, #21125c 100%);
  background-size: 64px 100%, auto;
}

.profile-page--blue::before {
  border-color: rgba(255, 255, 255, 0.12);
}

.profile-page--blue h2,
.profile-page--blue h3,
.profile-page--blue p,
.profile-page--blue .profile-large-copy,
.profile-page--blue .profile-page__number {
  color: rgba(255, 255, 255, 0.92);
}

.profile-page--blue .profile-kicker {
  color: #8be0d2;
}

.profile-page--cover,
.profile-page--closing {
  min-height: 760px;
  align-content: space-between;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #07111f 0%, #0b2c4a 52%, #21125c 100%);
  background-size: 64px 100%, auto;
  color: #ffffff;
}

.profile-page--cover::before,
.profile-page--closing::before {
  border-color: rgba(255, 255, 255, 0.14);
}

.profile-cover__brand {
  display: grid;
  gap: 0.9rem;
  width: fit-content;
}

.profile-cover__brand img {
  width: 148px;
  height: auto;
  padding: 0.7rem;
  border-radius: 8px;
  background: #ffffff;
}

.profile-cover__brand p,
.profile-page--cover .profile-page__number,
.profile-page--closing .profile-page__number {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono-font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-cover__title {
  display: grid;
  gap: 1.1rem;
  max-width: 760px;
}

.profile-cover__title h1,
.profile-cover__title h2,
.profile-cover__title p {
  color: #ffffff;
}

.profile-cover__title p:last-child {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.78);
}

.profile-cover__pattern {
  position: absolute;
  right: 4rem;
  bottom: 4rem;
  width: 420px;
  height: 150px;
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.88) 18px 23px, transparent 23px 64px),
    linear-gradient(180deg, transparent 0 18px, rgba(255, 255, 255, 0.88) 18px 23px, transparent 23px 64px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.profile-page--statement {
  grid-template-columns: 0.86fr 1.14fr;
  gap: 3rem;
  align-items: center;
}

.profile-large-copy {
  font-family: var(--display-font);
  font-size: 2.25rem;
  line-height: 1.22;
}

.profile-page--index {
  align-content: center;
  gap: 2rem;
}

.profile-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--profile-line);
}

.profile-index-grid a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  min-height: 62px;
  padding: 1rem 1.1rem;
  align-items: center;
  border-right: 1px solid var(--profile-line);
  border-bottom: 1px solid var(--profile-line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--profile-blue);
  font-weight: 700;
}

.profile-index-grid a:nth-child(2n) {
  border-right: 0;
}

.profile-index-grid span {
  color: var(--profile-red);
  font-family: var(--mono-font);
  font-weight: 700;
}

.profile-spread,
.profile-page--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--profile-line);
  background: rgba(255, 255, 255, 0.62);
}

.profile-stat-grid div {
  display: grid;
  gap: 0.5rem;
  min-height: 150px;
  padding: 1.35rem;
  border-right: 1px solid var(--profile-line);
  border-bottom: 1px solid var(--profile-line);
  align-content: center;
}

.profile-stat-grid div:nth-child(2n) {
  border-right: 0;
}

.profile-stat-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.profile-stat-grid strong {
  color: var(--profile-blue);
  font-family: var(--display-font);
  font-size: 3.2rem;
  line-height: 1;
}

.profile-stat-grid span,
.profile-spec-list span,
.profile-timeline span,
.profile-value-grid span {
  color: var(--profile-red);
  font-family: var(--mono-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-page--photo-text,
.profile-page--portrait {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.profile-page--photo-text figure,
.profile-page--portrait figure,
.profile-video-poster {
  height: 470px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(7, 26, 52, 0.18);
  background: #dfe9e6;
}

.profile-page--photo-text div,
.profile-page--portrait div {
  display: grid;
  gap: 1rem;
}

.profile-page--portrait figure {
  height: 560px;
}

.profile-page--portrait img {
  object-position: center top;
}

.profile-page--values,
.profile-page--workflow,
.profile-page--gallery,
.profile-page--brands,
.profile-page--contact {
  align-content: center;
  gap: 2rem;
}

.profile-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--profile-line);
}

.profile-value-grid article {
  display: grid;
  gap: 0.8rem;
  min-height: 220px;
  padding: 1.35rem;
  border-right: 1px solid var(--profile-line);
  background: rgba(255, 255, 255, 0.62);
}

.profile-value-grid article:last-child {
  border-right: 0;
}

.profile-value-grid p {
  color: #3d5168;
}

.profile-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--profile-line);
  list-style: none;
}

.profile-timeline li {
  display: grid;
  gap: 0.8rem;
  min-height: 250px;
  padding: 1.35rem;
  border-right: 1px solid var(--profile-line);
  background: rgba(255, 255, 255, 0.6);
}

.profile-timeline li:last-child {
  border-right: 0;
}

.profile-timeline strong {
  color: var(--profile-blue);
  font-size: 1.2rem;
}

.profile-page--mini,
.profile-page--sector {
  align-content: center;
}

.profile-page--mini h2,
.profile-page--sector h2 {
  max-width: 15ch;
  font-size: 4.65rem;
}

.profile-spec-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--profile-line);
  background: rgba(255, 255, 255, 0.58);
}

.profile-spec-list div {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  border-bottom: 1px solid var(--profile-line);
}

.profile-spec-list div:last-child {
  border-bottom: 0;
}

.profile-spec-list p {
  grid-column: 2;
}

.profile-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.profile-gallery-strip img {
  height: 420px;
  border-radius: 8px;
  border: 1px solid rgba(7, 26, 52, 0.16);
  background: #dfe9e6;
}

.profile-page--wide-gallery .profile-gallery-strip img {
  height: 500px;
}

.profile-brand-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.profile-brand-row img {
  height: 190px;
  padding: 2rem;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--profile-line);
  background: #ffffff;
}

.profile-sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.profile-sector-grid span {
  min-height: 62px;
  padding: 1rem;
  border: 1px solid var(--profile-line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--profile-blue);
  font-weight: 700;
}

.profile-video-poster {
  position: relative;
  background: #07111f;
}

.profile-video-poster::after {
  content: "Company film";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  background: rgba(7, 17, 31, 0.82);
  color: #ffffff;
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: none;
}

.profile-video-poster:has(iframe)::after {
  display: none;
}

.profile-video-poster iframe {
  width: 100%;
  height: 100%;
}

.profile-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.profile-contact-grid a {
  display: grid;
  gap: 0.6rem;
  min-height: 160px;
  padding: 1.25rem;
  align-content: center;
  border: 1px solid var(--profile-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--profile-blue);
}

.profile-contact-grid span {
  color: var(--profile-green);
  font-family: var(--mono-font);
  font-weight: 700;
  text-transform: uppercase;
}

.profile-contact-grid strong {
  font-size: 1.12rem;
}

.profile-page--closing .button {
  width: fit-content;
}

@media (max-width: 1100px) {
  .profile-page {
    min-height: auto;
    padding: 3rem;
  }

  .profile-page h1 {
    font-size: 4.2rem;
  }

  .profile-page h2,
  .profile-page--mini h2,
  .profile-page--sector h2 {
    font-size: 3.35rem;
  }

  .profile-page--statement,
  .profile-spread,
  .profile-page--split,
  .profile-page--photo-text,
  .profile-page--portrait {
    grid-template-columns: 1fr;
  }

  .profile-value-grid,
  .profile-timeline,
  .profile-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .profile-gallery-strip img:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .profile-main {
    padding-top: 2rem;
  }

  .profile-book {
    width: min(100% - 20px, 1220px);
  }

  .profile-page {
    padding: 2rem 1.2rem 1.4rem;
    border-radius: 8px;
  }

  .profile-page::before {
    inset: 0.6rem;
  }

  .profile-page__number {
    right: 1.1rem;
    top: 0.95rem;
    font-size: 0.72rem;
  }

  .profile-page h1 {
    font-size: 3rem;
  }

  .profile-page h2,
  .profile-page--mini h2,
  .profile-page--sector h2 {
    max-width: 100%;
    font-size: 2.35rem;
  }

  .profile-large-copy {
    font-size: 1.55rem;
  }

  .profile-index-grid,
  .profile-stat-grid,
  .profile-value-grid,
  .profile-timeline,
  .profile-brand-row,
  .profile-contact-grid,
  .profile-gallery-strip {
    grid-template-columns: 1fr;
  }

  .profile-index-grid a,
  .profile-stat-grid div,
  .profile-value-grid article,
  .profile-timeline li {
    border-right: 0;
  }

  .profile-page--photo-text figure,
  .profile-page--portrait figure,
  .profile-video-poster,
  .profile-gallery-strip img,
  .profile-page--wide-gallery .profile-gallery-strip img {
    height: 330px;
  }

  .profile-cover__pattern {
    right: 1rem;
    bottom: 2rem;
    width: 250px;
    height: 100px;
  }
}

/* ---------- Broken-image fallbacks ----------------------------------- */
.img-fallback {
  position: relative;
  background:
    linear-gradient(135deg, rgba(31, 23, 80, 0.92), rgba(15, 23, 42, 0.96)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 60%);
  background-color: #1f1750;
  isolation: isolate;
  min-height: 180px;
  overflow: hidden;
}

.img-fallback img {
  visibility: hidden;
}

.img-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='10' width='80' height='80' rx='14'/%3E%3Cpath d='M30 28 V72 M70 28 V72 M30 50 H70'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: clamp(72px, 28%, 130px);
  opacity: 0.95;
  pointer-events: none;
}

.img-fallback-inline {
  display: inline-block;
  min-width: 64px;
  min-height: 64px;
  background-color: #1f1750;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.65' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 28 V72 M70 28 V72 M30 50 H70'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  border-radius: 8px;
}
