/* Feshchenko Professional Corporation — site styles
   No external fonts, scripts or images are loaded: everything is served from this site,
   except the Google map on the contact page. */

/* Fonts are stored in the fonts folder (licence: fonts/LICENSE.txt) */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "FPC Serif"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("fonts/serif-variable.woff2") format("woff2"); }

:root {
  --ink: #0b2a4a;
  --ink-2: #143d6b;
  --ink-3: #1f5d9e;
  --paper: #f4f7fb;
  --paper-2: #e8eff7;
  --surface: #ffffff;
  --text: #16253a;
  --muted: #4a5b72;
  --line: #d2dcea;
  --line-soft: #e2e9f3;
  --accent: #0070b8;
  --accent-text: #0a5a9a;
  --accent-light: #6fb7ee;
  --link: #0a5a9a;
  --radius: 10px;
  --radius-lg: 16px;
  --serif: "FPC Serif", Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(11, 42, 74, .06), 0 10px 28px rgba(11, 42, 74, .07);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-head :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-light); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.15rem, 4.8vw, 3.5rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
/* Leave room for the sticky header when the skip link or an in-page link scrolls to the main content */
main { scroll-margin-top: 88px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 .9rem;
}
.on-dark .eyebrow, .hero .eyebrow, .page-head .eyebrow, .cta .eyebrow { color: var(--accent-light); }

/* ------------------------------------------------------------ header */
.site-header {
  background: rgba(244, 247, 251, .96);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.3) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 236px; height: auto; }

.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: .97rem; font-weight: 500;
  position: relative;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--accent); border-radius: 2px;
}

.header-phone {
  display: none; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  text-decoration: none; white-space: nowrap; font-size: .97rem;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.header-phone:hover { border-color: var(--accent); color: var(--ink); }
.header-phone svg { width: 17px; height: 17px; color: var(--accent-text); }
@media (min-width: 1100px) { .header-phone { display: inline-flex; } }

.nav-toggle {
  display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); padding: 9px 14px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 899px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 2px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; padding-bottom: 8px; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a[aria-current="page"]::after { left: 13px; right: auto; width: 28px; }
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent-light); color: var(--ink); border-color: var(--accent-light); }
.btn-primary:hover { background: #9ccdf3; border-color: #9ccdf3; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 8px 14px; font-size: .9rem; border-radius: 8px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ------------------------------------------------------------ hero / page head */
.hero, .page-head {
  position: relative; overflow: hidden; color: #e6eef8;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(111, 183, 238, .22), transparent 62%),
    radial-gradient(700px 400px at -5% 110%, rgba(31, 93, 158, .55), transparent 60%),
    var(--ink);
}
.hero::before, .page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .15) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .15) 100%);
}
.hero .wrap, .page-head .wrap { position: relative; }
.hero h1, .page-head h1 { color: #fff; }
.hero { padding: 84px 0 92px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; max-width: 36em; color: #c9d9ec; }
.hero h1 { max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--accent-light); }

.hero-card {
  background: linear-gradient(90deg, #6fb7ee, #1f5d9e 55%, #5038b8) top / 100% 4px no-repeat, var(--paper);
  color: var(--text); border-radius: var(--radius-lg);
  padding: 34px 30px 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: .9rem; }
.hero-card ul { list-style: none; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: .99rem; }
.hero-card li:first-child { border-top: 0; }
.hero-card li svg { width: 19px; height: 19px; margin-top: 4px; color: var(--accent-text); flex: none; }
.hero-card .card-link { margin-top: 12px; font-weight: 600; }

.page-head { padding: 64px 0 60px; }
.page-head .lead { font-size: 1.15rem; max-width: 40em; margin: 0; color: #c9d9ec; }
.page-head h1 { margin-bottom: .35em; }

@media (max-width: 899px) {
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-head { padding: 44px 0 42px; }
}

/* ------------------------------------------------------------ facts strip */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px; border-left: 1px solid var(--line-soft); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.facts span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 899px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 520px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); }
  .facts li:first-child { border-top: 0; }
}

/* ------------------------------------------------------------ sections */
.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
@media (max-width: 699px) { .section { padding: 54px 0; } }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--accent-light); margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }

.ticks { list-style: none; margin-top: 14px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .99rem; color: var(--text); }
.ticks svg { width: 18px; height: 18px; margin-top: 5px; color: var(--accent-text); flex: none; }

.card-compact { padding: 24px 24px; box-shadow: none; }
.card-compact .icon-badge { width: 44px; height: 44px; margin-bottom: 14px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.card-compact .icon-badge svg { width: 22px; height: 22px; }
.card-compact h3 { font-size: 1.12rem; }
.card-compact p { font-size: .98rem; }

/* numbered principles */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 1rem; color: var(--accent-text); font-weight: 700; margin-bottom: 8px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .4em; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ testimonials */
.stars img { width: 120px; height: auto; }

.logo-tile {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 18px; height: 112px;
}
.logo-tile img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

.t-feature { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.t-feature blockquote, .t-row blockquote { margin: 0; }
.t-feature blockquote p {
  font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--ink); margin: 0 0 1.2rem;
}
.t-feature blockquote p::before { content: "\201C"; }
.t-feature blockquote p::after { content: "\201D"; }
.t-who { margin: 0; font-weight: 700; color: var(--ink); }
.t-about { margin: .4rem 0 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }
.t-side .stars { margin: 16px 0 0; }
@media (max-width: 860px) { .t-feature { grid-template-columns: 1fr; gap: 24px; } }

.t-list { display: grid; gap: 28px; }
.t-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}
.t-row .t-side .t-about { margin-top: 16px; }
.t-row blockquote p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.62; color: var(--ink); margin: 0 0 1.2rem; position: relative; }
.t-row blockquote p::before { content: "\201C"; }
.t-row blockquote p::after { content: "\201D"; }
@media (max-width: 860px) { .t-row { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; } }

