:root {
  --ink: #10263f;
  --ink-soft: #24445e;
  --paper: #fbf3e6;
  --paper-deep: #ead8bf;
  --teal: #0f766e;
  --teal-dark: #064d4d;
  --coral: #e86f55;
  --sage: #8fa88b;
  --gold: #c9912d;
  --white: #fffaf1;
  --line: rgba(16, 38, 63, 0.18);
  --shadow: 0 26px 70px rgba(16, 38, 63, 0.14);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 38, 63, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 38, 63, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  opacity: 0.9;
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 120;
  width: min(1160px, calc(100% - 32px));
  min-height: 66px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 38, 63, 0.2);
  background: rgba(251, 243, 230, 0.92);
  box-shadow: 0 16px 38px rgba(16, 38, 63, 0.1);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-open {
  border-color: rgba(255, 250, 241, 0.2);
  background: var(--ink);
  box-shadow: none;
}

.site-header.is-open .brand {
  color: var(--white);
  padding: 4px 8px;
  background: var(--paper);
}

.site-header.is-open .menu-toggle {
  border-color: var(--white);
  background: var(--coral);
}

.site-header.is-open .menu-toggle span {
  background: var(--white);
}

.brand {
  position: relative;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  width: min(280px, 52vw);
  min-height: 44px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 115;
  min-height: 100vh;
  padding: 118px max(22px, calc((100vw - 1160px) / 2 + 18px)) 34px;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    var(--ink);
  background-size: 70px 70px, 70px 70px, auto;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

body.menu-open .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  pointer-events: none;
}

.nav-panel::after {
  content: "";
  position: absolute;
  right: clamp(20px, 7vw, 92px);
  bottom: clamp(20px, 8vw, 84px);
  width: clamp(120px, 20vw, 260px);
  aspect-ratio: 1;
  border: 2px dashed rgba(232, 111, 85, 0.6);
  transform: rotate(8deg);
  pointer-events: none;
}

.nav-panel-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  height: calc(100vh - 152px);
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.site-nav {
  display: grid;
  border-top: 1px solid rgba(255, 250, 241, 0.22);
}

.site-nav a {
  min-height: 116px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.22);
  color: var(--white);
  text-decoration: none;
}

.site-nav a span {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.site-nav a strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
  transition: transform 180ms ease, color 180ms ease;
}

.site-nav a:hover strong,
.site-nav a:focus-visible strong {
  color: var(--coral);
  transform: translateX(14px);
}

.nav-panel-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 2px solid rgba(255, 250, 241, 0.82);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--coral);
}

.nav-panel-card p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.nav-contact {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.call-link,
.language-switch button,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.language-switch button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switch button.is-active {
  background: var(--ink);
  color: var(--white);
}

.call-link,
.button {
  border: 2px solid var(--ink);
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  position: relative;
  z-index: 130;
  display: grid;
  place-items: center;
  width: 46px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  grid-area: 1 / 1;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: 46px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 142px 0 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1,
.services-section h2,
.goals-section h2,
.office-section h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: 5.45rem;
}

.headline-keep {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 1.23rem;
}

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

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.art-frame {
  position: relative;
  isolation: isolate;
  padding: 26px;
}

.art-frame::before {
  content: "";
  position: absolute;
  inset: 42px 22px 36px 54px;
  z-index: -1;
  border: 2px solid rgba(16, 38, 63, 0.16);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.art-frame::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 7%;
  z-index: -1;
  width: 45%;
  height: 20%;
  border: 2px dashed rgba(232, 111, 85, 0.5);
  transform: rotate(4deg);
}

.art-frame img {
  position: relative;
  width: 100%;
  animation: float-draw 5.5s ease-in-out infinite;
}

.practice-strip {
  position: absolute;
  left: 3%;
  right: 4%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 8px 8px 0 var(--coral);
}

.practice-strip span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-right: 1px solid rgba(255, 250, 241, 0.24);
  font-weight: 800;
}

.practice-strip span:last-child {
  border-right: 0;
}

.services-section,
.goals-section,
.office-section,
.contact-section {
  padding: 92px 0;
}

.section-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 54px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 120px;
}

.services-section h2,
.goals-section h2,
.office-section h2,
.contact-section h2 {
  font-size: 4rem;
}

.section-copy p,
.goals-header p,
.office-copy p,
.office-note p,
.contact-content > p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.services-art {
  width: min(360px, 100%);
  margin-top: 28px;
  filter: drop-shadow(0 18px 18px rgba(16, 38, 63, 0.12));
}

.service-list {
  border-top: 2px solid var(--ink);
}

.service-row {
  min-height: 138px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 2px solid var(--ink);
  cursor: default;
}

.service-row h3,
.goals-grid h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.service-row p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.service-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
}

.goals-section {
  background: var(--ink);
  color: var(--white);
}

.goals-header,
.goals-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.goals-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: end;
}

.goals-header p {
  color: rgba(255, 250, 241, 0.72);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(255, 250, 241, 0.24);
  border: 1px solid rgba(255, 250, 241, 0.28);
}

