/* ==========================================================================
   Royal Ruzawi Investments: site styles
   1. Tokens & base   2. Utilities   3. Buttons   4. Header & menu
   5. Hero & page hero   6. Sections   7. Footer   8. Pages   9. Motion
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
  --royal: #4b176b;
  --royal-400: #7a4f9a;
  --deep: #2b0b3f;
  --deeper: #1c0729;
  --charcoal: #171717;
  --ivory: #faf9f7;
  --lilac: #f4f0f6;
  --muted: #6d6d73;
  --gold: #c4a46b;
  --gold-soft: #d9c49b;
  --gold-deep: #86693a; /* gold for text on light backgrounds (AA contrast) */
  --line: rgb(75 23 107 / 0.15);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
}
@media (min-width: 40rem) { :root { --header-h: 6rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font: 400 1rem/1.6 var(--sans); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; background-size: cover; background-position: center; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, address { margin: 0; font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
/* Lining figures everywhere (the `font` shorthand would otherwise reset this). */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--royal); color: var(--ivory); }
main { outline: none; }

/* 2. Utilities ---------------------------------------------------------- */
.container { width: 100%; max-width: 82rem; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 48rem) { .container { padding-inline: 2.5rem; } }
.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; }
.bg-ivory { background: var(--ivory); }
.bg-white { background: #fff; }
.bg-lilac { background: var(--lilac); }
.clip { overflow: hidden; }
.center { text-align: center; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.section { padding-block: 6rem; }
@media (min-width: 40rem) { .section { padding-block: 8rem; } }
@media (min-width: 64rem) { .section { padding-block: 10rem; } }

.eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--royal);
}
.eyebrow::before { content: ""; flex: none; width: 2.5rem; height: 1px; background: var(--gold); }
.eyebrow--center { justify-content: center; text-align: center; }
.eyebrow--center::after { content: ""; flex: none; width: 2.5rem; height: 1px; background: var(--gold); }
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--dark { color: var(--deep); }

.gold-rule { display: block; width: 6rem; height: 1px; margin-block: 2.5rem; background: var(--gold); }
.gold-rule--center { width: 5rem; margin: 0 auto; }

