:root {
  --gold: #d3ad26;
  --gold-dark: #967613;
  --gold-soft: #f3ead0;
  --charcoal: #1d1d1b;
  --ink: #252525;
  --muted: #6c6c6c;
  --paper: #f7f4ec;
  --line: #e2ddcf;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(31, 31, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

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

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(20px, 5vw, 88px);
  color: #d8d2c1;
  background: #171716;
  font-size: 0.78rem;
}

.top-bar a:hover,
.nav a:hover,
.footer-brand + div a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 88px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 112px;
  border-radius: 4px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: #444;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-action {
  padding: 11px 15px;
  color: #16130a;
  background: var(--gold);
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 610px;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 14, 13, 0.74), rgba(14, 14, 13, 0.38), rgba(14, 14, 13, 0.74)),
    rgba(0, 0, 0, 0.26);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  padding: 70px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.consultation-band h2 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
}

.hero p:not(.eyebrow) {
  max-width: 740px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: #17130a;
  background: var(--gold);
}

.button.outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1080px, calc(100% - 40px));
  margin: -44px auto 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--gold-dark);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: clamp(68px, 8vw, 112px) clamp(20px, 5vw, 88px);
}

.section h2,
.consultation-band h2 {
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-kicker,
.center-heading {
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 74px);
  max-width: 1120px;
  margin: 0 auto;
}

.intro-grid p,
.split-content p,
.center-heading p,
.article-grid p,
.timeline p,
.practice-grid p,
.contact-panel dd {
  color: var(--muted);
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 48px auto 0;
}

.intro-cards article,
.practice-grid article,
.article-grid article,
.contact-panel,
.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(31, 31, 27, 0.05);
}

.intro-cards article {
  padding: 28px;
}

.intro-cards span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  color: #16130a;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 800;
}

h3 {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.25;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: var(--paper);
}

.split-image {
  min-height: 480px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18);
}

.split-content {
  align-self: center;
  padding: clamp(34px, 6vw, 72px);
  background: var(--white);
}

.mini-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.mini-service-grid article {
  padding: 22px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
}

.mini-service-grid span {
  color: var(--gold-dark);
  font-weight: 800;
}

.practice-section,
.contact-section {
  background: var(--white);
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 44px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.practice-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  padding: 34px 30px;
  text-align: center;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.practice-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(211, 173, 38, 0.1), rgba(243, 234, 208, 0.2));
  opacity: 0;
  transition: opacity 220ms ease;
}

.practice-grid article > * {
  position: relative;
  z-index: 1;
}

.practice-grid article:hover,
.practice-grid article:focus,
.practice-grid article:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(211, 173, 38, 0.58);
  background: #fffdf7;
  box-shadow: 0 20px 42px rgba(31, 31, 27, 0.12);
}

.practice-grid article:hover::before,
.practice-grid article:focus::before,
.practice-grid article:focus-visible::before {
  opacity: 1;
}

.practice-grid article:focus-visible {
  outline: 3px solid rgba(211, 173, 38, 0.34);
  outline-offset: 4px;
}

.practice-grid h3 {
  max-width: 280px;
  margin-bottom: 0;
  font-size: 1.28rem;
  transition: transform 220ms ease, font-size 220ms ease, margin 220ms ease;
}

.practice-grid p {
  max-height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  overflow: hidden;
  transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease, margin 220ms ease;
}

.practice-grid article:hover h3,
.practice-grid article:focus h3,
.practice-grid article:focus-visible h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  transform: translateY(-2px);
}

.practice-grid article:hover p,
.practice-grid article:focus p,
.practice-grid article:focus-visible p {
  max-height: 130px;
  opacity: 1;
  transform: translateY(0);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.85rem;
  transition: width 220ms ease, height 220ms ease, margin 220ms ease, font-size 220ms ease, transform 220ms ease;
}

.practice-grid article:hover .service-icon,
.practice-grid article:focus .service-icon,
.practice-grid article:focus-visible .service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  font-size: 1.28rem;
  transform: translateY(-2px);
}

.service-icon i {
  line-height: 1;
}

