:root {

    --navy: #14223f;

    --navy-soft: #243b61;

    --ivory: #faf6ee;

    --paper: #fffdf8;

    --copper: #b06a2c;

    --copper-deep: #8e4f1a;

    --ink: #1c2230;

    --muted: #59616d;

    --line: #dfd8cb;

    --teal: #0b7a86;

    --coral: #e8553e;

    --green: #3e7d3a;

    --serif: "Newsreader", Georgia, "Times New Roman", serif;

    --sans: "Figtree", "Segoe UI", sans-serif;

    --max: 1180px;

    color-scheme: light;

}



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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }

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

a { color: var(--copper-deep); text-underline-offset: 3px; }

a:hover { color: var(--teal); }

button, input, select, textarea { font: inherit; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.skip-link, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link:focus { z-index: 100; width: auto; height: auto; clip: auto; margin: 12px; padding: 10px 16px; background: var(--navy); color: white; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { color: var(--navy); font-family: var(--serif); font-weight: 500; line-height: 1.08; }

h1 { font-size: 72px; margin-bottom: 24px; }

h2 { font-size: 52px; margin-bottom: 20px; }

h3 { font-size: 26px; margin-bottom: 10px; }

p { max-width: 70ch; }



.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 246, 238, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }

.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: 0 0 auto; }

.brand .logo-img { width: 88px; height: 82px; object-fit: contain; }

.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; background: var(--navy); color: #f8e7cb; font: 600 15px var(--serif); border-radius: 50%; border: 1px solid var(--copper); }

.brand-name { display: grid; line-height: 1.1; }

.brand-name strong { font: 600 22px var(--serif); }

.brand-name small { margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 4px; }

.primary-nav > a { padding: 9px 10px; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: 0; transition: color .2s ease, box-shadow .2s ease; }

.primary-nav > a[aria-current="page"]:not(.button) { color: var(--copper-deep); box-shadow: inset 0 -2px var(--copper); }

.primary-nav > a:hover:not(.button) { color: var(--teal); }

.primary-nav .nav-cta { min-height: 42px; gap: 8px; padding: 9px 14px; margin-left: 6px; border-radius: 3px; color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 3px 9px rgba(20,34,63,.12); }

.primary-nav .nav-cta:hover { color: #fff; box-shadow: 0 6px 14px rgba(20,34,63,.18); }

.primary-nav .nav-cta span { font-size: 17px; line-height: 1; transition: transform .2s ease; }

.primary-nav .nav-cta:hover span { transform: translate(2px, -2px); }

.menu-button { display: none; width: 44px; height: 44px; padding: 11px; background: transparent; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }

.menu-button:hover { background: rgba(20,34,63,.03); }

.menu-button span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--navy); transition: transform .22s cubic-bezier(.2,.7,.2,1), opacity .22s ease; }

.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }

.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; cursor: pointer; transition: background-color .22s cubic-bezier(.2,.7,.2,1), border-color .22s cubic-bezier(.2,.7,.2,1), color .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s cubic-bezier(.2,.7,.2,1), transform .22s cubic-bezier(.2,.7,.2,1); box-shadow: 0 0 0 rgba(20,34,63,0); }

.button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,34,63,.12); }

