/* Cove Limestone — La Jolla Personal Injury Lawyer
   Law Office of Angelo Reyes, APC · designed, not templated
   limestone cream · deep cove blue · seal brown · editorial serif */

:root {
  --limestone: #F1EAD9;
  --stone: #E7DCC3;
  --stone-deep: #D9CBA9;
  --raised: #FAF6EC;
  --cove: #123F5C;
  --cove-deep: #0A2A3F;
  --cove-mist: #2E5A76;
  --seal: #4E2F1B;
  --seal-deep: #36200F;
  --ink: #2B2418;
  --ink-soft: #5A4E3A;
  --sand: #C9B993;
  --foam: #F8F4EA;
  --foam-dim: #B7C6CE;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --rule: 1px solid rgba(78, 47, 27, .22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  background: var(--limestone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--cove); color: var(--foam); }
img { max-width: 100%; display: block; }
a { color: var(--cove); }
a:hover { color: var(--seal); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- strata signature ---------- */
.strata-rule {
  height: 10px;
  display: flex;
  flex-direction: column;
}
.strata-rule i { display: block; }
.strata-rule i:nth-child(1) { height: 3px; background: var(--stone-deep); }
.strata-rule i:nth-child(2) { height: 4px; background: var(--seal); }
.strata-rule i:nth-child(3) { height: 3px; background: var(--cove); }

.strata-strip {
  height: 12px;
  display: flex;
  flex-direction: column;
}
.strata-strip i { display: block; }
.strata-strip i:nth-child(1) { height: 4px; background: var(--stone-deep); }
.strata-strip i:nth-child(2) { height: 5px; background: var(--seal); }
.strata-strip i:nth-child(3) { height: 3px; background: var(--cove); }

.kicker {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--seal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--stone-deep);
  border-top: 2px solid var(--seal);
  border-bottom: 2px solid var(--cove);
  flex: none;
}
.on-dark .kicker, .kicker.on-dark { color: var(--foam-dim); }

h1, h2, h3 { font-weight: 400; line-height: 1.18; color: var(--seal-deep); }
h1 em, h2 em { font-style: italic; color: var(--cove); }

/* ---------- header ---------- */
.site-head {
  background: var(--limestone);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(78, 47, 27, .28);
}
.site-head .brand-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 18px 0 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-title {
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--seal-deep);
  letter-spacing: .01em;
}
.brand-sub {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cove);
}
.head-phone {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--cove);
  text-decoration: none;
  letter-spacing: .01em;
  white-space: nowrap;
}
.head-phone:hover { color: var(--seal); }
.site-nav {
  display: flex; flex-wrap: wrap; gap: 4px 22px;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(78, 47, 27, .16);
}
.site-nav a {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--cove); }
.site-nav a.here { color: var(--seal); border-bottom-color: var(--seal); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; background: var(--limestone); }
.hero .wrap { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  line-height: 1.12;
  margin: 18px 0 22px;
  letter-spacing: -.005em;
}
.hero .sub { font-size: 1.09rem; max-width: 33rem; color: var(--ink-soft); }
.hero .sub strong { color: var(--seal-deep); }
.hero .ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero .fine {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--ink-soft);
  display: flex; gap: 8px 22px; flex-wrap: wrap;
  letter-spacing: .02em;
}
.hero .fine span { display: flex; align-items: center; gap: 8px; }
.hero .fine span::before {
  content: ""; width: 6px; height: 6px;
  background: var(--seal); flex: none;
}

.hero-figure {
  background: var(--raised);
  border: 1px solid var(--sand);
  padding: 18px 18px 14px;
  position: relative;
}
.hero-figure::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: -7px;
  height: 8px;
  background: var(--seal);
  opacity: .85;
  z-index: -1;
}
.hero-figure svg { width: 100%; height: auto; display: block; }
.hero-figure .fig-cap {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--sand);
  display: flex; justify-content: space-between; gap: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border: 1px solid transparent;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.btn-seal { background: var(--seal); color: var(--foam); }
.btn-seal:hover { background: var(--seal-deep); color: var(--foam); }
.btn-cove { background: var(--cove); color: var(--foam); }
.btn-cove:hover { background: var(--cove-deep); color: var(--foam); }
.btn-line { border-color: var(--cove); color: var(--cove); background: transparent; }
.btn-line:hover { background: var(--cove); color: var(--foam); }
.btn-foam { background: var(--foam); color: var(--seal-deep); }
.btn-foam:hover { background: var(--stone-deep); color: var(--seal-deep); }
.btn-foam-line { border-color: var(--foam); color: var(--foam); background: transparent; }
.btn-foam-line:hover { background: var(--foam); color: var(--cove-deep); }

/* ---------- generic sections ---------- */
.section { padding: 76px 0; }
.section .head { max-width: 46rem; margin-bottom: 44px; }
.section h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin: 14px 0 14px; }
.section .sub { color: var(--ink-soft); font-size: 1.04rem; }

