:root {
  --ink: #171717;
  --muted: #606163;
  --paper: #f8f5ef;
  --white: #ffffff;
  --line: rgba(23, 23, 23, 0.14);
  --gold: #af8b65;
  --wine: #682f38;
  --green: #092140;
  --shadow: 0 24px 80px rgba(23, 23, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 520px),
    var(--paper);
  font-family: "Inter", Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: var(--white);
  border-bottom: 1px solid rgba(175, 139, 101, 0.18);
  background: rgba(5, 12, 20, 0.58);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: clamp(168px, 20vw, 252px);
  height: clamp(50px, 5.8vw, 72px);
  overflow: visible;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

nav a {
  opacity: 0.86;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  padding: 140px clamp(18px, 6vw, 84px) 72px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(9, 33, 64, 0.98) 0%, rgba(9, 33, 64, 0.78) 42%, rgba(9, 33, 64, 0.08) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 48%),
    url("bannerphoto.png") 56% 42px / cover;
}

.hero::before {
  position: absolute;
  inset: 92px clamp(18px, 6vw, 84px) 40px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(175, 139, 101, 0.3);
  border-bottom-color: rgba(175, 139, 101, 0.1);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--paper));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  padding-left: clamp(0px, 2vw, 24px);
  border-left: 3px solid var(--gold);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 14px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.28rem;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero__copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button--primary {
  color: var(--ink);
  border-color: var(--gold);
  background: linear-gradient(135deg, #fff7ea, var(--gold));
}

.button--secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero__panel {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 42px;
  z-index: 1;
  width: min(310px, calc(100% - 36px));
  padding: 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero__panel span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__panel strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

.intro,
.practice,
.experience,
.testimonials,
.contact,
.feature {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  border-bottom: 1px solid rgba(9, 33, 64, 0.08);
}

.intro > p {
  margin-top: 12px;
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.55fr);
  gap: 36px;
  margin-bottom: 42px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-card {
  min-height: 280px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.practice-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  border-color: rgba(175, 139, 101, 0.5);
  box-shadow: 0 22px 54px rgba(9, 33, 64, 0.12);
}

.practice-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--wine);
  font-weight: 800;
}

.practice-card p {
  margin-bottom: 0;
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.18), transparent 24%),
    linear-gradient(135deg, #0f3159 0%, var(--green) 48%, #07182f 100%);
  border-top: 1px solid rgba(175, 139, 101, 0.42);
  border-bottom: 1px solid rgba(175, 139, 101, 0.28);
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(255, 255, 255, 0.18);
  outline-offset: -10px;
}

.feature h2,
.feature p {
  color: var(--white);
}

.feature p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.timeline-item span {
  display: block;
  margin-bottom: 20px;
  color: var(--wine);
  font-weight: 800;
}

.timeline-item p {
  margin-bottom: 0;
}

.testimonials {
  border-top: 1px solid rgba(9, 33, 64, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18)),
    var(--paper);
}

.testimonial-grid {
  display: flex;
  gap: 18px;
  margin-inline: calc(clamp(18px, 6vw, 84px) * -1);
  padding: 6px clamp(18px, 6vw, 84px) 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  display: flex;
  flex: 0 0 min(360px, calc(100vw - 48px));
  min-width: min(360px, calc(100vw - 48px));
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(9, 33, 64, 0.08);
}

.testimonial-card blockquote {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.12rem, 1.8vw, 1.46rem);
  line-height: 1.45;
}

.testimonial-card blockquote::before {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 18px;
  content: "";
  background: var(--gold);
}

.testimonial-card figcaption {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-card strong {
  color: var(--wine);
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(220px, 340px);
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(175, 139, 101, 0.16), transparent 34%),
    linear-gradient(135deg, #061324, var(--green));
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.contact-intro {
  max-width: 760px;
}

.contact-photo {
  width: min(100%, 340px);
  align-self: end;
  justify-self: start;
  margin-bottom: calc(clamp(70px, 9vw, 128px) * -1);
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.28));
}

.contact-card {
  display: grid;
  align-self: end;
  gap: 12px;
  width: min(100%, 520px);
  margin-top: 34px;
  padding-top: 20px;
  border-top: 2px solid var(--gold);
}

.contact-card a {
  overflow-wrap: anywhere;
  color: var(--gold);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.2;
}

.contact-card__title {
  margin: 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(18px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(175, 139, 101, 0.22);
  background: #061324;
  font-size: 0.9rem;
}

.footer-top {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--gold);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
}

.footer-top:hover {
  background: #fff7ea;
}

.footer-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .hero {
    min-height: 860px;
  }

  .hero__panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 54px;
  }

  .intro,
  .section-heading,
  .feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-photo {
    width: min(100%, 260px);
    justify-self: start;
    margin-bottom: 0;
    transform: none;
  }

  .contact-intro {
    transform: none;
  }

  .contact-card {
    width: min(100%, 520px);
    align-self: start;
  }

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

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 12px;
  }

  nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(10px, 4vw, 18px);
    font-size: 0.68rem;
  }

  .brand {
    width: 138px;
    height: 42px;
    flex: 0 0 auto;
  }

  .hero {
    min-height: 820px;
    padding-top: 130px;
    background-position: 50% 34px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero__actions,
  footer {
    flex-direction: column;
  }

  footer,
  .footer-credentials {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .contact {
    padding-bottom: 0;
  }

  .contact-photo {
    width: min(86vw, 320px);
    justify-self: center;
    margin-top: 10px;
    margin-bottom: 0;
    transform: none;
  }

  .practice-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  nav {
    gap: 9px;
    font-size: 0.62rem;
  }

  .brand {
    width: 124px;
    height: 38px;
  }
}