.process-section,
.knowledge-section {
  background: #f8f8f8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 300px;
  padding: 64px 34px 30px 28px;
  background: linear-gradient(180deg, rgba(211, 173, 38, 0.1), rgba(243, 234, 208, 0.2));
  border: 0;
  clip-path: polygon(0 0, 87% 0, 100% 50%, 87% 100%, 0 100%);
  filter: drop-shadow(0 12px 24px rgba(31, 31, 27, 0.08));
  overflow: hidden;
}

.timeline li:not(:first-child) {
  padding-left: 44px;
  clip-path: polygon(0 0, 87% 0, 100% 50%, 87% 100%, 0 100%, 13% 50%);
}

.timeline li:last-child {
  padding-right: 28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 13% 50%);
}

.timeline li > * {
  position: relative;
  z-index: 1;
}

.timeline span {
  width: auto;
  height: auto;
  margin-bottom: 14px;
  color: var(--gold-dark);
  background: transparent;
  border-radius: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.article-grid article {
  min-height: 250px;
  padding: 30px;
}

.article-grid span {
  display: inline-block;
  margin-bottom: 26px;
  padding: 7px 10px;
  color: #17130a;
  background: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-section {
  overflow: hidden;
  background: var(--white);
}

.team-coverflow {
  position: relative;
  max-width: 1120px;
  min-height: 470px;
  margin: 0 auto;
  padding: 0 76px;
}

.team-track {
  position: relative;
  height: 430px;
  perspective: 1200px;
}

.team-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(310px, 72vw);
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 52px rgba(31, 31, 27, 0.13);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.72);
  transform-style: preserve-3d;
  transition: transform 360ms ease, opacity 360ms ease, filter 360ms ease, box-shadow 360ms ease;
}

.team-card[data-position="-2"] {
  z-index: 1;
  opacity: 0.24;
  transform: translateX(calc(-50% - 470px)) rotateY(32deg) scale(0.72);
}

.team-card[data-position="-1"] {
  z-index: 2;
  opacity: 0.68;
  pointer-events: auto;
  transform: translateX(calc(-50% - 250px)) rotateY(24deg) scale(0.86);
}

.team-card[data-position="0"] {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) rotateY(0) scale(1);
}

.team-card[data-position="1"] {
  z-index: 2;
  opacity: 0.68;
  pointer-events: auto;
  transform: translateX(calc(-50% + 250px)) rotateY(-24deg) scale(0.86);
}

.team-card[data-position="2"] {
  z-index: 1;
  opacity: 0.24;
  transform: translateX(calc(-50% + 470px)) rotateY(-32deg) scale(0.72);
}

.team-card:hover,
.team-card:focus-visible {
  box-shadow: 0 28px 62px rgba(31, 31, 27, 0.18);
}

.team-card:focus-visible {
  outline: 3px solid rgba(211, 173, 38, 0.36);
  outline-offset: 5px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper);
}

.team-card-body {
  padding: 22px 24px 26px;
  text-align: center;
}

.team-card-body h3 {
  margin-bottom: 7px;
  font-size: 1.18rem;
}

.team-card-body p {
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-control {
  position: absolute;
  top: 42%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #17130a;
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 16px 30px rgba(150, 118, 19, 0.2);
  cursor: pointer;
}

.team-control:hover,
.team-control:focus-visible {
  background: #e0bb2c;
}

.team-control:focus-visible {
  outline: 3px solid rgba(211, 173, 38, 0.36);
  outline-offset: 4px;
}

.team-prev {
  left: 0;
}

.team-next {
  right: 0;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.team-modal[hidden] {
  display: none;
}

.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 16, 0.72);
  backdrop-filter: blur(8px);
}

.team-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 30px;
  width: min(860px, 100%);
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.team-modal-panel img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  background: var(--paper);
}

.team-modal-panel h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.team-modal-role {
  margin: 12px 0 22px;
  color: var(--gold-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

#team-modal-intro {
  color: var(--muted);
}

.team-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--charcoal);
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.team-modal-close:focus-visible {
  outline: 3px solid rgba(211, 173, 38, 0.36);
  outline-offset: 4px;
}

.consultation-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(56px, 7vw, 86px) clamp(20px, 5vw, 88px);
  color: var(--white);
  background:
    linear-gradient(rgba(22, 22, 21, 0.86), rgba(22, 22, 21, 0.86)),
    url("assets/hero-accounting.png") center / cover;
}

.consultation-band h2 {
  color: var(--white);
}

