:root {
  --ink: #21252A;
  --ink2: #2E3136;
  --ink3: #171A1E;
  --brass: #B4894C;
  --brass-lt: #D8B77E;
  --brass-dk: #8E6A36;
  --stone: #EFEBE4;
  --stone2: #F7F5F1;
  --paper: #FFFFFF;
  --line: #DFD9CF;
  --line-dk: rgba(216, 183, 126, 0.22);
  --body: #4A5057;
  --pad: 45px;
  --ff-d: "Gilda Display", Georgia, serif;
  --ff-b: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-l: "Cinzel", Georgia, serif;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 136px;
}

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

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--ff-b);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--ff-d);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.1em;
}

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

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

.container {
  width: 95%;
  max-width: var(--container-max);
  margin-inline: auto;
}

/* ============ eyebrow ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 9px;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--ff-b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dk);
  line-height: 1;
}

.eyebrow__rule {
  position: relative;
  display: block;
  width: 74px;
  height: 1px;
  background: var(--brass);
  flex: 0 0 74px;
}

.eyebrow__rule::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--brass);
}

.section--dark .eyebrow,
.eyebrow--light {
  color: var(--brass-lt);
}

.section--dark .eyebrow__rule,
.eyebrow--light .eyebrow__rule {
  background: var(--brass-lt);
}

.section--dark .eyebrow__rule::after,
.eyebrow--light .eyebrow__rule::after {
  background: var(--brass-lt);
}

/* ============ logo ============ */
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.logo__mark {
  width: auto;
  height: 56px;
  flex: 0 0 auto;
  flex-shrink: 0;
  max-width: none;
}

.logo__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-family: var(--ff-l);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.045em;
  color: var(--ink2);
  line-height: 1;
}

.logo__tag {
  font-family: var(--ff-l);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.235em;
  color: var(--ink2);
  margin-top: 5px;
  padding-left: 0.12em;
}

.logo--light .logo__name,
.logo--light .logo__tag {
  color: #F2EFEA;
}

/* ============ utility strip ============ */
.utility {
  background: var(--ink3);
  color: rgba(242, 239, 234, 0.62);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

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

.utility__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.utility__accent {
  font-style: normal;
  color: var(--brass-lt);
}

.utility__icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.6;
}

/* ============ header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, padding 0.3s;
}

.header--stuck {
  box-shadow: 0 10px 34px -22px rgba(33, 37, 42, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 96px;
  transition: min-height 0.3s;
}

.header--stuck .header__inner {
  min-height: 80px;
}

.header--stuck .logo__mark {
  height: 48px;
}

.header--stuck .logo__name {
  font-size: 26px;
}

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

.header__nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink2);
  padding: 8px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__nav-link:hover::after,
.header__nav-link[aria-current]::after {
  width: 100%;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}

.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}

.header__phone-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass-dk);
}

.header__phone-number {
  font-family: var(--ff-d);
  font-size: 22px;
  color: var(--ink);
}

.header__phone-number:hover {
  color: var(--brass-dk);
}

.header__cta {
  flex-shrink: 0;
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.header__burger-icon {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink2);
  position: relative;
  transition: background 0.25s;
}

.header__burger-icon::before,
.header__burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--ink2);
  transition: transform 0.25s, top 0.25s;
}

.header__burger-icon::before {
  top: -6px;
}

.header__burger-icon::after {
  top: 6px;
}

.header__burger[aria-expanded="true"] .header__burger-icon {
  background: transparent;
}

.header__burger[aria-expanded="true"] .header__burger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile panel overlay */
.header__overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(23, 26, 30, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.header__overlay--visible {
  opacity: 1;
  visibility: visible;
}

.header__panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: min(400px, 88vw);
  height: 100%;
  height: 100dvh;
  background: var(--paper);
  box-shadow: -18px 0 48px -28px rgba(33, 37, 42, 0.55);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.header__panel--open {
  transform: translateX(0);
}

.header__nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header__nav-close-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.header__nav-close-icon::before,
.header__nav-close-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink2);
}

