/* ═══════════════════════════════════════════════════
   GUTTCUTTER.COM — MAIN STYLESHEET
   ═══════════════════════════════════════════════════ */

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

/* ── CSS VARIABLES ── */
:root {
  --gold: #c9a84c;
  --gold-bright: #f0c060;
  --gold-dim: #7a6030;
  --blood: #8b1a1a;
  --ember: #c04010;
  --dark: #080604;
  --parchment: #d4c4a0;
  --parchment-dim: #9a8a68;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark);
  color: var(--parchment);
  font-family: 'EB Garamond', Georgia, serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139,26,26,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(192,64,16,0.1) 0%, transparent 55%),
    linear-gradient(180deg, #060403 0%, #0e0a06 40%, #080604 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
}

/* ── TYPOGRAPHY ── */
.ornament {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.6em;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 32px;
  animation: fadeDown 1s ease both;
}

.series-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 18px;
  animation: fadeDown 1s ease 0.1s both;
}

.title-main {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.88;
  color: var(--gold-bright);
  text-shadow:
    0 0 80px rgba(201,168,76,0.35),
    0 3px 6px rgba(0,0,0,0.9);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  text-align: center;
  animation: fadeDown 1.1s ease 0.15s both;
}

.title-sub {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.85rem, 2.5vw, 1.25rem);
  letter-spacing: 0.3em;
  color: #b09060;
  text-transform: uppercase;
  margin-bottom: 52px;
  animation: fadeDown 1.1s ease 0.2s both;
}

/* ── CONTENT SPLIT (home page two-column) ── */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  width: 100%;
  margin-bottom: 64px;
  animation: fadeUp 1.3s ease 0.3s both;
}

@media (max-width: 720px) {
  .content-split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ── COVER ── */
.cover-col {
  display: flex;
  justify-content: center;
}

.cover-wrap {
  position: relative;
}

.cover-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(192,64,16,0.12) 0%, rgba(201,168,76,0.08) 40%, transparent 70%);
  pointer-events: none;
}

.cover-frame {
  position: relative;
  display: inline-block;
  padding: 6px;
  background: none;
  box-shadow: none;
  transition: background 1.8s ease, box-shadow 1.8s ease;
}

.cover-frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 0px solid rgba(201,168,76,0.25);
  pointer-events: none;
  z-index: 2;
}

/* Cover fade animation */
.cover-fade-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.cover-fade-wrap .cover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fade-out {
  transition: opacity 1.8s ease;
}

.cover-reveal {
  opacity: 0;
  transition: opacity 1.8s ease;
}

/* ── COPY COLUMN ── */
.copy-col {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.hook-rule {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--blood), var(--ember));
  margin-bottom: 24px;
}

.hook-text {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  line-height: 1.75;
  color: #c8b888;
  margin-bottom: 28px;
}

.synopsis {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.85;
  color: var(--parchment-dim);
  margin-bottom: 36px;
}

.synopsis strong {
  color: var(--parchment);
  font-weight: 500;
}

/* ── GENRE TAGS ── */
.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.tag {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 5px 12px;
}

/* ── BUY BUTTONS ── */
.buy-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 14px;
}

.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.28s ease;
  z-index: -1;
}

.btn:hover {
  color: var(--dark);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-primary::before {
  background: var(--gold-bright);
}

/* ── SECTION DIVIDER ── */
.section-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  animation: fadeUp 1.3s ease 0.5s both;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}

.divider-glyph {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0.4em;
  white-space: nowrap;
}

.newsletter-section {
  width: 100%;
  max-width: 560px;
  text-align: center;
  margin: 0 auto 64px;
  animation: fadeUp 1.3s ease 0.6s both;
}

.newsletter-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 12px;
}

.newsletter-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-shadow: 0 0 30px rgba(201,168,76,0.25);
}

.newsletter-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--parchment-dim);
  line-height: 1.75;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.newsletter-row {
  display: flex;
  width: 100%;
  max-width: 440px;
}

.newsletter-input {
  flex: 1;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  padding: 13px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.3);
  border-right: none;
  color: var(--parchment);
  outline: none;
  transition: border-color 0.25s;
}

.newsletter-input::placeholder {
  color: rgba(201,168,76,0.3);
  font-style: italic;
}

.newsletter-input:focus {
  border-color: rgba(201,168,76,0.6);
  background: rgba(255,255,255,0.06);
}

.newsletter-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 22px;
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.newsletter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.newsletter-fine {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(201,168,76,0.3);
}

.newsletter-error {
  font-size: 0.88rem;
  font-style: italic;
  color: #c04010;
  min-height: 1.2em;
}

.newsletter-success {
  display: none;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px;
  border: 1px solid rgba(201,168,76,0.25);
}

/* ── LORE STRIP ── */
.lore-strip {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 50px;
}

.lore-strip-title {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 12px;
}

.lore-strip-text {
  font-size: 0.98rem;
  font-style: italic;
  color: #c4b080;
  line-height: 1.8;
}

.lore-strip-text a {
  color: var(--gold);
  opacity: 0.65;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  transition: opacity 0.2s;
}

.lore-strip-text a:hover {
  opacity: 1;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 28px 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: rgba(201,168,76,0.2);
  text-transform: uppercase;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .buy-buttons { flex-direction: column; }
  .btn { text-align: center; }
  .newsletter-row { flex-direction: column; }
  .newsletter-input { border-right: 1px solid rgba(201,168,76,0.3); }
}


