:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --surface: rgba(17, 17, 17, 0.86);
  --surface-strong: rgba(17, 17, 17, 0.92);
  --line: rgba(212, 175, 55, 0.2);
  --line-strong: rgba(212, 175, 55, 0.4);
  --text: #eae3d2;
  --text-soft: #a8a29e;
  --text-muted: rgba(168, 162, 158, 0.72);
  --accent: #d4af37;
  --accent-soft: rgba(212, 175, 55, 0.15);
  --shell: min(1080px, calc(100vw - 48px));
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 14%, rgba(26, 18, 12, 0.65), transparent 34%),
    linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 100%);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  opacity: 0.035;
}

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

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

main {
  display: block;
}

.site-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(209, 174, 115, 0.1);
  background: rgba(10, 8, 6, 0.88);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  line-height: 1;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-mark__eyebrow,
.brand-mark__title,
.site-navigation a,
.footer-links a,
.footer-heading,
.section-kicker {
  text-transform: uppercase;
}

.brand-mark__eyebrow {
  color: var(--text-muted);
  font-size: 0.44rem;
  letter-spacing: 0.22em;
}

.brand-mark__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.site-navigation__list,
.footer-links {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation a {
  color: var(--text-soft);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.site-navigation a:hover,
.site-navigation a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__line {
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.hero-section,
.content-section {
  padding: 92px 0;
}

.content-section--final {
  padding-bottom: 112px;
}

.section-divider {
  border-top: 1px solid rgba(209, 174, 115, 0.09);
}

.hero-block,
.section-intro,
.flagship-copy {
  text-align: center;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 58px);
  display: grid;
  align-items: center;
  padding: 34px 0 44px;
  border-top: 1px solid rgba(209, 174, 115, 0.08);
  border-bottom: 1px solid rgba(209, 174, 115, 0.08);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.34) 30%, rgba(10, 10, 10, 0.3) 72%, rgba(10, 10, 10, 0.62) 100%),
    radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.075), transparent 24%),
    url('../images/hero-arcs.png') center center / cover no-repeat;
}

.hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.06) 0%, rgba(10, 10, 10, 0) 14%, rgba(10, 10, 10, 0) 86%, rgba(10, 10, 10, 0.08) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.08) 0%, rgba(10, 10, 10, 0) 20%, rgba(10, 10, 10, 0) 78%, rgba(10, 10, 10, 0.12) 100%);
  opacity: 1;
  pointer-events: none;
}

.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 54% 36%, rgba(212, 175, 55, 0.1), transparent 11%),
    radial-gradient(circle at 72% 58%, rgba(212, 175, 55, 0.07), transparent 8%);
  opacity: 0.52;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 58px - 50px);
}

.hero-block {
  position: relative;
  width: min(1020px, calc(100vw - 120px));
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
}

.hero-title,
.section-ornament,
.structure-node strong,
.structure-node span,
.division-card h3,
.philosophy-quote,
.footer-heading {
  margin: 0;
  font-family: 'Playfair Display', 'Cormorant Garamond', 'Libre Baskerville', serif;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.hero-title {
  max-width: 100%;
  margin-inline: auto;
  font-size: clamp(2.7rem, 3.85vw, 4.35rem);
  line-height: 1.08;
  text-wrap: initial;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-summary {
  max-width: 540px;
  margin: 38px auto 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 216px;
  padding: 0 26px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button--primary {
  background: transparent;
}

.button--secondary {
  background: transparent;
}

.button:hover,
.button:focus-visible {
  background: rgba(212, 175, 55, 0.1);
}

.section-intro {
  margin-bottom: 46px;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(1.9rem, 2.95vw, 2.6rem);
  line-height: 1.1;
  text-wrap: balance;
}

.section-ornament span {
  width: clamp(56px, 11vw, 118px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 174, 115, 0.7), transparent);
}

.section-subtitle {
  max-width: 54ch;
  margin: 14px auto 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.76;
}

#structure,
#divisions,
#coralis,
#philosophy {
  position: relative;
}

#structure {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.18) 0%, rgba(10, 10, 10, 0) 24%, rgba(10, 10, 10, 0) 100%);
}

#divisions {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0) 100%);
}