.header__nav-close-icon::before {
  transform: rotate(45deg);
}

.header__nav-close-icon::after {
  transform: rotate(-45deg);
}

.header__panel-inner {
  display: flex;
  flex-direction: column;
  padding: 72px 28px 36px;
}

.header__panel-link {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink2);
}

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

.header__nav-extras .header__phone {
  padding-left: 0;
  border-left: none;
}

.header__nav-extras .header__phone-number {
  font-size: 26px;
}

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

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 999px;
  font-family: var(--ff-b);
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.28s, color 0.28s, border-color 0.28s, transform 0.28s, box-shadow 0.28s;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
}

.btn__icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
  fill: none;
  flex: 0 0 15px;
}

.btn--primary {
  background: var(--brass);
  color: #fff;
  padding: 17px 34px;
  font-size: 20px;
  box-shadow: 0 14px 30px -16px rgba(180, 137, 76, 0.85);
}

.btn--primary .btn__icon {
  stroke: #fff;
}

.btn--primary:hover {
  background: var(--brass-dk);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -16px rgba(142, 106, 54, 0.9);
}

.btn--sm {
  background: var(--brass);
  color: #fff;
  padding: 13px 26px;
  font-size: 14px;
}

.btn--sm:hover {
  background: var(--brass-dk);
}

.btn--ghost {
  background: transparent;
  color: #F2EFEA;
  border-color: rgba(242, 239, 234, 0.42);
  padding: 16px 32px;
  font-size: 20px;
}

.btn--ghost .btn__icon {
  stroke: currentColor;
}

.btn--ghost:hover {
  background: rgba(242, 239, 234, 0.1);
  border-color: var(--brass-lt);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--ink2);
  border-color: var(--line);
  padding: 15px 30px;
  font-size: 14px;
}

.btn--outline .btn__icon {
  stroke: var(--brass);
}

.btn--outline:hover {
  border-color: var(--brass);
  color: var(--brass-dk);
}

/* ============ hero ============ */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  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: url("../assets/images/bg-hero.jpg") center / cover no-repeat;
  opacity: 0.34;
  filter: grayscale(1) contrast(1.1);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    #191C20 0%,
    rgba(25, 28, 32, 0.95) 40%,
    rgba(33, 37, 42, 0.72) 66%,
    rgba(46, 49, 54, 0.5) 100%
  );
}

.hero__glow {
  position: absolute;
  right: 6%;
  bottom: -14%;
  width: min(760px, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 137, 76, 0.24), transparent 68%);
}

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

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

.hero__kick {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-lt);
  line-height: 1;
}

.hero__kick-rule {
  display: block;
  width: 52px;
  height: 1px;
  background: var(--brass-lt);
  position: relative;
}

.hero__kick-rule::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--brass-lt);
}

.hero__title {
  font-size: clamp(34px, 3.55vw, 60px);
  color: #FBF9F6;
  letter-spacing: -0.012em;
}

.hero__title-accent {
  font-style: normal;
  color: var(--brass-lt);
}

.hero__lede {
  margin: 24px 0 0;
  max-width: 600px;
  color: rgba(240, 237, 232, 0.8);
  font-size: 17.5px;
  line-height: 1.78;
  font-weight: 300;
}

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

.hero__tel {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding-left: 20px;
  border-left: 1px solid rgba(216, 183, 126, 0.4);
}

.hero__tel-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 5px;
}

.hero__tel-number {
  font-family: var(--ff-d);
  font-size: 24px;
  color: #FBF9F6;
}

.hero__tel-number:hover {
  color: var(--brass-lt);
}

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

.hero__plate {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(560px, 42vw);
  aspect-ratio: 1 / 1.16;
  border: 1px solid rgba(216, 183, 126, 0.4);
  border-bottom: none;
  border-radius: 280px 280px 0 0;
  background: linear-gradient(180deg, rgba(216, 183, 126, 0.09), transparent 62%);
  pointer-events: none;
}

