/* SRV Partners — recreated from the Framer site.
   Breakpoints match the original: desktop >=1200px, tablet 810–1199px, phone <=809px. */

@font-face { font-family: "Cera Pro Light"; src: url(../fonts/CeraPro-Light.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Cera Pro Bold"; src: url(../fonts/CeraPro-Bold.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/Inter-Regular-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/Inter-SemiBold-latin.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --plum: #554155;          /* solid brand purple */
  --plum-85: rgba(55, 32, 56, .85);
  --plum-65: rgba(55, 32, 56, .65);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cera Pro Light", sans-serif;
  font-size: 16px;
  color: #000;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; font-weight: normal; }
b { font-family: "Cera Pro Bold", sans-serif; font-weight: normal; }
strong { font-weight: bold; }   /* synthesized bold of Cera Pro Light, as on the original */
a { color: inherit; text-decoration: none; }
img { display: block; }
.br-desktop { display: inline; }

.container { width: 1200px; margin: 0 auto; }
.h-section { font-size: 50px; line-height: 1.2; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.header-inner { display: flex; align-items: center; height: 68px; }
.logo { display: block; width: 250px; height: 52px; margin-left: 15px; flex-shrink: 0; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; gap: 20px; margin: 0 15px 0 auto; }
.main-nav a { padding: 10px; font-size: 16px; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
/* Hover underline: 1px line at the bottom of the padded link box, as on the original. */
.main-nav a:hover, .privacy-nav a:hover { box-shadow: inset 0 -1px 0 #000; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 900px; margin-top: 68px;
  background: url(../img/hero-mountain.jpg) center / cover no-repeat;
}
.hero-panel {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  display: flex; align-items: center; justify-content: flex-end;
  background: var(--plum-65);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.hero-text {
  margin-right: calc(50% - 280px);
  color: #fff; font-size: 36px; line-height: 1.2; text-transform: uppercase;
  text-align: right; white-space: nowrap;
  animation: hero-appear .5s cubic-bezier(.44, 0, .56, 1) .5s both;
}
@keyframes hero-appear { from { opacity: .001; } to { opacity: 1; } }

/* ---------- Our Vision ---------- */
.vision-inner { display: flex; height: 800px; }
.vision-box {
  flex: 0 0 600px; display: flex; align-items: center; justify-content: center;
  background: var(--plum-85); color: #fff;
}
.vision-text { width: 499px; margin-left: 45px; padding-top: 62px; font-size: 22px; line-height: 1.5; }
.vision-text p + p { margin-top: 24px; }
.vision-text p:first-child { margin-bottom: -5px; }

/* ---------- What We Do ---------- */
.wwd-inner { position: relative; height: 747px; }
.wwd-title { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); }
.wwd-grid {
  position: absolute; left: 400px; top: 0;
  display: grid; gap: 14px;
  grid-template-columns: 396px 396px; grid-template-rows: 368px 365px;
  transition: grid-template-columns .4s ease, grid-template-rows .4s ease;
}
.wwd-tile {
  position: relative; overflow: hidden; outline: none;
  border: 1px solid #555;
  background-size: cover; background-position: center;
  color: #fff;
  transition: opacity .4s ease;
}
.wwd-tile::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(55, 32, 56, .45);
  transition: background-color .4s ease;
}
.wwd-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 20px; text-align: center;
  font-size: 34px; line-height: 1.4; letter-spacing: -.5px; text-transform: uppercase;
  transition: opacity .3s ease;
}
.wwd-detail {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 30px; opacity: 0; transition: opacity .3s ease;
}
.wwd-detail h3 { font-size: 34px; line-height: 1.4; letter-spacing: -.5px; text-transform: uppercase; max-width: 532px; }
.wwd-detail p { max-width: 380px; margin-top: 15px; font-size: 16px; line-height: 2; }

@media (min-width: 1200px) {
  /* Hovered tile grows to 592x533, the others shrink to 200px and wash out. */
  .wwd-grid:has(.wwd-tile-1:is(:hover, :focus)) { grid-template-columns: 592px 200px; grid-template-rows: 533px 200px; }
  .wwd-grid:has(.wwd-tile-2:is(:hover, :focus)) { grid-template-columns: 200px 592px; grid-template-rows: 533px 200px; }
  .wwd-grid:has(.wwd-tile-3:is(:hover, :focus)) { grid-template-columns: 592px 200px; grid-template-rows: 200px 533px; }
  .wwd-grid:has(.wwd-tile-4:is(:hover, :focus)) { grid-template-columns: 200px 592px; grid-template-rows: 200px 533px; }
  .wwd-grid:has(.wwd-tile:is(:hover, :focus)) .wwd-tile .wwd-label { opacity: 0; }
  .wwd-grid:has(.wwd-tile:is(:hover, :focus)) .wwd-tile:not(:hover, :focus) { opacity: .25; }
  .wwd-grid:has(.wwd-tile:is(:hover, :focus)) .wwd-tile:not(:hover, :focus)::before { background-color: transparent; }
  .wwd-tile:is(:hover, :focus) .wwd-detail { opacity: 1; transition-delay: .15s; }
}

/* ---------- Our Philosophy ---------- */
.philo {
  position: relative; min-height: 1095px; padding: 35px 0 141px;
  background: url(../img/philosophy-bg.jpg) center / cover no-repeat;
}
.philo::before { content: ""; position: absolute; inset: 0; background: rgba(219, 219, 219, .25); }
.philo-inner { position: relative; width: calc(50% + 520px); margin: 0 auto; }
.philo-title { color: #fff; text-align: right; }
.philo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(223px, auto); gap: 45px; margin-top: 100px; }
.philo-card {
  padding: 15px 66px 20px;
  background: var(--plum-65);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  color: #fff; text-shadow: rgba(0, 0, 0, .25) 3px 3px 2px;
}
.philo-card h3 { font-size: 24px; line-height: 1.4; text-transform: uppercase; }
.philo-card p { font-size: 13px; line-height: 2; white-space: pre-wrap; }

/* ---------- Our Professionals ---------- */
.pros { padding: 45px 0 50px; }
.pros-title, .pros-group { padding-left: 20px; }
.pros-group { font-size: 42px; line-height: 1.2; text-transform: uppercase; }
.pros-group-1 { margin-top: 70px; }
.pros-group-2 { margin-top: 91px; }
.pros-group-3 { margin-top: 40px; }
.person { margin-top: 50px; }
.pros-group + .person { margin-top: 40px; }

.person-name { font-size: 34px; line-height: 1.4; letter-spacing: -.5px; color: #333; text-transform: uppercase; }
.person-name-mobile { display: none; }
.person-card { display: flex; height: 220px; border-top: 1px solid var(--plum); }
.person.flip .person-card { flex-direction: row-reverse; }
.person-panel { flex: 0 0 600px; display: flex; background: var(--plum-85); }
.person-photo { flex: 0 0 300px; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-contact {
  display: flex; flex-direction: column; justify-content: center;
  padding-left: 36px; color: #fff; font-size: 16px; line-height: 2;
}
.person-contact a { color: rgb(255, 250, 250); }
.person.no-photo .person-contact { padding-left: 35px; }
.person-side {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 14px 20px 0; overflow: visible;
}
.person-side .person-name { flex-shrink: 0; }
.person-intro { max-width: 512px; margin-top: 5px; font-size: 16px; line-height: 2; }
.person:first-of-type .person-side { padding-left: 28px; }
.person-bio { max-width: 1170px; padding: 11px 20px 0; font-size: 16px; line-height: 2; }
.person-bio p + p { margin-top: 10px; }

/* ---------- SRVP DEALSIGHT ---------- */
.dealsight { min-height: 1095px; padding: 88px 40px 40px; background: var(--plum); color: #fff; overflow: hidden; }
.ds-title { font-size: 50px; line-height: 1.2; }
.ds-intro { max-width: 967px; margin-top: 53px; font-size: 20px; line-height: 1.2; }
.ds-h { margin-top: 46px; font-size: 25px; line-height: 1.2; }
.ds-download {
  display: block; width: 439px; max-width: 100%; margin-top: 40px; padding: 9px 12px;
  background: #fff; color: #000; text-align: center; white-space: nowrap;
  font-size: 21px; line-height: 1.2;
}
.ds-sub { font-size: 26px; }
.ds-form-wrap { width: 430px; margin-top: 47px; }
.ds-form { display: grid; grid-template-columns: 1fr max-content; gap: 15px; }
.ds-form .hp { position: absolute; visibility: hidden; }
.ds-form input[type=email], .ds-form input[type=submit] {
  -webkit-appearance: none; appearance: none; width: 100%; margin: 0;
  padding: 15px; border: none; border-radius: 0; outline: none;
  font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.4em;
}
.ds-form input[type=email] { background: #ebebeb; color: #000; box-shadow: inset 0 0 0 1px transparent; }
.ds-form input[type=email]::placeholder { color: rgba(0, 0, 0, .3); }
.ds-form input[type=email].error { box-shadow: inset 0 0 0 1px #ee4444; }
.ds-form input[type=submit] { font-weight: 600; background: rgb(120, 115, 115); color: #fff; cursor: pointer; }
.ds-done {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgb(120, 115, 115); color: #fff;
  animation: ds-pop .3s ease-out;
}
@keyframes ds-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- Footer ---------- */
.site-footer { min-height: 321px; padding: 60px 0 34px; }
.footer-inner { width: 1000px; margin-left: calc(50% - 490px); }
.footer-top { display: grid; grid-template-columns: 351px 491px auto; font-size: 16px; line-height: 1.6; }
.footer-top a { color: #111; }
.footer-btn {
  display: inline-block; margin-top: 5px; padding: 10px 20px;
  background: var(--plum); color: #fff !important; font-size: 14px; line-height: 1.2;
}
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 58px; font-size: 16px; line-height: 1.2; }
.footer-linkedin { display: block; width: 30px; height: 30px; margin-left: 10px; }
.footer-linkedin svg { display: block; width: 100%; height: 100%; fill: #000; }
.footer-credit a { color: #999; }

/* ---------- Privacy page ---------- */
.privacy-header { display: flex; align-items: center; height: 68px; }
.privacy-header .logo { width: 250px; height: 52px; margin: 0 0 0 15px; }
.privacy-nav { display: flex; gap: 54px; margin: 0 15px 0 auto; }
.privacy-nav a { padding: 10px; font-size: 16px; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.privacy-body { padding: 100px 72px; font-size: 16px; line-height: 2; }
.privacy-body ul { margin: 0; padding-left: 23px; }
.privacy-body a { color: #09f; }

/* =================== Tablet =================== */
@media (max-width: 1199px) {
  .container { width: auto; }

  .header-inner { height: 68px; }
  .logo { width: 141px; height: 59px; }
  .main-nav { gap: 0; margin: 0 0 0 17px; }
  .main-nav a { padding: 8px; font-size: 14px; }

  .hero-text { width: 372px; margin-right: 76px; white-space: normal; }

  .vision-box { flex-basis: 50%; }
  .vision-text { width: 325px; padding-top: 60px; font-size: 17px; }
  .vision-text p:first-child { margin-bottom: 0; }

  .wwd-inner { height: auto; padding: 35px 0 15px; }
  .wwd-title { position: static; transform: none; text-align: center; }
  .wwd-grid { position: static; width: 806px; margin: 40px auto 0; }
  .wwd-tile::before { background: rgba(55, 32, 56, .5); }
  .wwd-label { display: none; }
  .wwd-detail { opacity: 1; justify-content: flex-start; padding: 35px 30px; }
  .wwd-detail h3 { max-width: 326px; font-size: 26px; }
  .wwd-detail p { max-width: 340px; margin-top: 10px; }

  .philo { min-height: 1565px; padding-bottom: 200px; }
  .philo-inner { width: 825px; }
  .philo-title { text-align: center; }
  .philo-grid { grid-template-columns: 390px 390px; grid-auto-rows: minmax(360px, auto); }
  .philo-card { padding: 20px 0 20px 25px; }
  .philo-card h3 { max-width: 260px; font-size: 20px; }
  .philo-card p { max-width: 235px; }

  .pros { padding-bottom: 8px; }
  .pros-title, .pros-group { padding-left: 132px; }
  .pros-group-3 { margin-top: 48px; }
  .person { margin-top: 8px; }
  .person-card { height: 308px; }
  .person-panel { flex: 0 0 268px; flex-direction: column; }
  .person-photo { flex: 0 0 194px; }
  .person-contact { padding: 20px 20px 0; justify-content: flex-start; }
  .person.no-photo .person-contact { flex: 1; justify-content: center; padding: 0 14px; }
  .person-contact p + p { margin-top: 10px; }
  .person-side, .person:first-of-type .person-side { justify-content: space-between; padding: 25px 20px 0; }
  .person-intro { max-width: 521px; }
  .person:first-of-type .person-intro { max-width: 501px; }
  .person-bio { max-width: 822px; padding-top: 13px; }

  .ds-intro { max-width: 708px; }

  .footer-inner { width: auto; margin: 0; padding: 0 40px 0 60px; }
  .footer-top { grid-template-columns: 355px 356px auto; }
  .footer-linkedin { margin-left: 0; }

  .privacy-nav { gap: 0; margin: 0 0 0 340px; }
  .privacy-body { padding: 100px 51px; }
}

/* =================== Phone =================== */
@media (max-width: 809px) {
  .hide-mobile, .br-desktop { display: none; }
  .h-section { font-size: 50px; }

  .site-header { transition: background-color .2s; }
  .site-header.open { background: #fff; }
  .header-inner { flex-wrap: wrap; height: auto; min-height: 68px; }
  .logo { width: 250px; height: 52px; margin: 8px 0 8px 8px; }
  .burger {
    display: block; position: relative; width: 30px; height: 30px;
    margin: 0 24px 0 auto; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .burger span {
    position: absolute; left: 3px; right: 3px; height: 2px; background: #000;
    transition: transform .25s ease, opacity .2s ease;
  }
  .burger span:nth-child(1) { top: 5px; }
  .burger span:nth-child(2) { top: 14px; }
  .burger span:nth-child(3) { top: 23px; }
  .site-header.open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .site-header.open .burger span:nth-child(2) { opacity: 0; }
  .site-header.open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .main-nav {
    display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0;
    margin: 0; padding: 14px 0 0;
  }
  .main-nav a { align-self: flex-start; padding: 10px; font-size: 16px; }
  .site-header.open .main-nav { display: flex; }

  .hero-panel { width: 100%; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-text { width: auto; max-width: calc(100% - 36px); margin-right: 18px; }

  .vision-inner { display: block; height: auto; }
  .vision-box { height: 89px; }
  .vision-text { width: auto; margin: 0; padding: 60px 25px 0; font-size: 18px; }
  .vision-text p:first-child { margin-bottom: -5px; }

  .wwd-inner { padding: 134px 0 40px; }
  .wwd-title { padding-left: 30px; text-align: left; }
  .wwd-grid { display: flex; flex-direction: column; gap: 33px; width: auto; }
  .wwd-tile { height: 368px; }
  .wwd-tile:nth-child(n+3) { height: 365px; }

  .philo { min-height: 0; padding-bottom: 161px; }
  .philo-inner { width: 302px; }
  .philo-title { font-size: 36px; text-align: left; padding-left: 1px; }
  .philo-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(375px, auto); margin-top: 61px; }

  .pros { padding: 20px 0 15px; }
  .pros-title { font-size: 34px; }
  .pros-title, .pros-group { padding-left: 14px; }
  .pros-group { font-size: 30px; }
  .pros-group-1 { margin-top: 53px; }
  .pros-group-2 { margin-top: 43px; }
  .pros-group-3 { margin-top: 45px; }
  .person { display: flex; flex-direction: column; margin-top: 30px; }
  .pros-group + .person { margin-top: 45px; }
  .pros-group-1 + .person { margin-top: 37px; }
  .person-name { font-size: 26px; }
  .person-name-mobile { display: block; max-width: 314px; padding: 0 14px; }
  .person-card, .person-side { display: contents; }
  .person-side .person-name { display: none; }
  .person-panel { order: 1; flex: none; height: 229px; margin-top: 10px; padding: 15px 14px; }
  .person.no-photo .person-panel { height: 239px; margin-top: 15px; padding: 0 15px; }
  .person-card { border-top: none; }
  .person-photo { flex: 0 0 125px; width: 125px; }
  .person-contact, .person.no-photo .person-contact { padding: 0; }
  .person-intro { order: 2; max-width: none; margin-top: 22px; padding: 0 8px 0 19px; }
  .person-bio { order: 3; max-width: none; padding: 10px 8px 0 19px; }
  .person.no-photo .person-intro, .person.no-photo .person-bio { padding-left: 15px; padding-right: 12px; }

  .dealsight { min-height: 1126px; padding-top: 80px; }
  .ds-title { font-size: 43px; }
  .ds-intro { max-width: 302px; margin-top: 46px; }
  .ds-form-wrap { width: 302px; }
  .ds-form { grid-template-columns: 1fr; }
  .ds-download { max-width: 302px; white-space: normal; }

  .site-footer { padding: 60px 40px 30px; border-top: 2px solid rgba(0, 0, 0, .75); }
  .footer-inner { padding: 0; }
  .footer-top { display: block; }
  .footer-top .footer-col + .footer-col { margin-top: 40px; }
  .footer-bottom { display: block; margin-top: 56px; }
  .footer-copy { margin-top: 16px; }
  .footer-credit { margin-top: 13px; }

  .privacy-nav { display: none; }
  .privacy-body { padding: 100px 20px; }
}
