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

@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PJS";
  src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0e2340;
  --deep: #071829;
  --ink: #152a46;
  --body: #454f5c;
  --gold: #c08a2e;
  --gold-lt: #e3b85c;
  --stone: #efeae1;
  --line: #ded9cf;
  --pad: 45px;
  --container-max: 1720px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 174px;
  --serif: "Lora", Georgia, serif;
  --sans: "PJS", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: #fff;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 350;
  word-spacing: 0.012em;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.16;
}

p {
  margin: 0 0 1.15em;
}

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

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

.container {
  width: 95%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-align: center;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.35;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--gold {
  background: var(--gold);
  color: #12233c;
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--lg {
  font-size: 20px;
  padding: 17px 38px;
}

.btn--sm {
  font-size: 15px;
  padding: 11px 24px;
}

/* ---- ribbon ---- */
.ribbon {
  background: #152a46;
  color: #c9d5e4;
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: 0.01em;
}

.ribbon b {
  color: var(--gold-lt);
  font-weight: 600;
}

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

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 104px;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
  z-index: 2;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 240px;
  height: 58px;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}

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

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.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 {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

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

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

.header__nav-extras {
  display: none;
}

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

.header__tel {
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__tel span {
  color: var(--gold-lt);
}

.header__cta .btn--sm {
  font-size: clamp(13px, 1vw, 15px);
  padding: clamp(9px, 0.9vw, 11px) clamp(16px, 1.4vw, 24px);
  flex-shrink: 0;
}

/* ---- hero ---- */
.hero {
  position: relative;
  background: var(--navy);
  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));
  min-height: 480px;
}

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

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    97deg,
    rgba(6, 19, 34, 0.94) 0%,
    rgba(7, 22, 39, 0.86) 38%,
    rgba(11, 30, 52, 0.55) 66%,
    rgba(13, 34, 58, 0.34) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  max-width: var(--container-max);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: min(100%, 640px);
  width: min(100%, 52%);
  padding: clamp(12px, 2vw, 28px) clamp(8px, 1.5vw, 20px);
  text-align: left;
}

.hero__eyebrow {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--gold-lt);
  margin: 0 0 16px;
  line-height: 1.4;
}

.hero__title {
  color: #fff;
  font-size: clamp(36px, 4.2vw, 57px);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: #cbd5e2;
  max-width: 520px;
  margin: 0 0 30px;
  line-height: 1.6;
}

.hero__rule {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 26px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero__tel {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}

.hero__tel small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #94a6bd;
  letter-spacing: 0.02em;
  margin-top: 3px;
}

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

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

/* ---- accolades ---- */
.accolades {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: 30px;
  padding-bottom: 30px;
  flex-wrap: wrap;
}

.accolades__label {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: #93a5bc;
  flex: 0 0 auto;
  max-width: 220px;
  line-height: 1.45;
}

.accolades__row {
  display: flex;
  align-items: center;
  gap: 26px 42px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 auto;
}

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

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

.accolades__badge--ntl {
  height: 48px;
}

.accolades__badge--sl {
  height: 29px;
}

.accolades__badge--aaj {
  height: 42px;
}

/* ---- sections ---- */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

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

.section__title {
  font-size: 40px;
  margin: 0 0 14px;
}

.section__lede {
  font-size: 19px;
  color: var(--body);
  margin: 0 0 44px;
  max-width: 760px;
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 24px;
}

/* ---- about ---- */
.about {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 74px;
  align-items: center;
}

.about__figure {
  position: relative;
}

.about__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

.about__figure::after {
  content: "";
  position: absolute;
  left: -16px;
  bottom: -16px;
  width: 52%;
  height: 56%;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  pointer-events: none;
}

.about__title {
  font-size: 41px;
  margin: 0 0 10px;
}

.about__subtitle {
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  margin: 0 0 22px;
}

.about__body {
  font-size: 17px;
  line-height: 1.78;
  max-width: 66ch;
}

.about__body p + p {
  margin-top: 0;
}

.about__signature {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  color: var(--ink);
}

.about__signature small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  color: var(--body);
  margin-top: 5px;
}

/* ---- band ---- */
.band {
  background: var(--navy);
  position: relative;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(192, 138, 46, 0.16), transparent 55%);
}

.band__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 52px;
  padding-bottom: 52px;
  flex-wrap: wrap;
}

.band__text {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.5;
  color: #f0f3f7;
  margin: 0;
  flex: 1 1 460px;
  max-width: 960px;
}

.band__text b {
  color: var(--gold-lt);
  font-weight: 600;
  white-space: nowrap;
}

/* ---- practice ---- */
.practice {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.practice__card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.practice__card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.practice__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--stone);
}

.practice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.practice__title {
  font-size: 22px;
  margin: 0 0 10px;
}

.practice__text {
  font-size: 15.5px;
  line-height: 1.62;
  margin: 0 0 20px;
}