.hero__plate::after {
  content: "";
  position: absolute;
  inset: 16px 16px 0;
  border: 1px solid rgba(216, 183, 126, 0.16);
  border-bottom: none;
  border-radius: 264px 264px 0 0;
}

.hero__image {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  margin-left: auto;
  margin-right: 4%;
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: 0;
  bottom: 74px;
  z-index: 2;
  background: var(--paper);
  padding: 20px 26px;
  max-width: 250px;
  box-shadow: 0 26px 54px -26px rgba(0, 0, 0, 0.62);
  border-left: 3px solid var(--brass);
  pointer-events: auto;
}

.hero__badge-amount {
  display: block;
  font-family: var(--ff-d);
  font-size: 31px;
  color: var(--ink);
  line-height: 1;
}

.hero__badge-label {
  display: block;
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-dk);
}

.hero__badge-text {
  display: block;
  margin-top: 9px;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
}

/* ============ accolades ============ */
.accolades {
  background: var(--ink2);
  border-top: 1px solid rgba(216, 183, 126, 0.2);
}

.accolades__inner {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
  padding: 34px 0;
}

.accolades__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-lt);
  line-height: 1.5;
  max-width: 150px;
  padding-right: 32px;
  border-right: 1px solid rgba(216, 183, 126, 0.26);
  margin: 0;
}

.accolades__plaque {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  opacity: 0.82;
  transition: opacity 0.35s, transform 0.35s;
}

.accolades__plaque:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.accolades__image {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.accolades__plaque--sq .accolades__image {
  max-height: 82px;
}

.accolades__plaque--wide .accolades__image {
  max-height: 66px;
}

.accolades__plaque--xwide .accolades__image {
  max-height: 44px;
}

.accolades__plaque--mid .accolades__image {
  max-height: 56px;
}

/* ============ sections ============ */
.section {
  padding: 112px 0;
}

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

.section__title {
  font-size: clamp(28px, 2.5vw, 42px);
  max-width: 20ch;
}

/* ============ about ============ */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 5vw, 86px);
  align-items: center;
}

.about__figure {
  position: relative;
}

.about__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.04);
}

.about__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 52%, rgba(23, 26, 30, 0.55));
}

.about__frame {
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1px solid var(--brass);
  z-index: -1;
}

.about__stat {
  position: absolute;
  right: -1px;
  bottom: -1px;
  background: var(--paper);
  padding: 24px 28px;
  max-width: 230px;
  box-shadow: 0 24px 50px -28px rgba(33, 37, 42, 0.5);
}

.about__stat-title {
  display: block;
  font-family: var(--ff-d);
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
}

.about__stat-text {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dk);
}

.about__body .section__title {
  margin-bottom: 26px;
  max-width: 26ch;
}

.about__body p {
  font-size: 17.5px;
}

.about__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 46px;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.about__list {
  margin: 0;
  padding: 0;
}

.about__list-item {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.6;
  padding: 9px 0;
}

.about__check {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 5px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 2;
}

.about__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}

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

.practice__intro {
  max-width: 44ch;
  margin: 0;
  font-size: 16.5px;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
}

.practice-card {
  position: relative;
  display: block;
  background: var(--paper);
  overflow: hidden;
}

.practice-card__bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--brass);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.practice-card:hover .practice-card__bar {
  width: 100%;
}

.practice-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.practice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s;
}

.practice-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 26, 30, 0.06), rgba(23, 26, 30, 0.6));
  transition: opacity 0.5s;
}

.practice-card:hover .practice-card__image {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.05);
}

.practice-card__body {
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 172px;
}

.practice-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brass);
  line-height: 1;
}

.practice-card__title {
  font-size: 22px;
  line-height: 1.24;
  letter-spacing: 0;
}

.practice-card__text {
  font-size: 14.8px;
  line-height: 1.62;
  margin: 0;
  color: #5A6068;
}