.consultation-band p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.contact-panel,
.enquiry-form {
  padding: 32px;
}

.contact-panel {
  background: var(--charcoal);
  color: var(--white);
}

.contact-panel h3,
.contact-panel a {
  color: var(--white);
}

.contact-panel dl {
  margin: 26px 0 0;
}

.contact-panel dt {
  margin-top: 20px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.enquiry-form {
  display: grid;
  gap: 16px;
  scroll-margin-top: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.enquiry-form label {
  display: grid;
  gap: 7px;
  color: #343434;
  font-size: 0.86rem;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fafafa;
  border: 1px solid #d8d3c6;
  border-radius: 0;
  font: inherit;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: 3px solid rgba(211, 173, 38, 0.22);
  border-color: var(--gold-dark);
}

.enquiry-form small {
  color: var(--muted);
}

.awards-section {
  overflow: hidden;
  background: #f8f8f8;
}

.logo-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: logoSlide 28s linear infinite;
}

.logo-carousel:hover .logo-track,
.logo-carousel:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 116px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(31, 31, 27, 0.05);
}

.logo-slide img {
  max-width: 132px;
  max-height: 62px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.logo-slide:hover img,
.logo-slide:focus-within img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

@keyframes logoSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 11px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    animation: none;
  }

  .logo-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.55fr) minmax(220px, 0.75fr);
  gap: 42px;
  padding: 54px clamp(20px, 5vw, 88px);
  color: rgba(255, 255, 255, 0.72);
  background: #1b1b19;
}

.site-footer img {
  width: 112px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.site-footer h3 {
  color: var(--white);
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 520px;
  }

  .timeline li,
  .timeline li:not(:first-child),
  .timeline li:last-child {
    min-height: 245px;
    padding: 70px 34px 44px;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
  }

  .timeline li:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .timeline li::before {
    height: 34px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .timeline li:not(:first-child)::before {
    height: 54px;
    clip-path: polygon(0 0, 100% 0, 100% 54%, 50% 100%, 0 54%);
  }

  .team-coverflow {
    max-width: 760px;
  }

  .team-card[data-position="-2"],
  .team-card[data-position="2"] {
    opacity: 0;
  }

  .team-card[data-position="-1"] {
    transform: translateX(calc(-50% - 170px)) rotateY(22deg) scale(0.82);
  }

  .team-card[data-position="1"] {
    transform: translateX(calc(-50% + 170px)) rotateY(-22deg) scale(0.82);
  }
}

@media (max-width: 760px) {
  .top-bar,
  .site-header,
  .hero-actions,
  .consultation-band {
    align-items: stretch;
    flex-direction: column;
  }

  .top-bar {
    display: none;
  }

  .site-header {
    position: static;
    display: flex;
    gap: 16px;
  }

  .nav-action,
  .button,
  .hero-actions {
    width: 100%;
  }

  .hero {
    min-height: 560px;
  }

  .stats,
  .intro-grid,
  .intro-cards,
  .split-section,
  .mini-service-grid,
  .practice-grid,
  .timeline,
  .article-grid,
  .contact-grid,
  .form-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
    width: 100%;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .split-image {
    min-height: 300px;
  }

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

  .team-coverflow {
    min-height: 450px;
    padding: 0 0 70px;
  }

  .team-track {
    height: 410px;
  }

  .team-card {
    width: min(290px, 78vw);
    min-height: 390px;
  }

  .team-card[data-position="-2"],
  .team-card[data-position="2"] {
    opacity: 0;
  }

  .team-card[data-position="-1"] {
    opacity: 0.36;
    transform: translateX(calc(-50% - 82px)) rotateY(18deg) scale(0.78);
  }

  .team-card[data-position="1"] {
    opacity: 0.36;
    transform: translateX(calc(-50% + 82px)) rotateY(-18deg) scale(0.78);
  }

  .team-control {
    top: auto;
    bottom: 0;
  }

  .team-prev {
    left: calc(50% - 62px);
  }

  .team-next {
    right: calc(50% - 62px);
  }

  .team-modal-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }

  .team-modal-panel img {
    max-height: 320px;
  }

  .logo-slide {
    width: 160px;
    height: 96px;
    padding: 20px;
  }

  .logo-slide img {
    max-width: 112px;
    max-height: 54px;
  }
}
