:root {
  --red: #fe4240;
  --dark-red: #8c0808;
  --divider: #e2e3e8;
  --text: #000;
  --max: 1217px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 1000; padding: 10px 14px; background: #fff; }
.skip-link:focus { top: 12px; }

.hero { position: relative; height: calc(100vh - 101px); overflow: hidden; background: #080b12; }
.hero-slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 1.2s ease; background: var(--hero-image) center center / cover no-repeat; }
.hero-slide.is-active { opacity: 1; }
.hero-copy { width: min(92%, 1280px); color: #fff; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.2); }
.hero-title { margin: 0 0 22px; font-size: clamp(40px, 4.16vw, 60px); font-weight: 500; line-height: 1.2; }
.hero-sub { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: clamp(27px, 3.12vw, 45px); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.hero-sub span { width: 56px; height: 2px; background: rgba(255,255,255,.55); }

.site-header { position: sticky; top: 0; z-index: 100; height: 101px; background: var(--red); color: #fff; }
.header-inner { width: min(calc(100% - 60px), var(--max)); height: 100%; margin: 0 auto; display: flex; align-items: center; }
.brand { width: 30%; display: flex; align-items: center; padding-left: 23px; }
.brand img { width: 300px; height: auto; display: block; object-fit: contain; }
.main-nav { width: 70%; display: flex; justify-content: flex-end; align-items: stretch; height: 100%; }
.main-nav a { position: relative; display: flex; align-items: center; padding: 0 22px; color: #fff; text-decoration: none; font-size: 20px; font-weight: 400; white-space: nowrap; }
.main-nav a::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; background: #fff; transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::before, .main-nav a:focus-visible::before { transform: scaleX(1); }
.menu-toggle { display: none; }

main { display: block; }
.content-section { scroll-margin-top: 101px; padding: 150px 30px 105px; background: #fff; }
.two-col { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.copy-col { min-width: 0; padding: 0 23px; }
.content-section h2 { margin: 0; color: var(--red); font-size: 48px; font-weight: 700; line-height: 1.33; }
.title-rule { width: 167px; height: 2px; margin: 52px 0 47px; background: #e3e3e3; }
.content-section p { margin: 0 0 20px; font-size: 22px; line-height: 1.9; font-weight: 400; }
.image-link { align-self: start; display: block; min-width: 0; margin: 0 23px; overflow: hidden; cursor: zoom-in; }
.image-link img { display: block; width: 100%; height: auto; transition: transform .35s ease, filter .35s ease; }
.image-link:hover img { transform: scale(1.015); filter: brightness(.96); }
.section-divider { height: 100px; background: var(--divider); }

.expertise { padding-top: 150px; }
.practice h3 { margin: 32px 0 0; font-size: 32px; line-height: 1.33; font-weight: 700; }
.practice p { margin-bottom: 20px; }
.second-col { padding-top: 322px; }
.first-practice h3 { margin-top: 0; }
.languages { margin-top: 24px; }
.languages h2 { margin-bottom: 18px; }
.expertise-images { width: min(100%, var(--max)); margin: 58px auto 0; display: grid; grid-template-columns: 1fr 1fr; }
.expertise-images .image-link { margin: 0 23px; }
.compact-section { padding-top: 140px; padding-bottom: 82px; }
.compact-section .title-rule { margin: 18px 0 40px; }
.compact-section .image-link { margin-top: 20px; }
.closing-space { height: 263px; }
.footer-band { height: 121px; background: var(--red); }

.site-footer { min-height: 112px; padding: 15px 30px; background: var(--dark-red); color: #fff; font-size: 13px; }
.footer-inner { width: min(100%, var(--max)); min-height: 82px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 7px; text-align: center; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.to-top { position: fixed; right: 74px; bottom: 0; z-index: 90; width: 48px; height: 38px; border: 0; border-radius: 4px 4px 0 0; color: #fff; background: #5d5d5d; font-size: 24px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 40px; background: rgba(0,0,0,.88); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; object-fit: contain; box-shadow: 0 12px 60px rgba(0,0,0,.45); }
.lightbox-close { position: absolute; right: 26px; top: 18px; border: 0; color: #fff; background: transparent; font-size: 48px; cursor: pointer; }

.legal-main { min-height: 70vh; padding: 120px 30px; }
.legal-inner { width: min(100%, var(--max)); margin: 0 auto; }
.legal-inner h1 { margin: 0 0 48px; color: var(--red); font-size: 48px; font-weight: 700; line-height: 1.25; }
.legal-inner .legal-identity { margin: 0 0 20px; color: #000; font-size: 18px; font-weight: 700; line-height: 1.75; }
.legal-identity span { display: block; font-weight: 400; }
.legal-inner h2 { margin: 42px 0 12px; color: #000; font-size: 28px; font-weight: 700; line-height: 1.35; }
.legal-inner p, .legal-inner li { margin: 0 0 20px; font-size: 18px; line-height: 1.75; }
.legal-inner a { color: var(--red); }
.legal-header { position: sticky; top: 0; }

@media (max-width: 1024px) {
  .main-nav a { padding-inline: 12px; font-size: 16px; }
  .main-nav a::before { left: 12px; right: 12px; }
  .content-section h2 { font-size: 42px; }
  .content-section p { font-size: 20px; }
  .practice h3 { font-size: 28px; }
  .second-col { padding-top: 295px; }
}

@media (max-width: 800px) {
  .hero { display: block; height: clamp(310px, 56vh, 430px); }
  .hero-slide { background-position: center top; }
  .hero-copy { width: calc(100% - 38px); padding-top: 28px; }
  .hero-title { margin-bottom: 15px; font-size: clamp(29px, 8vw, 38px); line-height: 1.15; }
  .hero-sub { gap: 9px; font-size: clamp(18px, 5.2vw, 25px); line-height: 1.25; white-space: normal; }
  .hero-sub span { flex: 0 0 24px; width: 24px; height: 1px; }
  .site-header { height: 68px; }
  .header-inner { width: 100%; padding: 0 29px; position: relative; }
  .brand { width: auto; flex: 1; padding-left: 0; }
  .brand img { width: 240px; height: auto; }
  .menu-toggle { display: grid; place-content: center; gap: 4px; width: 30px; height: 30px; padding: 5px; border: 1px solid #fff; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: #fff; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .main-nav { position: absolute; left: 0; right: 0; top: 68px; display: none; width: auto; height: auto; background: rgba(254, 95, 93, .92); }
  .main-nav.is-open { display: block; }
  .main-nav a { height: 64px; padding: 0 28px; border-top: 1px solid rgba(255,255,255,.18); font-size: 18px; }
  .main-nav a::before { display: none; }
  .content-section { scroll-margin-top: 68px; padding: 145px 29px 85px; }
  .two-col { display: block; }
  .copy-col { padding: 0; }
  .content-section h2 { font-size: 34px; line-height: 1.35; font-weight: 600; }
  .title-rule { width: 125px; margin: 22px 0 39px; }
  .content-section p { font-size: 21px; line-height: 1.9; }
  .image-link { margin: 55px 0 0; }
  .section-divider { height: 66px; }
  .practice h3 { font-size: 27px; }
  .second-col { padding-top: 16px; }
  .languages { margin-top: 48px; }
  .expertise-images { display: block; margin-top: 46px; }
  .expertise-images .image-link { margin: 0; }
  .expertise-images .image-link + .image-link { margin-top: 46px; }
  .compact-section { padding-top: 110px; }
  .closing-space { height: 120px; }
  .footer-band { height: 72px; }
  .site-footer { padding: 26px 24px; }
  .to-top { right: 18px; }
  .legal-main { padding: 92px 29px; }
  .legal-inner h1 { font-size: 36px; }
  .legal-inner h2 { font-size: 26px; }
  .legal-inner p, .legal-inner li { font-size: 18px; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