.band-stone { background: var(--stone); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.band-cove { background: var(--cove); color: var(--foam); }
.band-cove h2 { color: var(--foam); }
.band-cove h2 em { color: var(--stone-deep); }

/* ---------- La Jolla angle ---------- */
.angle-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.angle-grid .prose p { margin-bottom: 18px; color: var(--ink-soft); }
.angle-grid .prose p:last-child { margin-bottom: 0; }
.angle-list { display: flex; flex-direction: column; gap: 0; border-top: var(--rule); }
.angle-row {
  display: flex; gap: 20px; align-items: baseline;
  padding: 17px 4px;
  border-bottom: var(--rule);
}
.angle-row .no {
  font-family: var(--sans);
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  color: var(--seal); flex: none; min-width: 30px;
}
.angle-row .t { font-size: 1.05rem; color: var(--seal-deep); }
.angle-row .d { font-size: .9rem; color: var(--ink-soft); margin-top: 3px; }

/* ---------- practice cards ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
  background: var(--raised);
  border: 1px solid var(--sand);
  padding: 0 26px 26px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(10, 42, 63, .12); }
.pcard .strata-strip { margin: 0 -26px 20px; }
.pcard .ic {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--sand);
  background: var(--limestone);
  color: var(--seal);
  margin-bottom: 16px;
}
.pcard h3 { font-size: 1.28rem; margin-bottom: 10px; }
.pcard p { font-size: .95rem; color: var(--ink-soft); flex: 1; }
.pcard .go {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--cove);
  border-top: 1px solid var(--sand);
  padding-top: 14px;
}
.pcard .go:hover { color: var(--seal); }

/* ---------- firm / portrait ---------- */
.firm-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.portrait-frame { position: relative; max-width: 330px; }
.portrait-frame .lift {
  position: absolute; inset: 0;
  transform: translate(12px, 12px);
  background:
    linear-gradient(var(--seal), var(--seal)) 0 0 / 100% 5px no-repeat,
    linear-gradient(var(--cove), var(--cove)) 0 100% / 100% 4px no-repeat,
    var(--stone);
  z-index: 0;
}
.portrait-frame img {
  position: relative; z-index: 1;
  border: 1px solid var(--sand);
}
.portrait-frame .fig-cap {
  position: relative; z-index: 2;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.firm-pillars { display: flex; flex-direction: column; }
.firm-pillar {
  display: flex; gap: 22px;
  padding: 20px 0;
  border-bottom: var(--rule);
}
.firm-pillar:first-of-type { border-top: var(--rule); }
.firm-pillar .no {
  font-family: var(--sans);
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  color: var(--seal); flex: none; padding-top: 4px;
}
.firm-pillar h3 { font-size: 1.2rem; margin-bottom: 6px; }
.firm-pillar p { font-size: .95rem; color: var(--ink-soft); }
.creds-row {
  margin-top: 30px;
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
}
.creds-row img { max-height: 58px; width: auto; }
.creds-row .creds-note {
  font-family: var(--sans);
  font-size: .76rem; color: var(--ink-soft);
  max-width: 300px; line-height: 1.55;
}

/* ---------- statutes band ---------- */
.statutes { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.statute {
  font-family: var(--sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .06em;
  color: var(--seal-deep);
  background: var(--raised);
  border: 1px solid var(--sand);
  padding: 7px 14px;
}

/* ---------- CTA band ---------- */
.cta-band { padding: 78px 0; text-align: center; }
.cta-band h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  color: var(--foam);
  max-width: 44rem;
  margin: 16px auto 14px;
}
.cta-band p { color: var(--foam-dim); max-width: 36rem; margin: 0 auto; font-size: 1.02rem; }
.cta-band .ctas { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .fine {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: .76rem; color: var(--foam-dim); letter-spacing: .03em;
}

/* ---------- crim strip ---------- */
.crim-strip {
  background: var(--stone);
  border-top: 1px solid var(--sand);
  padding: 20px 0;
  text-align: center;
  font-size: .92rem;
  color: var(--ink-soft);
}
.crim-strip a { color: var(--seal); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--sand); }
.crim-strip a:hover { color: var(--cove); }

/* ---------- footer ---------- */
footer {
  background: var(--cove-deep);
  color: var(--foam-dim);
  padding: 58px 0 36px;
}
footer .cols { display: grid; grid-template-columns: 1.1fr 1.35fr .95fr; gap: 48px; }
footer h3 {
  font-family: var(--sans);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--foam);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(248, 244, 234, .18);
}
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand .brand-title { color: var(--foam); font-size: 1rem; }
.foot-brand .brand-sub { color: var(--foam-dim); }
footer .office { margin-bottom: 12px; font-size: .92rem; line-height: 1.65; }
footer .office .city { color: var(--foam); font-size: .95rem; }
footer a { color: var(--foam-dim); text-decoration: none; }
footer a:hover { color: var(--foam); }
.family-list { columns: 2; column-gap: 28px; font-size: .85rem; line-height: 2.05; }
.family-list a { display: block; }
footer .legal-note {
  font-size: .8rem; line-height: 1.75; color: var(--foam-dim);
  margin-bottom: 14px;
}
footer .legal-note a { color: var(--foam); border-bottom: 1px solid rgba(248, 244, 234, .3); }
footer .bottom {
  margin-top: 44px; padding-top: 20px;
  border-top: 1px solid rgba(248, 244, 234, .16);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--sans);
  font-size: .72rem; letter-spacing: .05em;
  color: var(--foam-dim);
}

/* ---------- inner page hero ---------- */
.page-hero { padding: 60px 0 46px; background: var(--limestone); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 18px; max-width: 44rem; }
.page-hero .lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 44rem; }
.page-hero .crumb {
  font-family: var(--sans);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 20px;
}
.page-hero .crumb a { color: var(--seal); text-decoration: none; }
.page-hero .crumb a:hover { color: var(--cove); }

