:root {
  --bg: #f6f1e8;
  --surface: #fffaf0;
  --surface-strong: #ffffff;
  --ink: #101a2e;
  --muted: #646b78;
  --line: rgba(16, 26, 46, 0.13);
  --accent: #b8893b;
  --accent-dark: #7b561f;
  --navy: #0d1930;
  --navy-soft: #14223b;
  --cream: #f3e5c8;
  --shadow: 0 18px 60px rgba(13, 25, 48, 0.1);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

address {
  font-style: normal;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(243, 229, 200, 0.14);
  background: rgba(13, 25, 48, 0.94);
  color: #ffffff;
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.24));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  padding: 8px 15px;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 78px;
  background:
    linear-gradient(90deg, rgba(13, 25, 48, 0.98) 0%, rgba(13, 25, 48, 0.9) 48%, rgba(13, 25, 48, 0.68) 100%),
    url("hero-bg.svg"),
    radial-gradient(circle at 80% 14%, rgba(184, 137, 59, 0.36), transparent 30%);
  background-position: center, center right, center;
  background-size: cover, cover, cover;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 72%, rgba(13, 25, 48, 0.24)),
    radial-gradient(circle at 78% 28%, rgba(243, 229, 200, 0.12), transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cream);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.8vw, 5.15rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--cream);
  color: var(--navy);
}

.call-button {
  min-height: 62px;
  gap: 12px;
  padding: 8px 22px 8px 18px;
}

.button-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.call-button span {
  display: grid;
  gap: 1px;
  line-height: 1.1;
  text-align: left;
}

.call-button strong,
.call-button small {
  display: block;
}

.call-button strong {
  font-size: 0.84rem;
}

.call-button small {
  font-size: 0.95rem;
  font-weight: 800;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.intro-note {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
}

.intro-note p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 700;
}

.intro-note a {
  display: inline-block;
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 800;
}

.intro-note address {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 86px 0;
}

.brief {
  background: var(--surface);
}

.brief-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 72px;
  align-items: start;
}

.brief-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.brief-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.brief-list span {
  color: var(--accent-dark);
  font-weight: 800;
}

.brief-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 32px;
}

.practice {
  background: #efe7da;
}

.practice .section-heading {
  width: 100%;
  max-width: none;
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-list article {
  min-height: 154px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.6);
  padding: 24px;
}

.practice-list p,
.person-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.team {
  background: var(--bg);
}

.team .section-heading {
  width: 100%;
  max-width: none;
}

.team .section-heading > p:not(.eyebrow) {
  max-width: none;
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.person-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: 26px;
}

.role {
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-card h3 {
  margin-bottom: 14px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.14;
}

.person-contact {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.person-card .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: var(--accent-dark);
}

.contact {
  background: var(--navy);
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 28px;
}

.contact-panel {
  border: 1px solid rgba(243, 229, 200, 0.14);
  border-radius: 20px;
  background: var(--navy-soft);
  padding: 30px;
}

.contact-panel h2 {
  margin-bottom: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list address {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-list span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-card {
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(243, 229, 200, 0.14);
  border-radius: 20px;
  background: #d7d1c6;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

.footer {
  background: #0a1325;
  color: rgba(255, 255, 255, 0.64);
  padding: 24px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--cream);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav {
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(13, 25, 48, 0.98);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .brief-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

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

  h1 {
    max-width: 720px;
    font-size: clamp(2.45rem, 9vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 7vw, 3.25rem);
  }

  .practice-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  html {
    scroll-snap-type: y proximity;
  }

  body {
    background: var(--navy);
    font-size: 15px;
    line-height: 1.58;
    -webkit-overflow-scrolling: touch;
  }

  main > section {
    scroll-snap-align: start;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    top: 66px;
    left: 14px;
    right: 14px;
  }

  .hero {
    display: flex;
    min-height: calc(100svh - 66px);
    align-items: center;
    padding: 42px 0 34px;
    border-radius: 0 0 28px 28px;
    background:
      linear-gradient(180deg, rgba(13, 25, 48, 0.98), rgba(13, 25, 48, 0.9)),
      url("hero-bg.svg");
    background-position: center, 64% center;
    background-size: cover, 880px auto;
  }

  .hero-grid {
    display: block;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .hero-text {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .call-button {
    justify-content: flex-start;
  }

  .button.secondary {
    min-height: 50px;
  }

  .intro-note {
    margin-top: 24px;
    border: 1px solid rgba(243, 229, 200, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    padding: 18px;
  }

  .intro-note p {
    margin-bottom: 6px;
  }

  .intro-note a {
    margin-bottom: 10px;
  }

  .section {
    padding: 46px 0;
  }

  .brief,
  .practice,
  .team,
  .contact {
    margin: 12px 10px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  }

  .brief {
    background: var(--surface);
  }

  .practice {
    background: #efe7da;
  }

  .team {
    background: var(--bg);
  }

  .contact {
    margin-bottom: 0;
  }

  .brief-grid {
    gap: 26px;
  }

  .section-heading,
  .section-heading.compact {
    margin-bottom: 22px;
  }

  .section-heading > p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .brief-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 250, 240, 0.7);
    padding: 18px;
  }

  .brief-list {
    gap: 10px;
    border-top: 0;
  }

  .practice-list article,
  .person-card,
  .contact-panel {
    padding: 20px;
  }

  .practice-list {
    gap: 12px;
    border: 0;
  }

  .practice-list article {
    min-height: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
  }

  .practice-list h3 {
    margin-bottom: 7px;
    font-size: 1rem;
  }

  .practice-list p {
    font-size: 0.94rem;
  }

  .person-card h3 {
    font-size: 1.48rem;
  }

  .person-card .contact-link {
    font-size: 0.86rem;
  }

  .contact-grid {
    gap: 18px;
  }

  .map-card,
  .map-card iframe {
    min-height: 310px;
  }

  .footer-grid {
    justify-content: center;
    text-align: center;
  }

  .footer {
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .menu-toggle {
    padding: 7px 12px;
    font-size: 0.9rem;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .person-card .contact-link {
    align-items: flex-start;
  }
}