.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 8px; }
.more-link svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------ CTA band */
.cta {
  background:
    radial-gradient(700px 300px at 95% 0%, rgba(111, 183, 238, .22), transparent 60%),
    var(--ink);
  color: #d8e4f2; padding: 64px 0;
}
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 36em; color: #bccfe6; }
.cta .btn-row { margin: 0; }

/* ------------------------------------------------------------ about */
.two-col { display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 899px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.prose p { max-width: 42em; }
.prose h2 { margin-top: 0; }
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: .8em; }
.panel .cpa-mark { width: 230px; height: auto; margin-bottom: 20px; }
.cred-list { list-style: none; }
.cred-list li { padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: .97rem; line-height: 1.45; }
.cred-list li:first-child { border-top: 0; padding-top: 0; }
.cred-list strong { display: block; color: var(--ink); font-size: 1rem; }
.cred-list span { color: var(--muted); }

.callout {
  border-left: 4px solid var(--accent); background: var(--surface); padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow);
}
.callout p { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--ink); }

/* ------------------------------------------------------------ employment */
.notice {
  max-width: 44rem; margin: 0 auto; text-align: center; background: var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 52px 40px; box-shadow: var(--shadow);
}
.notice .icon-badge { margin: 0 auto 22px; }
.notice h2 { font-size: 1.6rem; }
.notice p { color: var(--muted); font-size: 1.1rem; }
.notice p strong { color: var(--ink); }
.notice .btn-row { justify-content: center; }
@media (max-width: 560px) { .notice { padding: 36px 22px; } }

/* ------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-side { display: grid; gap: 28px; }
.map-card { padding: 10px; }
.map-frame { display: block; width: 100%; height: 240px; border: 0; border-radius: 8px; background: var(--paper-2); }

.detail-list { list-style: none; }
.detail { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-soft); }
.detail:first-child { border-top: 0; padding-top: 4px; }
.detail:last-child { padding-bottom: 4px; }
.detail .icon-badge { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.detail .icon-badge svg { width: 22px; height: 22px; }
.detail h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 2px 0 6px; }
.detail address { font-style: normal; font-size: 1.1rem; line-height: 1.55; color: var(--ink); }
.detail .big { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.detail .big:hover { color: var(--link); text-decoration: underline; }
.detail .hint { margin: 6px 0 0; font-size: .93rem; color: var(--muted); }

.email-box p { margin: 0 0 12px; font-size: .95rem; color: var(--muted); }
.email-box .no-js-note { color: var(--accent-text); font-weight: 600; }
.js .email-box .no-js-note { display: none; }
/* The button needs JavaScript, so show it only when scripts are running */
.email-box [data-reveal] { display: none; }
.js .email-box [data-reveal] { display: inline-flex; }
.email-box [data-status] { min-height: 1.5em; margin: 10px 0 0; font-size: .95rem; color: var(--ink); }
.email-box [data-status].is-error { color: #a0301f; font-weight: 600; }
.email-result { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.email-link { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); word-break: break-all; }
.email-box [hidden] { display: none !important; }

.hours { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours th, .hours td { text-align: left; padding: 13px 0; border-top: 1px solid var(--line-soft); font-weight: 500; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours th { color: var(--ink); font-weight: 600; }
.hours td { text-align: right; color: var(--ink); }
.hours .closed td { color: var(--muted); }
.note { font-size: .93rem; color: var(--muted); margin: 16px 0 0; }

/* ------------------------------------------------------------ footer */
.site-footer { background: #071e3a; color: #b4c5dc; padding: 56px 0 28px; font-size: .97rem; border-top: 1px solid rgba(111, 183, 238, .35); }
.site-footer a { color: #e8f0fa; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.site-footer .f-name { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin: 0 0 6px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .cpa-rev { width: 170px; height: auto; margin-top: 18px; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: #8da3c0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ------------------------------------------------------------ motion & print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .cta, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .page-head { background: #fff; color: #000; }
  .hero h1, .page-head h1, .hero .lead, .page-head .lead { color: #000; }
  .hero::before, .page-head::before { display: none; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a, .site-footer .f-name { color: #000; }
  .card, .panel, .t-row { box-shadow: none; break-inside: avoid; }
}

/* off-screen helper used only by the clipboard fallback */
.visually-hidden-copy { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* ------------------------------------------------------------ small screens */
.nav-toggle-label { display: inline; }
@media (max-width: 520px) {
  /* icon-only menu button keeps it on the same row as the logo; the label stays for screen readers */
  .nav-toggle { padding: 10px; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand img { width: 190px; }
  .hours tr { display: block; padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .hours tr:first-child { border-top: 0; padding-top: 0; }
  .hours th, .hours td { display: block; padding: 0; border: 0; text-align: left; }
  .hours td { margin-top: 2px; }
}
