@font-face {
  font-family: "Young Serif";
  src: url("../assets/fonts/young-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #091426;
  --navy: #12264a;
  --navy-2: #1b3460;
  --brass: #c9a46a;
  --brass-hi: #ddbe88;
  --brass-deep: #8a6732;
  --paper: #f2f4f7;
  --line: #dce1e8;
  --text: #2a3547;
  --muted: #5b6879;
  --white: #fff;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --site-chrome-height: 104px;
  --nav-breakpoint: 1200px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
}

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

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding-inline: clamp(20px, 3vw, 45px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  white-space: nowrap;
  font: 600 20px/1.35 var(--sans);
  letter-spacing: 0.005em;
  padding: 19px 36px;
  border-radius: 999px;
  border: 0;
  background: var(--brass);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.btn--primary {
  background: var(--brass);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--brass-hi);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-2);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Header */

.header {
  position: relative;
  z-index: 5;
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 164, 106, 0.28);
}

.header__overlay[hidden] {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
  height: 104px;
}

.header__logo {
  display: block;
  flex: 0 0 auto;
  flex-shrink: 0;
  color: var(--white);
  line-height: 0;
}

.header__logo-img,
.footer__logo-img {
  display: block;
  width: 129px;
  height: auto;
  max-width: none;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.header__toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.header__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header__nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-item {
  flex-shrink: 0;
}

.header__nav-link {
  display: inline-block;
  flex-shrink: 0;
  font: 500 15px / 1 var(--sans);
  color: #d5ddea;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.header__nav-link:hover {
  color: var(--white);
}

.header__nav-link:hover::after,
.header__nav-link[aria-current]::after {
  transform: scaleX(1);
}

.header__nav-link[aria-current] {
  color: var(--white);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: 12px;
}

.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 4px;
}

.header__tel small,
.header__phone small {
  font: 400 13px / 1 var(--sans);
  color: #9fb0c8;
}

.header__tel a {
  font: 600 16px / 1 var(--sans);
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header__cta .btn,
.header__nav-extras .btn {
  flex-shrink: 0;
  font-size: 14px;
  padding: 12px 14px;
  white-space: nowrap;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font: 600 20px / 1 var(--sans);
  color: var(--white);
  letter-spacing: 0.01em;
}

@media (max-width: 1400px) {
  .header__nav-list {
    gap: 14px;
  }

  .header__nav-link {
    font-size: 14px;
  }

  .header__tel a {
    font-size: 16px;
  }

  .header__cta .btn,
  .header__nav-extras .btn {
    font-size: 14px;
    padding: 12px 14px;
  }
}

@media (max-width: 1280px) {
  .header__logo-img {
    width: 110px;
  }

  .header__nav-list {
    gap: 12px;
  }

  .header__nav-link {
    font-size: 13px;
  }

  .header__tel a {
    font-size: 15px;
  }

  .header__cta {
    gap: 10px;
  }

  .header__cta .btn {
    font-size: 13px;
    padding: 11px 12px;
  }

  .btn {
    padding: 17px 30px;
  }
}

@media (max-width: 1200px) {
  :root {
    --site-chrome-height: 88px;
  }

  .header__overlay:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(9, 20, 38, 0.55);
    cursor: pointer;
  }

  .header__inner {
    position: relative;
    z-index: 2;
    height: 88px;
  }

  .header__logo-img {
    width: 110px;
  }

  .header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header__cta {
    display: none;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: var(--ink);
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 84px 28px 40px;
    background: var(--ink);
    border-left: 1px solid rgba(201, 164, 106, 0.28);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .header.is-open .header__nav {
    transform: translateX(0);
    visibility: visible;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .header__nav-link {
    font-size: 18px;
    padding: 12px 0;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header__nav-extras .btn {
    font-size: 16px;
    padding: 14px 20px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .header__logo-img {
    width: 95px;
  }
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 0;
  background: var(--ink) url("../assets/images/bg-hero.jpg") center / cover no-repeat;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 20, 38, 0.97) 0%, rgba(9, 20, 38, 0.9) 38%, rgba(9, 20, 38, 0.45) 62%, rgba(9, 20, 38, 0.25) 100%),
    linear-gradient(0deg, rgba(9, 20, 38, 0.65), rgba(9, 20, 38, 0) 35%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: min(100%, 640px);
  padding-top: clamp(4px, 1.2vw, 12px);
  padding-inline: clamp(0px, 1vw, 8px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font: 500 16px / 1.4 var(--sans);
  color: var(--brass);
}

.hero__eyebrow::before {
  content: "";
  width: 42px;
  height: 1.5px;
  flex-shrink: 0;
  background: var(--brass);
}

.hero__title {
  max-width: 19ch;
  font: 400 clamp(40px, 3.65vw, 58px) / 1.08 var(--serif);
  color: var(--white);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 34ch;
  margin-top: 20px;
  font: 500 21px / 1.4 var(--sans);
  color: #e7d3ae;
}

.hero__text {
  max-width: 58ch;
  margin-top: 16px;
  color: #b9c5d6;
  font-size: 16.5px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px;
  margin-top: 34px;
}

.hero__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font: 600 24px / 1 var(--sans);
  white-space: nowrap;
}

.hero__phone-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--brass);
  box-shadow: inset 0 0 0 1.5px rgba(201, 164, 106, 0.6);
}

.hero__phone-label {
  display: block;
  margin-bottom: 6px;
  font: 400 13px / 1 var(--sans);
  color: #9fb0c8;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(52%, 820px);
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  right: -2%;
  top: 7%;
  z-index: 0;
  width: auto;
  height: 96%;
  aspect-ratio: 80 / 82;
  color: var(--brass);
  opacity: 0.15;
}

.hero__glow {
  position: absolute;
  right: 10%;
  bottom: -8%;
  z-index: 0;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 205, 156, 0.55), rgba(201, 164, 106, 0.2) 55%, rgba(201, 164, 106, 0) 100%);
}

