/* Imtiaz Ahmad CPA, Inc. — redesign mock */

:root {
  --ink: #15241c;
  --forest: #1c3226;
  --forest-mid: #2a4636;
  --paper: #f3eee3;
  --paper-deep: #e7dfcf;
  --white: #fbf8f1;
  --copper: #c45c32;
  --copper-deep: #9e4524;
  --honey: #c08a32;
  --text: #2a312b;
  --muted: #5a6158;
  --line: #d4cbb8;
  --shadow: 0 16px 36px rgba(21, 36, 28, 0.08);
  --radius: 4px;
  --wrap: 1100px;
  --header-h: 4.5rem;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Figtree", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

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

a {
  color: var(--copper-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--copper);
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 400;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  font-weight: 600;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

/* Banner + sticky nav */

.mock-banner {
  background: var(--ink);
  color: #d7cfc0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(243, 238, 227, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-top.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 22px rgba(21, 36, 28, 0.06);
}

.site-header {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1;
  padding-left: 0.7rem;
  border-left: 3px solid var(--copper);
}

.logo:hover {
  color: var(--forest-mid);
}

.logo-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.logo-tag {
  margin-top: 0.28rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-deep);
  font-weight: 600;
}

.nav-toggle {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: none;
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.1rem;
  gap: 0.15rem;
  box-shadow: 0 16px 30px rgba(21, 36, 28, 0.08);
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.7rem 0.4rem;
}

.nav-links a[aria-current="page"] {
  color: var(--copper-deep);
  box-shadow: inset 3px 0 0 var(--copper);
}

.nav-links .btn-call {
  margin-top: 0.4rem;
  text-align: center;
  box-shadow: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-copper {
  background: var(--copper);
  color: #fff8f3;
}

.btn-copper:hover {
  background: var(--copper-deep);
  color: #fff;
}

.btn-ink {
  background: var(--ink);
  color: #f4efe4;
}

.btn-ink:hover {
  background: var(--forest-mid);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #c4bba8;
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-call {
  background: var(--copper);
  color: #fff8f3 !important;
  font-weight: 700;
}

.btn-call:hover {
  background: var(--copper-deep);
  color: #fff !important;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Type */

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  font-size: 0.78rem;
  margin: 0 0 0.7rem;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest-mid);
}

h2 {
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.lede,
.section-intro {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 40rem;
}

.section {
  padding: 4rem 0;
}

.section-paper {
  background: var(--paper-deep);
}

.section-ink {
  background: var(--ink);
  color: #dcd4c4;
}

.section-ink h2,
.section-ink h3 {
  color: #f6f0e4;
}

.section-ink .eyebrow {
  color: #e0a06a;
}

.section-ink a {
  color: #f0c49a;
}

.section-ink a:hover {
  color: #fff;
}

.section-head {
  margin-bottom: 2rem;
}

.rule {
  width: 2.6rem;
  height: 3px;
  background: var(--copper);
  margin: 0 0 1.1rem;
  border: 0;
}

/* Photos */

.photo {
  overflow: hidden;
  background: var(--paper-deep);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-full {
  margin: 0;
}

.photo-full img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  aspect-ratio: 16 / 8;
}

.photo-caption {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0.7rem auto 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.photo-frame {
  margin: 0;
}

.photo-frame img {
  aspect-ratio: 4 / 3;
}

/* Hero */

.hero {
  padding: 2.4rem 0 2.6rem;
}

.hero-copy p {
  color: var(--muted);
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--forest-mid);
  font-weight: 600;
}

.year-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 0.8;
  color: rgba(196, 92, 50, 0.14);
  margin: 0 0 0.4rem;
  font-weight: 500;
}

/* Trust strip */

.trust {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 2.4rem 0 0;
}

.trust-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.trust-item:last-child {
  border-bottom: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Serve / lists */

.serve-grid,
.split,
.hours-split,
.group-grid,
.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.serve-item {
  padding-top: 0.2rem;
}

.serve-item h3 {
  margin-bottom: 0.45rem;
}

.serve-item p {
  margin: 0;
  color: var(--muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.card-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.card-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.card-list strong {
  display: block;
  color: var(--ink);
}

.service-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  padding: 1.35rem 1.3rem 1.45rem;
}

.service-group h2 {
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  margin-bottom: 0.35rem;
}

.service-group .group-lead {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.service-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-group li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}

.service-group li:last-child {
  padding-bottom: 0;
}

.service-group li strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
}

.service-group li span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Page hero */

.page-hero {
  padding: 2.4rem 0 1.2rem;
}

/* Contact */

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

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.hours-table th {
  font-weight: 700;
  color: var(--ink);
  width: 36%;
}

.hours-table .closed {
  color: #8a5a4a;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.contact-list li {
  margin: 0 0 0.75rem;
}

.contact-list a {
  font-weight: 700;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

input,
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #cfc6b4;
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  width: 100%;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

button.btn {
  cursor: pointer;
  font: inherit;
  border: 0;
  justify-self: start;
}

.form-thanks {
  background: #efe6d4;
  border: 1px solid #d4c4a4;
  padding: 1.4rem 1.3rem;
}

.form-thanks[hidden],
form[hidden] {
  display: none;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 320px;
  height: 380px;
  border: 0;
  background: var(--paper-deep);
  margin-top: 0.8rem;
}

.hours-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer + mobile call bar */

.site-footer {
  background: var(--ink);
  color: #d5cbb8;
  padding: 3rem 0 6.5rem;
}

.site-footer a {
  color: #f4efe4;
}

.site-footer a:hover {
  color: #e0a06a;
}

.footer-brand .logo-name {
  color: #f6f0e4;
  border: 0;
  padding: 0;
}

.footer-brand .logo-tag {
  color: #e0a06a;
}

.footer-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e0a06a;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-nav {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  color: #9e9484;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem 1.4rem;
}

.copyright p {
  margin: 0.15rem 0;
}

.call-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 180;
  background: var(--copper);
  color: #fff8f3;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(196, 92, 50, 0.35);
}

.call-bar:hover {
  color: #fff;
  background: var(--copper-deep);
}

body.nav-open {
  overflow: hidden;
}

.fact-row {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
}

.fact {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.fact strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
}

.section-ink .btn-ghost {
  color: #f4efe4;
  border-color: rgba(244, 239, 228, 0.4);
}

.section-ink .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .nav-links,
  .nav-links.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 0.1rem;
  }

  .nav-links a {
    padding: 0.45rem 0.65rem;
  }

  .nav-links a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--copper);
  }

  .nav-links .btn-call {
    margin: 0 0 0 0.55rem;
    padding-inline: 1rem;
  }

  .split,
  .hours-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.6rem;
    align-items: center;
  }

  .hours-split {
    align-items: start;
  }

  .trust {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-item {
    padding: 1.2rem 1rem 1.2rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .trust-item:first-child {
    padding-left: 0;
  }

  .serve-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .group-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .call-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.6rem;
  }

  .photo-full img {
    max-height: 40rem;
  }

  .fact-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-copy {
    max-width: 40rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    transition: none;
  }
}

.section-ink .hours-table th,
.section-ink .hours-table td {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: #dcd4c4;
}
.section-ink .hours-table th { color: #f6f0e4; }
.section-ink .hours-table .closed { color: #e0a06a; }
