/* RIV DIAM BV — stylesheet */
:root {
  --ink: #0b1626;
  --ink-2: #0f2038;
  --ice: #dce8f6;
  --ice-2: #a9c4e8;
  --focus-dark: #9fc3f5;
  --sapphire: #1f4f8a;
  --sapphire-dark: #163b69;
  --paper: #f6f8fb;
  --white: #ffffff;
  --text: #17202d;
  --muted: #4d5a6c;
  --line: #dde3eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 22, 38, .07);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

a { color: var(--sapphire); text-underline-offset: 3px; }
a:hover { color: var(--sapphire-dark); }

::selection { background: #cfe0f7; color: var(--ink); }

:focus-visible { outline: 3px solid var(--sapphire); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible,
.skip-link:focus-visible { outline-color: var(--focus-dark); }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 22, 38, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(220, 232, 246, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
}
.brand span { font-weight: 500; color: var(--ice-2); }
.brand:hover { color: var(--white); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.site-nav a {
  display: block;
  padding: .55rem .9rem;
  color: var(--ice);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--white); background: rgba(220, 232, 246, .08); }

.nav-toggle { display: none; }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ice);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(120, 165, 230, .22), transparent 60%),
    radial-gradient(40rem 26rem at 10% 95%, rgba(80, 120, 190, .18), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(220, 232, 246, .07) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, rgba(220, 232, 246, .07) 0 1px, transparent 1px 34px);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 35%, #000 10%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.eyebrow,
.kicker {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { color: var(--ice-2); margin-bottom: 1.25rem; }
.kicker { color: var(--sapphire); margin-bottom: .75rem; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  margin-bottom: 1.25rem;
}

.lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #c3d2e6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.45rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, var(--ice));
  box-shadow: 0 8px 24px rgba(120, 165, 230, .25);
}
.btn-primary:hover { color: var(--ink); background: #ffffff; transform: translateY(-1px); }
.btn-ghost { color: var(--white); border: 1px solid rgba(220, 232, 246, .35); }
.btn-ghost:hover { color: var(--white); border-color: var(--ice); background: rgba(220, 232, 246, .08); }

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  font-size: .92rem;
  color: #b7c8de;
}
.hero-facts li { display: inline-flex; align-items: center; gap: .55rem; }
.hero-facts li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--ice-2);
  transform: rotate(45deg);
}

/* Decorative CSS gem */
.hero-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-art::before {
  content: "";
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 190, 245, .3), transparent 65%);
}

.gem {
  position: relative;
  width: min(340px, 80%);
  aspect-ratio: 10 / 9;
  filter: drop-shadow(0 30px 50px rgba(120, 165, 230, .28));
  animation: float 7s ease-in-out infinite;
}
.gem-crown,
.gem-pavilion,
.gem-girdle { position: absolute; left: 0; right: 0; }

.gem-crown {
  top: 0;
  height: 33%;
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 60%),
    conic-gradient(from -40deg at 50% 330%,
      #9db6dc 0 10deg, #eef5ff 0 20deg, #b8cdee 0 30deg, #ffffff 0 40deg,
      #a7c0e5 0 50deg, #e4eefb 0 60deg, #93afd9 0 70deg, #f3f8ff 0 80deg);
}

.gem-girdle {
  top: calc(33% - 2px);
  height: 4px;
  z-index: 1;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .25), #ffffff, rgba(255, 255, 255, .25));
}

.gem-pavilion {
  top: 33%;
  bottom: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(11, 22, 38, .25)),
    conic-gradient(from -42deg at 50% 100%,
      #7f9ccb 0 7deg, #e6effc 0 14deg, #a3bde3 0 21deg, #f4f8ff 0 28deg,
      #8aa7d3 0 35deg, #dbe8fa 0 42deg, #ffffff 0 49deg, #9ab5de 0 56deg,
      #edf4ff 0 63deg, #86a3cf 0 70deg, #d6e4f8 0 77deg, #a9c2e6 0 84deg);
}

.sparkle {
  position: absolute;
  width: 22px;
  height: 22px;
  background: #ffffff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: twinkle 3.2s ease-in-out infinite;
}
.s1 { top: 12%; right: 14%; }
.s2 { top: 50%; left: 6%; width: 14px; height: 14px; animation-delay: 1.1s; }
.s3 { bottom: 10%; right: 24%; width: 16px; height: 16px; animation-delay: 2.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head p:last-child { color: var(--muted); }

/* Activity cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.6rem; margin-top: 1.25rem; }
.card p { color: var(--muted); }
.card .card-code {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--sapphire);
}

.card-icon {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e9f1fc, #cddcf1);
}
.card-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--sapphire), #6b97d2);
  transform: rotate(45deg);
}
.card-icon--stones::after { background: linear-gradient(135deg, #9b2c4b, var(--sapphire) 50%, #1f7a5c); }
.card-icon--broker::after { inset: 15px 8px 15px 22px; }
.card-icon--broker::before {
  content: "";
  position: absolute;
  inset: 15px 22px 15px 8px;
  border: 2px solid var(--sapphire);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
.about-copy p { max-width: 40rem; color: var(--muted); }

.facts {
  margin: 0;
  padding: 1.5rem 2rem;
  color: var(--ice);
  background:
    radial-gradient(24rem 14rem at 100% 0%, rgba(120, 165, 230, .2), transparent 60%),
    var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(11, 22, 38, .18);
}
.facts div { padding: 1rem 0; border-bottom: 1px solid rgba(220, 232, 246, .12); }
.facts div:last-child { border-bottom: 0; }
.facts dt {
  margin-bottom: .3rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ice-2);
}
.facts dd { margin: 0; font-size: 1.05rem; color: var(--white); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.contact-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.5rem; }
.contact-card p { color: var(--muted); }
.contact-card address { font-style: normal; font-size: 1.1rem; line-height: 1.7; }
.text-link { font-weight: 600; }

/* Footer */
.site-footer { padding: 3.5rem 0 1.5rem; font-size: .95rem; color: #b7c8de; background: var(--ink); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(220, 232, 246, .12);
}
.brand-footer { margin-bottom: .75rem; }
.footer-legal p { margin: 0; line-height: 1.8; }
.footer-legal strong { color: var(--white); }
.footer-bottom { padding-top: 1.25rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-art { min-height: 0; padding-top: 1rem; }
  .gem { width: min(260px, 62%); }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .site-nav a { padding: .45rem .55rem; font-size: .9rem; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .5rem .9rem;
    color: var(--white);
    font: 500 .95rem var(--sans);
    background: transparent;
    border: 1px solid rgba(220, 232, 246, .25);
    border-radius: 10px;
    cursor: pointer;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(220, 232, 246, .1);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: .5rem 1.25rem 1.25rem; }
  .js .site-nav a {
    padding: .85rem .5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(220, 232, 246, .08);
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  .cards,
  .contact-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .gem { width: min(210px, 60%); }
  .facts { padding: 1.25rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
