/* Myrna Doreen White — site shell */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Playfair_Display/regular.woff") format("woff"),
       url("/fonts/Playfair_Display/regular.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/Playfair_Display/bold.woff") format("woff"),
       url("/fonts/Playfair_Display/bold.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/Playfair_Display/italic.woff") format("woff"),
       url("/fonts/Playfair_Display/italic.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Montserrat/regular.woff") format("woff"),
       url("/fonts/Montserrat/regular.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/Montserrat/bold.woff") format("woff"),
       url("/fonts/Montserrat/bold.ttf") format("truetype");
}

@font-face {
  font-family: "Saginaw";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/Saginaw/regular.ttf") format("truetype"),
       url("/fonts/Saginaw/regular.eot");
}

:root {
  --color-brand: #76b3b8;
  --color-accent: #cc2d30;
  --color-text: #33332a;
  --color-muted: #5a5a50;
  --color-bg: #f7f4ef;
  --color-bg-soft: rgba(255, 255, 255, 0.92);
  --color-line: rgba(118, 179, 184, 0.55);
  --font-display: "Playfair Display", Georgia, serif;
  --font-brand: "Saginaw", "Playfair Display", Georgia, serif;
  --font-nav: "Montserrat", "Trebuchet MS", sans-serif;
  --max: 960px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.7;
  background-color: var(--color-bg);
  background-image: url("/uploads/1/4/8/7/148794461/background-images/1366250879.jpg");
  background-repeat: no-repeat;
  background-position: 50% 56%;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 3px;
  color: var(--color-brand);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-text);
  padding: 8px 12px;
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

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

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}

.site-nav a {
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
}

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

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.hero {
  min-height: min(72vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("/uploads/1/4/8/7/148794461/background-images/1931267164.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  position: relative;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 24px;
  animation: fade-up 0.9s ease both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.hero .divider {
  width: 50%;
  max-width: 280px;
  margin: 22px auto 0;
  border: 0;
  border-top: 2px solid rgba(204, 45, 48, 0.55);
}

.section {
  padding: 64px 20px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--color-bg-soft);
  padding: 40px 36px;
  box-shadow: 0 8px 28px rgba(40, 35, 25, 0.08);
  animation: fade-up 0.7s ease both;
}

.section-title {
  margin: 0 0 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
}

.divider {
  width: 50%;
  max-width: 220px;
  margin: 0 auto 28px;
  border: 0;
  border-top: 1px solid var(--color-line);
}

.section p {
  margin: 0 0 1em;
}

.section p:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.book-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
}

.book-copy {
  flex: 1 1 280px;
  text-align: left;
}

.book-cover {
  flex: 0 1 320px;
  margin: 0 auto;
}

.book-cover img {
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.store-group {
  margin-top: 28px;
}

.store-label {
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-accent);
  font-weight: 700;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 2px;
  color: #fff;
  background: var(--color-brand);
  border: 1px solid var(--color-brand);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.is-muted {
  background: transparent;
  color: var(--color-muted);
  border-color: var(--color-line);
  cursor: default;
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.form-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-field .req {
  color: var(--color-accent);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-text);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.name-pair {
  display: flex;
  gap: 10px;
}

.name-pair > div {
  flex: 1;
}

.name-pair .sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--color-muted);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-display);
}

.form-actions {
  text-align: center;
}

.widget-wrap {
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 0 20px;
}

.page-header {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 20px;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-accent);
}

.romlicontainer {
  max-width: var(--max);
  margin: 24px auto 48px;
  padding: 36px;
  background: var(--color-bg-soft);
  box-shadow: 0 8px 28px rgba(40, 35, 25, 0.08);
}

.blog-page .section-inner {
  background: transparent;
  box-shadow: none;
  padding: 24px 0;
}

.blog-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-card {
  background: var(--color-bg-soft);
  padding: 24px 28px;
  box-shadow: 0 6px 20px rgba(40, 35, 25, 0.07);
}

.blog-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.blog-title a {
  color: var(--color-accent);
  text-decoration: none;
}

.blog-title a:hover {
  text-decoration: underline;
}

.blog-preview p {
  margin: 0;
  color: var(--color-muted);
}

.site-footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--color-line);
  padding: 28px 20px 36px;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.site-footer a {
  color: var(--color-brand);
}

.romlidata {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 0 20px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    font-size: 16px;
    line-height: 1.65;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    padding: 12px 20px 18px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-header-inner {
    position: relative;
  }

  .section-inner {
    padding: 28px 20px;
  }

  .romlicontainer {
    padding: 24px 18px;
  }

  .hero {
    min-height: 52vh;
  }
}
