/*
Theme Name: Suzanne Stanmeyer Redesign
Theme URI: https://suzannestanmeyer.com/
Author: Suzanne Stanmeyer
Description: A playful editorial theme for Suzanne Stanmeyer's middle grade books.
Version: 1.0.2
Update URI: https://suzannestanmeyer.com/themes/suzanne-stanmeyer-redesign
Text Domain: suzanne-stanmeyer-redesign
*/

:root {
  --navy: #071426;
  --navy-2: #0c2135;
  --cream: #f4efe6;
  --paper: #fffbf3;
  --mint: #78d9bd;
  --aqua: #c8f2e6;
  --coral: #ff6658;
  --yellow: #ffd35a;
  --ink: #101c2d;
  --line: rgba(7, 20, 38, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
main { overflow: hidden; }

.site-header { height: 92px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: 20px; letter-spacing: .045em; text-transform: uppercase; font-style: italic; }
.brand small { margin-top: 2px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.desktop-nav > a:not(.nav-cta) { padding: 10px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.desktop-nav > a:not(.nav-cta):hover { border-color: var(--coral); }
.nav-cta { padding: 15px 18px; color: var(--paper); background: var(--navy); border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--mint); transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--mint); }
.nav-cta span, .button span, .text-link span, .series-copy > a span { margin-left: 10px; }
.mobile-menu { display: none; }

.hero { min-height: 710px; display: grid; grid-template-columns: .92fr 1.08fr; background: var(--navy); color: var(--paper); }
.hero-copy { padding: 112px 6vw 90px max(6vw, calc((100vw - 1440px) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 24px; font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { color: var(--mint); margin-right: 8px; }
.eyebrow.dark span { color: var(--coral); }
h1, h2, h3 { margin: 0; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; text-transform: uppercase; letter-spacing: .015em; font-weight: 900; }
h1 { max-width: 700px; font-size: clamp(66px, 7.1vw, 122px); line-height: .85; }
h1 em, h2 em { color: var(--mint); font-style: normal; }
.hero-lede { max-width: 570px; margin: 34px 0 36px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.45; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.hero-actions p { margin: 0; padding-left: 30px; border-left: 1px solid rgba(255,255,255,.25); font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero-actions p strong { color: var(--mint); }
.button { display: inline-flex; align-items: center; justify-content: space-between; width: fit-content; min-width: 220px; padding: 18px 20px; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; border: 2px solid; transition: transform .2s, box-shadow .2s; }
.button-light { background: var(--paper); color: var(--navy); border-color: var(--paper); box-shadow: 6px 6px 0 var(--coral); }
.button-light:hover { transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--coral); }
.hero-art { min-height: 710px; position: relative; display: flex; align-items: center; justify-content: center; background-color: var(--mint); background-image: radial-gradient(rgba(7,20,38,.16) 1.5px, transparent 1.5px); background-size: 22px 22px; isolation: isolate; }
.hero-art:before { content: ""; position: absolute; width: 72%; height: 72%; border-radius: 50%; background: var(--yellow); border: 3px solid var(--navy); box-shadow: 14px 14px 0 var(--coral); }
.hero-art:after { content: ""; position: absolute; inset: 28px; border: 2px solid var(--navy); z-index: -1; }
.book { position: absolute; width: min(34%, 315px); height: auto; border: 2px solid var(--navy); box-shadow: 16px 18px 0 rgba(7,20,38,.9); }
.book-rose { transform: translate(-37%, 2%) rotate(-8deg); z-index: 2; }
.book-wolf { transform: translate(42%, -3%) rotate(7deg); z-index: 3; }
.burst, .issue, .author-stamp { display: grid; place-items: center; text-align: center; width: 112px; height: 112px; padding: 14px; border-radius: 50%; background: var(--coral); color: var(--navy); border: 3px solid var(--navy); font-family: Impact, sans-serif; font-size: 17px; line-height: 1; letter-spacing: .04em; transform: rotate(9deg); }
.burst { position: absolute; z-index: 6; top: 9%; right: 8%; }
.scribble { position: absolute; z-index: 7; font-family: 'Comic Sans MS', cursive; font-size: 30px; font-weight: 900; color: var(--navy); transform: rotate(-11deg); }
.scribble-one { top: 10%; left: 8%; }
.scribble-two { bottom: 9%; right: 8%; transform: rotate(8deg); }

.ticker { padding: 16px 0; background: var(--coral); color: var(--navy); border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); overflow: hidden; white-space: nowrap; font-family: Impact, sans-serif; font-size: 16px; letter-spacing: .09em; }
.ticker div { width: max-content; min-width: 100%; text-align: center; }
.ticker span { margin: 0 25px; }
.section { padding: 120px max(6vw, calc((100vw - 1440px) / 2)); }
.section-heading { display: grid; grid-template-columns: 1fr 1.3fr .8fr; align-items: end; gap: 40px; margin-bottom: 70px; }
.section-heading .eyebrow { align-self: start; padding-top: 15px; }
h2 { font-size: clamp(54px, 6vw, 92px); line-height: .9; }
.section-heading > p:last-child { margin: 0 0 4px; font-family: Georgia, serif; font-size: 17px; line-height: 1.55; }
.series-card { min-height: 630px; display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--navy); margin-bottom: 36px; }
.series-visual { position: relative; display: grid; place-items: center; min-height: 630px; overflow: hidden; background-image: radial-gradient(rgba(7,20,38,.16) 1.5px, transparent 1.5px); background-size: 20px 20px; }
.series-benedict .series-visual { background-color: #a7e2dc; }
.series-rose .series-visual { background-color: #ffd35a; }
.series-visual:before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); box-shadow: 12px 12px 0 var(--coral); }
.series-visual img { position: relative; z-index: 2; width: min(44%, 280px); border: 2px solid var(--navy); box-shadow: 14px 16px 0 var(--navy); transform: rotate(-4deg); }
.series-rose .series-visual img { transform: rotate(4deg); }
.issue { position: absolute; z-index: 4; right: 11%; top: 11%; width: 96px; height: 96px; font-size: 15px; background: var(--coral); }
.series-copy { padding: clamp(50px, 7vw, 100px); background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.series-no { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.series-no span { width: 46px; height: 1px; background: var(--navy); }
.series-copy h3 { font-size: clamp(62px, 6vw, 100px); line-height: .84; }
.series-copy > p:not(.series-no) { max-width: 520px; margin: 30px 0 22px; font-family: Georgia, serif; font-size: 18px; line-height: 1.55; }
.series-copy ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 38px; list-style: none; }
.series-copy li { padding: 9px 12px; border: 1px solid var(--navy); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.series-copy > a, .text-link { width: fit-content; padding-bottom: 7px; border-bottom: 3px solid var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.why { padding: 120px max(6vw, calc((100vw - 1440px) / 2)); background: var(--navy); color: var(--paper); display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.why-intro { position: sticky; top: 50px; align-self: start; }
.why-intro > p:last-child { max-width: 540px; margin: 34px 0 0; font-family: Georgia, serif; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.72); }
.value { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.23); }
.value:last-child { border-bottom: 1px solid rgba(255,255,255,.23); }
.value > span { color: var(--mint); font-family: Impact, sans-serif; font-size: 38px; }
.value h3 { margin-bottom: 12px; font-size: 28px; }
.value p { max-width: 530px; margin: 0; font-family: Georgia, serif; line-height: 1.6; color: rgba(255,255,255,.68); }

.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 9vw; align-items: center; background: var(--aqua); }
.about-photo { position: relative; padding: 35px; }
.photo-frame { border: 2px solid var(--navy); background: var(--yellow); box-shadow: 18px 18px 0 var(--coral); transform: rotate(-2deg); overflow: hidden; }
.photo-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.author-stamp { position: absolute; right: -10px; bottom: -24px; width: 130px; height: 130px; background: var(--yellow); transform: rotate(8deg); font-size: 15px; }
.about-copy { max-width: 650px; }
.about-lede { margin: 32px 0 22px; font-family: Georgia, serif; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.42; }
.about-copy > p:not(.eyebrow):not(.about-lede) { font-family: Georgia, serif; font-size: 17px; line-height: 1.68; }
.text-link { display: inline-block; margin-top: 20px; }

.closing { min-height: 560px; padding: 100px 6vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; background: var(--coral); color: var(--navy); background-image: radial-gradient(rgba(7,20,38,.16) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.closing h2 { margin-bottom: 38px; }
.closing h2 em { color: var(--paper); text-shadow: 3px 3px 0 var(--navy); }
.closing .eyebrow span { color: var(--navy); }
.closing-doodles span { position: absolute; font-family: 'Comic Sans MS', cursive; font-size: 26px; font-weight: 900; }
.closing-doodles span:first-child { top: 24%; left: 8%; transform: rotate(-13deg); }
.closing-doodles span:last-child { right: 8%; bottom: 20%; transform: rotate(10deg); }
footer { min-height: 160px; padding: 36px 6vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: var(--paper); }
.footer-links { display: flex; gap: 32px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
footer > p { margin: 0; text-align: right; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .58; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; width: 46px; height: 42px; display: flex; flex-direction: column; gap: 8px; justify-content: center; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 30px; height: 2px; background: var(--navy); }
  .mobile-menu nav { position: absolute; top: 55px; right: 0; width: 250px; padding: 18px; background: var(--paper); border: 2px solid var(--navy); box-shadow: 6px 6px 0 var(--coral); display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 15px 6px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 900; text-transform: uppercase; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 640px; padding: 90px 7vw; }
  .hero-art { min-height: 680px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 500px; }
  .series-card { grid-template-columns: 1fr; }
  .series-card.series-rose .series-copy { order: 2; }
  .series-visual { min-height: 580px; }
  .why, .about { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .about-photo { max-width: 620px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 600px) {
  .site-header { height: 78px; padding: 0 18px; }
  .brand img { width: 50px; height: 50px; }
  .brand strong { font-size: 16px; }
  .hero-copy { min-height: 570px; padding: 70px 24px; }
  h1 { font-size: 60px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions p { border-left: 0; padding-left: 0; }
  .hero-art { min-height: 540px; }
  .hero-art:before { width: 86%; height: 72%; }
  .book { width: 40%; box-shadow: 9px 10px 0 var(--navy); }
  .burst { top: 5%; right: 3%; width: 88px; height: 88px; font-size: 13px; }
  .scribble-one { top: 8%; }
  .ticker div { text-align: left; padding-left: 20px; }
  .section, .why { padding: 82px 22px; }
  h2 { font-size: 54px; }
  .section-heading { gap: 20px; margin-bottom: 45px; }
  .series-card { margin-bottom: 26px; }
  .series-visual { min-height: 460px; }
  .series-visual:before { width: 310px; height: 310px; }
  .series-visual img { width: 48%; }
  .issue { right: 5%; top: 7%; width: 80px; height: 80px; font-size: 12px; }
  .series-copy { padding: 50px 28px; }
  .series-copy h3 { font-size: 60px; }
  .series-copy ul { flex-direction: column; align-items: flex-start; }
  .value { grid-template-columns: 54px 1fr; gap: 15px; }
  .about-photo { padding: 8px 8px 30px; }
  .author-stamp { right: -4px; width: 105px; height: 105px; font-size: 12px; }
  .closing { min-height: 510px; padding: 80px 22px; }
  .closing-doodles { display: none; }
  footer { grid-template-columns: 1fr; padding: 42px 22px; }
  .footer-links { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* WordPress page and post fallbacks */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 10px; left: 10px; z-index: 99999; width: auto; height: auto; padding: 14px 18px; margin: 0; clip: auto; background: var(--paper); border: 2px solid var(--navy); }
.content-shell { min-height: 65vh; padding: 90px max(6vw, calc((100vw - 1100px) / 2)); background: var(--paper); }
.content-shell article { max-width: 900px; margin: 0 auto; }
.content-shell .entry-header { margin-bottom: 42px; padding-bottom: 28px; border-bottom: 2px solid var(--navy); }
.content-shell .entry-title { font-size: clamp(48px, 6vw, 88px); line-height: .92; }
.content-shell .entry-content { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.75; }
.content-shell .entry-content h2, .content-shell .entry-content h3 { margin: 1em 0 .45em; }
.content-shell .entry-content h2 { font-size: clamp(38px, 4vw, 60px); }
.content-shell .entry-content h3 { font-size: 30px; }
.content-shell .entry-content a { color: #0d6d61; text-decoration: underline; text-underline-offset: 3px; }
.content-shell .entry-content img { border: 2px solid var(--navy); }
.content-shell .post-meta { margin-top: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.admin-bar .site-header { margin-top: 0; }
@media (max-width: 782px) { .content-shell { padding: 65px 22px; } }