.practice-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-dk);
}

.practice-card__cta-icon {
  width: 15px;
  height: 15px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.35s;
}

.practice-card:hover .practice-card__cta-icon {
  transform: translateX(5px);
}

.practice-card--cta {
  background: var(--ink2);
  color: #F2EFEA;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 36px;
  gap: 16px;
  min-height: 100%;
}

.practice-card--cta .practice-card__title {
  color: #FBF9F6;
  font-size: 26px;
  max-width: 14ch;
}

.practice-card--cta .practice-card__text {
  font-size: 15px;
  color: rgba(240, 237, 232, 0.68);
  margin: 0;
  max-width: 30ch;
}

.practice-card--cta .practice-card__cta {
  color: var(--brass-lt);
}

.practice-card--cta .practice-card__cta-icon {
  stroke: var(--brass-lt);
}

.practice-card--cta:hover {
  background: var(--ink3);
}

/* ============ case results ============ */
.cases {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  padding: 104px 0;
}

.cases__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-cases.jpg") center / cover no-repeat;
  opacity: 0.2;
  filter: grayscale(1);
}

.cases__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 26, 30, 0.94), rgba(33, 37, 42, 0.9));
}

.cases__inner {
  position: relative;
}

.cases .section__title {
  color: #FBF9F6;
}

.cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}

.cases__intro {
  max-width: 40ch;
  margin: 0;
  color: rgba(240, 237, 232, 0.66);
  font-size: 16px;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cases__item {
  padding: 38px var(--pad) 38px 0;
  border-left: 1px solid rgba(216, 183, 126, 0.22);
  padding-left: 34px;
  position: relative;
}

.cases__item:first-child {
  border-left: none;
  padding-left: 0;
}

.cases__amount {
  display: block;
  font-family: var(--ff-d);
  font-size: clamp(32px, 3vw, 48px);
  color: #FBF9F6;
  line-height: 1;
  letter-spacing: -0.015em;
}

.cases__type {
  display: block;
  margin-top: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brass-lt);
}

.cases__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.72);
}

.cases__link-icon {
  width: 14px;
  height: 14px;
  stroke: var(--brass-lt);
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.35s;
}

.cases__link:hover {
  color: #fff;
}

.cases__link:hover .cases__link-icon {
  transform: translateX(5px);
}

.cases__note {
  margin: 52px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(216, 183, 126, 0.2);
  font-size: 13px;
  color: rgba(240, 237, 232, 0.42);
  max-width: 78ch;
  line-height: 1.7;
}

/* ============ values ============ */
.values__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 58px;
}

.values__head .section__title {
  max-width: 24ch;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
}

.values__item {
  background: var(--paper);
  padding: 52px 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.35s;
}

.values__item:hover {
  background: var(--stone2);
}

.values__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
}

.values__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brass-dk);
  fill: none;
  stroke-width: 1.5;
}

.values__title {
  font-size: 23px;
}

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

/* ============ testimonial ============ */
.testimonial {
  background: var(--stone);
}

.testimonial__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.testimonial__quote {
  position: relative;
}

.testimonial__mark {
  font-family: var(--ff-d);
  font-size: 120px;
  line-height: 0.7;
  color: var(--brass);
  opacity: 0.28;
  display: block;
  margin-bottom: -18px;
}

.testimonial__text {
  margin: 0;
  font-family: var(--ff-d);
  font-size: clamp(20px, 1.62vw, 27px);
  line-height: 1.56;
  color: var(--ink);
  letter-spacing: -0.004em;
}

.testimonial__cite {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dk);
}

.testimonial__cite-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brass);
}

.testimonial__stars {
  display: flex;
  gap: 5px;
  margin-bottom: 26px;
}

.testimonial__star {
  width: 17px;
  height: 17px;
  fill: var(--brass);
  stroke: none;
}

.testimonial__figure {
  position: relative;
}

.testimonial__image {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: grayscale(0.2);
}

.testimonial__frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--brass);
  z-index: -1;
}

