:root {
  --void:#0A0A0D;
  --charcoal:#141318;
  --silver:#B7B9C4;
  --wine:#5B0E17;
  --crimson:#7A0F1D;
  --hot:#D34A56;
  --white:#F2F2F5;
}

* { box-sizing:border-box; }

body {
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(122,15,29,.28), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(91,14,23,.22), transparent 30rem),
    var(--void);
  color:var(--white);
  font-family:Georgia,"Times New Roman",serif;
}

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

.site-header, main, footer {
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

.site-header {
  padding:28px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.brand {
  display:flex;
  align-items:center;
  gap:14px;
}

.mark {
  width:54px;
  height:54px;
  border:1px solid rgba(183,185,196,.45);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--silver);
  box-shadow:0 0 30px rgba(122,15,29,.48);
  letter-spacing:.08em;
}

.brand h1 {
  margin:0;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:1.35rem;
}

.brand p {
  margin:4px 0 0;
  text-transform:uppercase;
  letter-spacing:.20em;
  color:var(--silver);
  font-size:.72rem;
}

nav {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  color:var(--silver);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
}

nav a:hover { color:var(--white); }

.hero {
  padding:64px 0 78px;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:46px;
  align-items:center;
}

.eyebrow {
  color:var(--hot);
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:.74rem;
  margin:0 0 16px;
}

h2 {
  margin:0;
  font-weight:500;
  letter-spacing:.02em;
  line-height:.95;
}

.hero h2 { font-size:clamp(2.8rem, 7vw, 6.4rem); }

p {
  color:var(--silver);
  line-height:1.75;
  font-size:1.06rem;
}

.actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.btn {
  display:inline-block;
  padding:14px 22px;
  border-radius:999px;
  border:1px solid rgba(183,185,196,.36);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
}

.primary {
  background:linear-gradient(135deg, var(--crimson), var(--wine));
  border-color:rgba(211,74,86,.62);
}

.secondary { color:var(--silver); }

.notice {
  margin-top:22px;
  color:rgba(183,185,196,.76);
  font-size:.9rem;
}

.hero-panel {
  min-height:460px;
  border:1px solid rgba(183,185,196,.18);
  border-radius:34px;
  background:
    linear-gradient(145deg, rgba(20,19,24,.92), rgba(10,10,13,.78)),
    radial-gradient(circle at bottom left, rgba(122,15,29,.34), transparent 18rem);
  position:relative;
  overflow:hidden;
  box-shadow:0 24px 90px rgba(0,0,0,.45);
}

.crescent {
  width:235px;
  height:235px;
  border:2px solid rgba(183,185,196,.72);
  border-right-color:transparent;
  border-radius:50%;
  position:absolute;
  top:50px;
  left:48px;
  box-shadow:-12px 12px 28px rgba(122,15,29,.45);
}

.panel-text {
  position:absolute;
  left:46px;
  right:46px;
  bottom:46px;
}

.panel-text span {
  color:var(--hot);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:.72rem;
}

.panel-text h3 {
  margin:14px 0;
  font-size:2.3rem;
  line-height:1;
}

.section {
  margin-bottom:78px;
  padding:44px;
  border:1px solid rgba(211,74,86,.26);
  border-radius:32px;
  background:linear-gradient(145deg, rgba(20,19,24,.74), rgba(60,10,20,.22));
}

.section h2 {
  font-size:clamp(2.2rem, 5vw, 4.8rem);
  margin-bottom:24px;
}

.center { text-align:center; }

.grid {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}

.card {
  min-height:230px;
  padding:28px;
  border:1px solid rgba(183,185,196,.18);
  border-radius:26px;
  background:rgba(20,19,24,.72);
}

.card:hover {
  border-color:rgba(211,74,86,.55);
  background:rgba(60,10,20,.38);
}

.card h3 {
  margin:0 0 14px;
  font-size:1.65rem;
}

.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:24px;
}

.split > div {
  padding:34px;
  border:1px solid rgba(183,185,196,.18);
  border-radius:28px;
  background:rgba(20,19,24,.68);
}

footer {
  padding:32px 0 46px;
  border-top:1px solid rgba(183,185,196,.14);
  color:var(--silver);
  display:flex;
  justify-content:space-between;
  gap:18px;
}

footer a { color:var(--hot); }

@media (max-width:900px) {
  .site-header, footer { flex-direction:column; align-items:flex-start; }
  .hero, .split { grid-template-columns:1fr; }
  .grid { grid-template-columns:1fr; }
  .hero { padding-top:36px; }
  .hero-panel { min-height:350px; }
  .section { padding:28px; }
}

