/*
Theme Name: Paulissen Law
Description: Custom theme reproducing the original static HTML/CSS design for the Law Office of Walter L. Paulissen, LLC, exactly as designed. Not a child theme of any parent theme.
Author: Bud Paulissen (migrated by Claude)
Version: 1.2
Text Domain: paulissen-law
*/

/* ==========================================================================
   Everything below is copied verbatim from the original site's <style> block.
   No values have been changed, removed, or "improved."
   ========================================================================== */

  :root {
    --navy: #0f1c34;
    --navy-light: #16294a;
    --gold: #c9a04a;
    --gold-dark: #b3892f;
    --cream: #f4efe6;
    --text-light: #e9e6df;
    --text-muted: #9aa3b5;
    --body-text: #4a4a4a;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--body-text);
    line-height: 1.6;
    background: #fff;
  }
  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy);
  }
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
  }
  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  /* Top bar */
  .topbar {
    background: var(--navy);
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0.75rem 0;
  }
  .topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .topbar a { color: var(--text-muted); text-decoration: none; }
  .topbar-links { display: flex; gap: 1.5rem; }

  /* Hero */
  .hero {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--text-light);
    padding: 4rem 0 5rem;
    text-align: center;
  }
  .hero h1.name {
    font-size: 1.5rem;
    text-align: left;
    color: #fff;
    margin-bottom: 3rem;
  }
  .hero .eyebrow { text-align: center; }
  .hero h2 {
    color: #fff;
    font-size: 2.6rem;
    line-height: 1.25;
    margin: 0 auto 1.5rem;
    max-width: 720px;
  }
  .hero p.sub {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
  }
  .btn-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: opacity 0.15s ease;
  }
  .btn:hover { opacity: 0.85; }
  .btn-gold {
    background: var(--gold);
    color: var(--navy);
  }
  .btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--gold);
  }
  .btn-navy {
    background: var(--navy);
    color: #fff;
  }
  .divider-gold {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 2.5rem auto 0;
  }

  /* Hero variant with a portrait beside the headline (standing portrait, left of text) */
  .hero .container.with-portrait {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
  }
  .hero .container.with-portrait .hero-portrait {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid var(--gold);
  }
  .hero .container.with-portrait h1.name,
  .hero .container.with-portrait .eyebrow,
  .hero .container.with-portrait h2,
  .hero .container.with-portrait p.sub {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .hero .container.with-portrait .btn-row {
    justify-content: flex-start;
  }
  @media (max-width: 800px) {
    .hero .container.with-portrait {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .hero .container.with-portrait h1.name,
    .hero .container.with-portrait .eyebrow,
    .hero .container.with-portrait h2,
    .hero .container.with-portrait p.sub {
      text-align: center;
    }
    .hero .container.with-portrait .btn-row {
      justify-content: center;
    }
  }

  /* Stats */
  .stats {
    background: var(--cream);
    padding: 3.5rem 0;
    border-bottom: 1px solid #e3dbc9;
  }
  .stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
  }
  .stat .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: var(--navy);
    font-weight: 700;
  }
  .stat .label {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-top: 0.3rem;
  }

  /* Practice Areas */
  .practice {
    background: var(--cream);
    padding: 4.5rem 0;
    text-align: center;
  }
  .practice h2 { font-size: 2.2rem; margin-bottom: 0.75rem; }
  .practice > .container > p {
    max-width: 560px;
    margin: 0 auto 3rem;
    color: #6b6b6b;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: left;
  }
  @media (max-width: 800px) {
    .cards { grid-template-columns: 1fr; }
  }
  .card {
    background: #fff;
    border-top: 4px solid var(--gold);
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 10px rgba(15,28,52,0.06);
  }
  .card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
  .card p { font-size: 0.95rem; color: #666; }

  /* Career history */
  .career {
    background: var(--navy);
    color: var(--text-light);
    padding: 4.5rem 0;
    text-align: center;
  }
  .career h2 { color: #fff; font-size: 2.2rem; margin-bottom: 0.75rem; }
  .career > .container > p.sub {
    color: var(--text-muted);
    margin-bottom: 3rem;
  }
  .timeline {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
  }
  .timeline-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
  }
  .timeline-item:last-child { border-bottom: none; }
  .timeline-item .years {
    color: var(--gold);
    font-weight: 600;
    min-width: 130px;
    flex-shrink: 0;
  }
  .timeline-item .role { color: #fff; font-weight: 600; }
  .timeline-item .place { color: var(--text-muted); font-size: 0.9rem; }

  /* About */
  .about {
    padding: 4.5rem 0;
    background: #fff;
  }
  .about .container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
  }
  /* Reversed variant: portrait on the right of the text instead of the left */
  .about .container.portrait-right {
    grid-template-columns: 1fr 320px;
  }
  @media (max-width: 800px) {
    .about .container { grid-template-columns: 1fr; }
  }
  .portrait {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    background: var(--navy);
  }
  .portrait-placeholder {
    background: var(--navy);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .credentials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }
  @media (max-width: 800px) {
    .credentials-row { grid-template-columns: 1fr; }
  }
  .credentials-box {
    background: var(--cream);
    border-top: 4px solid var(--gold);
    padding: 1.75rem 1.5rem;
  }
  .credentials-box h4 {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    margin-bottom: 0.6rem;
  }
  .credentials-box h4:not(:first-child) {
    margin-top: 1.5rem;
  }
  .credentials-box ul {
    list-style: none;
    padding: 0;
  }
  .credentials-box li {
    font-size: 0.9rem;
    color: var(--body-text);
    padding: 0.35rem 0;
    border-bottom: 1px solid #e3dbc9;
  }
  .credentials-box li:last-child {
    border-bottom: none;
  }
  .about h2 { font-size: 2rem; margin-bottom: 1.25rem; }
  .about p { margin-bottom: 1.25rem; }

  /* CTA band */
  .cta {
    background: var(--gold);
    color: var(--navy);
    text-align: center;
    padding: 3.5rem 0;
  }
  .cta h2 { color: var(--navy); font-size: 2rem; margin-bottom: 1rem; }
  .cta p { max-width: 560px; margin: 0 auto 2rem; }

  /* Contact */
  .contact {
    background: var(--cream);
    text-align: center;
    padding: 4rem 0;
  }
  .contact h2 { font-size: 2rem; margin-bottom: 0.75rem; }
  .contact p.sub { color: #6b6b6b; margin-bottom: 1.5rem; }
  .contact a.email {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
  }
  .contact .phone {
    margin-top: 0.5rem;
  }
  .contact .phone a {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
  }

  /* Footer */
  footer {
    background: var(--navy);
    color: var(--text-muted);
    padding: 2.5rem 0;
    font-size: 0.85rem;
  }
  footer .firm-line {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }
  footer hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 1.5rem 0;
  }
  footer .disclaimer {
    font-size: 0.78rem;
    color: #7c8399;
    max-width: 900px;
  }

/* ==========================================================================
   Minor additions needed only for WordPress plumbing (do not affect the
   visual design). These make room for the admin toolbar when logged in
   and keep default WP image/gallery markup from looking broken if anyone
   adds it later via the block editor.
   ========================================================================== */
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