.button-dark { background: var(--navy); color: #fff; }

.button-dark:hover { background: var(--copper-deep); color: #fff; }

.button-outline { color: var(--navy); border-color: var(--navy); background: transparent; }

.button-outline:hover { color: #fff; background: var(--navy); }

.button-copper { color: #fff; background: var(--copper-deep); }

.button-copper:hover { color: #fff; background: var(--teal); }

.button-light { background: var(--ivory); color: var(--navy); }

.button-light:hover { background: #fff; color: var(--copper-deep); box-shadow: 0 8px 18px rgba(20,34,63,.08); }

.button-small { min-height: 42px; padding: 8px 14px; font-size: 15px; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }



.hero-band { position: relative; overflow: hidden; padding: 76px 0 0; background: var(--ivory); }

.hero-layout { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 48px; }

.hero-copy { padding: 0 0 64px; animation: rise-in .65s ease both; }

.home-kicker { margin: 0 0 10px; color: var(--copper-deep); font: italic 22px/1.3 var(--serif); }

.home-kicker-light { color: #e3a66b; }

.eyebrow { margin: 0 0 14px; color: var(--copper-deep); font-size: 14px; line-height: 1.4; font-weight: 700; text-transform: uppercase; }

.hero-lede { max-width: 510px; margin: 0 0 28px; color: var(--muted); font-size: 19px; line-height: 1.6; }

.hero-shelf { height: 420px; position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding-bottom: 22px; }

.hero-shelf::after { position: absolute; right: 0; bottom: 0; left: 0; height: 22px; border-radius: 2px 2px 0 0; background: var(--navy); content: ""; }

.shelf-book { position: relative; z-index: 1; display: block; flex: 0 1 auto; text-decoration: none; transform-origin: bottom center; animation: rise-in .8s cubic-bezier(.2,.7,.2,1) both; transition: transform .28s cubic-bezier(.2,.7,.2,1), rotate .28s cubic-bezier(.2,.7,.2,1), filter .28s ease; }

.shelf-book .book-cover { height: 100%; }

.shelf-book:hover { z-index: 2; transform: translateY(-8px); filter: saturate(1.08); }

.shelf-book-1 { width: 150px; height: 290px; animation-delay: .05s; }

.shelf-book-2 { width: 176px; height: 360px; animation-delay: .18s; }

.shelf-book-3 { width: 160px; height: 325px; rotate: -4deg; animation-delay: .31s; }

.shelf-book-4 { width: 145px; height: 265px; animation-delay: .44s; }

.shelf-book-3:hover { rotate: 0deg; }

.book-cover { position: relative; width: 100%; height: 100%; aspect-ratio: 2 / 3; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10%; background: var(--cover-color, var(--navy)); color: white; isolation: isolate; box-shadow: inset 8px 0 9px rgba(0,0,0,.15); }

.book-cover::before { position: absolute; content: ""; inset: 0 auto 0 0; z-index: -1; width: 5px; background: rgba(255,255,255,.25); }

.book-cover img { position: absolute; inset: 0; width: 100%; height: 100%;  } 

.cover-imprint, .cover-author { position: relative; z-index: 1; font-size: 10px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0; }

.cover-title { position: relative; z-index: 1; max-width: 13ch; font: 500 18px/1.1 var(--serif); }

.cover-author { text-transform: none; }

.cover-orbit { position: absolute; right: -17%; bottom: 16%; width: 78%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }

.cover-orbit::before, .cover-orbit::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }

.cover-orbit::before { inset: 16%; }

.cover-orbit::after { inset: 32%; }

.demo-book { display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10%; color: #fff; font-family: var(--serif); box-shadow: inset 8px 0 9px rgba(0,0,0,.15); }

.demo-book span, .demo-book small { font: 10px var(--sans); text-transform: uppercase; }

.demo-book strong { position: relative; font-weight: 500; font-size: 28px; line-height: 1.04; }

.demo-book-coral { background: var(--coral); }

.demo-book-teal { background: var(--teal); }

.demo-book-green { background: var(--navy); }

.art-caption { position: absolute; bottom: 0; right: 3%; color: var(--muted); font: italic 16px var(--serif); }



.intro-strip { padding: 82px 0; }

.intro-layout, .section-heading, .about-grid, .contact-ribbon, .closing-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }

.intro-layout { grid-template-columns: 1fr 1.4fr; gap: 48px; }

.intro-layout h2 { font-size: 50px; }

.intro-statement { max-width: 650px; margin-bottom: 18px; color: var(--navy); font: 500 32px/1.3 var(--serif); }

.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--copper-deep); font-weight: 600; text-decoration: none; }

.text-link:hover { color: var(--teal); }

.section-pad { padding: 45px 0; }

.area-section { background: var(--ivory); }

.section-heading { grid-template-columns: 1fr .8fr; align-items: end; margin-bottom: 40px; }

.section-heading h2 { margin-bottom: 0; }

.section-heading > p { max-width: 380px; margin: 0 0 8px; color: var(--muted); }



.home-lede { max-width: 700px; margin: 14px 0 0; color: var(--muted); font-size: 19px; }

.home-rule { margin: 0; border: 0; border-top: 1px solid var(--line); }

.area-grid { margin-top: 34px; }

.area-item { position: relative; min-height: 175px; padding: 22px 20px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); color: inherit; text-decoration: none; transition: background .2s; }

.area-item:hover { color: inherit; background: #fff; }

.area-marker { display: block; width: 28px; height: 4px; margin-bottom: 18px; background: var(--marker, var(--copper)); }

.area-item h3 { margin-bottom: 8px; font: 500 20px/1.15 var(--serif); }

.area-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.area-arrow { position: absolute; top: 18px; right: 16px; color: var(--copper-deep); opacity: 0; transition: opacity .2s; }

.area-item:hover .area-arrow { opacity: 1; }



.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }

.head-row > div > p { margin-bottom: 8px; }

.featured-section { background: var(--navy); color: #e8e5dd; }

.featured-section h2, .featured-section h3 { color: #fff; }

.featured-section .text-link { color: #f0c08f; }

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

.featured-card { min-width: 0; }

.featured-card .cover-link { display: block; width: min(100%, 220px); margin: 0 auto 22px; aspect-ratio: 2 / 3; transition: transform .25s; }

.featured-card .cover-link:hover { transform: translateY(-7px) rotate(-1deg); }

.featured-card .eyebrow { color: #e9b77f; margin-bottom: 7px; }

.featured-card h3 { font-size: 22px; }

.featured-card h3 a { color: white; text-decoration: none; }

.featured-card > p:last-child { color: #c9c3b6; font-size: 14px; }

.catalog-empty-light { padding: 26px 0; color: #e8e5dd; border-top: 1px solid rgba(255,255,255,.2); }

.catalog-empty-light a { color: #f0c08f; }

.process-section { background: var(--ivory); }

.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0; margin: 40px 0 0; list-style: none; counter-reset: home-step; }

.process-grid li { min-height: 200px; padding: 22px 22px 20px 0; margin-right: 18px; border-top: 2px solid var(--navy); counter-increment: home-step; }

.process-grid li::before { display: block; margin-bottom: 16px; color: var(--copper); content: counter(home-step, decimal-leading-zero); font: 500 42px/1 var(--serif); }

.process-grid h3 { font-size: 23px; }

.process-grid p { color: var(--muted); font-size: 16px; }

.home-cta { padding: 0 0 90px; background: var(--ivory); }

.home-cta-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 48px; border: 1px solid var(--line); background: var(--paper); }

.home-cta-card h2 { margin-bottom: 10px; }

.home-cta-card p { margin: 0; color: var(--muted); }

.home-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }



.page-intro { position: relative; overflow: hidden; padding: 80px 0 72px; 

background: url('/assets/bg3.jpeg') center/cover no-repeat;
    
 border-bottom: 1px solid var(--line); }

.page-intro::after { position: absolute; content: "BPY"; right: 5%; bottom: -88px; color: rgba(20,34,63,.045); font: 500 280px/.8 var(--serif); pointer-events: none; }

.page-intro .wrap { position: relative; z-index: 1; }

.page-intro h1 { max-width: 850px; font-size: 72px; }

.page-lede { max-width: 660px; margin: 0; color: var(--muted); font-size: 19px; }

.page-intro .button { margin-top: 26px; }

.compact-intro { padding-block: 64px; }

.about-grid { grid-template-columns: .78fr 1.22fr; }

.about-grid h2 { font-size: 54px; }

.prose { max-width: 690px; color: var(--muted); }

.prose > p:first-child { color: var(--ink); font-size: 19px; }

.prose h3 { margin: 36px 0 10px; }

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

.values-band { background: var(--navy); color: #d6d4ce; }

.values-band h2, .values-band h3 { color: white; }

.values-band > .wrap > h2 { max-width: 660px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 46px; }

.values-grid article { padding-top: 18px; border-top: 1px solid #8792a4; }

.values-grid article > span { color: #e9b77f; font-size: 14px; }

.values-grid h3 { margin-top: 26px; }

.values-grid p { color: #c9c3b6; }

.contact-ribbon { grid-template-columns: 1fr auto; align-items: center; padding: 42px; background: var(--paper); border: 1px solid var(--line); }

.contact-ribbon h2 { margin: 0; font-size: 44px; }



.catalog-section { padding-top: 46px; }

.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }

.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 0; }

.filter-chip { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 14px; border: 1px solid #cfc5b1; border-radius: 3px; color: var(--ink); font-size: 15px; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }

.filter-chip:hover { border-color: var(--navy); color: var(--navy); }

.filter-chip[aria-current="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }

.search-field { flex: 1 1 340px; min-width: min(100%, 260px); height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #cfc5b1; background: white; color: var(--muted); }

.search-field > span:last-of-type { font: 28px/1 var(--serif); }

.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }

.filter-field select { width: 220px; max-width: 100%; height: 50px; padding: 0 36px 0 14px; border: 1px solid #cfc5b1; border-radius: 0; background: white; color: var(--ink); }

.clear-filter { padding: 8px; }

.result-count { margin: 24px 0; color: var(--muted); font-size: 15px; }

.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 36px; }

.catalog-card { display: grid; grid-template-columns: minmax(115px, 150px) minmax(0, 1fr); gap: 24px; align-items: start; }

.catalog-cover { display: block; aspect-ratio: 2 / 3; }

.catalog-copy { min-width: 0; }

.catalog-card .eyebrow { margin: 2px 0 8px; }

.catalog-card h2 { margin-bottom: 7px; font-size: 27px; }

.catalog-card h2 a { color: var(--navy); text-decoration: none; }

.catalog-card h2 a:hover { color: var(--copper-deep); }

.catalog-card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }

.catalog-card .catalog-byline { color: var(--copper-deep); font-weight: 600; }

.catalog-card .catalog-subtitle { color: var(--ink); font-family: var(--serif); font-size: 17px; }

.catalog-card .text-link { font-size: 14px; }

.catalog-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px 0; margin: 16px 0 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.catalog-facts dt { color: var(--muted); font-size: 13px; text-transform: uppercase; }

.catalog-facts dd { margin: 4px 0 0; color: var(--navy); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

.catalog-buy-links { margin: 14px 0; }

.empty-state { margin-top: 28px; padding: 54px 24px; text-align: center; border: 1px solid var(--line); background: var(--paper); }

.empty-state > span { color: var(--copper-deep); font-size: 14px; font-weight: 700; }

.empty-state h2 { margin: 15px 0 7px; font-size: 40px; }

.empty-state p { margin: 0 auto 22px; color: var(--muted); }

.pagination-wrap { margin-top: 48px; }

.pagination-wrap nav { display: flex; justify-content: center; }

.pagination-wrap nav > div:first-child { display: none; }

.pagination-wrap nav > div:last-child { display: flex; gap: 6px; }

.pagination-wrap a, .pagination-wrap span[aria-current] span { display: inline-grid; min-width: 40px; min-height: 40px; place-items: center; padding: 5px 10px; border: 1px solid var(--line); text-decoration: none; }

.pagination-wrap span[aria-current] span { background: var(--navy); color: white; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 25px; color: var(--muted); font-size: 15px; }

.breadcrumbs a { color: var(--copper-deep); }

.book-detail { padding-top: 38px; }

.book-detail-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(42px, 9vw, 120px); align-items: start; }

.book-detail-cover { width: 100%; max-width: 340px; aspect-ratio: 2 / 3; box-shadow: 12px 18px 32px rgba(20,34,63,.18); }

.book-detail-copy h1 { font-size: 64px; }

.detail-subtitle { color: var(--muted); font: 500 23px/1.3 var(--serif); }

.detail-author { color: var(--copper-deep); font-weight: 600; }

.book-description { max-width: 70ch; margin: 28px 0; white-space: pre-line; }

.author-bio-band { background: var(--paper); }

.author-bio-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 25px; }

.author-bio { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: start; }

.author-bio img { width: 70px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position:top center; }

.author-bio h2 { margin: 0 0 6px; font-size: 27px; }

.author-bio p { margin: 0; color: var(--muted); }

.book-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 22px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.book-facts dt { color: var(--muted); font-size: 14px; text-transform: uppercase; }

.book-facts dd { margin: 4px 0 0; color: var(--navy); font-weight: 600; }

.purchase-block { margin-top: 28px; }

.purchase-block h2 { font-size: 28px; }

.purchase-note { margin-top: 26px; color: var(--muted); }

.related-band { background: #e8eee8; }

.related-band h2 { margin-bottom: 8px; }



.shop-section { padding-top: 54px; }

.shop-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }

.shop-heading h2, .shop-title-heading h2 { margin-bottom: 8px; font-size: 42px; }

.shop-heading > p { margin: 0 0 8px; color: var(--muted); }

.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; border-top: 2px solid var(--navy); }

.store-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }

.store-card h3 { margin: 0; font-size: 25px; }

.store-card p { flex: 1; margin: 0; color: var(--muted); font-size: 15px; }

.store-soon, .shop-soon { color: var(--muted); font-size: 14px; }

.shop-title-heading { margin-top: 70px; }

.shop-title-heading > p:last-child { margin: 0; color: var(--muted); }

.shop-title-list { margin-top: 24px; border-top: 1px solid var(--line); }

.shop-title-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }

.shop-title-cover { display: block; width: 56px; aspect-ratio: 2 / 3; }

.shop-title-cover .cover-imprint, .shop-title-cover .cover-orbit, .shop-title-cover .cover-title, .shop-title-cover .cover-author { display: none; }

.shop-title-copy { min-width: 0; }

.shop-title-copy h3 { margin: 0 0 4px; font-size: 22px; }

.shop-title-copy h3 a { color: var(--navy); text-decoration: none; }

.shop-title-copy h3 a:hover { color: var(--copper-deep); }

.shop-title-copy p { margin: 0; color: var(--muted); font-size: 15px; }

.shop-title-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.shop-empty { padding: 28px 0; color: var(--muted); }



.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; padding: 0; margin: 24px 0; list-style: none; }

.check-list li { position: relative; padding-left: 20px; }

.check-list li::before { position: absolute; left: 0; content: ""; top: .72em; width: 7px; height: 7px; background: var(--copper); }

.author-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr); gap: 56px; align-items: start; }

.author-main, .aside, .template-copy { min-width: 0; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 26px; padding: 0; margin: 24px 0; list-style: none; }

.checklist li { position: relative; padding-left: 20px; }

.checklist li::before { position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--copper); content: ""; }

.template { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 26px; align-items: start; padding: 28px; margin-top: 30px; border: 1px solid var(--line); background: var(--paper); }

.doc-icon { position: relative; display: flex; width: 96px; aspect-ratio: 3 / 4; flex-direction: column; gap: 6px; padding: 18px 12px; border: 1px solid #cfc5b1; background: #fff; box-shadow: 4px 6px 0 var(--line); }

.doc-icon::after { position: absolute; bottom: 12px; left: -8px; padding: 3px 7px; background: #2b579a; color: #fff; content: "DOCX"; font-size: 12px; font-weight: 700; }

.doc-icon i { display: block; height: 3px; background: #d8d0bf; }

.doc-icon i:first-child { width: 70%; height: 5px; margin-bottom: 4px; background: var(--navy); }

.doc-icon i:nth-child(4) { width: 60%; }

.template h3 { margin-bottom: 8px; }

.template-copy > p { margin-bottom: 0; color: var(--muted); }

.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 24px; padding: 0; margin: 18px 0 22px; color: var(--muted); font-size: 15px; list-style: none; }

.spec b { color: var(--ink); font-weight: 700; }

.author-process-heading { margin-top: 48px; }

.week { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 28px; margin-top: 28px; background: var(--navy); color: #e9e4d8; }

.week .num { color: #f0c08f; font: 500 64px/1 var(--serif); white-space: nowrap; }

.week h3 { margin-bottom: 6px; color: #fff; font-size: 24px; }

.week p { margin: 0; color: #c9c3b6; font-size: 16px; }

.timeline { position: relative; padding: 0; margin: 34px 0 0 16px; border-left: 2px solid var(--line); list-style: none; counter-reset: author-step; }

.timeline li { position: relative; padding: 0 0 28px 34px; counter-increment: author-step; }

.timeline li::before { position: absolute; top: 0; left: -17px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; content: counter(author-step, decimal-leading-zero); font-size: 13px; font-weight: 700; }

.timeline li.wk::before { background: var(--copper-deep); }

.timeline h3 { margin-bottom: 6px; font-size: 24px; }

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

.timeline .day { display: inline-block; padding: 2px 8px; margin-left: 8px; border-radius: 3px; background: #f3ecdd; color: var(--copper-deep); font: 700 13px/1.5 var(--sans); vertical-align: middle; }

.aside { position: sticky; top: 110px; padding: 28px; border: 1px solid var(--line); background: var(--paper); }

.aside h3 { margin-bottom: 14px; font-size: 28px; }

.aside ul { padding-left: 20px; margin: 0 0 24px; color: var(--muted); }

.aside li { margin-bottom: 8px; }

.aside .button { display: flex; width: 100%; margin-bottom: 12px; }

.aside .author-contact-note { margin: 18px 0 0; font-size: 16px; }

.aside .author-placeholder { margin: 18px 0 0; }

.aside .author-ethics-note { margin: 16px 0 0; color: var(--muted); font-size: 15px; }

.timeline-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 42px; padding: 0; margin: 42px 0 0; list-style: none; counter-reset: timeline; }

.timeline-grid li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid #66748b; }

.timeline-grid li > span { color: #e9b77f; font: 500 27px var(--serif); }

.timeline-grid h3 { margin: 0 0 5px; font-size: 23px; }

.timeline-grid p { margin: 0; color: #c9c3b6; font-size: 14px; }

.faq-list details { border-top: 1px solid var(--line); }

.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary { position: relative; padding: 20px 36px 20px 0; color: var(--navy); font: 500 22px var(--serif); cursor: pointer; list-style: none; }

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after { position: absolute; right: 4px; content: "+"; color: var(--copper-deep); font: 24px var(--sans); }

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p { padding: 0 36px 18px 0; margin: 0; color: var(--muted); }



.ethics-layout { display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start; }

.ethics-toc { position: sticky; top: 112px; display: grid; }

.ethics-toc a { padding: 10px 12px; border-left: 2px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }

.ethics-toc a:hover { border-color: var(--copper); color: var(--copper-deep); }

.ethics-content article { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }

.ethics-content article:last-child { border: 0; }

.ethics-content article h2 { margin-bottom: 12px; font-size: 40px; }

.ethics-content article p:not(.eyebrow), .ethics-content li { color: var(--muted); }

.ethics-content ul { padding-left: 20px; }



.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }

.contact-details > div { padding: 20px 0; border-bottom: 1px solid var(--line); }

.contact-details h2 { margin: 0 0 6px; font: 500 21px var(--serif); }

.contact-details address { color: var(--muted); font-style: normal; }

.contact-details a { font-weight: 600; }

.map-link { display: inline-flex; gap: 10px; margin-top: 22px; text-decoration: none; }

.enquiry-form { padding: clamp(24px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); }

.enquiry-form > h2 { margin-bottom: 28px; font-size: 42px; }

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

.form-field { margin-bottom: 16px; }

.form-field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 15px; font-weight: 700; }

.form-field label span { color: var(--muted); font-weight: 400; }

.form-field input, .form-field textarea { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cfc5b1; border-radius: 1px; background: white; color: var(--ink); }

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

.form-field input:focus, .form-field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(176,106,44,.22); }

.form-field [aria-invalid="true"] { border-color: #a3261a; }

.field-error { min-height: 0; margin: 3px 0 0; color: #a3261a; font-size: 14px; }

.field-error:empty { display: none; }

.form-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }

.form-status { margin: 0; color: var(--teal); font-size: 15px; }

.form-status[data-state="error"] { color: #a3261a; }

.form-submit button:disabled { opacity: .65; cursor: wait; }

.map-frame { height: 360px; margin-top: 54px; background: #dfe7e3; }

.map-frame iframe { width: 100%; height: 100%; border: 0; }



.site-footer { padding: 66px 0 24px; background: var(--navy); color: #d7d5cf; }

.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 56px; }

.brand-light { color: white; }

.brand-light .brand-mark { background: var(--ivory); color: var(--navy); }

.brand-light .brand-name small { color: #c9c3b6; }

.footer-brand p { max-width: 300px; margin-top: 22px; color: #c9c3b6; font-size: 14px; }

.brand-light .logo-img { width: 150px; height: auto; padding: 10px; background: var(--ivory); border-radius: 2px; }

.footer-grid h2 { margin: 5px 0 17px; color: #fff; font: 600 15px var(--sans); text-transform: uppercase; }

.footer-grid > div:not(:first-child) > a { display: block; width: fit-content; margin: 8px 0; color: #e9e4d8; text-decoration: none; font-size: 16px; }

.footer-grid > div:not(:first-child) > a:hover { color: #f0c08f; text-decoration: underline; }

.footer-grid p, .footer-grid address { color: #c9c3b6; font-size: 15px; font-style: normal; }

.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: #c9c3b6; font-size: 14px; }

.developer-credit a {

    color: inherit;

    text-decoration: none;

    font-weight: 500;

    transition: color 0.2s ease;

}



.developer-credit a:hover {

    color: #FAF6EE; /* Or your primary theme accent color */

    text-decoration: underline;

}



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

@keyframes book-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1080px) {

    .primary-nav { gap: 0; }

    .primary-nav > a:not(.button) { padding-inline: 8px; font-size: 14px; }

    .primary-nav .nav-cta { padding-inline: 12px; font-size: 14px; }

    .area-grid { grid-template-columns: repeat(3, 1fr); }

}

@media (max-width: 850px) {

    .header-inner { min-height: 74px; }

    .brand .logo-img { width: 68px; height: 64px; }

    .menu-button { display: block; }

    .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: var(--ivory); }

    .primary-nav.is-open { display: flex; flex-direction: column; }

    .primary-nav > a:not(.button) { padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 16px; }

    .primary-nav .nav-cta { display: inline-flex; justify-content: center; margin: 14px 0 0; border-bottom: 0; font-size: 16px; }

    .hero-layout { grid-template-columns: 1fr; gap: 8px; }

    .hero-copy { max-width: 680px; }

    .hero-copy { padding-bottom: 20px; }

    .hero-shelf { height: 340px; }

    .shelf-book-1 { width: 130px; height: 240px; }

    .shelf-book-2 { width: 150px; height: 290px; }

    .shelf-book-3 { width: 140px; height: 265px; }

    .shelf-book-4 { width: 125px; height: 215px; }

    .intro-layout, .section-heading, .about-grid, .contact-ribbon { grid-template-columns: 1fr; gap: 25px; }

    .section-heading { align-items: start; }

    .featured-grid { grid-template-columns: repeat(2, 1fr); row-gap: 42px; }

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

    .closing-layout { grid-template-columns: 1fr auto; }

    .home-cta-card { grid-template-columns: 1fr; gap: 24px; }

    .home-cta-actions { justify-content: flex-start; }

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

    .book-detail-grid { grid-template-columns: minmax(180px, 30%) 1fr; gap: 36px; }

    .shop-heading { grid-template-columns: 1fr; gap: 12px; }

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

    .shop-title-row { grid-template-columns: 56px minmax(0, 1fr); }

    .shop-title-links { grid-column: 2; justify-content: flex-start; }

    .ethics-layout { grid-template-columns: 1fr; gap: 30px; }

    .ethics-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }

    .ethics-toc a { border: 1px solid var(--line); padding: 7px 11px; }

    .author-layout { grid-template-columns: 1fr; gap: 40px; }

    .aside { position: static; }

    .week { grid-template-columns: auto minmax(0, 1fr); }

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

    h1, .page-intro h1 { font-size: 60px; }

    h2, .intro-layout h2, .about-grid h2 { font-size: 46px; }

    .closing-layout h2 { font-size: 46px; }

    .book-detail-copy h1 { font-size: 50px; }

    .contact-grid { grid-template-columns: 1fr; gap: 44px; }

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

}

@media (max-width: 560px) {

    .wrap { width: min(calc(100% - 36px), var(--max)); }

    .brand .logo-img { width: 58px; height: 54px; }

    .brand-light .logo-img { width: 132px; height: auto; }

    h1, .page-intro h1 { font-size: 46px; }

    h2, .intro-layout h2, .about-grid h2 { font-size: 38px; }

    h3 { font-size: 23px; }

    .closing-layout h2 { font-size: 38px; }

    .book-detail-copy h1 { font-size: 42px; }

    .hero-band { padding-top: 52px; }

    .hero-copy h1 { font-size: 46px; }

    .hero-lede { font-size: 17px; }

    .hero-shelf { height: 230px; gap: 6px; }

    .shelf-book-1 { width: 60px; height: 140px; }

    .shelf-book-2 { width: 72px; height: 178px; }

    .shelf-book-3 { width: 65px; height: 160px; }

    .shelf-book-4 { width: 57px; height: 128px; }

    .shelf-book .cover-title { font-size: 12px; }

    .shelf-book .cover-imprint, .shelf-book .cover-author { font-size: 8px; }

    .intro-strip, .section-pad { padding-block: 62px; }

    .intro-statement { font-size: 23px; }

    .home-cta { padding-bottom: 62px; }

    .home-cta-card { padding: 24px; }

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

    .area-item { min-height: 165px; padding: 18px 13px; }

    .area-item h3 { font-size: 20px; }

    .area-item p { font-size: 14px; }

    .featured-grid { gap: 30px 18px; }

    .featured-card .cover-link { width: 100%; }

    .featured-card h3 { font-size: 21px; }

    .process-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 35px; }

    .process-grid li { min-height: 0; }

    .process-grid li > span { margin-bottom: 14px; }

    .closing-layout { grid-template-columns: 1fr; gap: 24px; }

    .closing-layout .button { justify-self: start; }

    .page-intro { padding: 58px 0; }

    .page-intro h1 { font-size: 46px; }

    .page-lede { font-size: 17px; }

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

    .template { grid-template-columns: 1fr; padding: 22px; }

    .week { grid-template-columns: 1fr; gap: 10px; padding: 22px; }

    .week .num { font-size: 52px; }

    .week h3 { font-size: 22px; }

    .timeline li { padding-right: 0; padding-bottom: 24px; }

    .contact-ribbon { padding: 26px; }

    .catalog-tools { align-items: stretch; }

    .search-field, .filter-field, .filter-field select, .catalog-tools > .button { width: 100%; }

    .catalog-card { grid-template-columns: 94px 1fr; gap: 16px; }

    .catalog-facts { grid-template-columns: 1fr 1fr; }

    .catalog-card h2 { font-size: 24px; }

    .catalog-card p { font-size: 15px; }

    .catalog-filters { gap: 6px; }

    .filter-chip { min-height: 40px; padding: 7px 10px; font-size: 14px; }

    .shop-heading h2, .shop-title-heading h2 { font-size: 36px; }

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

    .store-card { padding-right: 0; }

    .shop-title-row { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }

    .shop-title-cover { width: 44px; }

    .shop-title-copy h3 { font-size: 20px; }

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

    .book-detail-cover { width: min(68%, 260px); margin-inline: auto; }

    .author-bio-list { grid-template-columns: 1fr; }

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

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

    .check-list { grid-template-columns: 1fr; }

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

    .faq-list summary { font-size: 20px; }

    .form-grid { grid-template-columns: 1fr; gap: 0; }

    .enquiry-form { padding: 22px 18px; }

    .map-frame { height: 280px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .footer-bottom { flex-direction: column; gap: 5px; }

}

@media (prefers-reduced-motion: reduce) {

    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

}





.area-section {

    padding: 4rem 0;

}



.area-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

    gap: 1.5rem;

    margin-top: 2rem;

}



.area-item {

    display: flex;

    flex-direction: column;

    padding: 1.75rem 1.5rem;

    background-color: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    text-decoration: none;

    color: inherit;

    position: relative;

    overflow: hidden;

    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

}



/* Accent top bar using dynamic category color */

.area-item::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background-color: var(--marker, #3b82f6);

    transition: height 0.2s ease;

}



/* Smooth hover interaction */

.area-item:hover {

    transform: translateY(-4px);

    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);

    border-color: #d1d5db;

}



.area-item:hover::before {

    height: 6px;

}



.area-item h3 {

    margin: 0 0 0.6rem 0;

    font-size: 1.15rem;

    font-weight: 700;

    color: #111827;

    line-height: 1.35;

}



.area-item p {

    margin: 0;

    font-size: 0.925rem;

    color: #4b5563;

    line-height: 1.5;

    flex-grow: 1;

}



/* Arrow link indicator at bottom */

.area-item .area-link {

    margin-top: 1.25rem;

    display: inline-flex;

    align-items: center;

    font-size: 0.875rem;

    font-weight: 600;

    color: var(--marker, #2563eb);

    gap: 0.35rem;

}



.area-item .area-link svg {

    width: 16px;

    height: 16px;

    transition: transform 0.2s ease;

}



.area-item:hover .area-link svg {

    transform: translateX(4px);

}
 
 
 /* ==========================================
   Team & Editorial Section Styling
   ========================================== */
.team-section {
    background-color: #fafbfc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.team-header {
    margin-bottom: 3rem;
    max-width: 720px;
}

.team-header h2 {
    font-size: 2.25rem;
    color: #0b192c;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.team-header .page-lede {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Grid Layout */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Individual Team Member Cards */
.team-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    align-items: start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Fixed Image Sizing & Framing */
.team-avatar-wrap {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.team-avatar {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #f1f5f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    display: block;
}

/* Content & Meta Info */
.team-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-meta h3 {
    font-size: 1.35rem;
    color: #0b192c;
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.team-role {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #b45309; /* Warm editorial amber/gold */
    letter-spacing: 0.02em;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #374151;
    margin: 0;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .team-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
        text-align: center;
    }

    .team-avatar-wrap {
        margin: 0 auto;
    }

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




.page-intro.compact-intro {
    /* Replace with your high-res dark library/book texture image */
    /*background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.85)), 
                url('/assets/bg1.jpeg') center/cover no-repeat;*/
    background: url('/assets/bg3.jpeg') center/cover no-repeat;
    color: #ffffff;
    padding: 3.5rem 0;
}

/* Eyebrow Label ("BUY BOOKS") */
.page-intro.compact-intro .eyebrow {
    color: #b45309; /* Deep Warm Amber/Gold */
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Main Heading ("Where to buy our books") */
.page-intro.compact-intro h1 {
    color: #0b192c; /* Deep Royal Navy (matches your logo & headers) */
    font-weight: 700;
}

/* Subtext / Description Paragraph */
.page-intro.compact-intro .page-lede {
    color: #334155; /* Dark Slate Charcoal for maximum readability */
    font-weight: 500;
}



.team-section {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.team-header {
    margin-bottom: 2.5rem;
}

.team-header h2 {
    font-size: 2.25rem;
    color: #0b192c;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Main Card: Flex layout with exact percentage distribution */
.team-card {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    gap: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    align-items: flex-start;
}

/* 25% Width for Photo Column */
.team-photo-col {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Rectangular Image Box */
.team-photo-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4; /* Elegant rectangular aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.team-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Focus on head/face */
    display: block;
}

/* 75% Width for Content Column */
.team-content-col {
    flex: 0 0 75%;
    max-width: 75%;
}

.team-content-col h3 {
    font-size: 1.5rem;
    color: #0b192c;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    margin: 0;
    text-align: justify;
} 

/* Mobile Responsiveness (Stacks vertically on small screens) */
@media (max-width: 768px) {
    .team-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .team-photo-col,
    .team-content-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .team-photo-wrapper {
        max-width: 220px;
        margin: 0 auto;
    }
}


/* Actions Layout Wrapper */
.team-actions {
    display: flex !important;
    gap: 0.6rem;
    margin-top: 0.85rem;
    width: 100%;
}

/* Modern Pill Button Base */
.contact-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.825rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border-radius: 50px !important; /* Fully rounded pill shape */
    text-decoration: none !important;
    border: 1px solid transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    flex: 1; /* Fits nicely side by side */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.contact-pill:hover {
    text-decoration: none !important;
    transform: translateY(-2px);
}

.pill-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* 1. WhatsApp Button (Modern Vibrant Gradient) */
.wa-pill {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.22);
}

.wa-pill:hover {
    background: linear-gradient(135deg, #20bd5a 0%, #0e7065 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(37, 211, 102, 0.35);
}

/* 2. Email Button (Sleek Dark Glass/Navy Accent) */
.email-pill {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.15);
}

.email-pill:hover {
    background: #1e293b !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.28);
}

/* Responsive Fix for Smaller Screens */
@media (max-width: 480px) {
    .team-actions {
        flex-direction: column;
    }
}


/* Conference feature */

.conference-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    padding: 42px;
    border: 1px solid #e8e2d9;
    border-radius: 18px;
    background: #fff;
}

.conference-feature-content h2 {
    margin: 12px 0 18px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
}

.conference-subtitle {
    line-height: 1.8;
    margin-bottom: 28px;
}

.conference-feature-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.conference-meta {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

.conference-meta-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    line-height: 1.6;
}

.conference-meta-item strong {
    font-weight: 600;
}

.conference-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}


/* Conference sections */

.conference-section {
    margin-bottom: 76px;
}

.conference-section > h2,
.conference-contact h2,
.conference-section-heading h2 {
    margin: 10px 0 28px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.3;
}

.conference-rich-content {
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.conference-rich-content h2,
.conference-rich-content h3,
.conference-rich-content h4 {
    margin: 28px 0 14px;
}

.conference-rich-content p {
    margin-bottom: 18px;
}

.conference-rich-content ul,
.conference-rich-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.conference-rich-content ul {
    list-style: disc;
}

.conference-rich-content ol {
    list-style: decimal;
}

.conference-rich-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* Important dates */

.conference-date-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.conference-date-card {
    padding: 26px;
    border: 1px solid #e8e2d9;
    border-radius: 12px;
}

.conference-date-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.conference-date-card p {
    margin: 0;
    line-height: 1.7;
}


/* Research topics */

.conference-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.conference-topic-card {
    padding: 26px;
    border: 1px solid #e8e2d9;
    border-radius: 12px;
    background: #fff;
}

.conference-topic-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.5;
}

.conference-topic-card p {
    margin: 0;
    line-height: 1.8;
}


/* Committees */

.conference-committee-group {
    margin-top: 32px;
}

.conference-committee-group > h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.conference-committee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.conference-person-card {
    padding: 24px;
    border: 1px solid #e8e2d9;
    border-radius: 12px;
}

.conference-person-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.conference-person-card p {
    line-height: 1.7;
}

.conference-person-designation {
    font-weight: 500;
}


/* Registration */

.conference-registration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.conference-registration-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid #e8e2d9;
    border-radius: 12px;
}

.conference-registration-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.conference-registration-fee {
    margin-bottom: 18px;
    font-size: 25px;
    font-weight: 600;
}

.conference-registration-card .btn {
    margin-top: auto;
}


/* Downloads */

.conference-download-list {
    display: grid;
    gap: 12px;
}

.conference-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border: 1px solid #e8e2d9;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.conference-download-item:hover {
    border-color: #a68a64;
}


/* Contact */

.conference-contact {
    padding: 42px;
    border-radius: 16px;
    background: #f8f5f0;
}

.conference-contact > p {
    line-height: 1.8;
}

.conference-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}

.conference-contact-details a {
    overflow-wrap: anywhere;
}


/* Empty state */

.conference-empty-state {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.conference-empty-state h2 {
    margin: 14px 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.3;
}

.conference-empty-state p:last-child {
    line-height: 1.9;
}


/* Responsive */

@media (max-width: 900px) {
    .conference-feature {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }

    .conference-date-grid,
    .conference-topic-grid,
    .conference-committee-grid,
    .conference-registration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .conference-section {
        margin-bottom: 56px;
    }
}

@media (max-width: 600px) {
    .conference-feature {
        padding: 20px;
    }

    .conference-date-grid,
    .conference-topic-grid,
    .conference-committee-grid,
    .conference-registration-grid {
        grid-template-columns: 1fr;
    }

    .conference-meta-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .conference-contact {
        padding: 24px;
    }

    .conference-contact-details {
        flex-direction: column;
        gap: 12px;
    }

    .conference-download-item {
        padding: 16px;
    }
}