.goals-grid article {
  min-height: 300px;
  padding: 28px;
  background: var(--ink);
}

.goals-grid span {
  display: block;
  margin-bottom: 70px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
}

.goals-grid p {
  color: rgba(255, 250, 241, 0.72);
}

.office-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.office-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: stretch;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--sage);
}

.office-copy {
  padding: 46px;
}

.office-copy p {
  max-width: 680px;
  margin: 24px 0 0;
}

.metric-stack {
  display: grid;
  border-left: 2px solid var(--ink);
}

.metric-stack div {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 30px;
  border-bottom: 2px solid var(--ink);
}

.metric-stack div:last-child {
  border-bottom: 0;
}

.metric-stack strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
}

.metric-stack span {
  color: var(--ink-soft);
  font-weight: 800;
}

.office-note {
  margin-top: 44px;
  margin-left: auto;
  max-width: 720px;
  padding: 30px 34px;
  border-left: 8px solid var(--coral);
  background: rgba(255, 250, 241, 0.78);
}

.office-note p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.25;
}

.contact-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
  align-items: start;
}

.contact-art {
  position: sticky;
  top: 120px;
  padding: 18px;
}

.contact-art img {
  width: 100%;
  filter: drop-shadow(0 26px 22px rgba(16, 38, 63, 0.16));
  animation: float-draw 6s ease-in-out infinite;
}

.contact-content {
  padding: 42px;
  border: 2px solid var(--ink);
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 12px 12px 0 var(--gold);
}

.contact-content > p {
  color: rgba(255, 250, 241, 0.74);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  background: rgba(255, 250, 241, 0.24);
  border: 1px solid rgba(255, 250, 241, 0.24);
}

.contact-grid a,
.contact-grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
}

.contact-grid span {
  color: rgba(255, 250, 241, 0.65);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-grid strong {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.review-form {
  display: grid;
  gap: 16px;
}

.review-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 250, 241, 0.78);
  font-weight: 800;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid rgba(255, 250, 241, 0.5);
  border-radius: 0;
  background: rgba(255, 250, 241, 0.98);
  color: var(--ink);
  padding: 12px 14px;
}

.review-form textarea {
  resize: vertical;
}

.review-form .button {
  width: fit-content;
  background: var(--coral);
  color: var(--white);
  border-color: var(--white);
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.72fr);
  gap: 30px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 2px solid var(--ink);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.footer-disclaimer {
  max-width: 520px;
  justify-self: end;
  text-align: right;
}

@keyframes float-draw {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .nav-panel-inner {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
    min-height: 0;
    height: auto;
  }

  .nav-panel-card {
    max-width: 560px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    font-size: 4.65rem;
  }

  .hero-art {
    min-height: auto;
  }

  .section-grid,
  .goals-header,
  .office-panel,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .contact-art {
    position: relative;
    top: auto;
  }

  .services-art {
    width: min(280px, 70%);
  }

  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-stack {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .footer-disclaimer {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  body::before {
    background-size: 46px 46px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 12px;
  }

  .brand {
    max-width: 230px;
  }

  .hero,
  .section-grid,
  .goals-header,
  .goals-grid,
  .office-section,
  .contact-section,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding-top: 126px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

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

  .site-nav a,
  .call-link,
  .button {
    width: 100%;
  }

  .language-switch {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .nav-panel {
    overflow-y: auto;
    padding: 102px 20px 26px;
  }

  .nav-panel::before {
    inset: 10px;
  }

  .nav-panel-inner {
    width: 100%;
  }

  .site-nav a {
    min-height: 86px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .site-nav a strong {
    font-size: 3.6rem;
  }

  .art-frame {
    padding: 4px 0 54px;
  }

  .art-frame::before {
    inset: 28px 0 56px 18px;
  }

  .practice-strip {
    left: 0;
    right: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-strip span {
    min-height: 48px;
  }

  .services-section,
  .goals-section,
  .office-section,
  .contact-section {
    padding: 68px 0;
  }

  .services-section h2,
  .goals-section h2,
  .office-section h2,
  .contact-section h2 {
    font-size: 3rem;
  }

  .service-row {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .service-number {
    width: 48px;
    height: 48px;
  }

  .service-row h3,
  .goals-grid h3 {
    font-size: 1.55rem;
  }

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

  .goals-grid article {
    min-height: 240px;
  }

  .goals-grid span {
    margin-bottom: 42px;
  }

  .office-panel {
    box-shadow: 8px 8px 0 var(--sage);
  }

  .office-copy,
  .contact-content {
    padding: 28px;
  }

  .metric-stack strong {
    font-size: 2.5rem;
  }

  .office-note {
    padding: 22px;
  }

  .office-note p {
    font-size: 1.45rem;
  }

  .contact-content {
    box-shadow: 8px 8px 0 var(--gold);
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.85rem;
  }

  .site-nav a strong {
    font-size: 3.15rem;
  }

  .services-section h2,
  .goals-section h2,
  .office-section h2,
  .contact-section h2 {
    font-size: 2.55rem;
  }

  .contact-content {
    padding: 22px;
  }
}
