/* Daher Law Group — design tokens carried over from the predecessor firm site
   (Postali child theme): Oswald headings, Open Sans body, PT Serif accents;
   near-black / off-white / tan / gold / brick-red palette. */

:root {
  --blk: #1F2430;
  --white: #ffffff;
  --offwhite: #FAF7F0;
  --tan: #EFE8DA;
  --lt-tan: #DDD3C0;
  --gold: #B4A068;
  --red: #9E1B1E;
  --grey: #868686;
  --grey-text: #656565; /* small text on light grounds (WCAG AA) */
  --dk-grey: #0B0F2E;
  --oswald: 'Oswald', sans-serif;
  --open-sans: 'Open Sans', sans-serif;
  --pt-serif: 'PT Serif', serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blk); color: var(--white); padding: 10px 18px; z-index: 10000; text-decoration: none; font-family: var(--oswald); }
.skip-link:focus { left: 0; }

body {
  font-family: var(--open-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--blk);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--blk);
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

a { color: var(--red); }

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

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

.button {
  display: inline-block;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #060839;
  color: var(--white);
  text-decoration: none;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.button:hover { background: #0A0D4A; }

.red { color: var(--red); font-weight: 600; margin-right: 6px; }

/* Split-color headings — predecessor-site pattern of one phrase in brick red */
.red-accent { color: var(--red); }

/* Longform body copy reads in PT Serif, as on the old site */
.bio-body p, .result-card p, .publication-card p, .accolade-card p,
.section-intro .description, .contact-columns p { font-family: var(--pt-serif); }

/* ---------- Header ---------- */

/* White header so the full-color brand lockup (navy #060839 / red #C80E0F)
   reads exactly as in the original logo art. */
.site-header {
  background: #FBF9F4;
  border-bottom: 3px double var(--gold);
  position: sticky;
  top: 0;
  z-index: 9999;
}

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

.logo a { display: block; text-decoration: none; }

.logo .logo-lockup { height: 78px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.main-nav a:not(.button) {
  font-family: var(--oswald);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--blk);
  text-decoration: none;
}

.main-nav a:not(.button):hover { color: var(--red); }

.menu-toggle { display: none; background: none; border: none; }

.menu-toggle .line {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blk);
  margin: 5px 0;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--offwhite);
  padding: 70px 0 60px;
  text-align: center;
}

.hero h1 { max-width: 900px; margin: 0 auto 10px; }

.hero .subtitle {
  display: block;
  font-family: var(--pt-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--dk-grey);
  max-width: 760px;
  margin: 18px auto 0;
}

/* Homepage hero: navy/tan duotone team photo (Option C) under a sidelit
   gradient — near-solid navy behind the left-aligned text column, opening
   to the team on the right. The accent phrase stays white and carries the
   brand red as a highlight bar, which survives the dark ground better
   than red type does. */