.hero__arch {
  position: absolute;
  right: 13%;
  bottom: 0;
  z-index: 0;
  width: 62%;
  height: 84%;
  border: 1.5px solid rgba(201, 164, 106, 0.45);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.hero__image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__image {
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.15s;
  }

  .hero__arch {
    animation: fade 1.6s ease both 0.35s;
  }

  .hero__mark {
    animation: fade-mono 1.6s ease both 0.35s;
  }

  .hero__content > * {
    animation: fade 0.9s ease both;
  }

  .hero__content > *:nth-child(2) {
    animation-delay: 0.1s;
  }

  .hero__content > *:nth-child(3) {
    animation-delay: 0.2s;
  }

  .hero__content > *:nth-child(4) {
    animation-delay: 0.3s;
  }

  .hero__content > *:nth-child(5) {
    animation-delay: 0.4s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-mono {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.15;
  }
}

@media (max-width: 1280px) {
  .hero__actions {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    display: block;
    height: auto;
    padding-top: clamp(36px, 7vw, 56px);
  }

  .hero__content {
    max-width: 100%;
    padding-inline: clamp(4px, 1.5vw, 12px);
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 460px;
    margin-top: 20px;
  }

  .hero__mark,
  .hero__glow,
  .hero__arch {
    right: 50%;
    transform: translateX(50%);
  }

  .hero__arch {
    width: min(380px, 80%);
  }

  .hero__image {
    animation: none;
  }
}

@media (max-width: 560px) {
  .hero__subtitle {
    font-size: 19px;
  }

  .hero__phone {
    font-size: 22px;
  }

  .hero__visual {
    height: 400px;
  }
}

/* Accolades */

.accolades {
  background: var(--navy);
  border-top: 1px solid rgba(201, 164, 106, 0.3);
}

.accolades__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 34px;
}

.accolades__title {
  max-width: 12ch;
  font: 400 22px / 1.25 var(--serif);
  color: var(--white);
}

.accolades__badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.accolades__badge {
  display: grid;
  place-items: center;
  height: 96px;
  padding-inline: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.accolades__badge:first-child {
  border-left: 0;
}

.accolades__badge img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 86px;
  object-fit: contain;
  opacity: 0.92;
}

/* Sections */

.section {
  padding-block: 112px;
}

