/* McPherson & McPherson Demo — premium law-firm register */

:root {
  --ink:      #0B1424;
  --navy:     #002244;
  --navy-2:   #003366;
  --gold:     #DAA520;
  --brass:    #B8860B;
  --gold-tint:#F0E4C3;
  --paper:    #FBF7EF;
  --surface:  #FFFFFF;
  --muted:    #5A6472;
  --hairline: #E5DCC8;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Libre Franklin", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-story:   "Libre Caslon Text", Georgia, serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--brass);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hairline {
  width: 56px;
  height: 1px;
  background-color: var(--gold);
  border: none;
  margin: 1.5rem 0;
}

/* Layout utilities */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(11, 20, 36, 0.06);
}

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

.wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.wordmark span {
  color: var(--brass);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-desktop a:hover,
.nav-desktop a:focus {
  color: var(--brass);
}

.header-cta {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.1rem;
  background-color: var(--navy);
  color: var(--gold);
  border-radius: 2px;
}

.header-cta:hover,
.header-cta:focus {
  background-color: var(--navy-2);
  color: #fff;
}

@media (min-width: 768px) {
  .nav-desktop,
  .header-cta {
    display: flex;
  }
}

/* Mobile nav */
.mobile-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
}

.mobile-cta {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.75rem;
  background-color: var(--navy);
  color: var(--gold);
  border-radius: 2px;
}

.mobile-cta:hover,
.mobile-cta:focus {
  color: #fff;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(105deg, rgba(0, 34, 68, 0.97) 0%, rgba(0, 34, 68, 0.90) 40%, rgba(0, 34, 68, 0.55) 100%),
    url("img/hero.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(218, 165, 32, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 4rem 0;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.08;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-tint);
}

.hero-subhead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-top: 1.25rem;
}

.hero-rule {
  width: 72px;
  height: 1px;
  background-color: var(--gold);
  border: none;
  margin: 1.75rem 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1rem 1.6rem;
  background-color: var(--gold);
  color: var(--navy);
  border-radius: 2px;
  margin-top: 1.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus {
  background-color: var(--gold-tint);
  color: var(--navy);
  transform: translateY(-1px);
}

.hero-stat-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(218, 165, 32, 0.35);
}

.hero-stat {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}

.hero-stat span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.2rem;
}

@media (min-width: 768px) {
  .hero-stat-band {
    gap: 3rem;
  }
}

/* About / Meet Molly */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
  }
}

.about-portrait-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-portrait-name-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 500px) {
  .about-portrait-name-row {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.about-portrait {
  margin: 0;
  flex: 0 0 auto;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(11, 20, 36, 0.08);
  background-color: var(--surface);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-portrait-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

.about-label {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--gold-tint);
  line-height: 1;
}

.about-label span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 1rem;
}

.about-intro {
  font-family: var(--font-story);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.credentials-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credentials-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--ink);
}

.credentials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold);
}

.credentials-list strong {
  font-weight: 600;
  color: var(--navy);
}

.heritage-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--gold-tint);
  border-left: 3px solid var(--gold);
  font-family: var(--font-story);
  font-size: 1.05rem;
  color: var(--navy);
}

/* Timeline spine */
.timeline {
  margin-top: 3rem;
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-left: 1px solid var(--gold);
  padding-left: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 4rem;
}

.timeline-body {
  font-size: 0.95rem;
  color: var(--muted);
}

.timeline-body strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Practice areas */
.practice-header {
  max-width: 620px;
  margin-bottom: 3rem;
}

.practice-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.practice-index {
  list-style: none;
  padding: 0;
  margin: 0;
}

.practice-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 700px) {
  .practice-item {
    grid-template-columns: 4rem 1fr 1fr;
    gap: 2rem;
    align-items: baseline;
  }
}

.practice-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.practice-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.practice-desc {
  font-size: 0.98rem;
  color: var(--muted);
}

/* Heritage / trust band */
.heritage-band {
  position: relative;
  background-image:
    linear-gradient(rgba(11, 20, 36, 0.90), rgba(11, 20, 36, 0.90)),
    url("img/texture.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.heritage-band .container {
  position: relative;
  z-index: 2;
}

.heritage-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  max-width: 720px;
}

.heritage-band .eyebrow {
  color: var(--gold);
}

.heritage-band .hairline {
  background-color: var(--gold);
}

.heritage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

@media (min-width: 700px) {
  .heritage-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.heritage-stat {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gold);
}

.heritage-stat span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.4rem;
}

.heritage-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(218, 165, 32, 0.3);
}

@media (min-width: 700px) {
  .heritage-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.heritage-timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.heritage-timeline-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

/* Best of Whidbey badge strip */
.bow-strip {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 2px;
}

.bow-strip-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.bow-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.bow-badges img {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 100px;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .heritage-band {
    background-attachment: scroll;
  }
}

/* Contact */
.contact-section {
  background-color: var(--navy);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-detail p,
.contact-detail a {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.contact-detail a:hover,
.contact-detail a:focus {
  color: var(--gold);
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--gold);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(11, 20, 36, 0.06);
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: var(--navy-2);
  color: #fff;
}

.map-wrap {
  margin-top: 3rem;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-justice {
  width: 32px;
  height: auto;
  opacity: 0.85;
  flex: 0 0 auto;
}

.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--gold);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-areas {
  line-height: 1.7;
}

.disclaimer {
  padding: 1.25rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 2px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: var(--gold);
  padding: 0.5rem 1rem;
  z-index: 200;
  font-size: 0.8rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-cta:hover {
    transform: none;
  }
}