.hero.photo {
  background:
    linear-gradient(97deg,
      rgba(6, 8, 57, 0.97) 0%, rgba(6, 8, 57, 0.90) 38%,
      rgba(11, 15, 46, 0.52) 68%, rgba(11, 15, 46, 0.28) 100%),
    #060839 url('../images/hero-team-duotone.webp') center right/cover no-repeat;
  text-align: left;
  padding: 100px 0 90px;
}
.hero.photo h1 { color: var(--white); font-size: 3rem; max-width: 640px; margin: 0 0 6px; }
.hero.photo .red-accent { color: var(--white); box-shadow: inset 0 -0.26em 0 0 var(--red); }
.hero.photo .subtitle { color: var(--tan); max-width: 540px; margin: 20px 0 0; }
.hero.photo .consultation { color: var(--gold); margin: 36px 0 14px; }
.hero.photo .cta-buttons { justify-content: flex-start; }
.hero.photo .button { background: var(--red); padding: 14px 32px; }
.hero.photo .button:hover { background: #7E1517; }
.hero.photo .button + .button { background: transparent; border: 2px solid var(--gold); padding: 12px 30px; }
.hero.photo .button + .button:hover { background: rgba(180, 160, 104, 0.22); }

@media (max-width: 700px) {
  /* Small screens: the text spans the full width, so trade the sidelight
     for a uniform scrim and tighten the type. */
  .hero.photo {
    background:
      linear-gradient(rgba(6, 8, 57, 0.90), rgba(11, 15, 46, 0.82)),
      #060839 url('../images/hero-team-duotone.webp') center/cover no-repeat;
    padding: 64px 0 56px;
  }
  .hero.photo h1 { font-size: 2.1rem; }
}

.hero .consultation {
  display: block;
  font-family: var(--oswald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-text);
  margin: 34px 0 12px;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section.panel { padding: 60px 0; }

section.panel.tan { background: var(--tan); }
section.panel.offwhite { background: var(--offwhite); }
section.panel.dark { background: var(--blk); color: var(--offwhite); }
section.panel.dark h2 { color: var(--white); }

.section-intro { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.section-intro .description { margin-top: 14px; color: var(--dk-grey); }

.grey-spacer { height: 1px; background: var(--lt-tan); margin: 30px auto; max-width: 640px; }

/* Value-prop / accolade cards */
.accolades { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }

.accolade-card {
  flex: 1 1 260px;
  max-width: 340px;
  text-align: center;
  padding: 26px 20px;
  background: var(--white);
  border-top: 4px solid var(--gold);
}

.accolade-card h3 { margin-bottom: 10px; }
.accolade-card p { color: var(--dk-grey); font-size: 0.95rem; }

/* Practice list */
.practice-list { list-style: none; max-width: 700px; margin: 0 auto; }

.practice-list li {
  font-family: var(--oswald);
  text-transform: uppercase;
  font-size: 1.15rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--lt-tan);
  text-align: center;
}

/* Testimonial */
.testimonial-band { text-align: center; max-width: 720px; margin: 0 auto; }
.testimonial-band .quote { font-family: var(--pt-serif); font-style: italic; font-size: 1.2rem; }
.testimonial-band .author { display: block; margin-top: 12px; font-family: var(--oswald); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Team ---------- */

.team-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }

.team-card {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--white);
  border: 1px solid var(--lt-tan);
  text-decoration: none;
  color: var(--blk);
  display: block;
}

.team-card .photo {
  aspect-ratio: 4 / 5;
  background: var(--tan) url('../images/placeholder-portrait.svg') center/cover no-repeat;
}

.team-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-card .card-body { padding: 18px 20px 22px; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--grey-text); font-size: 0.9rem; text-transform: uppercase; font-family: var(--oswald); letter-spacing: 0.05em; }
.team-card p { margin-top: 10px; font-size: 0.93rem; color: var(--dk-grey); }
.team-card:hover { border-color: var(--gold); }
.team-card.static:hover { border-color: var(--lt-tan); }
.team-card .photo.square { aspect-ratio: 1 / 1; }

/* Matt Daher custom landing page */
.matt-hero { padding-bottom: 40px; }
.cta-buttons.left { justify-content: flex-start; margin-top: 24px; }

.books-row { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.book-card {
  flex: 1 1 240px;
  max-width: 300px;
  background: var(--white);
  border: 1px solid var(--lt-tan);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--blk);
}
.book-card:hover { border-color: var(--gold); }
.book-card img { max-height: 280px; width: auto; max-width: 100%; margin: 0 auto 16px; display: block; box-shadow: 0 4px 14px rgba(32,32,32,0.18); }
.book-card img.cutout { box-shadow: none; }
.book-card h3 { font-size: 1rem; text-transform: none; line-height: 1.35; }
.book-card .year { display: block; margin-top: 8px; color: var(--grey-text); font-family: var(--oswald); font-size: 0.85rem; letter-spacing: 0.05em; }

.more-writings { max-width: 700px; margin: 0 auto; list-style: none; }
.more-writings li { font-family: var(--pt-serif); padding: 10px 0; border-bottom: 1px solid var(--lt-tan); text-align: center; }

.bio-body.centered { max-width: 780px; margin: 0 auto; }
.video-embed.constrained { max-width: 860px; margin: 0 auto 20px; }
.video-more { text-align: center; font-family: var(--pt-serif); }