.section__title {
  font: 400 clamp(34px, 3vw, 46px) / 1.12 var(--serif);
  color: var(--navy);
  letter-spacing: -0.005em;
}

.section__sub {
  margin-top: 16px;
  font: 600 20px / 1.4 var(--sans);
  color: var(--brass-deep);
}

.section__head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

/* Intro */

.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
}

.intro__media {
  position: relative;
  max-width: 560px;
  padding: 0 0 34px 34px;
}

.intro__media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 82%;
  border: 1.5px solid var(--brass);
  border-radius: 4px;
}

.intro__image {
  position: relative;
  width: 100%;
  aspect-ratio: 760 / 780;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(9, 20, 38, 0.45);
}

.intro__stamp {
  position: absolute;
  right: -26px;
  bottom: 72px;
  max-width: 250px;
  padding: 24px 28px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 24px 48px -24px rgba(9, 20, 38, 0.6);
}

.intro__stamp-title {
  display: block;
  margin-bottom: 8px;
  font: 400 30px / 1 var(--serif);
  font-weight: 400;
  color: var(--brass);
}

.intro__stamp-text {
  font: 500 15px / 1.45 var(--sans);
  color: #d5ddea;
}

.intro__content p {
  max-width: 62ch;
  margin-top: 22px;
}

.intro__content .intro__promise {
  margin-top: 30px;
  padding: 22px 26px;
  border-left: 3px solid var(--brass);
  border-radius: 0 4px 4px 0;
  background: var(--paper);
  font: 500 18px / 1.55 var(--sans);
  color: var(--navy);
}

.intro__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 36px;
}

.intro__phone {
  font: 600 22px / 1 var(--sans);
  color: var(--navy);
}

.intro__phone small {
  display: block;
  margin-bottom: 6px;
  font: 400 13px / 1 var(--sans);
  color: var(--muted);
}

/* Practice */

.practice {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--ink) url("../assets/images/bg-practice.jpg") center / cover no-repeat;
}

.practice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 20, 38, 0.82), rgba(9, 20, 38, 0.94));
}

.practice__head {
  margin-bottom: 52px;
}

.practice .section__title {
  color: var(--white);
}

.practice__lede {
  max-width: 46ch;
  margin-top: 14px;
  color: #aebbcd;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.practice__card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy);
}

.practice__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.practice__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 38, 0) 35%, rgba(9, 20, 38, 0.92) 100%);
}

.practice__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 26px 26px 24px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s;
}

.practice__title {
  font: 400 26px / 1.15 var(--serif);
  color: var(--white);
}

.practice__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font: 500 15px / 1 var(--sans);
  color: var(--brass);
}

.practice__card:hover .practice__image {
  transform: scale(1.05);
}

.practice__card:hover .practice__caption {
  border-color: var(--brass);
}

/* Results */

.results {
  background: var(--paper);
}

.results__head {
  margin-bottom: 54px;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.results__card {
  padding: 34px 30px 32px;
  border-top: 3px solid var(--brass);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.results__card p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.results__card .results__amount {
  margin-top: 12px;
  font: 400 clamp(32px, 2.7vw, 42px) / 1 var(--serif);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.results__title {
  margin-top: 16px;
  font: 600 17px / 1.4 var(--sans);
  color: var(--brass-deep);
}

.results__note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}

/* Values */

.values {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--ink) url("../assets/images/bg-values.jpg") center / cover no-repeat;
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 20, 38, 0.55);
}

.values__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.values .section__title {
  color: var(--white);
}

.values__lede {
  max-width: 38ch;
  margin-top: 18px;
  color: #aebbcd;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 56px;
}

.values__item {
  padding-left: 26px;
  border-left: 1.5px solid var(--brass);
}

.values__title {
  font: 400 25px / 1.2 var(--serif);
  color: var(--white);
}

.values__text {
  margin-top: 12px;
  color: #c2ccda;
  font-size: 16.5px;
}

/* Testimonial */

