
:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;

  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);

  --text: #f5f5f5;
  --text-soft: #a1a1a1;
  --heading: #ffffff;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --accent: #c6a27a;       
  --accent-deep: #9f7a58;

  --shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.8);

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --ease: 260ms ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(198, 162, 122, 0.08), transparent 40%),
    radial-gradient(circle at bottom right, rgba(198, 162, 122, 0.05), transparent 50%),
    #0a0a0a;
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(141, 106, 82, 0.18);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading h2,
.about-intro h2,
.contact-copy h2,
.cta-inner h2 {
  margin: 0.2rem 0 0.9rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  color: var(--heading);
  letter-spacing: -0.03em;
}

.section-text,
.lead,
.hero-text,
.about-body p,
.featured-copy p,
.tile-content p,
.contact-copy p {
  color: var(--text-soft);
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

.site-glow {
  position: fixed;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.35;
}

.site-glow-1 {
  top: -8rem;
  right: -10rem;
  background: rgba(141, 106, 82, 0.16);
}

.site-glow-2 {
  bottom: 10%;
  left: -10rem;
  background: rgba(121, 132, 125, 0.14);
}

.site-header {
  background: rgba(10, 10, 10, 0.75);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-weight: 700;
  color: var(--heading);
}

.brand-subtitle {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  position: relative;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--heading);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 1px;
  background: var(--heading);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--heading);
  margin: 0.32rem auto;
  transition: transform var(--ease), opacity var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease),
    color var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(110, 79, 61, 0.22);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #0a0a0a;
  box-shadow: 0 10px 30px rgba(198,162,122,0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.quote-panel p {
  color: var(--text);
}

.form-row input,
.form-row textarea {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
}

.btn-full {
  width: 100%;
}

.text-link {
  font-weight: 600;
  position: relative;
  width: fit-content;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: opacity var(--ease), transform var(--ease);
}

.text-link:hover::after {
  opacity: 1;
  transform: translateY(1px);
}

.muted-link {
  color: var(--text-soft);
}

.hero {
  padding-top: 7.2rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy h1 {
  margin: 0.55rem 0 1.25rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--heading);
  max-width: 13ch;
}

body {
  letter-spacing: 0.01em;
}

.book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

.section-heading h2,
.hero-copy h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy h1 span {
  display: inline-block;
  color: var(--accent-deep);
}

.hero-text {
  max-width: 60ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.3rem;
}

.meta-item {
  min-width: 11rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.meta-value {
  font-weight: 600;
  color: var(--heading);
}

.hero-visual {
  position: relative;
}

.book-showcase {
  position: relative;
  min-height: 36rem;
}

.book-card,
.quote-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.book-card {
  width: min(100%, 28rem);
  aspect-ratio: 0.8 / 1;
  border-radius: 2rem;
  margin-left: auto;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.82), rgba(255,255,255,0.5)),
    linear-gradient(140deg, #1c1b1a 0%, #3b342f 55%, #8d6a52 100%);
  color: #fff;
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.18);
}

.book-card-inner {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.book-kicker,
.book-tag {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.book-card h2 {
  margin: 0.75rem 0 0.75rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.book-card p {
  max-width: 24ch;
  opacity: 0.92;
}

.book-line {
  width: 4rem;
  height: 1px;
  background: rgba(255,255,255,0.45);
  margin: 1.2rem 0;
}

.quote-panel {
  position: absolute;
  left: 0;
  bottom: 2rem;
  width: min(90%, 19rem);
  border-radius: 1.5rem;
  padding: 1.35rem 1.4rem;
}

.quote-panel p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.14rem;
  line-height: 1.35;
  color: var(--heading);
}

.featured-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 3rem;
  align-items: center;
}

.mock-book {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 0.78 / 1;
  margin-inline: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 26px 40px rgba(23, 22, 20, 0.18));
}

.mock-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
}

