/* Joshua Rose & Associates, PLLC — stylesheet
   Type and color system mirrors fedjoblaw.com (Fraunces display, Public Sans body,
   navy / cream / rose). */
:root {
  --paper: #faf7f0;
  --paper-deep: #f1ebdf;
  --navy: #1f3a5c;
  --navy-deep: #14263d;
  --band: #0f1d30;
  --band-deep: #0b1626;
  --slate: #5a6b80;
  --rose: #a6373f;
  --rose-deep: #7e2830;
  --rose-soft: #f6e9e6;
  --line: #ddd5c5;
  --cream: #ede7db;
  --cream-strong: #f7f2e7;
  --cream-muted: rgba(250, 247, 240, .72);
  --ink: var(--navy);
  --ink-strong: var(--navy-deep);
  --ink-muted: var(--slate);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --content: 68rem;
  --prose: 44rem;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgb(20 38 61 / .06), 0 4px 16px rgb(20 38 61 / .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink-strong); margin: 0 0 .5em; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2.125rem, 1.5rem + 3vw, 3.125rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 2.25vw, 2.375rem); margin-top: 1.6em; }
h3 { font-size: 1.375rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 100; }
.kicker { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; font-weight: 700; color: var(--rose); margin: 0 0 .75em; }
.lead { font-size: 1.1875rem; color: var(--ink-muted); max-width: var(--prose); }
.prose { max-width: var(--prose); }

/* Rebrand banner */
.banner { background: var(--band-deep); color: var(--cream); font-size: .9rem; text-align: center; padding: 8px 16px; }
.banner strong { color: var(--cream-strong); }