.testimonial {
  position: relative;
  isolation: isolate;
  text-align: center;
  color: var(--navy);
  background: var(--paper) url("../assets/images/bg-testimonial.jpg") center / cover no-repeat;
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9) 0%, rgba(242, 244, 247, 0.72) 60%, rgba(242, 244, 247, 0.5) 100%);
}

.testimonial .section__title {
  color: var(--navy);
  font-size: clamp(28px, 2.4vw, 36px);
}

.testimonial__mark {
  height: 46px;
  margin: 44px 0 6px;
  font: 400 92px / 0.6 var(--serif);
  color: var(--brass);
}

.testimonial__quote {
  max-width: 38ch;
  margin: 0 auto;
  font: 400 clamp(24px, 2.2vw, 34px) / 1.35 var(--serif);
  color: var(--navy);
}

.testimonial__cite {
  display: block;
  margin-top: 30px;
  font: 600 16px / 1 var(--sans);
  font-style: normal;
  color: var(--brass-deep);
}

.testimonial .btn {
  margin-top: 40px;
}

/* Contact */

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: stretch;
}

.contact__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy);
}

.contact__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 100%;
}

.contact__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 38, 0) 40%, rgba(9, 20, 38, 0.9));
}

.contact__office {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  z-index: 1;
  color: var(--white);
}

.contact__office-title {
  font: 400 26px / 1.2 var(--serif);
}

.contact__office-address {
  margin-top: 10px;
  color: #c9d3e2;
  font-size: 16px;
}

.contact__office-phone {
  display: inline-block;
  margin-top: 14px;
  font: 600 22px / 1 var(--sans);
  color: var(--brass);
}

.contact__lead {
  max-width: 52ch;
  margin-top: 16px;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact__field--full {
  grid-column: 1 / -1;
}

.contact__label {
  font: 500 14px / 1 var(--sans);
  color: var(--navy);
}

.contact__input,
.contact__select,
.contact__textarea {
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--text);
  font: 400 16px / 1.3 var(--sans);
}

.contact__input,
.contact__select {
  height: 40px;
}

.contact__textarea {
  height: 120px;
  padding: 11px 14px;
  resize: vertical;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  background: #fff;
}

.contact__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 17px, calc(100% - 15px) 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.contact__form .btn {
  justify-self: start;
  margin-top: 6px;
}

.contact__note,
.contact__status {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
}

.contact__status {
  margin: 0;
  font-size: 15px;
  color: var(--navy);
}

.contact__status[hidden] {
  display: none;
}

/* Footer */

.footer {
  background: var(--ink);
  color: #b9c5d6;
  border-top: 3px solid var(--brass);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 72px 56px;
}

.footer__logo {
  display: inline-block;
  color: var(--white);
  line-height: 0;
}

.footer__logo-img {
  width: 230px;
}

.footer__blurb,
.footer__address,
.footer__note {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 15.5px;
}

.footer__address {
  margin-top: 0;
}

.footer__note {
  margin-top: 12px;
}

.footer__heading {
  margin-bottom: 16px;
  font: 400 20px / 1.2 var(--serif);
  color: var(--white);
}

.footer__list {
  list-style: none;
}

.footer__item {
  margin: 0 0 10px;
}

.footer a:hover {
  color: var(--white);
}

.footer__phone {
  font: 600 22px / 1 var(--sans);
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: #8293ab;
}

/* Shared breakpoints */

@media (max-width: 1100px) {
  .practice__grid,
  .results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .accolades__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .accolades__title {
    max-width: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
  }
}

@media (max-width: 960px) {
  .intro__inner,
  .values__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .intro__media {
    max-width: 520px;
  }

  .intro__stamp {
    right: 0;
  }

  .section__head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding-block: 80px;
  }

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

  .accolades__badge:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .btn {
    font-size: 18px;
    padding: 16px 26px;
  }

  .practice__grid,
  .results__grid,
  .values__grid {
    grid-template-columns: 1fr;
  }

  .practice__card {
    aspect-ratio: 4 / 3.4;
  }

  .contact__form {
    grid-template-columns: 1fr;
  }

  .contact__media {
    min-height: 420px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .intro__media {
    padding: 0 0 22px 22px;
  }

  .intro__stamp {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -60px 0 0 16px;
  }
}