/* ============ contact ============ */
.contact {
  background: var(--ink2);
  position: relative;
  overflow: hidden;
}

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

.contact .section__title {
  color: #FBF9F6;
  max-width: 20ch;
}

.contact__lede {
  margin: 22px 0 0;
  color: rgba(240, 237, 232, 0.72);
  font-size: 16.5px;
  max-width: 44ch;
  font-weight: 300;
}

.contact__list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(216, 183, 126, 0.2);
}

.contact__list-item {
  background: var(--ink2);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 4px;
}

.contact__list-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 4px;
  stroke: var(--brass-lt);
  fill: none;
  stroke-width: 1.5;
}

.contact__list-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 7px;
}

.contact__list-value {
  display: block;
  font-family: var(--ff-d);
  font-size: 19px;
  font-weight: 400;
  color: #FBF9F6;
  line-height: 1.45;
}

.contact__list-value a:hover {
  color: var(--brass-lt);
}

.contact__address {
  font-style: normal;
}

.contact__form {
  background: var(--paper);
  padding: var(--pad);
}

.contact__form-title {
  font-size: 26px;
  margin-bottom: 8px;
}

.contact__form-note {
  font-size: 14px;
  margin: 0 0 28px;
  color: #5A6068;
}

.contact__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.contact__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dk);
}

.contact__input,
.contact__select,
.contact__textarea {
  font-family: var(--ff-b);
  font-size: 15px;
  color: var(--ink);
  background: var(--stone2);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 16px;
  width: 100%;
  height: 40px;
  transition: border-color 0.28s, background 0.28s;
}

.contact__textarea {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.6;
}

.contact__select {
  appearance: none;
  background-image: url("../assets/images/icon-select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px;
  padding-right: 40px;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--paper);
}

.contact__form .btn--primary {
  width: 100%;
  margin-top: 24px;
}

.contact__disclaimer {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #767C84;
}

/* ============ footer ============ */
.footer {
  background: var(--ink3);
  color: rgba(240, 237, 232, 0.6);
  font-size: 14.5px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.9fr));
  gap: clamp(30px, 3.6vw, 60px);
  padding: 80px 0 62px;
}