/* Header */
header.site { background: var(--band); color: var(--cream); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream-strong); }
.brand img { width: 44px; height: 45px; display: block; }
.brand .name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; font-weight: 600; }
.brand .name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-muted); margin-top: 3px; }
nav.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
nav.menu a { display: block; padding: 10px 12px; text-decoration: none; font-size: .95rem; color: var(--cream-strong); border-radius: var(--radius); }
nav.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
nav.menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rose); }
nav.menu li.phone a { font-weight: 700; }
nav.menu li.cta a { background: var(--paper); color: var(--navy-deep); font-weight: 600; padding: 10px 16px; margin-left: 8px; }
nav.menu li.cta a:hover { background: #fff; color: var(--navy-deep); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: 8px 12px; font: inherit; color: var(--cream-strong); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 1rem; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn.cream { background: var(--paper); color: var(--navy-deep); border-color: var(--paper); }
.btn.cream:hover { background: #fff; color: var(--navy-deep); }
.btn.outline-cream { background: transparent; color: var(--cream-strong); border-color: rgba(255,255,255,.6); }
.btn.outline-cream:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn.navy { background: var(--navy); color: var(--cream-strong); border-color: var(--navy); }
.btn.navy:hover { background: var(--navy-deep); color: #fff; }
.btn.outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.outline-navy:hover { background: var(--navy); color: var(--cream-strong); }
.btn.rose { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn.rose:hover { background: var(--rose-deep); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Photo bands (hero and section backgrounds) */
.photo-band { position: relative; isolation: isolate; color: var(--cream); overflow: hidden; }
.photo-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,22,38,.92) 0%, rgba(11,22,38,.78) 45%, rgba(11,22,38,.45) 100%); }
.photo-band.centered .shade { background: linear-gradient(180deg, rgba(11,22,38,.85), rgba(11,22,38,.85)); }
.photo-band h1, .photo-band h2, .photo-band h3 { color: var(--cream-strong); }
.photo-band .lead { color: var(--cream); }
.photo-band .kicker { color: #e8a0a6; }
.photo-band a:not(.btn) { color: var(--cream-strong); }

/* Hero */
.hero { padding: 96px 0 88px; }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem); max-width: 18ch; margin-bottom: .4em; }
.hero .lead { font-size: 1.25rem; max-width: 40rem; }
.hero .fine { font-size: .9rem; color: var(--cream-muted); margin-top: 18px; max-width: 40rem; }
.hero .bg { object-position: center 60%; }

/* Display headline for the Federal Employees section */
.display { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
.display .big { display: block; font-size: clamp(3rem, 2rem + 7.5vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -.01em; margin: .08em 0 .12em; font-variation-settings: "opsz" 144; }
.federal { padding: 88px 0 80px; }
.federal .bg { object-position: center 35%; }
.federal .lead { max-width: 44rem; }

/* Sections */
.section { padding: 72px 0; }
.section.sunken { background: var(--paper-deep); }
.section-head { max-width: var(--prose); margin-bottom: 32px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--ink-muted); margin: 0; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Cards */
.card { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 24px 20px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; font-size: 1.25rem; }
.card h3 a { text-decoration: none; color: var(--ink-strong); }
.card h3 a:hover { color: var(--rose); }
.card p { color: var(--ink-muted); font-size: .97rem; flex: 1; margin-bottom: .8em; }
.card .more { font-weight: 600; text-decoration: none; font-size: .95rem; }
.card .more::after { content: " \2192"; }
.photo-band .card { border-color: transparent; color: var(--ink); }
.photo-band .card h3, .photo-band .card h3 a { color: var(--ink-strong); }
.photo-band .card p { color: var(--ink-muted); }
.photo-band .card a:not(.btn) { color: var(--navy); }
.photo-band .card h3 a:hover, .photo-band .card a:not(.btn):hover { color: var(--rose); }

/* Split section with side image */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split figure { margin: 0; }
.split img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; }

/* Expectations list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { padding-left: 34px; position: relative; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--rose); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3Cpath d='M5.5 10.5l3 3 6-6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3Cpath d='M5.5 10.5l3 3 6-6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Attorney cards (home) */
.people { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.person img, .person .noimg { width: 120px; height: 150px; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--paper-deep); display: block; }
.person h3 { margin: 0 0 .15em; font-size: 1.3rem; }
.person .role { color: var(--rose); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; margin-bottom: .6em; }
.person p { font-size: .95rem; color: var(--ink-muted); margin-bottom: .6em; }

/* CTA band */
.cta-band { padding: 80px 0; text-align: center; }
.cta-band .shade { background: linear-gradient(180deg, rgba(11,22,38,.88), rgba(11,22,38,.92)); }
.cta-band h2 { margin-top: 0; }
.cta-band .phone { font-family: var(--font-display); font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); font-weight: 600; margin: .3em 0 .6em; }
.cta-band .phone a { text-decoration: none; }
.cta-band .cta-row { justify-content: center; }
.cta-band .lead { margin-left: auto; margin-right: auto; }

/* Inner page title band */
.title-band { background: var(--navy-deep); color: var(--cream); padding: 56px 0 44px; }
.title-band h1 { color: var(--cream-strong); margin-bottom: .3em; }
.title-band .kicker { color: #e8a0a6; }
.title-band .lead { color: var(--cream); margin: 0; }
.title-band .display .big { font-size: clamp(2.6rem, 1.5rem + 5vw, 5rem); }

/* Content */
main { padding: 48px 0 72px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.content { max-width: var(--prose); }
.content.wide { max-width: none; }
aside.side .card { position: sticky; top: 100px; }
aside.side h3 { margin-top: 0; }
aside.side p { font-size: .95rem; flex: initial; }

.notice { background: var(--rose-soft); border: 1px solid var(--rose); border-left-width: 4px; padding: 14px 18px; border-radius: var(--radius); margin: 24px 0; }
.notice p { margin: 0; }
.notice strong { color: var(--rose-deep); }
.deadlines { list-style: none; padding: 0; margin: 0 0 1em; }
.deadlines li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.deadlines .num { font-family: var(--font-display); font-size: 1.75rem; color: var(--rose); font-weight: 700; line-height: 1; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 50px; margin-bottom: 16px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--cream-strong); display: grid; place-items: center; font-weight: 700; font-size: .95rem; font-family: var(--font-display); }
.steps li strong { color: var(--ink-strong); }

/* Attorneys page */
.attorney { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.attorney:first-of-type { padding-top: 0; }
.attorney .photo { width: 200px; height: 250px; background: var(--paper-deep); border-radius: var(--radius-lg); display: grid; place-items: center; color: var(--ink-muted); font-size: .8rem; text-align: center; padding: 8px; overflow: hidden; }
.attorney .photo:has(img) { padding: 0; }
.attorney .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.attorney h2 { margin-top: 0; }
.attorney .role { color: var(--rose); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .8em; }
.attorney dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 1.2em 0 0; font-size: .95rem; }
.attorney dt { font-weight: 700; color: var(--ink-strong); }
.attorney dd { margin: 0; }

/* Office */
.office { background: var(--paper-deep); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.office h3 { margin-top: 0; }
.office address { font-style: normal; }

/* Footer */
footer.site { background: var(--band-deep); color: var(--cream-muted); padding: 48px 0 28px; font-size: .9375rem; }
footer.site a { color: var(--cream-strong); }
footer.site h4 { color: var(--cream-strong); margin: 0 0 .6em; font-size: 1rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .35em; }
footer .fbrand { display: flex; align-items: center; gap: 10px; color: var(--cream-strong); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 12px; }
footer .fbrand img { width: 36px; height: 37px; }
footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: .8125rem; }
footer .legal p { margin-bottom: .6em; }
footer .legal strong { color: var(--cream-strong); }

/* Mobile */
@media (max-width: 900px) {
  footer .cols { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split img { max-height: 280px; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  aside.side .card { position: static; }
  .attorney { grid-template-columns: 1fr; }
  .attorney .photo { width: 160px; height: 200px; }
  .attorney dl { grid-template-columns: 1fr; gap: 2px; }
  .attorney dt { margin-top: .6em; }
  .menu-btn { display: inline-block; }
  nav.menu { display: none; width: 100%; }
  nav.menu.open { display: block; }
  nav.menu ul { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  nav.menu li.cta a { margin: 8px 0 0; text-align: center; }
  .nav { flex-wrap: wrap; }
  .hero { padding: 64px 0 56px; }
  .federal { padding: 64px 0 56px; }
  .section { padding: 52px 0; }
  .deadlines li { grid-template-columns: 1fr; gap: 2px; }
  .person { grid-template-columns: 96px 1fr; gap: 14px; }
  .person img, .person .noimg { width: 96px; height: 120px; }
}
@media (max-width: 560px) {
  footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  header.site, .banner, .cta-row, .menu-btn, .photo-band .bg, .photo-band .shade { display: none; }
  .photo-band, .title-band { background: #fff; color: #000; }
  body { background: #fff; }
}