.article .wrap { max-width: 760px; }
.art-sec { padding: 30px 0 34px; border-top: var(--rule); }
.art-sec h2 { font-size: 1.62rem; margin: 10px 0 16px; }
.art-sec p { margin-bottom: 16px; color: var(--ink-soft); font-size: 1.01rem; }
.art-sec p:last-child { margin-bottom: 0; }
.art-sec ul, .art-sec ol { margin: 0 0 16px 22px; color: var(--ink-soft); font-size: 1.01rem; }
.art-sec li { margin-bottom: 10px; }
.art-sec .stat { color: var(--seal); }
.art-note {
  background: var(--raised);
  border: 1px solid var(--sand);
  border-left: 5px solid var(--seal);
  padding: 18px 22px;
  margin: 20px 0;
  font-size: .95rem;
  color: var(--ink-soft);
}
.art-note strong { color: var(--seal-deep); }
.timeline { border-top: var(--rule); margin-top: 8px; }
.timeline .step {
  display: flex; gap: 24px;
  padding: 18px 4px;
  border-bottom: var(--rule);
}
.timeline .step .when {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--seal); flex: none; min-width: 118px; padding-top: 4px;
}
.timeline .step .what { font-size: .97rem; color: var(--ink-soft); }
.timeline .step .what strong { color: var(--seal-deep); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { border-top: var(--rule); }
.faq-item { padding: 24px 4px; border-bottom: var(--rule); }
.faq-q {
  font-size: 1.18rem;
  color: var(--seal-deep);
  margin-bottom: 12px;
  padding-left: 18px;
  border-left: 4px solid var(--seal);
}
.faq-a { color: var(--ink-soft); font-size: .99rem; max-width: 46rem; }
.faq-a p { margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a .stat { color: var(--seal); }
.faq-meta {
  font-family: var(--sans);
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.office-card {
  background: var(--raised);
  border: 1px solid var(--sand);
  margin-bottom: 22px;
}
.office-card .strata-strip { margin-bottom: 16px; }
.office-card .inner { padding: 0 24px 22px; }
.office-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.office-card p { color: var(--ink-soft); font-size: .96rem; }
.contact-direct { margin-top: 26px; border-top: var(--rule); padding-top: 20px; }
.contact-direct p { margin-bottom: 8px; font-size: 1.04rem; }
.contact-direct a { color: var(--seal); font-weight: 600; text-decoration: none; }
.contact-direct a:hover { color: var(--cove); }
.contact-form {
  background: var(--raised);
  border: 1px solid var(--sand);
  padding: 30px 30px 26px;
}
.contact-form h2 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-form .form-note { font-size: .88rem; color: var(--ink-soft); margin-bottom: 22px; }
.contact-form label {
  font-family: var(--sans);
  display: block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--seal);
  margin: 16px 0 6px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  background: var(--limestone);
  border: 1px solid var(--sand);
  padding: 12px 14px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cove); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 20px; border: none; cursor: pointer; }
.contact-form .call-note {
  margin-top: 16px;
  font-size: .86rem; color: var(--ink-soft);
  border-top: 1px solid var(--sand);
  padding-top: 14px;
}

.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 8px; }
.office-grid .office-card { padding: 24px 24px 20px; margin-bottom: 0; }
.office-line { margin: 20px 0 14px; font-size: 1.1rem; }
.office-line a { color: var(--seal); font-weight: 600; text-decoration: none; }
.office-line a:hover { color: var(--cove); }
.field-row { margin-bottom: 2px; }

/* ---------- 404 ---------- */
.four04 { padding: 110px 0 120px; text-align: center; }
.four04 h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px auto 16px; max-width: 34rem; }
.four04 p { color: var(--ink-soft); max-width: 30rem; margin: 0 auto 34px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero .wrap, .angle-grid, .firm-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .portrait-frame { margin: 0 auto; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .site-head .brand-row { flex-wrap: wrap; }
  .practice-grid { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; gap: 36px; }
  .family-list { columns: 1; }
  .timeline .step { flex-direction: column; gap: 6px; }
  .office-grid { grid-template-columns: 1fr; }
  .cta-band .ctas { flex-direction: column; align-items: center; }
  .hero .ctas { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard { transition: none; }
  .pcard:hover { transform: none; }
  .btn { transition: none; }
}