/* Bio page */
.bio-page { padding: 60px 0; }
.bio-header { display: flex; gap: 44px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 30px; }
.bio-header .photo { flex: 0 0 300px; }
.bio-header .photo img, .bio-header .photo .placeholder { width: 300px; aspect-ratio: 4/5; object-fit: cover; background: var(--tan); display: block; }
.bio-header .intro { flex: 1 1 400px; }
.bio-header .tagline { font-family: var(--pt-serif); font-style: italic; font-size: 1.2rem; color: var(--dk-grey); margin-top: 12px; }
.bio-body { max-width: 780px; }
.bio-body h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.bio-body p { margin-bottom: 16px; }
.bio-body ul { margin: 0 0 16px 22px; }

/* ---------- Past Success (card grid + detail pages) ---------- */

.success-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

.success-card {
  background: var(--white);
  border: 1px solid var(--lt-tan);
  text-decoration: none;
  color: var(--blk);
  display: flex;
  flex-direction: column;
}

.success-card:hover { border-color: var(--gold); }
.success-card .card-image { position: relative; aspect-ratio: 16 / 10; background: var(--tan); overflow: hidden; }
.success-card .card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Portrait book covers (front matter `fit: contain`) show whole on the tan field
   instead of being cropped to the 16:10 slot. */
.success-card .card-image.contain img { object-fit: contain; padding: 12px 0; }
.success-card .card-image .pub-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--red); }
.success-card .card-image .pub-icon svg { width: 54px; height: 54px; }
.success-card .video-badge {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--red); color: var(--white);
  font-family: var(--oswald); font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px;
}
.success-card .card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.success-card h3 { font-size: 1.15rem; }
.success-card p { font-family: var(--pt-serif); font-size: 0.93rem; color: var(--dk-grey); flex: 1; }
.success-card .read-more { font-family: var(--oswald); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--red); }

.post-type {
  font-family: var(--oswald); text-transform: uppercase; font-size: 0.8rem;
  letter-spacing: 0.08em; color: var(--gold);
}

.success-page { padding: 60px 0; }
.success-page .container { max-width: 860px; }
.success-page .breadcrumb { margin-bottom: 20px; }
.success-page .breadcrumb a { font-family: var(--oswald); text-transform: uppercase; font-size: 0.85rem; text-decoration: none; letter-spacing: 0.05em; }
.success-page h1 { margin: 6px 0 4px; }
.post-date { color: var(--grey-text); font-family: var(--oswald); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 24px; }
.article-subtitle { font-family: var(--pt-serif); font-style: italic; font-size: 1.15rem; margin: 6px 0 8px; }
.post-hero-image { width: 100%; margin-bottom: 30px; display: block; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: 30px; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--blk); }
.post-body { font-family: var(--pt-serif); }
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol { margin: 0 0 16px 26px; }
.post-body li { margin-bottom: 10px; }
.post-body h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.post-body blockquote { border-left: 4px solid var(--gold); padding-left: 18px; font-style: italic; margin: 20px 0; }
.post-body .page-disclaimer, .success-page .page-disclaimer { margin-top: 36px; }

.page-disclaimer {
  max-width: 820px;
  margin: 0 auto 36px;
  font-size: 0.9rem;
  color: var(--dk-grey);
  font-style: italic;
  border: 1px solid var(--lt-tan);
  padding: 14px 18px;
  background: var(--offwhite);
}

/* ---------- Publications ---------- */

.publications-list { max-width: 860px; margin: 0 auto; }

.publication-card { display: flex; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--lt-tan); }
.publication-card .pub-cover { flex: 0 0 180px; }
.publication-card .pub-cover a { display: block; }
.publication-card .pub-cover img,
.publication-card .pub-cover .pub-icon { width: 180px; aspect-ratio: 3 / 4; display: block; border: 1px solid var(--lt-tan); background: var(--offwhite); }
.publication-card .pub-cover img { object-fit: cover; }
.publication-card .pub-cover img.contain { object-fit: contain; padding: 12px; }
.publication-card .pub-cover .pub-icon { display: flex; align-items: center; justify-content: center; color: var(--red); }
.publication-card .pub-cover .pub-icon svg { width: 60px; height: 60px; }
.publication-card .pub-type { display: inline-flex; align-items: center; gap: 7px; font-family: var(--oswald); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--red); }
.publication-card .pub-type svg { width: 15px; height: 15px; }
.publication-card .pub-link { font-family: var(--oswald); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; text-decoration: none; display: inline-block; margin-top: 10px; }
.publication-card h3 { text-transform: none; font-size: 1.25rem; margin-top: 2px; }
.publication-card .authors { color: var(--grey-text); font-size: 0.9rem; margin-top: 4px; }
.publication-card p { margin-top: 10px; font-size: 0.95rem; color: var(--dk-grey); }

