/* Pacific Orthopedic Partners — initial responsive website */
:root {
  --pine: #173b43;
  --pine-dark: #102c33;
  --slate: #617b7d;
  --mist: #dce5e0;
  --paper: #f5f6f2;
  --ink: #1c3032;
  --muted: #617071;
  --line: #d8dfda;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245,246,242,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(23,59,67,.1); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--pine); }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(23,59,67,.3); border-radius: 50%; }
.brand-mark svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; letter-spacing: .105em; line-height: 1.1; }
.brand-copy strong { font: 800 11px var(--display); }
.brand-copy small { font: 600 9px var(--sans); letter-spacing: .31em; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a { text-decoration: none; font-size: 12px; font-weight: 600; color: #405456; transition: color .2s; }
.primary-nav a:hover { color: #8a6f4e; }
.primary-nav .nav-contact { padding: 12px 18px; border: 1px solid #9aaca6; border-radius: 2px; color: var(--pine); }
.menu-toggle { display: none; }
.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--pine-dark); }
.hero-image { position: absolute; inset: 0; background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=85"); background-size: cover; background-position: center 52%; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,35,40,.88) 0%, rgba(14,43,47,.67) 48%, rgba(14,43,47,.13) 100%), linear-gradient(0deg, rgba(10,35,40,.32), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding: 110px 0 130px; }
.eyebrow { margin: 0 0 24px; color: #718985; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.eyebrow.light { color: #c2d0c8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.055em; }
h1 { max-width: 800px; margin-bottom: 25px; font-size: clamp(44px, 6.2vw, 78px); line-height: 1.06; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
.hero-intro { max-width: 520px; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 23px; padding: 15px 20px; text-decoration: none; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--pine); }
.text-link { font-size: 12px; font-weight: 600; text-decoration: none; }
.light-link { color: white; }
.hero-caption { position: absolute; right: max(28px, calc((100vw - 1160px)/2)); bottom: 34px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .16em; }
.caption-line { width: 35px; height: 1px; background: #b4c7ba; }
.section-pad { padding: 112px 0; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.intro-grid .eyebrow { padding-top: 13px; }
h2 { margin-bottom: 24px; font-size: clamp(36px, 4.5vw, 57px); line-height: 1.12; }
.lead { max-width: 690px; color: #385052; font-size: 19px; line-height: 1.65; }
.body-copy { max-width: 650px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.focus-section { background: #e9eeea; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.section-aside { max-width: 330px; margin-bottom: 7px; color: #657575; font-size: 14px; line-height: 1.8; }
.focus-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; }
.focus-card { position: relative; min-height: 300px; padding: 30px 27px; background: rgba(255,255,255,.65); border: 1px solid #d6dfd9; }
.focus-card.featured { background: var(--pine); color: white; border-color: var(--pine); }
.card-number { color: #849894; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.featured .card-number { color: #bdcbc3; }
.card-icon { margin: 48px 0 17px; color: #a18b6c; font: 30px var(--serif); }
.focus-card h3 { margin-bottom: 12px; font: 600 19px var(--display); letter-spacing: -.03em; }
.focus-card p { max-width: 300px; margin-bottom: 0; color: #6c7a79; font-size: 13px; line-height: 1.8; }
.focus-card.featured p { color: #d0dbd5; }
.fine-print { margin: 18px 0 0; color: #7b8985; font-size: 10px; line-height: 1.6; }
.approach-section { background: var(--paper); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
.approach-visual { position: relative; min-height: 580px; background: url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1200&q=85") center/cover; }
.visual-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,42,42,.68)); }
.visual-label { position: absolute; right: 24px; bottom: 25px; left: 24px; display: flex; justify-content: space-between; color: white; font-size: 9px; letter-spacing: .13em; }
.approach-copy h2 { margin-bottom: 19px; }
.approach-copy .lead { font-size: 16px; }
.principles { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.principles li > span { padding-top: 3px; color: #8d9d95; font-size: 10px; }
.principles strong { font: 700 13px var(--display); }
.principles p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-section { background: #e9eeea; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.about-grid h2 { font-size: clamp(34px, 4vw, 49px); }
.about-copy .lead { font-size: 17px; }
.location-note { display: flex; align-items: center; gap: 10px; margin-top: 34px; color: #58716b; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.location-dot { width: 7px; height: 7px; border-radius: 50%; background: #9b896b; }
.contact-section { color: white; background: var(--pine); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.contact-section h2 { font-size: clamp(42px, 5vw, 62px); }
.contact-intro { max-width: 440px; color: #d0dbd5; font-size: 14px; line-height: 1.8; }
.contact-details { border-top: 1px solid rgba(255,255,255,.24); }
.contact-item { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.contact-label { display: block; margin-bottom: 10px; color: #b7c8bf; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.contact-item a { display: flex; justify-content: space-between; gap: 15px; color: white; font: 500 18px var(--display); text-decoration: none; }
.contact-item a:hover { color: #d8c9ad; }
.contact-note { margin: 15px 0 0; color: #c3d0c9; font-size: 10px; line-height: 1.6; }
.site-footer { padding: 35px 0 20px; background: #102c33; color: #dce5df; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 30px; }
.footer-brand { color: white; }
.footer-top > p { margin: 0; color: #b5c5bd; font-size: 11px; line-height: 1.7; }
.back-top { color: #dce5df; font-size: 11px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #9eb0a8; font-size: 9px; letter-spacing: .025em; }
@media (max-width: 800px) {
  .container { width: min(100% - 40px, 620px); }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { width: 100%; height: 1px; background: var(--pine); }
  .primary-nav { position: absolute; top: 71px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 4px; }
  .primary-nav .nav-contact { margin-top: 6px; text-align: center; }
  .hero { min-height: 610px; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,35,40,.86), rgba(14,43,47,.43)), linear-gradient(0deg, rgba(10,35,40,.35), transparent); }
  .hero-content { padding: 90px 0 120px; }
  .hero-caption { left: 20px; right: auto; font-size: 8px; }
  .section-pad { padding: 78px 0; }
  .intro-grid, .approach-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-grid .eyebrow { padding-top: 0; margin-bottom: 0; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-aside { margin-top: 20px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 250px; }
  .card-icon { margin-top: 32px; }
  .approach-grid { gap: 42px; }
  .approach-visual { min-height: 420px; }
  .about-grid { gap: 12px; }
  .contact-grid { gap: 35px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .brand-copy strong { font-size: 10px; }
  .hero { min-height: 590px; }
  h1 { font-size: 43px; }
  .hero-intro { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-pad { padding: 66px 0; }
  .lead { font-size: 16px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .contact-item a { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