#philosophy {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(18, 14, 11, 0.22) 44%, rgba(18, 14, 11, 0.38) 100%);
}

.structure-diagram {
  max-width: 980px;
  margin: 0 auto;
}

.structure-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 24px;
  border: 1px solid rgba(212, 175, 55, 0.11);
  border-radius: 2px;
  background: rgba(18, 14, 11, 0.14);
  text-align: center;
}

.structure-node--parent,
.structure-node--flagship {
  max-width: 420px;
  margin: 0 auto;
}

.structure-node strong,
.structure-node span,
.division-card h3 {
  font-size: 0.96rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.structure-node small,
.division-card p,
.flagship-copy p,
.philosophy-text,
.footer-copy {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.79rem;
}

.structure-line {
  width: 1px;
  margin: 0 auto;
  background: rgba(209, 174, 115, 0.72);
}

.structure-line--parent {
  height: 42px;
}

.structure-branches {
  position: relative;
  max-width: 810px;
  height: 28px;
  margin: 0 auto;
}

.structure-branches span,
.structure-branches::before,
.structure-branches::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 28px;
  background: rgba(209, 174, 115, 0.72);
}

.structure-branches span {
  left: 50%;
  transform: translateX(-50%);
}

.structure-branches::before {
  left: 16.66%;
}

.structure-branches::after {
  right: 16.66%;
}

.structure-branches {
  border-top: 1px solid rgba(209, 174, 115, 0.72);
}

.structure-row,
.division-grid,
.site-footer__grid {
  display: grid;
  gap: 24px;
}

.structure-row,
.division-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.structure-line--flagship {
  height: 36px;
}

.division-card {
  min-height: 132px;
  padding: 24px 22px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 4px;
  background: rgba(18, 14, 11, 0.2);
  text-align: left;
}

.division-card p {
  max-width: 34ch;
  line-height: 1.74;
}

.flagship-frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 4px;
  background: transparent;
}

.flagship-frame img {
  width: 100%;
  display: block;
  border: 0;
}

.flagship-copy {
  max-width: 680px;
  margin: 58px auto 0;
}

.flagship-copy .button {
  margin-top: 38px;
}

.flagship-highlights {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.84rem;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.flagship-highlights li {
  position: relative;
  padding-left: 18px;
}

.flagship-highlights li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.72);
}

.flagship-closing {
  max-width: 560px;
  margin: 32px auto 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.72;
  text-align: center;
}

#coralis .section-intro {
  margin-bottom: 56px;
}

#coralis .section-subtitle {
  margin-top: 16px;
}

#coralis .flagship-copy > p:first-child {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.82;
}

#coralis .button {
  min-height: 56px;
  padding: 0 32px;
  border-width: 1.5px;
}

.philosophy-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 44px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 4px;
  background: rgba(18, 14, 11, 0.72);
}

.philosophy-quote {
  max-width: 22ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.site-footer {
  padding: 68px 0 76px;
  border-top: 1px solid rgba(209, 174, 115, 0.09);
}

.site-footer__grid {
  grid-template-columns: minmax(0, 1.2fr) 180px 220px;
  gap: 56px;
}

.footer-heading {
  margin-bottom: 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-copy {
  max-width: 32ch;
  margin: 0;
  line-height: 1.9;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .structure-row,
  .division-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .structure-branches {
    display: none;
  }

  .structure-line--parent,
  .structure-line--flagship {
    height: 22px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 28px, 1080px);
  }

  .site-header__inner {
    min-height: 64px;
  }

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

  .site-navigation {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 8, 6, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-navigation__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-section,
  .content-section {
    padding: 68px 0;
  }

  .hero-stage {
    min-height: calc(100vh - 64px);
    padding: 42px 0 44px;
  }

  .hero-shell {
    min-height: calc(100vh - 64px - 56px);
  }

  .hero-title {
    font-size: 2.35rem;
    line-height: 1.1;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-summary {
    max-width: 34ch;
    font-size: 0.98rem;
  }

  .hero-block {
    width: min(100%, calc(100vw - 40px));
  }

  .button {
    min-width: 0;
    width: 100%;
  }

  .section-ornament {
    gap: 10px;
    font-size: 1.45rem;
  }

  .philosophy-card {
    padding: 26px 22px;
  }
}
