  :root {
    --paper: #f3e7ce;
    --paper-light: #fff9ec;
    --ink: #443320;
    --muted: #806b51;
    --gold: #a76b2b;
    --gold-light: #d5a765;
    --red: #ad5d26;
    --border: rgba(142, 99, 49, .28);
    --shadow: rgba(50, 30, 12, .18);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    background: var(--paper);
    line-height: 1.75;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    opacity: .2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.63' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  }
  a { color: inherit; text-decoration: none; }
  a:focus-visible, button:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
  }
  .container {
    width: min(1160px, calc(100% - 48px));
    margin: auto;
  }
  .ornamental {
    display: flex;
    align-items: center;
    gap: 17px;
    justify-content: center;
    color: var(--gold);
    font: 26px 'Cormorant Garamond', serif;
  }
  .ornamental::before, .ornamental::after {
    content: "";
    height: 1px;
    width: 90px;
    max-width: 16vw;
    background: linear-gradient(90deg, transparent, var(--gold-light));
  }
  .ornamental::after { transform: rotate(180deg); }
  .eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
  }
  h1, h2, h3, p { margin-top: 0; }
  h1, h2, h3, .serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
  }
  h1 {
    font-size: clamp(49px, 6.4vw, 91px);
    line-height: .98;
    font-weight: 600;
    letter-spacing: -.035em;
    margin: 18px 0 24px;
  }
  h2 {
    font-size: clamp(39px, 4.5vw, 63px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -.023em;
    margin: 14px 0 22px;
  }
  h3 {
    font-size: 31px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 12px;
  }
  p { font-size: 15px; line-height: 1.95; }
  .lead { font-size: 17px; line-height: 1.9; }

  /* Header navigation */
  .topbar {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgba(255, 240, 207, .32);
  }
  .topbar-inner {
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .brand {
    font: 600 23px 'Cormorant Garamond', serif;
    letter-spacing: .025em;
    color: #fff9e8;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 31px;
    color: #fff6e5;
    font-size: 12px;
    font-weight: 600;
  }
  .nav a:hover { color: #ffe3a8; }
  .nav .nav-cta {
    border: 1px solid rgba(255, 242, 217, .72);
    padding: 9px 17px;
  }

  /* Hero */
  .hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff6e6;
    background:
      radial-gradient(ellipse at 75% 40%, #ac7746 0%, transparent 38%),
      linear-gradient(125deg, #362b22 0%, #6f4c31 47%, #b2804c 100%);
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(31,23,18,.88) 0%,
      rgba(46,32,23,.72) 53%,
      rgba(38,26,21,.17) 100%
    );
  }
  .hero-scenery {
    position: absolute;
    inset: -5%;
    background-image: url("../images/hero-background.webp");
    background-position: center 30%;
    background-size: cover;
    filter: blur(12px) saturate(.85);
    opacity: .56;
    transform: scale(1.09);
  }
  .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 65px;
    padding-top: 135px;
    padding-bottom: 92px;
  }
  .hero-copy { max-width: 640px; }
  .hero .eyebrow { color: #efca87; }
  .hero .intro {
    font: 500 23px 'Cormorant Garamond', serif;
    letter-spacing: .03em;
    color: #ffe5bc;
  }
  .hero h1 {
    color: #fff5dd;
    text-shadow: 0 2px 12px rgba(30,19,11,.3);
  }
  .hero .subtitle {
    font: italic 600 clamp(26px,2.7vw,37px)
      'Cormorant Garamond', serif;
    color: #f7d9a4;
    margin-bottom: 20px;
  }
  .hero-description {
    max-width: 510px;
    color: #f5e6cd;
    font-size: 15px;
    margin-bottom: 34px;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 19px;
  }
  .btn {
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 27px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #fffaf1;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .065em;
    text-transform: uppercase;
    transition: transform .2s, background .2s, border-color .2s;
  }
  .btn:hover {
    transform: translateY(-2px);
    background: #8e5425;
  }
  .btn.outline {
    background: transparent;
    border-color: rgba(255,237,210,.65);
    color: #fff6e9;
  }
  .btn.outline:hover { background: rgba(255,250,238,.12); }

  /* Book image — corrected proportions */
  .cover-holder {
    justify-self: center;
    position: relative;
    width: min(100%, 400px);
    min-width: 0;
    max-width: 100%;
    perspective: 1000px;
  }
  .cover-holder::before {
    content: "";
    position: absolute;
    width: 83%;
    height: 72%;
    left: 10%;
    bottom: -30px;
    background: #130e0c;
    filter: blur(38px);
    opacity: .6;
    border-radius: 50%;
  }
  .cover-holder img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 680px;
    aspect-ratio: auto;
    object-fit: contain;
    position: relative;
    margin-inline: auto;
    filter: drop-shadow(12px 26px 20px rgba(19,10,6,.48));
    transform: none;
  }
  .cover-holder::after { content: none; }

  /* Sections */
  .section { padding: 100px 0; }
  .section-head {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 55px;
  }
  .section-head p { color: var(--muted); }
  .about {
    background:
      radial-gradient(circle at 10% 15%,#fff6dd,transparent 33%),
      linear-gradient(180deg,#f6edd9,#efe0c4);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
  }
  .about-grid p { color: #5d4d39; }
  .about-aside {
    border: 1px solid var(--border);
    padding: 44px 46px;
    position: relative;
    background: rgba(255,251,238,.5);
  }
  .about-aside::before,
  .about-aside::after,
  .feature::before {
    content: '❧';
    position: absolute;
    color: var(--gold-light);
    font: 35px 'Cormorant Garamond', serif;
  }
  .about-aside::before { top: 5px; left: 16px; }
  .about-aside::after {
    bottom: 5px;
    right: 16px;
    transform: rotate(180deg);
  }
  .sanskrit {
    font-size: 28px;
    color: var(--gold);
    text-align: center;
    line-height: 1.6;
  }
  .about-aside .sanskrit { margin: 5px 0 12px; }
  .divider-line {
    width: 70px;
    height: 1px;
    background: var(--gold-light);
    margin: 25px auto;
  }
  .about-aside .serif {
    font-size: 25px;
    line-height: 1.45;
    text-align: center;
    margin: 0;
  }

  /* Features */
  .features {
    background: #e7d2af;
    border-block: 1px solid var(--border);
  }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
  }
  .feature {
    position: relative;
    background: rgba(255,249,235,.65);
    border: 1px solid var(--border);
    padding: 39px 32px 29px;
    min-height: 270px;
  }
  .feature::before { right: 21px; top: 4px; }
  .feature-index {
    font: 35px 'Cormorant Garamond', serif;
    color: var(--gold);
    opacity: .8;
  }
  .feature p {
    font-size: 14px;
    color: #6e5a43;
    margin-bottom: 0;
  }

  /* Contents and book details */
  .details { background: #f7edd9; }
  .details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .detail-list {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
  }
  .detail-list li {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .detail-list span:first-child { color: var(--muted); }
  .detail-list span:last-child {
    text-align: right;
    font-weight: 600;
  }
  .content-list {
    counter-reset: c;
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
  }
  .content-list li {
    counter-increment: c;
    display: flex;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
    font-size: 15px;
  }
  .content-list li::before {
    content: '0' counter(c);
    font: 23px 'Cormorant Garamond', serif;
    color: var(--gold);
  }
  .footnote {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 17px;
  }

  /* Reviews */
  .reviews {
    background: linear-gradient(180deg,#e8d9bb,#f2e5cd);
  }
  .review-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 28px;
    align-items: stretch;
  }
  blockquote {
    margin: 0;
    background: rgba(255,250,240,.6);
    border: 1px solid var(--border);
    padding: 35px 29px;
    display: flex;
    flex-direction: column;
  }
  blockquote::before {
    content: '“';
    font: 90px/.6 'Cormorant Garamond', serif;
    color: var(--gold);
  }
  blockquote p {
    font: 500 22px/1.38 'Cormorant Garamond',serif;
    flex: 1;
    margin: 22px 0 28px;
  }
  blockquote footer {
    font-size: 12px;
    color: #64523b;
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 19px;
  }
  blockquote footer strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    margin-bottom: 5px;
  }
  .review-card {
    background: rgba(255,249,236,.58);
    border: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(70,46,19,.08);
    padding: 24px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .review-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
  }
  .review-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 88px;
    border: 2px solid rgba(167,107,43,.28);
    box-shadow: 0 8px 18px rgba(57,37,16,.12);
    background: #e8dbc0;
  }
  .review-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  .review-meta strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-bottom: 4px;
  }
  .review-meta span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
  }
  .review-card p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.9;
    flex: 1;
  }
  .review-card footer {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink);
  }
  .review-card footer strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    font-family: Manrope, Arial, sans-serif;
  }

  /* Author's note */
  .author-note {
    position: relative;
    overflow: hidden;
    background: #f0e2c6;
    padding: 100px 0;
    border-block: 1px solid var(--border);
  }
  .author-note::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
      ellipse at 80% 30%,
      rgba(197,141,65,.17),
      transparent 55%
    );
  }
  .author-note-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
    gap: clamp(36px,6vw,95px);
    align-items: center;
  }
  .author-photo {
    margin: 0;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 8px solid rgba(255,251,239,.62);
    box-shadow: 0 22px 55px rgba(69,41,15,.2);
  }
  .author-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% 48%;
  }
  .author-note .eyebrow { margin-bottom: 15px; }
  .author-note h2 {
    font-size: clamp(38px,4vw,57px);
    line-height: 1.08;
    max-width: 620px;
  }
  .author-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(23px,2.3vw,31px);
    line-height: 1.48;
    font-weight: 500;
    color: #4e3621;
    border-left: 3px solid var(--gold);
    padding-left: 24px;
    margin: 25px 0;
  }
  /* Order */
  .order {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#4a3225,#6b462d 50%,#352b22);
    color: #fff0d5;
    text-align: center;
    padding: 95px 0 105px;
  }
  .order:before {
    content: '✥';
    position: absolute;
    inset: -70px auto auto -80px;
    font-size: 400px;
    line-height: 1;
    opacity: .045;
  }
  .order:after {
    content: '✥';
    position: absolute;
    inset: auto -70px -150px auto;
    font-size: 430px;
    line-height: 1;
    opacity: .05;
  }
  .order .container { position: relative; z-index: 1; }
  .order .eyebrow { color: #eac38c; }
  .order h2 { color: #fff5e4; }
  .order p {
    max-width: 670px;
    margin: 0 auto 32px;
    color: #e8d7be;
  }
  .order .btn {
    background: #e4b574;
    color: #362515;
    border-color: #e4b574;
  }
  .order .btn:hover { background: #f0cc94; }
  .order-note {
    font-size: 12px !important;
    margin: 16px auto 0 !important;
    color: #cfb99a !important;
  }

  /* Footer */
  .footer {
    background: #291e18;
    color: #cbbba5;
    padding: 30px 0;
  }
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-size: 12px;
  }
  .footer a:hover { color: #fff; }

  /* Tablet */
  @media (max-width: 980px) {
    .review-grid { grid-template-columns: 1fr; gap: 22px; }
    .review-card { padding: 22px; }
    .review-head { align-items: flex-start; }
  }
  @media (max-width: 900px) {
    .hero-inner { gap: 30px; }
    .hero h1 { font-size: clamp(46px,6.5vw,70px); }
    .about-grid { gap: 40px; }
    .details-grid { gap: 48px; }
    .feature-grid { gap: 12px; }
    .feature { padding: 30px 22px; }
  }
  @media (max-width: 760px) {
    .author-note { padding: 64px 0; }
    .author-note-inner { grid-template-columns: 1fr; gap: 32px; }
    .author-photo { width: min(100%,420px); margin: 0 auto; }
    .author-quote { padding-left: 17px; }
  }

  /* Mobile: prevent book image overflow */
  @media (max-width: 680px) {
    .container { width: min(calc(100% - 36px), 540px); }
    .topbar-inner { height: 64px; }
    .brand { font-size: 19px; }
    .nav { gap: 15px; }
    .nav a:not(.nav-cta) { display: none; }
    .nav .nav-cta { font-size: 11px; padding: 7px 12px; }

    .hero { min-height: 0; }
    .hero-inner {
      grid-template-columns: minmax(0,1fr);
      padding-top: 115px;
      padding-bottom: 65px;
      text-align: center;
      gap: 32px;
    }
    .cover-holder {
      order: 1;
      width: min(76%,280px);
      max-width: 100%;
      min-width: 0;
      justify-self: center;
    }
    .cover-holder img {
      width: 100%;
      max-width: 100%;
      height: auto;
      max-height: none;
      object-fit: contain;
    }
    .hero-copy { order: 2; min-width: 0; }
    .hero-description { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero h1 { font-size: clamp(43px,10vw,64px); }
    .hero .subtitle { font-size: 29px; }
    .hero::after { background: rgba(37,24,17,.72); }

    .section { padding: 67px 0; }
    .section-head { margin-bottom: 34px; }
    .about-grid, .details-grid, .feature-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .about-aside { padding: 31px 25px; }
    .feature { min-height: 0; }
    .detail-list li { font-size: 13px; }
    .review-grid { gap: 17px; }
    .order { padding: 73px 0; }
    .footer-inner {
      flex-direction: column;
      text-align: center;
      gap: 9px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
  }
  /* Портрет та підпис автора */
  .author-portrait {
    width: 100%;
    min-width: 0;
  }
  .author-caption {
    margin-top: 16px;
    text-align: center;
  }
  .author-signature {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ink);
  }
  .author-role {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
  }
  @media (min-width: 761px) {
    .author-note-inner { align-items: start; }
    .author-portrait {
      margin-top: 55px;
      margin-inline: auto;
    }
    .author-caption { margin-top: 14px; }
  }
