@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;1,8..60,400&family=DM+Sans:wght@400;500&display=swap');

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

:root {
  --brand-blue: #2563EB;
  --orange: #FF8833;
  --light-blue: #D6E9F5;
  --light-gray: #D9D9D9;
  --medium-gray: #595959;
  --black: #000000;
  --white: #FFFFFF;
  --photo-placeholder: #e8e4df;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Layout */

.site-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Nav */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 1.25rem;
  border-bottom: 0.5px solid var(--light-gray);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--medium-gray);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--black);
}

.nav-link.active {
  color: var(--black);
}

.nav-cta {
  font-family: var(--sans);
  font-size: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.88;
}

/* Hero */

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 3rem;
  align-items: start;
  padding: 4.5rem 0 3rem;
}

.hero-content {
  min-width: 0;
}

.tagline {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.tagline-dark {
  color: var(--black);
}

.tagline-blue {
  color: var(--brand-blue);
  margin-bottom: 2rem;
}

.hero-intro {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin: 0 0 2rem;
}

.hero-photo {
  background: var(--photo-placeholder);
  border-radius: 3px;
  width: 180px;
  height: 240px;
  object-fit: cover;
  object-position: top;
  margin-top: 0.25rem;
}

/* CTAs */

.cta-group {
  display: flex;
  gap: 12px;
}

.cta-primary {
  font-family: var(--sans);
  font-size: 13px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 2px;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.cta-primary:hover {
  opacity: 0.88;
}

.cta-secondary {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--brand-blue);
  padding: 10px 22px;
  border: 0.5px solid var(--brand-blue);
  border-radius: 2px;
  display: inline-block;
  transition: background 0.2s ease;
}

.cta-secondary:hover {
  background: rgba(37, 99, 235, 0.05);
}

/* Numbers strip */

.numbers {
  border-top: 0.5px solid var(--light-gray);
  padding: 2rem 0;
  display: flex;
  gap: 3rem;
}

.number-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  margin: 0;
}

.number-item p {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--medium-gray);
  margin: 3px 0 0;
  letter-spacing: 0.03em;
}

/* Page header (inner pages) */

.page-header {
  padding: 3.5rem 0 2.5rem;
}

/* Section divider */

.section {
  border-top: 0.5px solid var(--light-gray);
  padding: 2.5rem 0;
}

/* Work section — label + text grid */

.work-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.work-row:last-child {
  margin-bottom: 0;
}

.work-label {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--brand-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 3px;
}

.work-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.75;
}

/* Statement block */

.statement-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  margin: 0 0 0.75rem;
}

.statement-text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.75;
}

/* Section heading (for Practice / About pages) */

.section-heading {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  margin: 0 0 1.25rem;
}

/* Body prose for inner pages */

.prose {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--medium-gray);
  line-height: 1.8;
}

.prose p {
  margin: 0 0 1.25rem;
}

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

.prose strong {
  font-weight: 500;
  color: var(--black);
}

/* Track record */

.track-record {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.75;
}

.track-record p {
  margin: 0 0 1.25rem;
}

.track-record p:last-child {
  margin-bottom: 0;
}

/* About page photo */

.about-photo {
  background: var(--photo-placeholder);
  border-radius: 3px;
  width: 200px;
  height: 250px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 2rem;
}

/* Footer */

.footer {
  border-top: 0.5px solid var(--light-gray);
  padding: 2.5rem 0 3rem;
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-link {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--brand-blue);
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.75;
}

.footer-email {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--medium-gray);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--light-gray);
}

.footer-copyright {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--light-gray);
}

/* Responsive */

@media (max-width: 680px) {
  .site-container {
    padding: 0 1.25rem;
  }

  .nav {
    padding: 1.25rem 0 1rem;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
  }

  .hero-photo {
    width: 140px;
    height: 175px;
    order: -1;
  }

  .tagline {
    font-size: 26px;
  }

  .numbers {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .cta-primary,
  .cta-secondary {
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .about-photo {
    width: 160px;
    height: 200px;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}
