/* ============================================================
   Star Tax Service — site styles
   Brand colors matched to the storefront sign (red star, blue
   block lettering). No build step — plain CSS, no framework.
   ============================================================ */

/* Self-hosted fonts (OFL-licensed, pulled from Google Fonts) —
   avoids the extra fonts.googleapis.com/fonts.gstatic.com round
   trips. Inter ships as a single variable file covering the whole
   weight range used on the site. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin-400.woff2") format("woff2");
}

:root {
  --red: #d5262c;
  --red-dark: #ac1e23;
  --blue: #2f5fa8;
  --blue-soft: #3d72c2;
  --ink: #1b1b1b;
  --ink-soft: #5b5b5b;
  --paper: #ffffff;
  --paper-dim: #f6f7f9;
  --line: #e5e5e8;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

img, svg { max-width: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--blue);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--blue-soft); text-decoration-thickness: 1px; }
a:hover { color: var(--red); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- brand wordmark ----------
   "STAR" set in Anton with a faux-embossed sign-lettering look
   (light top-left edge, dark stepped shadow, slight italic skew);
   the star sits in the natural counter of the A. */

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-word {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  font-family: "Anton", "Arial Black", sans-serif;
  letter-spacing: 0.02em;
  color: var(--blue);
  transform: skewX(-8deg);
  text-shadow:
    -1px -1px 0 #fff,
    1px 1px 0 #9a9a9a,
    2px 2px 0 #7a7a7a;
}

.brand-a { position: relative; display: inline-block; }

.brand-a-star {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 0.42em;
  height: 0.42em;
  transform: translate(-50%, -46%);
  overflow: visible;
}

.brand-a-star path {
  fill: var(--red);
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linejoin: round;
}

.brand-sub {
  font-family: "Anton", "Arial Black", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #45484d;
  transform: skewX(-8deg);
  text-shadow: -0.5px -0.5px 0 #fff, 1px 1px 0 #999;
}

/* ---------- utility bar ---------- */

.topbar {
  background: var(--blue);
  color: #fff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 24px;
  font-size: 0.86rem;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover { color: #ffd1d2; }

.topbar-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-lang {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--blue);
}

.brand-mark .brand-word { font-size: 1.7rem; }
.brand-mark .brand-sub { font-size: 0.7rem; margin-top: -2px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.site-nav {
  display: flex;
  gap: 26px;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  border-bottom-color: var(--red);
  color: var(--blue);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--red);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-sm { padding: 9px 18px; font-size: 0.86rem; }

/* ---------- hero ---------- */

.hero { padding: 68px 0 56px; }

.hero-copy { max-width: 46ch; }

.eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  max-width: 16ch;
}

.hero p.lede {
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-dim);
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 20px 24px;
  justify-content: space-between;
}

.trust-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item a { color: var(--ink-soft); }
.trust-item a:hover { color: var(--red); }

/* ---------- sections ---------- */

.section { padding: 60px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tight { padding-top: 0; border-top: none; }

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}

.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }

/* ---------- services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.service-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--blue);
}

.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

.service-detail {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 32px 0;
}

.service-detail + .service-detail { border-top: 1px solid var(--line); }

.service-detail .service-icon {
  width: 40px;
  height: 40px;
  margin: 0;
}

.service-detail h2 { font-size: 1.35rem; margin-bottom: 8px; }
.service-detail p { color: var(--ink-soft); margin: 0; max-width: 62ch; }

@media (max-width: 560px) {
  .service-detail { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--blue);
  color: #fff;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 44px 24px;
}

.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: #d7dfeb; margin: 0; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-line {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

.contact-line:first-child { padding-top: 0; }
.contact-line:last-child { border-bottom: none; }

.contact-line .label {
  color: var(--ink-soft);
  min-width: 84px;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 3px;
  flex-shrink: 0;
}

.contact-line a { font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { color: var(--ink); font-weight: 600; }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
}

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

/* ---------- footer ---------- */

.site-footer {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-grid h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.footer-grid p { margin: 0 0 8px; color: var(--ink-soft); font-size: 0.94rem; }
.footer-grid a { color: var(--ink-soft); display: block; margin-bottom: 8px; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--red); }

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand .brand-word { font-size: 1.9rem; }
.footer-brand .brand-sub { font-size: 0.78rem; margin-top: -3px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.footer-bottom a { color: var(--ink-soft); font-weight: 600; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- utility ---------- */

.stack { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
