/* Chiong & Wan CPAs, P.C. */

:root {
  --bg-navy: #161f3d;
  --text-primary: rgba(255, 255, 255, 1);
  --text-muted: rgba(255, 255, 255, 0.8);
  --font-serif: "Merriweather", Georgia, serif;
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-max: 788px;
  --section-pad: clamp(3rem, 8vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--text-muted);
  background-color: var(--bg-navy);
  background-image:
    linear-gradient(rgba(22, 31, 61, 0.51), rgba(22, 31, 61, 0.51)),
    url("../assets/images/hero-skyline.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: var(--section-pad) 1.5rem;
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-rule {
  width: 152px;
  height: 0;
  margin: 0 auto 2.5rem;
  border: none;
  border-top: 2px solid #fff;
}

.section-label {
  margin: 0 0 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-bottom: 4rem;
}

.hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
}

.hero-title-suffix {
  display: block;
  margin-top: 0.15em;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 300;
}

@media (min-width: 640px) {
  .hero-title {
    display: inline;
  }

  .hero-title-suffix {
    display: inline;
    margin-top: 0;
    margin-left: 0.35em;
  }
}

.hero-tagline {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero-intro {
  margin: 2.5rem auto 0;
  max-width: var(--content-max);
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
  line-height: 1.45;
  color: var(--text-muted);
}

.scroll-hint {
  display: inline-block;
  margin-top: 3rem;
  text-decoration: none;
}

.scroll-hint-line {
  display: block;
  width: 152px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
}

/* Services */
.services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
  line-height: 1.75;
  color: var(--text-muted);
}

.services-list li + li {
  margin-top: 0.65rem;
}

/* About */
.partners {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 900px) {
  .partners {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
  }
}

.partner {
  text-align: center;
}

.partner-photo {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  object-fit: cover;
}

.partner-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.partner-role {
  margin: 0.35rem 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.partner-bio {
  text-align: left;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
}

.partner-bio p {
  margin: 0 0 1rem;
}

.partner-bio p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-details {
  font-style: normal;
  text-align: center;
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-details p {
  margin: 0 0 0.35rem;
}

.contact-details a {
  color: var(--text-muted);
}

.map-wrap {
  max-width: 675px;
  margin: 2.5rem auto 0;
  border-radius: 2px;
  overflow: hidden;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.site-footer p {
  margin: 0;
}
