body {
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #fbeee0;
    color: #333;
    line-height: 1.6;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('../../images/wokthisway-notext.jpeg') center center/cover no-repeat;
    opacity: 0.67;
    filter: blur(13px) brightness(1.04) grayscale(0.08);
    z-index: -1;
    pointer-events: none;
}

:root {
    --space-xs: 6px;
    --space-sm: 12px;
    --space-md: 18px;
    --space-lg: 24px;
    --space-xl: 40px;
    --container-padding: 32px;
    --container-radius: 18px;
    --gap-lg: 48px;
    --gap-md: 24px;
}
.container {
    max-width: 760px;
    margin: var(--space-xl) auto;
    padding: var(--container-padding);
    background-color: #fff;
    border-radius: var(--container-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1.5px 6px rgba(232,119,46,0.08);
}
@media (max-width: 900px) {
    .container {
        max-width: 98vw;
        padding: 7vw 2vw;
    }
}
header {
    background: none;
    color: #4A4A4A;
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}
header h1 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 2.7rem;
    letter-spacing: 1px;
    color: #2d1c0b;
}
header p {
    margin: 0;
    font-size: 1.18rem;
    color: #D0631A;
    font-style: italic;
    font-weight: 600;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: block;
    text-shadow: 0 1px 2px rgba(255,255,255,0.45), 0 2px 8px rgba(208,99,26,0.08);
}
.book-section {
    margin-bottom: var(--space-lg);
    background: linear-gradient(120deg, #fbf1e6 0%, #fffdfb 55%, #ffffff 100%);
    box-shadow: 0 12px 40px rgba(45,28,11,0.08), 0 1.5px 6px rgba(232,119,46,0.05);
    position: relative;
    overflow: hidden;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}
.book-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E8772E, #D0631A);
}
.eyebrow {
    margin: 0 0 var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 3.5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #D0631A;
}
.book-title {
    font-size: clamp(2.6rem, 6vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 var(--space-md) 0;
    font-family: 'Georgia', serif;
    font-weight: 400;
    color: #2d1c0b;
    letter-spacing: -0.5px;
}
.book-lede {
    font-size: 1.22rem;
    line-height: 1.75;
    color: #4a3b2c;
    max-width: 60ch;
    margin: 0 0 var(--space-lg) 0;
}
.book-cover-hero {
    display: flex;
    justify-content: center;
    margin: 0 0 var(--space-lg) 0;
}
.book-cover-hero a {
    display: block;
    border-radius: 14px;
    transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s;
}
.book-cover {
    display: block;
    width: clamp(220px, 32vw, 300px);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(45,28,11,0.28), 0 6px 14px rgba(45,28,11,0.14);
    transform: perspective(1200px) rotateY(-6deg);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
}
.book-cover-hero a:hover,
.book-cover-hero a:focus {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 30px 60px rgba(45,28,11,0.32), 0 10px 20px rgba(232,119,46,0.14);
    outline: none;
}
.book-cover-hero a:hover .book-cover,
.book-cover-hero a:focus .book-cover {
    transform: none;
}
.book-features {
    list-style: none;
    margin: 0 0 var(--space-lg) 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}
.book-features li {
    position: relative;
    padding-left: 22px;
    font-size: 1.02rem;
    color: #4a3b2c;
    line-height: 1.6;
}
.book-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #E8772E;
}
.pull-quote {
    margin: 0 0 var(--space-lg) 0;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #D0631A;
    border-left: 3px solid #E8772E;
    padding: 4px 0 4px 20px;
}
.amazon-link-wrapper {
    margin-top: var(--space-md);
    display: flex;
    justify-content: flex-start;
}
.amazon-link {
    display: inline-block;
    font-size: 1.15rem;
    padding: 16px 40px;
    background: linear-gradient(90deg, #E8772E 60%, #D0631A 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(232,119,46,0.28);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
}
.amazon-link:hover {
    background: linear-gradient(90deg, #D0631A 60%, #E8772E 100%);
    box-shadow: 0 12px 30px rgba(232,119,46,0.34);
    transform: translateY(-2px);
    filter: brightness(1.06);
}
.content-section {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-sm);
    background-color: #FDFBF5;
    border-left: 5px solid #E8772E;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(232,119,46,0.04);
}
.content-section h2 {
    color: #D0631A;
    margin-top: 0;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}
/* Ensure lists inside the highlighted content boxes have enough left spacing
   so markers don't collide with the left border */
.content-section ul {
    margin: 0 0 0 0;
    padding-left: 26px;
}
ul {
    margin: 0 0 0 18px;
}
footer {
    text-align: center;
    padding: var(--space-md) 0 var(--space-sm) 0;
    background: none;
    color: #888;
    font-size: 0.98rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}
.footer-email {
    margin: 0;
}
.footer-email a {
    color: #D0631A;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.15s;
}
.footer-email a:hover {
    color: #E8772E;
    text-decoration: underline;
}
.main-nav {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: 10;
}
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm);
    border-radius: 6px;
    transition: background 0.15s;
}
.menu-toggle:hover,
.menu-toggle:focus {
    background: #fbeee0;
    border-radius: 0px;
}
.menu-bar {
    width: 28px;
    height: 3.5px;
    background: #2d1c0b;
    border-radius: 2px;
    display: block;
    transition: all 0.2s;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: calc(var(--space-lg) + 8px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(232,119,46,0.13), 0 1.5px 6px rgba(0,0,0,0.07);
    min-width: 180px;
    display: none;
    flex-direction: column;
    gap: 0;
    text-align: left;
}
.nav-list li {
    border-bottom: 1px solid #fbeee0;
    border-radius: 0;
    position: relative;
    z-index: 1;
}
.nav-list li:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    z-index: 2;
}
.nav-list li:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
    z-index: 2;
}
.nav-list a {
    display: block;
    padding: 12px 22px;
    color: #D0631A;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    text-align: left;
    border-radius: 0;
}
.nav-list li:first-child a {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.nav-list li:last-child a {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.nav-list a:hover,
.nav-list a:focus {
    background: #fbeee0;
    color: #E8772E;
}
.main-nav.open .nav-list {
    display: flex;
}
.polaroid {
  display: inline-block;
  background: white;
  padding: 10px; /* Reduced padding for a smaller frame */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 190px; /* Adjusted width */
  height: 230px; /* Adjusted height */
  margin: 10px;
  border-radius: 8px;
  position: relative;
}

.polaroid img {
  width: 170px; /* Adjusted image width */
  height: 170px; /* Adjusted image height */
  object-fit: cover; /* Ensure the image is cropped to fit */
  border-radius: 4px;
  background: white;
}

.polaroid .caption {
  font-family: 'Patrick Hand', cursive; /* Handwritten font */
  font-size: 0.8em; /* Adjusted font size */
  color: #333;
  margin-top: 5px; /* Reduced space for the lip */
  height: auto; /* Adjust height dynamically */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Allow wider container on pages that opt-in */
.container--wide {
    max-width: 980px;
}
@media (max-width: 700px) {
    .book-cover {
        width: clamp(200px, 62vw, 280px);
    }
    .book-lede {
        font-size: 1.12rem;
    }
    .pull-quote {
        font-size: 1.3rem;
    }
    .amazon-link-wrapper {
        justify-content: center;
    }
    .amazon-link {
        width: 100%;
        max-width: 340px;
        text-align: center;
    }
    .main-nav {
        top: 12px;
        right: 10px;
    }
    .nav-list {
        min-width: 140px;
        top: 38px;
    }
    .nav-list a {
        padding: 12px 14px;
    }
}

.recipe-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 28px;
}

.recipe-grid li {
    box-sizing: border-box;
}

.recipe-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(45,28,11,0.08);
    transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s;
}

.recipe-card:hover,
.recipe-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(45,28,11,0.16), 0 4px 10px rgba(232,119,46,0.10);
    outline: none;
}

.recipe-card__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fbeee0;
}

.recipe-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.recipe-card:hover .recipe-card__img img {
    transform: scale(1.05);
}

.recipe-card__title {
    margin: 14px 18px 0;
    font-size: 1.18rem;
    color: #2d1c0b;
    line-height: 1.3;
}

.recipe-card__caption {
    margin: 6px 18px 18px;
    font-size: 0.95rem;
    color: #7a6a58;
    line-height: 1.5;
}

.polaroid--center {
    display: block;
    margin: 0 auto var(--gap-md);
}

.recipe-tip {
    margin-top: var(--space-md);
    padding: 12px 18px;
    background: #FDF6EF;
    border-left: 5px solid #E8772E;
    border-radius: 8px;
    font-style: italic;
    color: #4a3b2c;
}
.recipe-tip strong {
    color: #D0631A;
    font-style: normal;
}
.recipe-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 var(--space-lg);
    font-size: 1rem;
}

.recipe-table th {
    text-align: left;
    color: #D0631A;
    border-bottom: 2px solid #E8772E;
    padding: 6px 10px;
}

.recipe-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #fbeee0;
}
