﻿:root {
  --ivory: #fffaf1;
  --paper: #fbf2e4;
  --warm: #f4e7d4;
  --terracotta: #bf4428;
  --terracotta-dark: #9e321e;
  --navy: #102946;
  --olive: #556b2f;
  --ochre: #d18b22;
  --ink: #263241;
  --muted: #66717e;
  --line: #e8d3b7;
  --shadow: 0 18px 50px rgba(34, 31, 27, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 16%, rgba(209, 139, 34, 0.08), transparent 23%),
    radial-gradient(circle at 92% 32%, rgba(191, 68, 40, 0.08), transparent 20%),
    var(--ivory);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 241, 0.96);
  border-bottom: 1px solid rgba(232, 211, 183, 0.75);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  width: clamp(180px, 20vw, 285px);
}

.brand img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 31px 0 28px;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--terracotta);
  transition: transform 180ms ease;
}

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

.book-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.book-btn,
.btn-primary {
  color: #fffaf1;
  background: linear-gradient(180deg, #c74e30, #a93420);
  box-shadow: 0 10px 22px rgba(191, 68, 40, 0.22);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 250, 241, 0.72);
  border-color: var(--navy);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf1;
  color: var(--navy);
  font-size: 24px;
}

.hero {
  min-height: 560px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.9) 35%, rgba(255, 250, 241, 0.28) 62%, rgba(255, 250, 241, 0.08) 100%),
    url("images/hero-folk-art-studio.png") center right / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(300px, 510px) 1fr;
  align-items: center;
}

.hero h1,
.page-hero h1,
.page-section h2,
.gallery-band h2,
.about-grid h2,
.section-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  color: var(--navy);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
}

.hero h1 span,
.page-hero h1 span,
.page-section h2 span,
.section-title h2 span {
  color: var(--terracotta);
}

.folk-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, 90%);
  margin: 26px 0;
  color: var(--terracotta);
}

.folk-divider::before,
.folk-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.folk-mark {
  width: 36px;
  height: 13px;
  background:
    radial-gradient(circle at 8px 6px, var(--terracotta) 0 4px, transparent 5px),
    radial-gradient(circle at 18px 6px, var(--ochre) 0 3px, transparent 4px),
    radial-gradient(circle at 28px 6px, var(--terracotta) 0 4px, transparent 5px);
}

.hero p {
  max-width: 410px;
  margin: 0 0 32px;
  color: #43505f;
  font-size: 18px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.border-strip {
  height: 26px;
  background:
    radial-gradient(circle, var(--terracotta) 0 2px, transparent 3px) 0 10px / 34px 12px repeat-x,
    radial-gradient(circle, var(--olive) 0 2px, transparent 3px) 17px 14px / 34px 12px repeat-x,
    linear-gradient(var(--ivory), var(--ivory));
  border-bottom: 1px solid var(--line);
}

.section,
.page-section {
  position: relative;
  padding: 62px 0;
  border-bottom: 1px solid rgba(232, 211, 183, 0.72);
}

.section.paper,
.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.7), rgba(244, 231, 212, 0.6)),
    var(--paper);
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 58px;
  align-items: center;
}

.logo-tile {
  min-height: 270px;
  display: grid;
  place-items: center;
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: 48% 48% 3px 3px;
  background: rgba(255, 250, 241, 0.8);
}

.logo-tile img {
  height: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title h2,
.page-hero h1,
.page-section h2,
.gallery-band h2,
.about-grid h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.section-title .folk-divider {
  margin: 14px auto 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.mini-feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.mini-feature .icon,
.card-icon,
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fffaf1;
  background: var(--olive);
  font-weight: 900;
}

.carousel-wrap {
  position: relative;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 6px 20px;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(232, 211, 183, 0.9);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 54px rgba(34, 31, 27, 0.16);
}

.workshop-card {
  min-height: 288px;
  display: flex;
  flex-direction: column;
}

.workshop-card .card-body {
  padding: 28px 28px 24px;
  flex: 1;
}

.workshop-card h3,
.style-card h3,
.detail-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 25px;
}

.workshop-card p,
.style-card p,
.detail-card p {
  margin: 0;
  color: #3f4a56;
}

.learn-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fffaf1;
  font-weight: 800;
  background: var(--olive);
}

.tone-terracotta .learn-bar,
.tone-terracotta .icon {
  background: var(--terracotta);
}

.tone-navy .learn-bar,
.tone-navy .icon {
  background: var(--navy);
}

.style-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.style-card .learn-bar {
  justify-content: center;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fffaf1;
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(34, 31, 27, 0.08);
}

