/* Rothmere Advisory — institutional palette echoing Monegasque wealth managers */
:root {
  --navy: #0d2137;
  --navy-mid: #1a3a5c;
  --ink: #1f2933;
  --muted: #5c6770;
  --line: #d4dae0;
  --bg: #f5f6f8;
  --white: #ffffff;
  --accent: #8b7355;
  --accent-soft: #c4a574;
  --max: 1120px;
  --font-serif: "Libre Baskerville", "Georgia", serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--navy-mid);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

/* Utility top bar */
.util-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.util-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
}

.util-inner a {
  color: inherit;
}
.util-inner a:hover {
  color: var(--accent-soft);
  text-decoration: none;
}

.util-sep {
  opacity: 0.45;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  color: var(--navy);
}

.logo-mark {
  height: 52px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
}

.logo-wordmark span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: center;
}

nav a {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-mid);
}
nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--white) 0%, #eef1f4 100%);
  border-bottom: 1px solid var(--line);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 44%);
  align-items: stretch;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-split .hero-inner {
  max-width: none;
  margin: 0;
  padding: 3rem 1.25rem 3.5rem 1.25rem;
  background: linear-gradient(165deg, var(--white) 0%, #f0f2f5 100%);
}

@media (min-width: 901px) {
  .hero-split .hero-inner {
    padding-left: max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem));
    padding-right: 2rem;
  }
}

.hero-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 33, 55, 0.55) 0%,
    rgba(13, 33, 55, 0.12) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
}

.hero-quote {
  margin: 0 0 1.75rem;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--navy-mid);
  line-height: 1.55;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 1.25rem;
  max-width: 18em;
}

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-mid);
  text-decoration: none;
  color: var(--white);
}
.btn-outline {
  border-color: var(--navy-mid);
  color: var(--navy-mid);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  text-decoration: none;
}

/* Stats strip — MAM-style */
.stats {
  background: var(--navy);
  color: var(--white);
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--accent-soft);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  line-height: 1.35;
}

/* Content sections */
.section {
  padding: 3rem 1.25rem;
}

.section.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--navy);
  margin: 0 0 1rem;
}

.section h3 {
  font-size: 1.05rem;
  color: var(--navy-mid);
  margin: 1.75rem 0 0.5rem;
}

.prose {
  max-width: 42rem;
  color: var(--muted);
}
.prose p {
  margin: 0 0 1rem;
}
.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: 0.35rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem;
  border-radius: 2px;
}
.card h3 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

/* Leadership (text only) */
.leadership-panel {
  margin-top: 1.5rem;
  padding: 2rem 2rem 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  max-width: 42rem;
}

.leadership-panel h2 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
}

/* Brand imagery — editorial strip */
.brand-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 2px;
}

.brand-figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.brand-figure:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.brand-figure:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.brand-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(transparent, rgba(13, 33, 55, 0.88));
  line-height: 1.35;
}

.visual-banner {
  position: relative;
  min-height: 220px;
  max-height: 340px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.visual-banner img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.visual-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 33, 55, 0.25) 0%,
    rgba(13, 33, 55, 0.55) 100%
  );
  pointer-events: none;
}

.visual-banner-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.photo-attribution {
  font-size: 0.7rem;
  opacity: 0.65;
  margin-top: 0.75rem;
}
.photo-attribution a {
  color: inherit;
  text-decoration: underline;
}

/* Contact */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}
.contact-card address {
  font-style: normal;
  line-height: 1.8;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  padding: 2rem 1.25rem 2.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.92);
}
.footer-nav a:hover {
  color: var(--accent-soft);
  text-decoration: none;
}

.legal {
  opacity: 0.78;
  line-height: 1.6;
  max-width: 52rem;
}
.legal p {
  margin: 0 0 0.75rem;
}

.copyright {
  margin-top: 1.5rem;
  opacity: 0.55;
  font-size: 0.75rem;
}

/* Page title band */
.page-title {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 2rem 1.25rem;
}
.page-title-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-title h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0;
}
.page-title p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  max-width: 40rem;
}

@media (max-width: 900px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2,
  .contact-block {
    grid-template-columns: 1fr;
  }
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 220px;
    order: -1;
  }
  .brand-gallery {
    grid-template-columns: 1fr;
  }
  .brand-figure:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  nav {
    width: 100%;
    order: 3;
  }
  nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    margin-top: 0.75rem;
  }
  nav.is-open ul {
    display: flex;
  }
  .header-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }
  .util-inner {
    justify-content: center;
  }
}
