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

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(ellipse 80% 60% at 50% 20%, #06060f 0%, #01010a 100%);
  min-height: 100vh;
  color: #d4cfc6;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */

.hero {
  height: 100vh;
  position: relative;
  background-image: url('bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(1,1,10,0.2) 0%, rgba(1,1,10,0.0) 30%, rgba(1,1,10,0.0) 60%, rgba(1,1,10,0.95) 100%);
  z-index: 1;
}

.hero-copy {
  position: absolute;
  bottom: 20vh;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(20,10,30,0.8));
}

#logo {
  width: 320px;
  display: block;
  margin: 0 auto -1.8rem;
  opacity: 0.9;
  animation: logoBreathe 6s ease-in-out infinite;
}

@keyframes logoBreathe {
  0%,
  100% {
    filter: brightness(0.92) drop-shadow(0 0 6px rgba(255,255,255,0.0));
  }
  50% {
    filter: brightness(1.18) drop-shadow(0 0 22px rgba(255,255,255,0.18));
  }
}

.company-name {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.3em;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 40px rgba(255,220,160,0.35), 0 0 80px rgba(255,180,80,0.15);
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: 0.14em;
  color: #c8a882;
  text-shadow: 0 0 30px rgba(255,200,140,0.2);
  text-align: center;
  margin-top: 0.5rem;
}

/* ─── Ornamental rule ────────────────────────────────────────────────────────── */

.rule {
  display: flex;
  align-items: center;
  width: min(440px, 80%);
  margin: 3rem auto;
}

.rule .rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #2a2620, transparent);
}

.rule-diamond {
  width: 7px;
  height: 7px;
  background: #b8922a;
  transform: rotate(45deg);
  margin: 0 14px;
  flex-shrink: 0;
}

.ornamental-rule {
  display: flex;
  align-items: center;
  width: min(440px, 80%);
  margin: 0 auto;
  margin-top: auto;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.ornamental-rule::before,
.ornamental-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1e1c2a;
}

.diamond {
  width: 7px;
  height: 7px;
  background: #b8922a;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 1rem;
}

/* ─── About ──────────────────────────────────────────────────────────────────── */

.about {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 2.0;
  color: #9a9488;
  padding: 3rem 2rem;
  background: #01010a;
  position: relative;
  z-index: 2;
}

/* ─── Holdings ───────────────────────────────────────────────────────────────── */

.holdings {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  width: 100%;
  background: #01010a;
  position: relative;
  z-index: 2;
}

.section-label-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.rule-line {
  flex: 1;
  height: 1px;
  background: #0c0c15;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.4em;
  color: #b8922a;
  white-space: nowrap;
  padding: 0 1.2rem;
  margin-bottom: 2rem;
}

.holdings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1000px;
  margin: 0 auto;
  gap: 1px;
  background: #0a0a14;
}

.h-card {
  background: #04040d;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background 700ms ease, border-color 700ms ease;
}

.h-card::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,80,10,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

.h-card:hover {
  background: #0e0804;
  border-color: rgba(255,100,20,0.25);
}

.h-card:hover::after {
  opacity: 1;
}

.h-card:hover .h-name {
  color: #e8c89a;
}

.h-name {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: #c0b8a8;
  white-space: normal;
  transition: color 700ms ease;
  margin-bottom: 0.5rem;
}

.h-sector {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  color: #6a6050;
  white-space: normal;
  margin-top: 0.6rem;
}

/* ─── Contact ────────────────────────────────────────────────────────────────── */

.contact {
  text-align: center;
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  background: #01010a;
  position: relative;
  z-index: 2;
}

.contact-email {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  color: #706c64;
  text-decoration: none;
  transition: color 600ms ease;
}

.contact-email:hover {
  color: #b8922a;
}

.contact-note {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  color: #4a4438;
  margin-top: 0.8rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 2.5rem;
}

footer p {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: #141210;
}

/* ─── Grain overlay ──────────────────────────────────────────────────────────── */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

#embers {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* ─── Scroll reveals ─────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 599px) {
  .holdings-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .holdings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