@media (max-width: 600px) {
  .publication-card { gap: 18px; padding: 24px 0; }
  .publication-card .pub-cover { flex-basis: 110px; }
  .publication-card .pub-cover img,
  .publication-card .pub-cover .pub-icon { width: 110px; }
  .publication-card .pub-cover .pub-icon svg { width: 40px; height: 40px; }
}

/* ---------- Contact ---------- */

.contact-page { padding: 60px 0; }
.contact-columns { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-columns .col { flex: 1 1 380px; }

.aside {
  display: block;
  font-family: var(--oswald);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}

.form-holder { background: var(--offwhite); padding: 30px; }
.form-holder .contact-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-holder .contact-info a { color: var(--blk); text-decoration: none; font-weight: 600; }
.form-intro { display: block; font-family: var(--pt-serif); font-style: italic; margin-bottom: 18px; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-family: var(--oswald); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 5px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--lt-tan);
  font-family: var(--open-sans);
  font-size: 1rem;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold); }
.form-field .error { color: var(--red); font-size: 0.85rem; }

/* Honeypot — visually removed; bots still fill it in */
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.flash-messages { margin-top: 26px; }
.flash { background: var(--tan); border-left: 4px solid var(--gold); padding: 14px 18px; margin-bottom: 12px; }

/* ---------- Pre-footer contact bar (black, sitewide) + footer ---------- */

.contact-bar.black { background: var(--dk-grey); color: var(--offwhite); padding: 56px 0; text-align: center; }
.contact-bar.black h2 { color: var(--white); }
.contact-bar .bar-intro { font-family: var(--pt-serif); max-width: 640px; margin: 14px auto 22px; }
.contact-bar .contact-info { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.contact-bar .contact-info a { color: var(--offwhite); text-decoration: none; font-weight: 600; font-size: 1.05rem; }

.bar-form { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bar-form input, .bar-form textarea {
  padding: 12px;
  border: none;
  font-family: var(--open-sans);
  font-size: 0.95rem;
  background: var(--white);
  width: 100%;
}
.bar-form input::placeholder, .bar-form textarea::placeholder { font-family: var(--oswald); letter-spacing: 0.05em; color: var(--grey-text); }
.bar-form textarea, .bar-form .button, .bar-form input[name="name"] { grid-column: 1 / -1; }

@media (max-width: 600px) { .bar-form { grid-template-columns: 1fr; } }

.site-footer { background: #060839; color: var(--offwhite); padding: 46px 0 30px; }
.site-footer a { color: var(--offwhite); text-decoration: none; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 34px; }
.footer-top .contact-info { display: flex; flex-direction: column; gap: 10px; }
.location-card .title { display: block; font-family: var(--oswald); text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); }
.location-card .address { display: block; margin: 6px 0; }
.location-card .disclaimer { font-size: 0.85rem; color: var(--grey); }
.bottom-bar { border-top: 1px solid var(--dk-grey); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: var(--grey); }
.bottom-bar .disclaimer { max-width: 480px; text-align: right; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--lt-tan);
    flex-direction: column;
    padding: 20px 30px 30px;
  }

  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 16px; }

  .bottom-bar .disclaimer { text-align: left; }
}