.practice__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ---- values ---- */
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 74px;
}

.values__item {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}

.values__title {
  font-size: 23px;
  margin: 0 0 10px;
}

.values__text {
  font-size: 16.5px;
  line-height: 1.68;
  margin: 0;
}

/* ---- testimonial ---- */
.testimonial {
  background: var(--deep);
  color: #d7dee8;
  position: relative;
  overflow: hidden;
}

.testimonial__inner {
  max-width: 900px;
  padding-top: 92px;
  padding-bottom: 92px;
}

.testimonial__stars {
  color: var(--gold-lt);
  font-size: 19px;
  letter-spacing: 0.28em;
  margin-bottom: 22px;
}

.testimonial__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.34;
  color: #fff;
  font-weight: 500;
}

.testimonial__body {
  font-size: 17px;
  line-height: 1.74;
  margin: 26px 0 0;
  color: #afbccc;
}

.testimonial__name {
  margin-top: 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-lt);
}

/* ---- contact ---- */
.contact {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 74px;
  align-items: start;
}

.contact__title {
  font-size: 38px;
  margin: 0 0 14px;
}

.contact__list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contact__item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
}

.contact__item:last-child {
  border-bottom: 1px solid var(--line);
}

.contact__item a {
  overflow-wrap: anywhere;
}

.contact__item b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 3px;
  font-weight: 600;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

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

.form__label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.form__input,
.form__select {
  height: 40px;
  padding: 0 13px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 100%;
}

.form__select {
  appearance: none;
  background-image: url("../assets/images/icon-select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form__textarea {
  height: 120px;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  line-height: 1.55;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 138, 46, 0.14);
}

.form__submit {
  width: 100%;
  margin-top: 22px;
}

.form__note {
  font-size: 13.5px;
  line-height: 1.6;
  color: #79828f;
  margin: 16px 0 0;
}

/* ---- footer ---- */
.footer {
  background: var(--deep);
  color: #a9b7c8;
  padding-top: 66px;
  padding-bottom: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 52px;
}

.footer__logo {
  width: 280px;
  height: 84px;
  max-width: none;
  object-fit: contain;
  margin-bottom: 22px;
}

.footer__tagline,
.footer__text {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.footer__heading {
  color: #fff;
  font-size: 18px;
  margin: 0 0 18px;
}

.footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-item {
  margin-bottom: 11px;
}

.footer__nav-link {
  font-size: 16px;
}

.footer__nav-link:hover {
  color: var(--gold-lt);
}

.footer__tel {
  font-family: var(--serif);
  font-size: 26px;
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #7d8c9e;
}

/* ---- progressive header scaling before hamburger ---- */
@media (max-width: 1400px) {
  .header__inner {
    gap: 22px;
  }

  .header__nav-list {
    gap: clamp(12px, 1.2vw, 22px);
  }
}

@media (max-width: 1300px) {
  .header__cta {
    gap: 12px;
  }
}

/* ---- mobile nav ≤1200px ---- */
@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(7, 24, 41, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

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

  .header__toggle {
    display: flex;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: var(--deep);
    border-radius: 8px;
    margin-left: 0;
  }

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

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

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

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }

  .header__nav-extras .header__tel {
    font-size: 18px;
  }

  .header__cta {
    display: none;
  }

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

  .about,
  .contact {
    gap: 48px;
  }

  .section__title {
    font-size: 35px;
  }
}

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

@media (max-width: 900px) {
  :root {
    --pad: 26px;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(28px, 5vw, 48px) clamp(16px, 3vw, 28px) 0;
  }

  .hero__inner {
    height: auto;
    align-items: flex-start;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 0 0 clamp(16px, 3vw, 28px);
  }

  .hero__visual {
    position: relative;
    width: 100%;
    height: 420px;
    right: auto;
    bottom: auto;
  }

  .hero__image {
    width: 100%;
    height: 100%;
  }

  .about,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__figure::after {
    display: none;
  }

  .values {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .testimonial__quote {
    font-size: 27px;
  }

  .accolades__inner {
    justify-content: center;
  }

  .accolades__row {
    justify-content: center;
  }

  .accolades__label {
    max-width: none;
    text-align: center;
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(32px, 6vw, 48px) clamp(18px, 4vw, 28px) 0;
  }

  .hero__content {
    padding: 0 0 20px;
  }
}

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

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

  .hero__tel {
    text-align: center;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__eyebrow {
    font-size: 17px;
  }

  .section__title,
  .about__title,
  .contact__title {
    font-size: 29px;
  }

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

  .form {
    padding: 26px;
  }

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

  .band__text {
    font-size: 20px;
  }

  .testimonial__quote {
    font-size: 23px;
  }

  .btn--lg {
    width: 100%;
    font-size: 16px;
    padding: 14px 22px;
  }

  .header__logo img {
    width: 200px;
    height: 48px;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}
