/*
Theme Name: Olivia West
Theme URI: https://oliviawest.com
Description: Fan website for Nashville singer-songwriter Olivia West. Activating it creates the site's pages (Her story, Music, Videos, Photos, Shows, Merch, Give A Little, Connect) and sets the home page.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olivia-west
*/
/* Olivia West: fan site styles.
   Layout: photo-led pages, one warm full-bleed band per page (the "request" band),
   everything else on a quiet paper ground. Same type and colors as her EPK. */
:root {
  --paper: #f4f0e8;
  --paper-2: #ebe4d6;
  --ink: #1f2430;
  --muted: #5b6070;
  --denim: #2f4a6d;
  --copper: #b4562a;
  --copper-ink: #ffffff;
  --rule: #d8d0c1;
  --card: #fffdf8;
  --band: #2f4a6d;
  --band-ink: #f4f0e8;
  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161a22; --paper-2: #1d222c; --ink: #ece6da; --muted: #a6a9b3; --denim: #93b2d8;
    --copper: #e0895a; --copper-ink: #1a1410; --rule: #2e3441; --card: #1e232d;
    --band: #22324a; --band-ink: #ece6da; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #161a22; --paper-2: #1d222c; --ink: #ece6da; --muted: #a6a9b3; --denim: #93b2d8;
  --copper: #e0895a; --copper-ink: #1a1410; --rule: #2e3441; --card: #1e232d;
  --band: #22324a; --band-ink: #ece6da; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--denim); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Header */
.site-header { border-bottom: 2px solid var(--ink); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.brand { display: block; }
.brand .logo { width: 150px; height: auto; }
.menu-toggle { display: none; font: 500 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: none; border: 1px solid var(--ink); color: var(--ink); padding: 6px 12px; border-radius: 3px; cursor: pointer; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
nav a { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { border-bottom-color: var(--copper); }

/* Sections */
main section { padding-block: 40px; }
main section > h2, .h2 { font-family: var(--display); font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; margin-bottom: 20px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 20px; }
.section-head h2 { font-family: var(--display); font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; }
.page-head { padding-block: 48px 8px; display: grid; gap: 12px; }
.page-head h1 { font-family: var(--display); font-size: clamp(42px, 7vw, 68px); line-height: 1; }
.page-head p { color: var(--muted); max-width: 60ch; font-size: 20px; }

/* Home hero: full photo with the name set over its dark lower edge */
main .hero { padding: 0; }
.hero { position: relative; margin-top: 28px; border-radius: 4px; overflow: hidden; background: var(--ink); }
.hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.hero .over { position: absolute; inset: auto 0 0 0; padding: 80px clamp(20px, 4vw, 44px) clamp(20px, 4vw, 40px);
  background: linear-gradient(to top, rgba(12, 14, 20, .86), rgba(12, 14, 20, .55) 60%, rgba(12, 14, 20, 0)); color: #f4f0e8; display: grid; gap: 14px; }
.hero h1 { font-family: var(--display); font-size: clamp(48px, 9vw, 104px); line-height: .92; color: #f4f0e8; }
.hero .lede { font-size: clamp(19px, 2.2vw, 24px); font-style: italic; max-width: 34ch; color: #f4f0e8; }
.hero .label { color: #e9c9b4; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-block; font: 500 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 12px 18px; border-radius: 3px; border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn.primary { background: var(--copper); border-color: var(--copper); color: var(--copper-ink); }
.hero .btn:not(.primary) { border-color: #f4f0e8; color: #f4f0e8; }
.hero .btn.primary { background: #b4562a; border-color: #b4562a; color: #fff; }

/* Prose and quotes */
.prose { max-width: 66ch; display: grid; gap: 16px; }
.prose h3 { font-family: var(--display); font-size: 24px; line-height: 1.2; margin-top: 18px; }
.pull { font-size: 24px; line-height: 1.4; font-style: italic; border-left: 3px solid var(--copper); padding-left: 18px; max-width: 34ch; margin: 0; }
.pull cite { display: block; font-style: normal; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.two > * { min-width: 0; }
.side { display: grid; gap: 28px; align-content: start; }
.side img { width: 100%; border-radius: 3px; }

/* Full-width band (request a song / give a little) */
.band { background: var(--band); color: var(--band-ink); margin-block: 24px; }
.band .wrap { padding-block: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.band .wrap > * { min-width: 0; }
.band h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.band p { max-width: 52ch; }
.band .label { color: var(--band-ink); opacity: .75; }
.band a { color: var(--band-ink); }
.band .btn { border-color: var(--band-ink); color: var(--band-ink); }
.band blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; font-style: italic; }
.band blockquote cite { display: block; font-style: normal; margin-top: 12px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards.two-up { grid-template-columns: repeat(2, 1fr); }
.card { display: grid; gap: 4px; align-content: start; padding: 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; color: var(--ink); min-width: 0; }
a.card:hover { border-color: var(--copper); }
.card strong { font-weight: 600; }
.card span { font-size: 15px; color: var(--muted); }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video { display: grid; gap: 10px; min-width: 0; }
.video.lead { grid-column: 1 / -1; }
.player { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 4px; overflow: hidden; background: var(--ink); text-decoration: none; }
.player img { width: 100%; height: 100% !important; object-fit: cover; opacity: .62; transition: opacity .2s; }
.player:hover img { opacity: .8; }
.player .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: #b4562a; display: grid; place-items: center; }
.player .play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.player .yt { position: absolute; left: 14px; bottom: 12px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #f4f0e8; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { font-family: var(--body); font-weight: 600; font-size: 19px; line-height: 1.35; }
.video p { font-size: 16px; color: var(--muted); }

/* Shows */
.shows { list-style: none; margin: 0; padding: 0; }
.shows li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.shows li:first-child { border-top: 2px solid var(--ink); }
.shows li > * { min-width: 0; }
.shows .date { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.shows .date b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--muted); letter-spacing: 0; text-transform: none; }
.shows .where { font-weight: 600; }
.empty { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; display: grid; gap: 12px; max-width: 640px; }
.empty strong { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; }

/* Discography */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.album { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 20px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.album .num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.album h3 { font-family: var(--display); font-size: 22px; line-height: 1.15; }
.album p { font-size: 16px; color: var(--muted); }
.songs { columns: 3 14em; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.songs li { break-inside: avoid; padding-block: 7px; border-bottom: 1px solid var(--rule); }

/* Photos */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery figure { margin: 0; min-width: 0; display: grid; gap: 6px; }
.gallery img { width: 100%; height: 100% !important; object-fit: cover; border-radius: 3px; }
.gallery .w6 { grid-column: span 6; }
.gallery .w4 { grid-column: span 4; }
.gallery .w3 { grid-column: span 3; }
.gallery .tall img { aspect-ratio: 3 / 4; }
.gallery .wide img { aspect-ratio: 4 / 3; }
.gallery .sq img { aspect-ratio: 1 / 1; }
.gallery figcaption { font-size: 14px; color: var(--muted); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }

/* Social row */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); background: var(--card); padding: 10px 14px; border-radius: 3px; }
.social a:hover { border-color: var(--copper); color: var(--copper); }

/* Contact */
.contact-box { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; display: grid; gap: 8px; max-width: 560px; }
.contact-box .who { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.contact-box code { font-family: var(--mono); font-size: 16px; user-select: all; }

/* Footer */
.site-footer { margin-top: 56px; border-top: 2px solid var(--ink); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 40px; color: var(--muted); font-size: 15px; }
.site-footer a { color: var(--muted); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  nav { width: 100%; }
  nav[data-open="false"] ul { display: none; }
  nav ul { flex-direction: column; gap: 6px; padding-top: 8px; }
  .two, .band .wrap { grid-template-columns: 1fr; gap: 28px; }
  .cards, .cards.two-up, .albums, .videos { grid-template-columns: 1fr; }
  .hero img { aspect-ratio: 4 / 5; }
  .strip { grid-template-columns: 1fr 1fr; }
  .gallery .w6, .gallery .w4, .gallery .w3 { grid-column: span 12; }
  .shows li { grid-template-columns: 1fr; gap: 4px; }
}
@media (min-width: 821px) and (max-width: 1000px) { .gallery .w3 { grid-column: span 6; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Email sign-up */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: end; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(22px, 4vw, 36px); margin-block: 32px; }
.signup > * { min-width: 0; }
.signup h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-block: 6px 12px; }
.signup-copy p:last-child { max-width: 44ch; }
.signup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.signup-form .field { display: grid; gap: 4px; min-width: 0; }
.signup-form label { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.signup-form input { font: inherit; font-size: 17px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--card); color: var(--ink); width: 100%; min-width: 0; }
.signup-form input:focus-visible { outline: 2px solid var(--copper); outline-offset: 1px; }
.signup-form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; font-size: 13px; }
.signup-note { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
@media (max-width: 820px) { .signup, .signup-form { grid-template-columns: 1fr; } }

/* Merch */
.merch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.product-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-img.logo-img { background: #f4f0e8; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.product-img.logo-img img { width: 70%; aspect-ratio: auto; object-fit: contain; }
.product-body { padding: 18px; display: grid; gap: 6px; align-content: start; }
.product-body h3 { font-family: var(--display); font-size: 22px; line-height: 1.15; }
.product-body p:not(.label) { font-size: 16px; color: var(--muted); }
.tag { justify-self: start; margin-top: 6px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); border: 1px solid var(--copper); border-radius: 3px; padding: 4px 8px; }
@media (max-width: 820px) { .merch { grid-template-columns: 1fr; } }
.page-head p.label { font-size: 12px; color: var(--muted); }

/* Phone nav: show every page as a swipeable row instead of hiding it behind a menu button */
@media (max-width: 820px) {
  .menu-toggle { display: none !important; }
  nav[data-open="false"] ul, nav ul { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px 18px; overflow-x: auto; padding-top: 4px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  nav ul::-webkit-scrollbar { display: none; }
  nav li { flex: none; }
}
/* Home: page guide */
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.explore a { display: grid; gap: 2px; padding: 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; color: var(--ink); min-width: 0; }
.explore a:hover { border-color: var(--copper); }
.explore strong { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.2; }
.explore span { font-size: 15px; color: var(--muted); }
@media (max-width: 820px) { .explore { grid-template-columns: 1fr 1fr; } }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; } .contacts .contact-box { max-width: none; align-content: start; } @media (max-width: 820px) { .contacts { grid-template-columns: 1fr; } }

/* WordPress admin bar */
body.admin-bar .site-header { scroll-margin-top: 32px; }