/* ── LANDS PAGE ── */
body.lands {
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  padding: 50px 24px 30px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,26,26,0.18) 0%, transparent 70%),
    linear-gradient(180deg, #060403 0%, #0e0a06 100%);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 10px;
}

.nav-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  background: transparent;
  transition: all 0.25s ease;
}

.nav-btn:hover, .nav-btn.active {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201,168,76,0.08);
}

.page-header {
  text-align: center;
  padding: 40px 24px 20px;
  animation: fadeUp 0.9s ease both;
}

.page-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 0;
}

.page-footer-wrap { margin-top: auto; }

.map-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 10px;
  padding: 0 24px;
}

.map-instruction {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-align: center;
  margin-bottom: 12px;
  background: rgba(8,6,4,0.7);
  padding: 8px 20px;
  display: inline-block;
}

.map-viewport {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  cursor: grab;
  position: relative;
  background: #f5f0e8;
}

.map-viewport.grabbing { cursor: grabbing; }

#mapImg {
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  transform-origin: 0 0;
}

.lands-panel {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar {
  border: 1px solid rgba(201,168,76,0.15);
  background: rgba(255,255,255,0.02);
  position: sticky;
  top: 24px;
}

.sidebar-section {
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.sidebar-section:last-child { border-bottom: none; }

.section-toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
  text-align: left;
}

.section-toggle:hover {
  background: rgba(201,168,76,0.06);
  color: var(--gold-bright);
}

.section-toggle.open {
  background: rgba(201,168,76,0.08);
  color: var(--gold-bright);
}

.section-arrow {
  font-size: 0.6rem;
  transition: transform 0.25s ease;
  opacity: 0.6;
}

.section-toggle.open .section-arrow {
  transform: rotate(90deg);
}

.section-locations {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.2);
}

.section-locations.open { display: flex; }

.location-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 16px 10px 28px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--parchment-dim);
  text-align: left;
  border-bottom: 1px solid rgba(201,168,76,0.05);
  transition: all 0.2s;
}

.location-btn:last-child { border-bottom: none; }

.location-btn:hover {
  color: var(--parchment);
  background: rgba(201,168,76,0.05);
  padding-left: 32px;
}

.location-btn.active {
  color: var(--gold-bright);
  background: rgba(201,168,76,0.08);
  border-left: 2px solid var(--gold);
}

.content-panel {
  min-height: 400px;
  border: 1px solid rgba(201,168,76,0.15);
  background: rgba(255,255,255,0.02);
  padding: 36px;
}

.content-default {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  color: rgba(201,168,76,0.25);
}

.content-default-glyph {
  font-size: 2rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.content-default p {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.location-content { display: none; }
.location-content.active { display: block; }

.location-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 10px;
}

.location-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(201,168,76,0.2);
  margin-bottom: 16px;
}

.location-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--blood), var(--ember));
  margin-bottom: 24px;
}

.location-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--parchment);
}

.location-body p { margin-bottom: 16px; }
.location-body p:last-child { margin-bottom: 0; }

footer a { color: rgba(201,168,76,0.35); text-decoration: none; }
footer a:hover { color: var(--gold); }

@media (max-width: 700px) {
  .lands-panel { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .map-viewport { height: 320px; }
}

@media (max-width: 480px) {
  nav { gap: 8px; }
  .nav-btn { padding: 9px 16px; font-size: 0.65rem; }
  .content-panel { padding: 20px; }
}

/* ── AUTHOR PAGE ── */
body.author {
  display: flex;
  flex-direction: column;
}

.page-footer-wrap { margin-top: auto; }

.page-header {
  text-align: center;
  padding: 60px 24px 40px;
  animation: fadeUp 0.9s ease both;
}

.page-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.page-content {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  animation: fadeUp 0.9s ease 0.15s both;
}

.author-section {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 680px) {
  .author-section { grid-template-columns: 1fr; gap: 36px; }
  .author-photo-wrap { text-align: center; }
}

.author-photo-frame {
  display: inline-block;
  padding: 6px;
  background: linear-gradient(150deg, #d4a840 0%, #5a4010 30%, #c9a84c 50%, #3a2808 75%, #b89040 100%);
  box-shadow: 0 0 40px rgba(201,168,76,0.15), 0 20px 60px rgba(0,0,0,0.8);
}

.author-photo {
  display: block;
  width: 100%;
  max-width: 248px;
  height: auto;
  filter: grayscale(20%) contrast(1.05);
}

.author-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 12px;
}

.author-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(201,168,76,0.2);
  margin-bottom: 20px;
}

.author-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--blood), var(--ember));
  margin-bottom: 24px;
}

.author-bio {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--parchment);
}

.author-bio p { margin-bottom: 18px; }
.author-bio p:last-child { margin-bottom: 0; }

/* ── BOOK TWO TEASER ── */
.teaser-section {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.teaser-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.teaser-divider::before,
.teaser-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}

.teaser-divider-glyph {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  opacity: 0.5;
  white-space: nowrap;
  text-transform: uppercase;
}

.teaser-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 12px;
  text-align: center;
}

.teaser-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(201,168,76,0.2);
  margin-bottom: 8px;
  text-align: center;
}

.teaser-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--parchment-dim);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}

.teaser-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--blood), var(--ember));
  margin: 0 auto 36px;
}

.teaser-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--parchment);
  max-width: 700px;
  margin: 0 auto;
}

.teaser-body p { margin-bottom: 20px; }
.teaser-body p:last-child { margin-bottom: 0; }

.teaser-closing {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-align: center;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(201,168,76,0.12);
  line-height: 1.8;
}