:root {
  --ink: #151b23;
  --ink-deep: #0b0e13;
  --red: #e53636;
  --red-deep: #a81e1e;
  --paper: #f1f1ef;
  --line: #dadcdd;
  --body: #39424c;
  --muted: #6b7681;
  --display: "Sorts Mill Goudy", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 45px;
  --container-max: 1760px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 108px;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

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

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

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- layout ---------- */
.container {
  width: 95%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--ink {
  background: var(--ink);
  color: #e7e9eb;
}

.section--ink-deep {
  background: var(--ink-deep);
  color: #e7e9eb;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section--ink h2,
.section--ink h3,
.section--ink-deep h2,
.section--ink-deep h3 {
  color: #fff;
}

h1 {
  font-size: clamp(38px, 4.1vw, 66px);
}

h2 {
  font-size: clamp(30px, 2.7vw, 44px);
}

h3 {
  font-size: clamp(21px, 1.35vw, 25px);
}

p {
  margin: 0 0 1.15em;
}

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

.lede {
  max-width: 62ch;
}

.rule {
  width: 64px;
  height: 3px;
  background: var(--red);
  border: 0;
  margin: 22px 0 0;
}

.eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--red);
  margin: 0 0 10px;
}

.eyebrow--light {
  color: #f07070;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  padding: 19px 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  max-width: 100%;
  transition: background 0.22s ease, transform 0.22s ease;
}

.btn:hover {
  background: var(--red-deep);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--sm {
  font-size: 16px;
  padding: 14px 28px;
}

/* ---------- header ---------- */
.header {
  position: relative;
  background: var(--ink);
  z-index: 100;
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-top: 22px;
  padding-bottom: 22px;
  position: relative;
  z-index: 2;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 250px;
  height: auto;
  max-width: none;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

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

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

.header__nav-link {
  flex-shrink: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 400;
  color: #dde0e3;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}

.header__nav-link:hover::after,
.header__nav-link[aria-current]::after {
  right: 0;
}

.header__nav-extras {
  display: none;
}

.header__cta {
  flex-shrink: 0;
  margin-left: 8px;
}

.header__cta .btn {
  font-size: clamp(13px, 1vw, 16px);
  padding: clamp(10px, 0.9vw, 14px) clamp(18px, 1.6vw, 28px);
  white-space: nowrap;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 4;
}

.header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink-deep);
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(11, 14, 19, 0.96) 0%,
    rgba(11, 14, 19, 0.86) 42%,
    rgba(11, 14, 19, 0.35) 78%,
    rgba(11, 14, 19, 0.55) 100%
  );
}

.hero__slab {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 54%;
  pointer-events: none;
  background: radial-gradient(
    62% 82% at 60% 52%,
    rgba(229, 54, 54, 0.22),
    rgba(229, 54, 54, 0.05) 58%,
    rgba(229, 54, 54, 0) 76%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 640px);
  max-width: 55%;
  padding: clamp(16px, 2.5vw, 40px) clamp(0px, 1vw, 12px);
}

.hero__title {
  color: #fff;
  font-size: clamp(38px, 3.9vw, 64px);
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  font-size: clamp(17px, 1.15vw, 20px);
  color: #c6cbd1;
  max-width: 46ch;
  margin: 26px 0 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero__tel {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero__tel small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #8d97a1;
  font-weight: 300;
  margin-bottom: 2px;
}

.hero__tel b {
  font-weight: 500;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.hero__image {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* ---------- accolades ---------- */
.accolades {
  background: var(--ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.accolades__label {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: #9aa4ae;
  flex: 0 0 auto;
  padding-right: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  margin: 0;
}

.accolades__set {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  max-width: 1080px;
}

.accolades__badge {
  width: auto;
  opacity: 0.88;
}

.accolades__badge--seal {
  height: 80px;
}

.accolades__badge--tall {
  height: 70px;
}

.accolades__badge--word {
  height: 44px;
}

.accolades__badge--wide {
  height: 62px;
}

/* ---------- about ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(300px, 38%) 1fr;
  gap: 70px;
  align-items: stretch;
}

.about__figure {
  position: relative;
  margin: 0;
  min-height: 100%;
}

.about__figure img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.about__figure::after {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 120px;
  height: 120px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}

.about h2 {
  margin-bottom: 8px;
}

.about__body {
  margin-top: 30px;
}

.about__callout {
  margin-top: 34px;
  padding: 26px 30px;
  background: #fff;
  border-left: 4px solid var(--red);
  font-size: 18px;
  color: var(--ink);
}

.about__callout b {
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- practice ---------- */
.practice__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.practice__intro {
  max-width: 44ch;
  margin: 0;
}

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

.card {
  background: #fff;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}

.card__media {
  aspect-ratio: 19 / 13;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__body {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 22px;
}

.card__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card__link i {
  width: 26px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

/* ---------- values ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.values__item {
  padding: 42px 56px 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.values__item:nth-child(2n) {
  padding-left: 56px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.values__item h3 {
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.values__item h3::before {
  content: "";
  flex: 0 0 22px;
  height: 2px;
  background: var(--red);
  transform: translateY(-6px);
}

.values__item p {
  color: #aeb6be;
  font-size: 16.5px;
  margin: 0;
}

/* ---------- testimonial ---------- */
.testimonial {
  text-align: center;
}

.testimonial__quote {
  font-family: var(--display);
  font-size: clamp(23px, 2.05vw, 34px);
  line-height: 1.42;
  color: var(--ink);
  margin: 34px auto 0;
  max-width: 56ch;
}

.testimonial__mark {
  font-family: var(--display);
  font-size: 86px;
  line-height: 0.6;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}

.testimonial__by {
  margin-top: 28px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.testimonial__by b {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 17px;
}

/* ---------- consult ---------- */
.consult__grid {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 44%);
  gap: 80px;
  align-items: start;
}

.consult__meta p {
  color: #aeb6be;
}

.consult__lede {
  margin-top: 28px;
  max-width: 48ch;
}

.consult__list {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.consult__row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
}

.consult__row span {
  flex: 0 0 88px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #8d97a1;
}

.consult__row div {
  color: #fff;
  font-size: 18px;
}

.consult__address {
  font-style: normal;
}

.form {
  background: #fff;
  padding: 44px;
}

.form h3 {
  font-size: 26px;
  margin-bottom: 6px;
  color: var(--ink);
}

.form > p {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 26px;
}

.form__field {
  margin-bottom: 16px;
}

.form__field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 7px;
}

.form__field input,
.form__field select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fbfbfa;
  border-radius: 0;
}

.form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 17px, calc(100% - 14px) 17px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form__field textarea {
  width: 100%;
  height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fbfbfa;
  resize: vertical;
  border-radius: 0;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--red);
  background: #fff;
}

.form .btn {
  width: 100%;
  margin-top: 14px;
}

.form__fine {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 0;
  line-height: 1.55;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 28px;
  color: #9aa4ae;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer__brand img {
  width: 250px;
  height: auto;
  max-width: none;
  margin-bottom: 22px;
}

.footer__address {
  font-style: normal;
  line-height: 1.8;
}

.footer__phone {
  margin-top: 14px;
}

.footer__nav {
  display: grid;
  gap: 12px;
  font-size: 16px;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__tel {
  font-size: 22px;
  color: #fff;
}

.footer__bar {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
  .header__nav-list {
    gap: 26px;
  }
}

@media (max-width: 1320px) {
  :root {
    --pad: 34px;
  }

  .header__inner {
    gap: 24px;
  }

  .header__nav-list {
    gap: 18px;
  }

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

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

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

  .about__grid {
    gap: 44px;
  }

  .consult__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .consult__grid .form {
    max-width: 640px;
  }
}

@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(11, 14, 19, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header.is-open .header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__cta {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    margin: 0;
    padding: 84px 28px 40px;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .header__nav[aria-hidden="true"] {
    visibility: hidden;
  }

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

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav-link {
    display: block;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-extras {
    display: block;
    margin-top: 28px;
  }

  .header__nav-extras .btn {
    width: 100%;
    white-space: normal;
  }

  .hero__content {
    max-width: 100%;
    width: min(100%, 560px);
  }

  .hero__visual {
    width: 42%;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    font-size: 17px;
    padding: 15px 24px;
  }

  .hero__actions .btn {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(28px, 5vw, 40px) clamp(16px, 4vw, 28px) 0;
    display: flex;
    flex-direction: column;
  }

  .hero__inner {
    height: auto;
    flex: 0 0 auto;
  }

  .hero__content {
    max-width: 100%;
    width: 100%;
    padding: clamp(8px, 2vw, 20px) 0;
  }

  .hero__slab {
    display: none;
  }

  .hero__bg::after {
    background: linear-gradient(180deg, rgba(11, 14, 19, 0.94), rgba(11, 14, 19, 0.8));
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin-top: 24px;
    justify-content: center;
  }

  .hero__image {
    height: min(420px, 55vh);
    width: auto;
    max-width: 100%;
  }

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

  .about__figure img {
    max-height: 420px;
    min-height: 280px;
  }

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

  .values__item,
  .values__item:nth-child(2n) {
    padding: 34px 0;
    border-left: 0;
  }

  .accolades__inner {
    justify-content: center;
    text-align: center;
  }

  .accolades__label {
    border-right: 0;
    padding-right: 0;
    flex-basis: 100%;
  }

  .accolades__set {
    justify-content: center;
    max-width: none;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 22px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: 100%;
  }

  .hero__actions {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
  }

  .hero__image {
    height: min(340px, 50vh);
  }

  .hero__tel {
    font-size: 22px;
  }

  .accolades__set {
    gap: 24px 30px;
    justify-content: center;
  }

  .accolades__badge--seal {
    height: 58px;
  }

  .accolades__badge--tall {
    height: 51px;
  }

  .accolades__badge--word {
    height: 32px;
  }

  .accolades__badge--wide {
    height: 45px;
  }

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

  .form {
    padding: 28px 22px;
  }

  .btn {
    width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