.gallery-band {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quote-card,
.detail-card,
.contact-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quote-mark {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.quote-card strong {
  color: var(--navy);
}

.cta {
  color: #fffaf1;
  background:
    linear-gradient(90deg, rgba(191, 68, 40, 0.96), rgba(154, 50, 30, 0.96)),
    radial-gradient(circle at 14% 30%, rgba(209, 139, 34, 0.28), transparent 24%);
  padding: 30px 0;
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
}

.cta p {
  margin: 4px 0 0;
}

.cta .btn {
  color: var(--terracotta-dark);
  background: #fff2df;
  box-shadow: none;
}

.site-footer {
  color: #e9f1f5;
  background: linear-gradient(180deg, #102946, #082037);
}

.footer-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 28px;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 1.2fr;
  gap: 34px;
}

.footer-logo {
  width: 210px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.94);
  mix-blend-mode: normal;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li,
.footer-grid p {
  margin: 0 0 8px;
  color: #c8d3dd;
  font-size: 14px;
}

.newsletter {
  display: flex;
  gap: 8px;
}

.newsletter input,
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
  color: var(--ink);
  background: #fffaf1;
  font: inherit;
}

.newsletter button {
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  color: #fffaf1;
  background: var(--terracotta);
  font-weight: 800;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  text-align: center;
  color: #b8c4cf;
  font-size: 13px;
}

.page-hero {
  padding: 76px 0 58px;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #46515d;
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split img,
.detail-hero-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 800;
}

.field textarea {
  min-height: 130px;
  padding-top: 12px;
  resize: vertical;
}

.empty-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.launch-strip {
  background: linear-gradient(180deg, #fffaf1, #fff4e6);
}

.launch-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: var(--shadow);
}

.launch-banner img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #fffaf1;
}

.launch-label {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  top: clamp(18px, 4vw, 40px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 6px;
  color: #fffaf1;
  background: linear-gradient(180deg, #df3d72, #bf4428);
  box-shadow: 0 14px 28px rgba(191, 68, 40, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 800;
}

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

.book-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow);
}

.book-card .btn {
  width: 100%;
}

.book-cover {
  aspect-ratio: 3 / 4;
  padding: 11px;
  border-radius: 8px;
  color: #37253b;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.85) 0 4px, transparent 5px),
    linear-gradient(135deg, color-mix(in srgb, var(--book-main) 18%, white), color-mix(in srgb, var(--book-alt) 20%, white));
  border: 2px solid color-mix(in srgb, var(--book-main) 72%, white);
  box-shadow: 0 14px 30px rgba(34, 31, 27, 0.16);
}

.book-cover-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 2px dashed color-mix(in srgb, var(--book-main) 56%, white);
  border-radius: 6px;
  text-align: center;
  background:
    linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, 0.48) 10px calc(100% - 10px), transparent calc(100% - 10px)),
    rgba(255, 250, 241, 0.76);
}

.book-cover p {
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fffaf1;
  background: var(--book-main);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.book-cover h3 {
  margin: 0;
  color: var(--book-main);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1;
}

.book-cover span {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
}

.cover-art {
  width: 100%;
  min-height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--book-alt);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 36%, transparent 37%),
    conic-gradient(from 0deg, var(--book-main), var(--book-alt), var(--olive), var(--book-main));
  font-size: 30px;
  font-weight: 900;
}

.book-cover strong {
  color: var(--book-main);
  font-size: 24px;
}

.book-modal[hidden] {
  display: none;
}

.book-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px;
}

.book-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 41, 70, 0.62);
}

.book-modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(230px, 330px) 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: #fffaf1;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-cover-slot .book-cover {
  max-width: 310px;
  margin: 0 auto;
}

.modal-copy h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.modal-kicker {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-weight: 900;
  text-transform: uppercase;
}

.book-detail-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.book-detail-list li {
  position: relative;
  padding-left: 28px;
}

.book-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 10px 0 0 var(--ochre);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf1;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 12px 0;
  }

  .main-nav a::after {
    bottom: 6px;
  }

  .book-btn {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 640px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(255, 250, 241, 0.7) 54%, rgba(255, 250, 241, 0.18)),
      url("images/hero-folk-art-studio.png") center bottom / cover no-repeat;
  }

  .hero-inner,
  .about-grid,
  .gallery-band,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .testimonials,
  .detail-grid,
  .book-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    grid-auto-columns: min(84vw, 360px);
  }

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

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

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

@media (max-width: 620px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    width: 190px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .cta .container,
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section,
  .page-section {
    padding: 46px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .newsletter {
    display: grid;
  }

  .launch-label {
    position: static;
    width: 100%;
    border-radius: 0;
  }

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

  .book-modal {
    padding: 12px;
  }

  .book-modal-panel {
    padding: 22px 16px;
  }
}