.logo-img {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(122,15,29,.45));
}

.site-logo {
  width: 220px;
  max-width: 48vw;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(122,15,29,.45));
}

.brand h1,
.brand p {
  display: none;
}

@media (max-width: 700px) {
  .site-logo {
    width: 170px;
    max-width: 70vw;
  }
}

/* Final hero sizing fix */
.site-header {
  padding: 18px 0 14px;
}

.site-logo {
  width: 165px;
  max-width: 38vw;
}

.hero {
  padding: 28px 0 54px;
  grid-template-columns: 1.05fr .95fr;
  gap: 38px;
  align-items: center;
}

.hero h2 {
  font-size: clamp(2.35rem, 4.35vw, 4.55rem);
  line-height: 1;
  max-width: 650px;
  letter-spacing: .01em;
}

.hero p {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 640px;
}

.eyebrow {
  font-size: .68rem;
  margin-bottom: 12px;
}

.actions {
  margin-top: 20px;
}

.btn {
  padding: 12px 18px;
  font-size: .72rem;
}

.hero-panel {
  min-height: 330px;
  border-radius: 26px;
}

.crescent {
  width: 160px;
  height: 160px;
  top: 32px;
  left: 34px;
}

.panel-text {
  left: 32px;
  right: 32px;
  bottom: 30px;
}

.panel-text h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.panel-text p {
  font-size: .95rem;
  line-height: 1.55;
}

nav {
  gap: 15px;
  font-size: .7rem;
}

@media (max-width: 900px) {
  .site-logo {
    width: 150px;
    max-width: 70vw;
  }

  .hero {
    padding-top: 28px;
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }

  .hero-panel {
    min-height: 300px;
  }
}

/* Extra laptop fit */
.hero h2 {
  font-size: clamp(2.1rem, 3.8vw, 4rem);
}

.site-logo {
  width: 145px;
}

.hero-panel {
  min-height: 300px;
}

/* Polish pass: logo visibility + section heading balance */
.site-logo {
  width: 190px;
  max-width: 42vw;
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(122,15,29,.55));
}

.section {
  margin-bottom: 58px;
}

.section h2.center {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 26px;
}

#explore {
  padding-top: 34px;
}

#explore .eyebrow {
  margin-bottom: 8px;
}

.grid {
  gap: 16px;
}

.card {
  min-height: 210px;
}

@media (max-width: 900px) {
  .site-logo {
    width: 165px;
  }

  .section h2.center {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }
}

/* Explore section polish */
.hero {
  padding-bottom: 34px;
}

#explore {
  padding: 30px 36px 36px;
  margin-top: 18px;
}

#explore .eyebrow {
  font-size: .62rem;
  letter-spacing: .3em;
  margin-bottom: 8px;
}

#explore h2.center {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

#explore .grid {
  gap: 14px;
}

#explore .card {
  min-height: 175px;
  padding: 22px;
}

#explore .card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

#explore .card p {
  font-size: .95rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  #explore {
    padding: 26px;
  }

  #explore h2.center {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }
}

/* Subpage readability fix */
body:not(.home) .section {
  max-width: 980px;
  margin-top: 44px;
  padding: 34px;
}

body:not(.home) .section h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

body:not(.home) .section p {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 760px;
}

body:not(.home) .grid {
  grid-template-columns: repeat(2, 1fr);
}

body:not(.home) .card {
  min-height: 170px;
  padding: 22px;
}

body:not(.home) .card h3 {
  font-size: 1.3rem;
}

@media (max-width: 900px) {
  body:not(.home) .section {
    padding: 26px;
  }

  body:not(.home) .section h2 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  body:not(.home) .grid {
    grid-template-columns: 1fr;
  }
}

/* HARD subpage header size fix */
body:not(.home) main .section {
  max-width: 900px !important;
  margin-top: 42px !important;
  padding: 30px !important;
}

body:not(.home) main .section h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.65rem) !important;
  line-height: 1.08 !important;
  margin-bottom: 16px !important;
}

body:not(.home) main .section p {
  font-size: .98rem !important;
  line-height: 1.62 !important;
  max-width: 760px !important;
}

body:not(.home) .card h3 {
  font-size: 1.2rem !important;
}

body:not(.home) .card {
  min-height: 155px !important;
  padding: 20px !important;
}

@media (max-width: 900px) {
  body:not(.home) main .section h2 {
    font-size: clamp(1.7rem, 7vw, 2.4rem) !important;
  }
}