.mock-book-spine {
  position: absolute;
  left: -1rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 1.2rem;
  border-radius: 0.8rem 0 0 0.8rem;
  background: linear-gradient(180deg, #6f5243 0%, #4f3a30 100%);
}

.mock-book-face {
  height: 100%;
  border-radius: 1.6rem;
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(135deg, #151515 0%, #2b2623 55%, #8d6a52 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mock-author {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

.mock-book-face h3 {
  margin: 0.7rem 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.mock-book-face p {
  max-width: 18ch;
  opacity: 0.9;
}

.book-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.8rem 0 2rem;
}

.point {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.point-title {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-weight: 700;
  color: var(--heading);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.about-body {
  padding: 1.75rem 1.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: center;
  gap: 1.5rem;
}

.book-tile {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.book-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.tile-cover img {
  transition: transform 0.6s ease;
}

.book-tile:hover .tile-cover img {
  transform: scale(1.05);
}

.tile-cover {
  min-height: 16rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(140deg, #191817 0%, #352f2b 55%, #8d6a52 100%);
  color: #fff;
}

.tile-cover {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.tile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.tile-cover-alt {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.14), rgba(255,255,255,0)),
    linear-gradient(140deg, #20272a 0%, #41484c 55%, #8b7d73 100%);
}

.tile-cover-blank {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.14), rgba(255,255,255,0)),
    linear-gradient(140deg, #24211f 0%, #54473c 50%, #9a8778 100%);
}

.tile-badge {
  display: inline-flex;
  align-self: start;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: auto;
}

.tile-badge-muted {
  opacity: 0.9;
}

.tile-cover h3 {
  margin: 1rem 0 0;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tile-content {
  padding: 1.35rem 1.35rem 1.5rem;
}

.tile-actions {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.65rem;
  margin-top: 1rem;
}

.cta-strip {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.cta-inner {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.48)),
    linear-gradient(120deg, rgba(141,106,82,0.08), rgba(141,106,82,0.02));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-details {
  margin-top: 1.8rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 1.15rem 1.2rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

a.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.contact-value {
  font-weight: 600;
  color: var(--heading);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.75rem;
}

.social-link {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.52);
  color: var(--text-soft);
  transition: transform var(--ease), border-color var(--ease), color var(--ease);
}

.social-link:hover {
  transform: translateY(-2px);
  color: var(--heading);
  border-color: var(--line-strong);
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  font-weight: 600;
  color: var(--heading);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,0.74);
  padding: 0.95rem 1rem;
  color: var(--heading);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(141,106,82,0.48);
  box-shadow: 0 0 0 4px rgba(141,106,82,0.08);
  background: rgba(255,255,255,0.94);
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
}

.checkbox-row input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
}

.form-note {
  min-height: 1.5rem;
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-footer {
  padding: 1.4rem 0 2.5rem;
}

.footer-inner {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
}

.back-to-top {
  font-weight: 600;
}

.back-to-top:hover {
  color: var(--heading);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 180ms;
}

@media (max-width: 1080px) {
  .hero-grid,
  .featured-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    max-width: 11ch;
  }

  .book-showcase {
    min-height: auto;
  }

  .quote-panel {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 1rem;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 5rem 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    background: rgba(251, 248, 244, 0.96);
    border: 1px solid var(--line);
    border-radius: 1.3rem;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .cta-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .book-points {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    padding-top: 6rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
    max-width: 100%;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.8rem;
  }

  .meta-item {
    min-width: auto;
  }

  .contact-form-wrap {
    padding: 1rem;
  }

  .header-inner {
    min-height: 4.8rem;
  }
}

.book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

.mock-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
}


.tile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.books-grid {
  justify-content: center;
  gap: 2rem;
}

.book-tile {
  margin-left: auto;
  margin-right: auto;
}

.tile-cover {
  position: relative;
}

.tile-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.tile-overlay h3 {
  margin: 0;
  color: #fff;
}

.book-tile,
.about-body,
.point,
.contact-card,
.contact-form-wrap {
  color: #1a1a1a;
}

.book-tile p,
.about-body p,
.point p,
.contact-card span {
  color: #333;
}

.book-tile h3,
.point-title,
.contact-label,
.contact-value {
  color: #000;
}

.book-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tile-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.tile-cover img {
  transition: transform 0.5s ease;
}

.book-tile:hover .tile-cover img {
  transform: scale(1.05);
}

.brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  padding: 4px;
}