/* dauntlessstewardship.com */

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

:root {
  --bg:    #0e0d0a;
  --fg:    #d0c9b6;
  --gold:  #c09b40;
  --dim:   rgba(208,201,182,0.42);
  --rule:  rgba(192,155,64,0.16);
  --faint: rgba(192,155,64,0.05);
}
[data-theme="light"] {
  --bg:    #f4f0e6;
  --fg:    #1a1610;
  --gold:  #8a6e20;
  --dim:   rgba(26,22,16,0.42);
  --rule:  rgba(138,110,32,0.18);
  --faint: rgba(138,110,32,0.05);
}

html { font-size: 16px; }

body {
  background-color: var(--bg);
  background-image: url('parchment-speckle-dark.jpg');
  background-repeat: repeat;
  background-size: 512px 512px;
  color: var(--fg);
  font-family: 'Cormorant Garamond', Georgia, serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
[data-theme="light"] body {
  background-image: url('parchment-speckle-light.jpg');
}

/* HEADER */
header {
  padding: 1.8rem 2.5rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.toggle-btn {
  background: none;
  border: 1px solid var(--rule);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  opacity: 0.55;
}
.toggle-btn:hover { opacity: 1; border-color: var(--gold); }

/* HERO IMAGE */
.hero-image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--rule);
}
.hero-image-bg {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 100%;
  background: #4a3c26;
}

[data-theme="light"] .hero-image-bg { background: #c4b89a; }
.hero-image img {
  position: relative;
  width: 80%; height: 55vw; max-height: 65vh;
  object-fit: cover; object-position: center 40%;
  display: block; z-index: 1;
}
.hero-image-fade {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 100%; z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--bg) 0px, transparent 200px),
    linear-gradient(to left,  var(--bg) 0px, transparent 350px);
}
.hero-title {
  position: absolute;
  bottom: 2.5rem; left: 2.5rem;
  z-index: 3;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  color: var(--fg);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}
h1 em { font-style: italic; color: var(--gold); }

[data-theme="light"] h1 {
  color: #F4F0E6;
  text-shadow:
    0 -1px 0 rgba(0,0,0,1),
    0 1px 0 rgba(0,0,0,1),
    -1px 0 0 rgba(0,0,0,1),
    1px 0 0 rgba(0,0,0,1),
    -1px -1px 0 rgba(0,0,0,1),
    1px -1px 0 rgba(0,0,0,1),
    -1px 1px 0 rgba(0,0,0,1),
    1px 1px 0 rgba(0,0,0,1),
    0 -2px 0 rgba(0,0,0,0.75),
    0 2px 0 rgba(0,0,0,0.75),
    -2px 0 0 rgba(0,0,0,0.75),
    2px 0 0 rgba(0,0,0,0.75),
    -2px -2px 0 rgba(0,0,0,0.5),
    2px -2px 0 rgba(0,0,0,0.5),
    -2px 2px 0 rgba(0,0,0,0.5),
    2px 2px 0 rgba(0,0,0,0.5),
    0 0 8px rgba(0,0,0,0.8),
    0 0 16px rgba(0,0,0,0.6),
    0 0 32px rgba(0,0,0,0.4);
}
[data-theme="light"] h1 em { color: #F4F0E6; }

/* BODY COPY */
.body-copy { padding: 5rem 2.5rem 6rem; flex: 1; }
.content-col { max-width: 620px; }
.drop-cap {
  font-size: 2.3rem; line-height: 1.75;
  color: var(--fg); margin-bottom: 1.8rem; font-weight: 300;
}
.body-copy p {
  font-size: 2.1rem; line-height: 1.9;
  color: var(--fg); opacity: 0.7;
  margin-bottom: 1.6rem; font-weight: 300;
}
.body-copy p em { font-style: italic; color: var(--gold); opacity: 1; }

blockquote {
  margin: 3rem 0; padding: 1.6rem 2rem;
  border-left: 2px solid var(--gold); background: var(--faint);
  font-size: 1.6rem; font-style: italic; font-weight: 300;
  color: var(--fg); line-height: 1.75;
}
.inline-link { color: var(--gold); text-decoration: underline; }
.inline-link:hover { color: var(--fg); }
.divider { height: 1px; background: var(--rule); margin: 3rem 0; max-width: 4rem; }

/* FOOTER */
footer { padding: 1.8rem 2.5rem; border-top: 1px solid var(--rule); }
.copy { font-family: 'Space Mono', monospace; font-size: 1rem; color: var(--fg); opacity: 0.4; }

/* ANIMATION */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title { animation: fadeUp 0.8s ease both; }
.content-col { animation: fadeUp 0.8s 0.1s ease both; }