.footer__heading {
  font-family: var(--ff-b);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0 0 22px;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link:hover {
  color: var(--brass-lt);
}

.footer__about-text {
  margin: 24px 0 0;
  max-width: 40ch;
  line-height: 1.75;
  font-size: 14.5px;
}

.footer__phone {
  display: block;
  margin-top: 24px;
  font-family: var(--ff-d);
  font-size: 26px;
  color: #FBF9F6;
}

.footer__phone:hover {
  color: var(--brass-lt);
}

.footer__hours {
  margin-top: 18px;
}

.footer__bottom {
  border-top: 1px solid rgba(216, 183, 126, 0.16);
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(240, 237, 232, 0.4);
}

.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

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

/* ============ reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--shown {
  opacity: 1;
  transform: none;
}

.reveal--delay-2 {
  transition-delay: 0.09s;
}

.reveal--delay-3 {
  transition-delay: 0.18s;
}

.reveal--delay-4 {
  transition-delay: 0.27s;
}

.reveal--delay-5 {
  transition-delay: 0.36s;
}

.reveal--delay-6 {
  transition-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

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

  .header__phone-number {
    font-size: 20px;
  }

  .header__actions {
    gap: 16px;
  }

  .btn--sm {
    padding: 12px 22px;
    font-size: 13px;
  }
}

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

  .header__nav {
    gap: 16px;
  }

  .header__nav-link {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .header__phone-number {
    font-size: 18px;
  }

  .header__phone {
    padding-left: 16px;
  }

  .header__actions {
    gap: 14px;
  }

  .btn--sm {
    padding: 11px 18px;
    font-size: 12.5px;
  }

  .btn--primary,
  .btn--ghost {
    font-size: 17px;
    padding: 15px 26px;
  }

  .hero__badge {
    bottom: 56px;
    padding: 17px 21px;
    max-width: 210px;
  }

  .hero__plate {
    width: 46vw;
    right: 0;
  }

  .accolades__inner {
    gap: 22px;
  }

  .accolades__label {
    padding-right: 20px;
    font-size: 10.5px;
  }
}

/* Hide mobile panel/overlay on desktop so links stay out of tab order */
@media (min-width: 1201px) {
  .header__panel,
  .header__overlay {
    display: none;
  }
}

/* ============ nav hamburger breakpoint ============ */
@media (max-width: 1200px) {
  .header__inner {
    min-height: 82px;
  }

  .header__nav,
  .header__phone,
  .header__cta {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__panel,
  .header__overlay {
    display: flex;
  }

  .header__overlay {
    display: block;
  }

  .accolades__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .accolades__label {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid rgba(216, 183, 126, 0.26);
    max-width: none;
    padding: 0 0 18px;
    text-align: center;
  }

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

  .about__figure {
    max-width: 520px;
  }

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

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

  .cases__item {
    padding: 32px 30px;
    border-left: 1px solid rgba(216, 183, 126, 0.22);
    border-top: 1px solid rgba(216, 183, 126, 0.22);
  }

  .cases__item:first-child {
    padding-left: 30px;
    border-left: 1px solid rgba(216, 183, 126, 0.22);
  }

  .cases__item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

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

  .testimonial__figure {
    order: -1;
    max-width: 560px;
  }
}

/* ============ button wrap ============ */
@media (max-width: 980px) {
  .btn {
    white-space: normal;
  }

  .btn--primary,
  .btn--ghost {
    font-size: 16px;
    padding: 15px 24px;
  }

  .hero__actions {
    flex-wrap: wrap;
  }
}

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

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

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 0 0 clamp(24px, 4vw, 40px);
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 400px;
    justify-content: center;
    order: 2;
  }

  .hero__image {
    margin-right: auto;
    margin-left: auto;
    height: 100%;
  }

  .hero__plate {
    width: min(330px, 84vw);
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero__badge {
    display: none;
  }

  .hero__title {
    font-size: clamp(29px, 7.6vw, 38px);
  }

  .hero__lede {
    font-size: 16px;
  }

  .hero__actions {
    gap: 14px;
  }

  .hero__tel {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(216, 183, 126, 0.34);
    padding-top: 16px;
    width: 100%;
  }
}

/* ============ full-width CTAs ============ */
@media (max-width: 640px) {
  .hero__actions .btn--primary {
    width: 100%;
    font-size: 14px;
    padding: 15px 18px;
    letter-spacing: 0.04em;
    gap: 9px;
  }

  .btn--primary {
    width: 100%;
  }
}

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

  .section {
    padding: 74px 0;
  }

  .cases {
    padding: 74px 0;
  }

  .utility__inner {
    justify-content: center;
    text-align: center;
    gap: 6px 18px;
    padding: 9px 0;
  }

  .utility__item:nth-child(2) {
    display: none;
  }

  .logo__mark {
    height: 44px;
  }

  .logo__name {
    font-size: 23px;
  }

  .logo__tag {
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .accolades__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 26px 0;
    gap: 26px 20px;
  }

  .practice__grid,
  .values__grid,
  .cases__grid,
  .about__cols,
  .contact__fields,
  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__frame,
  .testimonial__frame {
    display: none;
  }

  .about__cols {
    gap: 0;
  }

  .cases__item,
  .cases__item:nth-child(odd) {
    padding: 26px 0;
    border-left: none;
    padding-left: 0;
  }

  .values__item {
    padding: 38px 28px;
  }

  .contact__form {
    padding: 30px 24px;
  }

  .testimonial__mark {
    font-size: 88px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .accolades__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    height: 340px;
  }

  .hero__actions .btn--primary {
    font-size: 13px;
    padding: 14px 15px;
    letter-spacing: 0.03em;
    gap: 7px;
  }
}