.grid-texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
}
.grid-texture--fade { opacity: 0.4; -webkit-mask-image: linear-gradient(to right, #000, transparent 72%); mask-image: linear-gradient(to right, #000, transparent 72%); }

.media-bg { position: absolute; inset: 0; z-index: -1; }
.media-bg > img, .img-fill > img, .img-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-bg > div { position: absolute; inset: 0; }
.img-fill { position: absolute; inset: 0; overflow: hidden; }
.img-box { position: relative; overflow: hidden; background: var(--deep); }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-10 { aspect-ratio: 16 / 10; }

.copy { margin-top: 2rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.copy > * + * { margin-top: 1.25rem; }
@media (min-width: 40rem) { .copy { font-size: 1.0625rem; } }
.lead-serif { font: 400 1.5rem/1.35 var(--serif); color: var(--deep); }
.lead-serif--lg { font-size: 1.75rem; }
@media (min-width: 40rem) { .lead-serif--lg { font-size: 2.2rem; } }

.dash-list { margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.dash-list li { display: flex; gap: 1rem; font-size: 0.95rem; line-height: 1.6; color: rgb(23 23 23 / 0.8); }
.dash-list li::before { content: ""; flex: none; width: 1.1rem; height: 1px; margin-top: 0.8em; background: var(--gold); }

/* Section headings */
.heading { max-width: 48rem; }
.heading__title { margin-top: 1.5rem; font-size: 2.5rem; line-height: 1.05; color: var(--deep); }
@media (min-width: 40rem) { .heading__title { font-size: 3rem; } }
@media (min-width: 64rem) { .heading__title { font-size: 3.75rem; } }
.heading__title em { color: var(--royal); }
.heading__intro { margin-top: 1.5rem; font-size: 1rem; line-height: 1.75; color: var(--muted); }
@media (min-width: 40rem) { .heading__intro { font-size: 1.125rem; } }
.heading--center { margin-inline: auto; text-align: center; }
.heading--light .heading__title { color: #fff; }
.heading--light .heading__intro { color: rgb(255 255 255 / 0.75); }

/* 3. Buttons & links ------------------------------------------------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.9rem 1.75rem; border: 1px solid transparent; border-radius: 999px;
  font: 600 0.8125rem/1.2 var(--sans); letter-spacing: 0.06em; text-align: center;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.2s;
}
.btn:active { transform: scale(0.98); }
.icon-arrow { flex: none; width: 1rem; height: 1rem; transition: transform 0.5s var(--ease); }
.btn:hover .icon-arrow, .text-link:hover .icon-arrow, .card:hover .icon-arrow { transform: translateX(4px); }
.btn--primary { background: var(--royal); color: var(--ivory); box-shadow: 0 10px 30px -12px rgb(75 23 107 / 0.6); }
.btn--primary:hover { background: var(--deep); box-shadow: 0 18px 40px -14px rgb(43 11 63 / 0.7); }
.btn--light { background: var(--ivory); color: var(--deep); }
.btn--light:hover { background: #fff; box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.5); }
.btn--outline { border-color: rgb(75 23 107 / 0.35); color: var(--royal); }
.btn--outline:hover { border-color: var(--royal); background: var(--royal); color: var(--ivory); }
.btn--outline-light { border-color: rgb(255 255 255 / 0.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / 0.1); }
.btn--sm { padding: 0.75rem 1.5rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 30rem) { .btn-row { flex-direction: row; flex-wrap: wrap; } }
.btn-row--center { justify-content: center; }

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 0.625rem; padding: 0 0 0.375rem;
  border: 0; background: none; font: 600 0.8125rem/1.2 var(--sans); letter-spacing: 0.06em; color: var(--royal);
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform-origin: left; transition: transform 0.5s var(--ease);
}
.text-link:hover::after { transform: scaleX(0.5); }

/* 4. Header & mobile menu ------------------------------------------------ */
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 70; transform: translateY(-6rem);
  padding: 0.75rem 1.25rem; border-radius: 999px; background: var(--royal); color: var(--ivory);
  font-weight: 600; font-size: 0.875rem; transition: transform 0.3s;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: var(--ivory); border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.site-header.is-compact {
  background: rgb(250 249 247 / 0.82); border-color: rgb(75 23 107 / 0.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 12px 40px -24px rgb(43 11 63 / 0.35);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height 0.5s var(--ease); }
.is-compact .site-header__inner { height: 4.5rem; }
.site-logo { flex: none; border-radius: 2px; }
.site-logo img { width: 5.75rem; transition: width 0.5s var(--ease); }
@media (min-width: 40rem) { .site-logo img { width: 7.25rem; } }
.is-compact .site-logo img { width: 5.25rem; }

.site-nav { display: none; }
@media (min-width: 80rem) { .site-nav { display: block; } }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  position: relative; display: block; padding: 0.5rem 0.875rem;
  font: 500 0.8125rem/1.4 var(--sans); letter-spacing: 0.03em; color: rgb(23 23 23 / 0.75); transition: color 0.3s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0.875rem; right: 0.875rem; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--royal); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }
@media (min-width: 40rem) { .header-cta { display: inline-flex; } }
.menu-toggle { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-right: -0.5rem; border: 0; border-radius: 50%; background: none; color: var(--deep); }
@media (min-width: 80rem) { .menu-toggle { display: none; } }
.menu-toggle__lines { position: relative; display: block; width: 1.5rem; height: 0.75rem; }
.menu-toggle__lines span { position: absolute; left: 0; height: 1px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease), width 0.5s var(--ease); }
.menu-toggle__lines span:first-child { top: 0; width: 1.5rem; }
.menu-toggle__lines span:last-child { top: 0.75rem; width: 1rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { top: 0.375rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { top: 0.375rem; width: 1.5rem; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--ivory); }
@media (min-width: 80rem) { .mobile-menu { display: none !important; } }
.mobile-menu__inner { display: flex; flex-direction: column; min-height: 100%; padding-top: 7rem; padding-bottom: 2.5rem; }
.mobile-menu ul { border-top: 1px solid rgb(75 23 107 / 0.1); }
.mobile-menu li { border-bottom: 1px solid rgb(75 23 107 / 0.1); opacity: 0; animation: fade-up 0.8s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font: 400 1.9rem/1.2 var(--serif); color: var(--deep); transition: color 0.3s; }
.mobile-menu li a:hover, .mobile-menu li a[aria-current="page"] { color: var(--royal); }
.mobile-menu li a span { font: 500 0.75rem var(--sans); letter-spacing: 0.2em; color: var(--gold-deep); }
.mobile-menu__footer { margin-top: auto; padding-top: 2.5rem; }
.mobile-menu__tagline { margin-top: 2rem; color: var(--muted); }

/* 5. Hero & page hero ------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh; overflow: hidden;
  padding-top: var(--header-h); background: var(--deeper); color: #fff;
}
.hero__tint { background: rgb(43 11 63 / 0.45); mix-blend-mode: multiply; }
.hero__fade-x { background: linear-gradient(to right, rgb(28 7 41 / 0.9), rgb(43 11 63 / 0.6), rgb(43 11 63 / 0.05)); }
.hero__fade-y { background: linear-gradient(to top, rgb(28 7 41 / 0.9), transparent 50%, rgb(28 7 41 / 0.3)); }
.hero__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 5rem; }
@media (min-width: 64rem) { .hero__body { padding-block: 6rem; } }
.hero__content { max-width: 56rem; }
.hero__title { margin-top: 2rem; font-size: 3.25rem; line-height: 0.98; letter-spacing: -0.02em; font-weight: 500; }
@media (min-width: 30rem) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 40rem) { .hero__title { font-size: 4.5rem; } }
@media (min-width: 64rem) { .hero__title { font-size: 6.5rem; } }
.hero__title span, .hero__title em { display: block; }
.hero__title em { color: var(--gold-soft); }
.hero__lede { margin-top: 2rem; max-width: 36rem; font-size: 1rem; line-height: 1.75; color: rgb(255 255 255 / 0.8); }
@media (min-width: 40rem) { .hero__lede { font-size: 1.125rem; } }
.hero .btn-row { margin-top: 2.5rem; }
.hero__pillars {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: 2.5rem;
  font: 500 0.7rem/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: rgb(255 255 255 / 0.6);
}
.hero__pillars .dot { display: none; color: var(--gold); }
@media (min-width: 40rem) {
  .hero__pillars { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
  .hero__pillars .dot { display: inline; }
}
.hero__foot { display: none; }
@media (min-width: 40rem) { .hero__foot { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 2.5rem; } }
.scroll-cue { display: flex; align-items: center; gap: 1rem; font: 500 0.7rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); transition: color 0.3s; }
.scroll-cue:hover { color: #fff; }
.scroll-cue__line { position: relative; display: block; width: 1px; height: 3.5rem; overflow: hidden; background: rgb(255 255 255 / 0.15); }
.scroll-cue__line span { position: absolute; inset: 0; background: var(--gold); animation: scroll-cue 2.6s ease-in-out infinite; }
.hero__caption { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(255 255 255 / 0.35); }

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: var(--header-h); background: var(--deeper); color: #fff; }
.page-hero__tint { background: rgb(43 11 63 / 0.5); mix-blend-mode: multiply; }
.page-hero__fade-x { background: linear-gradient(to right, rgb(28 7 41 / 0.9), rgb(43 11 63 / 0.65), rgb(43 11 63 / 0.1)); }
.page-hero__fade-y { background: linear-gradient(to top, rgb(28 7 41 / 0.8), transparent); }
.page-hero__body { display: flex; flex-direction: column; justify-content: flex-end; min-height: 26rem; padding-block: 6rem 4rem; }
@media (min-width: 40rem) { .page-hero__body { min-height: 34rem; padding-bottom: 5rem; } }
@media (min-width: 64rem) { .page-hero__body { min-height: 38rem; } }
.page-hero__title { margin-top: 1.5rem; max-width: 56rem; font-size: 2.9rem; line-height: 1.02; letter-spacing: -0.02em; }
@media (min-width: 40rem) { .page-hero__title { font-size: 3.75rem; } }
@media (min-width: 64rem) { .page-hero__title { font-size: 5.25rem; } }
.page-hero__title em { color: var(--gold-soft); }
.page-hero__intro { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; line-height: 1.75; color: rgb(255 255 255 / 0.8); }
@media (min-width: 40rem) { .page-hero__intro { font-size: 1.125rem; } }

/* 6. Homepage sections ------------------------------------------------------ */
/* Who we are */
.split { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 64rem) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
  .split__text { grid-column: 1 / 7; }
  .split__media { grid-column: 7 / 13; }
}
@media (min-width: 80rem) { .split__text { grid-column: 1 / 6; } }
.split__media { position: relative; }
.frame { display: none; }
@media (min-width: 40rem) { .frame { display: block; position: absolute; top: -2.5rem; right: -2.5rem; bottom: 3rem; left: 3rem; border: 1px solid rgb(196 164 107 / 0.5); } }
.ratio-intro { aspect-ratio: 4 / 5; }
@media (min-width: 40rem) { .ratio-intro { aspect-ratio: 5 / 4; } }
@media (min-width: 64rem) { .ratio-intro { aspect-ratio: 4 / 5; } }
.badge { position: relative; max-width: 20rem; margin: -4rem 1.5rem 0 auto; padding: 2rem; background: var(--deep); color: #fff; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.3); }
@media (min-width: 40rem) { .badge { margin: -5rem 2.5rem 0 auto; } }
.badge__text { margin-top: 0.75rem; font: 400 1.5rem/1.35 var(--serif); }

/* Investment focus cards */
.heading-row { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 64rem) { .heading-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } .heading-row__link { flex: none; padding-bottom: 0.75rem; } }
.cards { display: grid; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem;
  background: #fff; border: 1px solid var(--line);
  transition: translate 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.7s var(--ease);
}
@media (min-width: 40rem) { .card { padding: 2.5rem; } }
.card:hover, .card:focus-within { translate: 0 -0.5rem; border-color: rgb(75 23 107 / 0.4); box-shadow: 0 30px 60px -30px rgb(43 11 63 / 0.35); }
.card__bar { position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(to right, var(--royal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.card:hover .card__bar { transform: scaleX(1); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.card__icon { width: 3rem; height: 3rem; color: var(--royal); }
.card__num { font: 400 1.125rem var(--serif); color: var(--gold-deep); }
.card h3 { margin-top: 2.5rem; font-size: 1.75rem; line-height: 1.15; color: var(--deep); }
.card p { flex: 1; margin-top: 1rem; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }
.card__link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; font: 600 0.8rem var(--sans); letter-spacing: 0.06em; color: var(--royal); }
.card__link::after { content: ""; position: absolute; inset: 0; }

/* Brand statement */
.statement { position: relative; isolation: isolate; overflow: hidden; padding-block: 7rem; background: var(--deep); color: #fff; text-align: center; }
@media (min-width: 40rem) { .statement { padding-block: 9rem; } }
@media (min-width: 64rem) { .statement { padding-block: 11rem; } }
.statement__photo { opacity: 0.14; filter: grayscale(1); mix-blend-mode: luminosity; object-position: bottom; }
.statement__fade { background: linear-gradient(to bottom, var(--deep), rgb(43 11 63 / 0.6), var(--deep)); }
.glow, .vm__glow, .footer-main__glow { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; }
.media-bg > .glow { inset: auto; left: 50%; top: 50%; width: 46rem; height: 46rem; max-width: 100vw; transform: translate(-50%, -50%); background: rgb(75 23 107 / 0.5); }
.statement__figure { max-width: 64rem; margin-inline: auto; }
.statement__mark { display: block; font: 400 7rem/0.5 var(--serif); color: var(--gold); }
@media (min-width: 40rem) { .statement__mark { font-size: 9rem; } }
.statement blockquote { margin-top: 2rem; font: italic 400 2rem/1.2 var(--serif); letter-spacing: -0.01em; }
@media (min-width: 40rem) { .statement blockquote { font-size: 3rem; } }
@media (min-width: 64rem) { .statement blockquote { font-size: 3.9rem; line-height: 1.12; } }
.statement figcaption { margin-top: 3rem; }

/* Approach steps */
.steps { position: relative; margin-top: 5rem; }
.steps__line { display: none; }
@media (min-width: 64rem) {
  .steps__line { display: block; position: absolute; left: 1.5rem; right: 0; top: 1.5rem; height: 1px; background: linear-gradient(to right, rgb(75 23 107 / 0.4), rgb(196 164 107 / 0.6), rgb(75 23 107 / 0.1)); }
  .steps ol { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
}
.step { position: relative; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.5rem; padding-bottom: 3.5rem; }
.step:last-child { padding-bottom: 0; }
@media (min-width: 64rem) { .step { display: block; padding-bottom: 0; } }
.step__line { position: absolute; left: 1.5rem; top: 3rem; bottom: 0; width: 1px; background: rgb(75 23 107 / 0.2); }
.step:last-child .step__line { display: none; }
@media (min-width: 64rem) { .step__line { display: none; } }
.step__marker { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border: 1px solid rgb(75 23 107 / 0.25); border-radius: 50%; background: var(--ivory); }
.step__marker::after { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); }
@media (min-width: 64rem) { .step__marker { margin-bottom: 2.5rem; } }
.step__num { font: 400 4.5rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--royal-400); }
@media (min-width: 64rem) { .step__num { font-size: 5.5rem; } }
.step h3 { margin-top: 1rem; font-size: 2rem; color: var(--deep); }
.step__text { margin-top: 1rem; max-width: 20rem; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }

/* Why Royal Ruzawi */
.why { display: grid; overflow: hidden; background: #fff; }
@media (min-width: 64rem) { .why { grid-template-columns: 1fr 1fr; } }
.why__media { position: relative; min-height: 26rem; }
.why__fade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(28 7 41 / 0.85), rgb(43 11 63 / 0.1), transparent); }
.why__caption { position: absolute; inset: auto 0 0; padding: 2rem; }
@media (min-width: 40rem) { .why__caption { padding: 3rem; } }
.why__quote { margin-top: 0.75rem; max-width: 24rem; font: 400 1.5rem/1.35 var(--serif); color: #fff; }
@media (min-width: 40rem) { .why__quote { font-size: 1.875rem; } }
.why__body { padding: 6rem 1.5rem; }
@media (min-width: 40rem) { .why__body { padding: 8rem 3rem; } }
@media (min-width: 64rem) { .why__body { padding-inline: 4rem; } }
@media (min-width: 80rem) { .why__body { padding: 10rem 6rem; } }
.points { display: grid; gap: 3rem 2.5rem; margin-top: 3.5rem; }
@media (min-width: 40rem) { .points { grid-template-columns: 1fr 1fr; } }
.point { padding-top: 2rem; border-top: 1px solid var(--line); }
.point__icon { width: 2.5rem; height: 2.5rem; color: var(--royal); }
.point h3 { margin-top: 1.5rem; font-size: 1.5rem; color: var(--deep); }
.point p { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }

/* Opportunity panel */
.panel { display: grid; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -50px rgb(43 11 63 / 0.45); }
@media (min-width: 64rem) { .panel { grid-template-columns: 7fr 5fr; } }
.panel__body { position: relative; padding: 2rem; }
.panel__body::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--royal), var(--royal), var(--gold)); }
@media (min-width: 40rem) { .panel__body { padding: 3.5rem; } }
@media (min-width: 64rem) { .panel__body { padding: 5rem; } }
.panel__media { position: relative; min-height: 20rem; }

/* Closing CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: 7rem; background: var(--deeper); color: #fff; text-align: center; }
@media (min-width: 40rem) { .cta-band { padding-block: 9rem; } }
.cta-band__tint { background: rgb(43 11 63 / 0.6); mix-blend-mode: multiply; }
.cta-band__fade { background: linear-gradient(to bottom, rgb(28 7 41 / 0.85), rgb(43 11 63 / 0.55), rgb(28 7 41 / 0.9)); }
.cta-band .grid-texture { opacity: 0.5; }
.cta-band__title { max-width: 56rem; margin: 2.5rem auto 0; font-size: 2.5rem; line-height: 1.08; }
@media (min-width: 40rem) { .cta-band__title { font-size: 3.75rem; } }
@media (min-width: 64rem) { .cta-band__title { font-size: 4.25rem; } }
.cta-band__text { max-width: 36rem; margin: 1.5rem auto 3rem; font-size: 1.125rem; color: rgb(255 255 255 / 0.75); }

/* 7. Footer ------------------------------------------------------------------ */
.footer-brand { background: var(--ivory); border-top: 1px solid rgb(75 23 107 / 0.1); }
.footer-brand__inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; padding-block: 3.5rem; text-align: center; }
.footer-brand__identity { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.footer-brand__logo img { width: 9rem; }
@media (min-width: 40rem) { .footer-brand__logo img { width: 11rem; } }
.footer-brand__rule { display: none; width: 1px; height: 5rem; background: rgb(196 164 107 / 0.6); }
.footer-brand__name { font: 400 1.5rem var(--serif); color: var(--deep); }
.footer-brand__tagline { margin-top: 0.5rem; justify-content: center; }
@media (min-width: 48rem) {
  .footer-brand__inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-brand__identity { flex-direction: row; gap: 2.5rem; }
  .footer-brand__rule { display: block; }
  .footer-brand__tagline { justify-content: flex-start; }
}

.footer-main { position: relative; overflow: hidden; background: var(--deeper); color: rgb(255 255 255 / 0.7); }
.footer-main .grid-texture { opacity: 0.6; }
.footer-main__glow { right: -10rem; top: -10rem; width: 34rem; height: 34rem; background: rgb(75 23 107 / 0.4); filter: blur(120px); }
.footer-main__grid { position: relative; display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 40rem) { .footer-main__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .footer-main__grid { grid-template-columns: 5fr 2fr 2fr 3fr; padding-block: 5rem; } }
.footer-main__statement { max-width: 24rem; font: 400 1.65rem/1.35 var(--serif); color: #fff; }
.footer-heading { font: 600 0.72rem var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); }
.footer-links { display: grid; gap: 0.875rem; margin-top: 1.5rem; font-size: 0.875rem; }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-main__bottom { position: relative; display: flex; flex-direction: column; gap: 1rem; padding-block: 2rem; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.75rem; line-height: 1.7; color: rgb(255 255 255 / 0.55); }
@media (min-width: 48rem) { .footer-main__bottom { flex-direction: row; justify-content: space-between; gap: 3rem; } .footer-main__disclaimer { max-width: 42rem; text-align: right; } }

/* 8. Pages ------------------------------------------------------------------- */
/* About: story */
.story { display: grid; gap: 4rem; }
@media (min-width: 64rem) { .story { grid-template-columns: 5fr 1fr 6fr; gap: 3rem; } .story__main { grid-column: 3; padding-top: 9rem; } }
.story__img--desktop { display: none; margin-top: 3rem; }
.story__img--mobile { margin-top: 3rem; }
@media (min-width: 64rem) { .story__img--desktop { display: block; } .story__img--mobile { display: none; } }

/* About: vision & mission */
.vm { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; }
.vm .grid-texture { z-index: -1; }
.vm__glow { left: -10rem; top: 50%; z-index: -1; width: 40rem; height: 40rem; transform: translateY(-50%); background: rgb(75 23 107 / 0.6); }
.vm__grid { display: grid; }
@media (min-width: 64rem) { .vm__grid { grid-template-columns: 1fr 1fr; } }
.vm__item { padding-block: 5rem; }
.vm__item + .vm__item { border-top: 1px solid rgb(255 255 255 / 0.15); }
@media (min-width: 40rem) { .vm__item { padding-block: 7rem; } }
@media (min-width: 64rem) {
  .vm__item { padding-block: 9rem; padding-right: 4rem; }
  .vm__item + .vm__item { border-top: 0; border-left: 1px solid rgb(255 255 255 / 0.15); padding: 9rem 0 9rem 4rem; }
}
.vm__item p { margin-top: 2rem; font: 400 1.9rem/1.25 var(--serif); }
@media (min-width: 40rem) { .vm__item p { font-size: 2.4rem; } }

/* About: values */
.values { display: grid; margin-top: 5rem; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .values { grid-template-columns: 1fr 1fr; } .value:last-child { grid-column: span 2; } }
@media (min-width: 64rem) { .values { grid-template-columns: repeat(5, minmax(0, 1fr)); } .value:last-child { grid-column: auto; } }
.value { display: flex; flex-direction: column; min-height: 18rem; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 0.7s var(--ease); }
@media (min-width: 64rem) { .value { min-height: 24rem; } }
.value:hover { background: var(--deep); }
.value__num { font: 400 1.125rem var(--serif); color: var(--gold-deep); transition: color 0.7s; }
.value h3 { margin-top: auto; font-size: 1.9rem; line-height: 1.1; color: var(--deep); transition: color 0.7s; }
.value__rule { display: block; width: 2.5rem; height: 1px; margin-top: 1.25rem; background: var(--gold); transition: width 0.7s var(--ease); }
.value p { margin-top: 1.25rem; font-size: 0.95rem; line-height: 1.7; color: var(--muted); transition: color 0.7s; }
.value:hover .value__num { color: var(--gold); }
.value:hover h3 { color: #fff; }
.value:hover .value__rule { width: 5rem; }
.value:hover p { color: rgb(255 255 255 / 0.75); }

/* Investment focus */
.subnav { position: sticky; top: 4.5rem; z-index: 30; border-bottom: 1px solid rgb(75 23 107 / 0.1); background: rgb(250 249 247 / 0.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.subnav ul { display: flex; gap: 2rem; overflow-x: auto; padding-block: 1rem; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { flex: none; }
.subnav a { display: flex; align-items: center; gap: 0.75rem; font: 500 0.8rem var(--sans); letter-spacing: 0.04em; color: rgb(23 23 23 / 0.7); transition: color 0.3s; }
.subnav a:hover { color: var(--royal); }
.subnav a span { font: 400 1rem var(--serif); color: var(--gold-deep); }
.focus-overview { padding: 5rem 0 2rem; }
@media (min-width: 40rem) { .focus-overview { padding-top: 7rem; } }
.focus-overview__text { max-width: 56rem; }
.focus { padding-block: 5rem; scroll-margin-top: 3rem; }
@media (min-width: 40rem) { .focus { padding-block: 7rem; } }
.focus__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) {
  .focus__grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .focus__media { position: sticky; top: 10rem; }
  .focus--reverse .focus__grid { grid-template-columns: 7fr 5fr; }
  .focus--reverse .focus__media { order: 2; }
}
.ratio-focus { aspect-ratio: 4 / 3; }
@media (min-width: 64rem) { .ratio-focus { aspect-ratio: 4 / 5; } }
.focus__fade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(28 7 41 / 0.7), transparent 55%); }
.focus__num { position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 2; font: 400 5rem/1 var(--serif); color: rgb(255 255 255 / 0.9); }
@media (min-width: 40rem) { .focus__num { font-size: 6rem; } }
.focus__icon { display: flex; align-items: center; gap: 1.25rem; }
.focus__svg { width: 3rem; height: 3rem; color: var(--royal); }
.focus__icon span { width: 4rem; height: 1px; background: var(--gold); }
.focus__title { margin-top: 2rem; font-size: 2.5rem; line-height: 1.05; color: var(--deep); }
@media (min-width: 40rem) { .focus__title { font-size: 3rem; } }
@media (min-width: 64rem) { .focus__title { font-size: 3.5rem; } }
.focus__intro { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.facts { display: grid; gap: 1px; margin-top: 3rem; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
@media (min-width: 40rem) { .facts { grid-template-columns: 1fr 1fr; } .fact--wide { grid-column: span 2; } }
.fact { padding: 2rem; background: #fff; }
.fact .eyebrow { color: var(--royal); }
.fact > p { margin-top: 1rem; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }
@media (min-width: 40rem) { .fact .dash-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.focus-close { padding: 2rem 0 6rem; }
@media (min-width: 40rem) { .focus-close { padding-bottom: 8rem; } }
.focus-close__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.focus-close__inner .lead-serif { max-width: 42rem; font-size: 1.75rem; }
@media (min-width: 48rem) { .focus-close__inner { flex-direction: row; align-items: center; justify-content: space-between; } .focus-close__inner .btn { flex: none; } }

/* Contact */
.contact { position: relative; overflow: hidden; padding: 8rem 0 6rem; background: var(--ivory); }
@media (min-width: 40rem) { .contact { padding: 11rem 0 8rem; } }
.contact__backdrop { display: none; }
@media (min-width: 64rem) {
  .contact__backdrop { display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 42%; }
  .contact__backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .contact__tint { position: absolute; inset: 0; background: rgb(43 11 63 / 0.85); mix-blend-mode: multiply; }
}
.contact__grid { position: relative; display: grid; gap: 4rem; }
@media (min-width: 64rem) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 2.5rem; } .contact__intro { padding-right: 1.5rem; } .contact__form-col { padding-left: 2rem; } }
.contact__logo img { width: 11rem; }
@media (min-width: 40rem) { .contact__logo img { width: 14rem; } }
.contact__intro > .eyebrow { margin-top: 3.5rem; }
.contact__title { margin-top: 1.5rem; font-size: 3rem; line-height: 1.02; letter-spacing: -0.02em; color: var(--deep); }
@media (min-width: 40rem) { .contact__title { font-size: 3.75rem; } }
@media (min-width: 64rem) { .contact__title { font-size: 4.5rem; } }
.contact__title em { color: var(--royal); }
.contact__lede { margin-top: 2rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.contact__block, .contact__details { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.contact__details { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .contact__details { grid-template-columns: 1fr 1fr; } }
.contact__details a, .contact__details p:not(.eyebrow) { display: block; margin-top: 0.75rem; color: var(--royal); }
.contact__details p:not(.eyebrow) { color: rgb(23 23 23 / 0.8); }

.form-card { position: relative; padding: 1.75rem; background: #fff; box-shadow: 0 50px 100px -50px rgb(43 11 63 / 0.55); }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(to right, var(--royal), var(--royal), var(--gold)); }
@media (min-width: 40rem) { .form-card { padding: 3rem; } }
@media (min-width: 64rem) { .form-card { padding: 3.5rem; } }
.form-card__title { font-size: 1.875rem; color: var(--deep); }
@media (min-width: 40rem) { .form-card__title { font-size: 2.25rem; } }
.form__note { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.req { color: var(--royal); }
.form__grid { display: grid; gap: 2.25rem 2.5rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: span 2; } }
.field label { font: 600 0.68rem var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--deep); }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 0.5rem; padding: 0.75rem 0; border: 0; border-bottom: 1px solid rgb(75 23 107 / 0.25);
  border-radius: 0; background: transparent; font-size: 1rem; color: var(--charcoal); transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(75 23 107 / 0.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); }
.field [aria-invalid="true"] { border-color: #b91c1c; }
.field textarea { resize: vertical; }
.field__error { margin-top: 0.5rem; font-size: 0.875rem; color: #b91c1c; }
.select { position: relative; }
.select select { padding-right: 2.5rem; cursor: pointer; }
.select svg { position: absolute; right: 0; top: 50%; width: 1rem; height: 1rem; margin-top: 0.25rem; transform: translateY(-50%); color: var(--royal); pointer-events: none; }
.consent { display: flex; align-items: flex-start; gap: 1rem; }
.consent input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; accent-color: var(--royal); cursor: pointer; }
.consent label { font: 400 0.875rem/1.6 var(--sans); letter-spacing: normal; text-transform: none; color: rgb(23 23 23 / 0.8); cursor: pointer; }
.consent__note { margin-top: 0.75rem; padding-left: 2.25rem; font-size: 0.75rem; color: var(--muted); }
.consent__note a { color: var(--royal); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5rem; margin-top: 2rem; }
.form__status p { padding-left: 1rem; border-left: 2px solid #b91c1c; font-size: 0.875rem; color: #b91c1c; }
.form__submit { width: 100%; margin-top: 1rem; padding: 1rem 2.25rem; }
.form__submit[disabled] { opacity: 0.7; cursor: wait; }
@media (min-width: 40rem) { .form__submit { width: auto; } }
.form-success { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 32rem; outline: none; }
.form-success__icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--royal); }
.form-success__icon svg { width: 1.75rem; height: 1.75rem; }
.form-success h2 { margin-top: 2rem; font-size: 2.25rem; color: var(--deep); }
@media (min-width: 40rem) { .form-success h2 { font-size: 3rem; } }
.form-success p { margin: 1.25rem 0 2.5rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }

/* Legal & credits */
.legal { padding: 9rem 0 6rem; background: var(--ivory); }
@media (min-width: 40rem) { .legal { padding: 12rem 0 8rem; } }
.legal__header { max-width: 48rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.legal__header h1 { margin-top: 1.5rem; font-size: 3rem; color: var(--deep); }
@media (min-width: 40rem) { .legal__header h1 { font-size: 3.75rem; } }
.legal__updated { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.prose { max-width: 48rem; margin-top: 3rem; font-size: 1.0125rem; line-height: 1.75; color: rgb(23 23 23 / 0.8); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.75rem; color: var(--deep); }
.prose ul { padding-left: 1.25rem; list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose a, .credits a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.credits { max-width: 48rem; margin-top: 3rem; }
.credits li { display: flex; gap: 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; line-height: 1.7; color: rgb(23 23 23 / 0.8); }
.credits__thumb { position: relative; flex: none; width: 7rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--deep); }
@media (min-width: 40rem) { .credits__thumb { width: 9rem; } }
.credits__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.credits__title { font: 400 1.25rem var(--serif); color: var(--deep); }

/* 404 */
.not-found { display: flex; align-items: center; min-height: 80vh; padding: 10rem 0 6rem; text-align: center; }
.not-found__code { font: 400 8rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--royal-400); }
@media (min-width: 40rem) { .not-found__code { font-size: 12rem; } }
.not-found h1 { margin-top: 1.5rem; font-size: 2.25rem; color: var(--deep); }
@media (min-width: 40rem) { .not-found h1 { font-size: 3rem; } }
.not-found__text { max-width: 28rem; margin: 1.25rem auto 2.5rem; font-size: 1.125rem; color: var(--muted); }

/* 9. Motion ------------------------------------------------------------------- */
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes scroll-cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.enter { opacity: 0; animation: fade-up 1.1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.settle { animation: settle 14s var(--ease) forwards; }

/* Scroll reveals: only active when JavaScript runs (html.js). */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="image"] { opacity: 1; transform: none; }
.js [data-reveal="image"]::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--deep); transform-origin: top; transition: transform 1.4s var(--ease); transition-delay: var(--d, 0ms); pointer-events: none; }
.js [data-reveal="image"] img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.js .gold-rule--center[data-reveal="line"] { transform-origin: center; }
.js [data-reveal="line-y"] { opacity: 1; transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="image"].is-visible::after { transform: scaleY(0); }
.js [data-reveal="image"].is-visible img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .enter, .mobile-menu li { opacity: 1; }
  .js [data-reveal], .js [data-reveal="image"] img { opacity: 1; transform: none !important; }
  .js [data-reveal="image"]::after { display: none; }
}