/* Heritage theme extras */
.phone-button, a.button.phone, .bar-form .button { background: #9E1B1E; }
.phone-button:hover, .bar-form .button:hover { background: #7E1517; }
.hero h1, .section-intro h2 { position: relative; }
.section-intro h2::after { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin: 14px auto 0; }

/* ---------- Publications: "What do you want to know?" ----------
   Concept D "Title Page": the module reads as a classic book title page —
   centered Cinzel, gold fleuron rule, double gold frame, firm imprint. */

.ask-panel { padding-top: 56px; padding-bottom: 56px; }

.ask-book {
  max-width: 860px;
  margin: 6px auto;           /* room for the outer gold ring */
  padding: 54px 48px 44px;
  text-align: center;
  border: 1px solid var(--gold);
  outline: 4px solid #FBF7EC;
  box-shadow: 0 0 0 5px var(--gold), 0 18px 40px rgba(31, 36, 48, 0.22);
  background:
    radial-gradient(ellipse at 18% 12%, rgba(180,160,104,0.07), transparent 55%),
    radial-gradient(ellipse at 82% 90%, rgba(180,160,104,0.09), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.5), transparent 75%),
    #FBF7EC;
}

.ask-eyebrow {
  font-family: var(--oswald);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--grey);
}

.ask-book h2 { font-size: 2.1rem; margin: 18px 0 6px; }

.ask-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
  margin: 18px auto;
  color: var(--gold);
  font-size: 1.1rem;
}
.ask-rule::before, .ask-rule::after { content: ""; flex: 1; border-top: 1px solid var(--gold); }

.ask-intro {
  font-family: var(--pt-serif);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 28px;
}

#ask-form { max-width: 520px; margin: 0 auto; text-align: left; }

#ask-question {
  width: 100%;
  font-family: var(--open-sans);
  font-size: 1rem;
  resize: none;
  line-height: 1.45;
  padding: 13px 15px;
  border: 1px solid var(--lt-tan);
  background: var(--white);
  color: var(--blk);
}

#ask-question:focus { outline: 2px solid var(--gold); }

#ask-form .button { display: block; margin: 12px 0 0 auto; }

/* Honeypot: visually gone but still submittable by naive bots */
#ask-website { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.ask-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.ask-chips-label {
  font-family: var(--oswald);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--grey);
}

.ask-chip {
  font-family: var(--pt-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--blk);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--lt-tan);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.ask-chip:hover { border-color: var(--red); color: var(--red); }

.ask-disclaimer {
  font-size: 0.8rem;
  color: var(--grey);
  max-width: 560px;
  margin: 16px auto 0;
}

.ask-imprint {
  margin-top: 34px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Answer state — left-aligned reading column inside the centered page */
#ask-result { margin: 30px auto 0; max-width: 620px; text-align: left; }

#ask-status {
  font-family: var(--pt-serif);
  font-style: italic;
  color: var(--grey);
  text-align: center;
}

#ask-status::after {
  content: "";
  display: inline-block;
  width: 0.9em; height: 0.9em;
  margin-left: 8px;
  vertical-align: -0.1em;
  border: 2px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: ask-spin 0.8s linear infinite;
}

@keyframes ask-spin { to { transform: rotate(360deg); } }

#ask-answer p {
  font-family: var(--pt-serif);
  margin-bottom: 14px;
}

.ask-error { color: var(--red); }

/* Quotes as marked passages: gold highlight, source beneath */
.ask-quote { margin: 18px 0; }

.ask-quote blockquote {
  display: inline;
  font-family: var(--pt-serif);
  font-style: italic;
  font-size: 0.98rem;
  padding: 2px 4px;
  background: linear-gradient(transparent 12%, rgba(180,160,104,0.35) 12%,
    rgba(180,160,104,0.35) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ask-quote figcaption {
  font-family: var(--oswald);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin-top: 7px;
}

.ask-quote figcaption a { color: var(--red); text-decoration: none; }
.ask-quote figcaption a:hover { text-decoration: underline; }

.ask-cta {
  background: var(--blk);
  color: var(--white);
  padding: 20px 24px;
  margin-top: 24px;
}

.ask-cta a { color: var(--gold); }

.ask-again {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--oswald);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--red);
}

.ask-again:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .ask-panel { padding-top: 40px; padding-bottom: 40px; }
  .ask-book { padding: 38px 20px 32px; }
  .ask-book h2 { font-size: 1.45rem; }
  .ask-eyebrow { letter-spacing: 0.18em; font-size: 0.7rem; }
  #ask-form .button { width: 100%; margin-top: 12px; }
  .ask-imprint { margin-top: 26px; }
}
