
/* AVI STUDIO V12 — focused refinements */

/* Smaller footer logo across every page */
.footer-logo-wrap {
  padding: 30px 0 20px !important;
  text-align: center !important;
}
.footer-logo-wrap img {
  width: 114px !important;
  max-width: 30vw !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Services page order and spacing */
.price-menu {
  background: var(--paper-2) !important;
  padding-top: clamp(58px, 7vw, 92px) !important;
}
.custom-projects-section {
  padding-top: clamp(28px, 4vw, 52px) !important;
}
.services-explorer {
  background: var(--powder) !important;
}
.services-explorer-head {
  max-width: 1180px;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 34px;
  align-items: start;
}
.services-explorer-head .section-title,
.services-explorer-head .section-copy {
  grid-column: 2;
}
.services-explorer-head .section-title {
  margin-top: -4px;
  max-width: 660px;
  font-size: clamp(36px, 4vw, 58px);
}
.services-explorer-head .section-copy {
  margin-top: 14px;
  max-width: 620px;
}
.service-panel-media { display: none; }
.service-panel-copy {
  padding: 0 0 26px 72px;
  max-width: 680px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 14px;
}
.service-panel-copy ul {
  margin: 14px 0 0 18px;
  display: grid;
  gap: 6px;
}
.service-mobile-price { display: none; }
.service-panel-inner {
  padding: 0 !important;
  max-width: none !important;
}
.service-row.open .service-panel { max-height: 760px !important; }

/* Smaller CTAs requested */
.services-cta {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}
.services-cta h2 {
  max-width: 640px !important;
  font-size: clamp(24px, 2.35vw, 34px) !important;
  line-height: 1.08 !important;
}
.about-cta {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}
.about-cta h2 {
  max-width: 560px !important;
  font-size: clamp(26px, 2.6vw, 38px) !important;
  line-height: 1.06 !important;
}

/* About page */
.about-hero .page-hero-inner { max-width: 1040px; }
.about-title { max-width: 820px; }
.about-title em,
.about-values-title em {
  color: var(--brown);
  font-weight: 400;
  font-style: italic;
}
.about-subtitle {
  max-width: 760px;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.7;
}
.about-founders { background: var(--paper); }
.founders-grid-large {
  max-width: 1180px;
  gap: 28px;
}
.founder-card-large {
  display: flex !important;
  flex-direction: column;
  min-height: 0 !important;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}
.founder-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: var(--oat);
}
.founder-card-large .founder-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center 18%;
  background: var(--oat);
}
.founder-card-large .founder-photo-iva { object-position: center 16%; }
.founder-card-large .founder-photo-ema { object-position: center 18%; }
.founder-index {
  position: absolute;
  top: 15px;
  left: 15px;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(251,249,245,.9);
  font-size: 9px;
  letter-spacing: .12em;
}
.founder-copy-large {
  padding: 28px 30px 32px !important;
}
.founder-copy-large h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: .95;
  font-weight: 500;
}
.founder-copy-large .founder-role {
  margin: 10px 0 16px !important;
  color: var(--brown) !important;
  font-size: 10px !important;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.founder-copy-large p:last-child {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}
.about-values {
  background: var(--paper-2);
}
.about-values-head {
  align-items: end;
}
.about-values-title {
  max-width: 520px;
}
.values-grid-about .value-card {
  min-height: 245px;
  padding: 30px 26px;
}
.values-grid-about .value-card h3 { margin-top: 34px; }
.values-grid-about .value-card p { line-height: 1.72; }

@media (max-width: 768px) {
  .footer-logo-wrap {
    padding: 24px 0 18px !important;
  }
  .footer-logo-wrap img {
    width: 84px !important;
    max-width: 24vw !important;
  }

  .services-explorer-head {
    display: block;
    margin-bottom: 28px;
  }
  .services-explorer-head .section-title {
    margin-top: 0;
    font-size: 34px;
  }
  .services-explorer-head .section-copy {
    margin-top: 12px;
    font-size: 13px;
  }

  .service-panel-inner {
    padding: 0 0 24px 48px !important;
  }
  .service-panel-media {
    display: block;
    width: 100%;
    height: 136px;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 14px;
    margin: 2px 0 15px;
    background: var(--paper-2);
  }
  .service-panel-copy {
    padding: 0 !important;
    max-width: none;
    font-size: 13px;
    line-height: 1.7;
  }
  .service-mobile-price {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 6px 9px;
    border: 1px solid rgba(30,29,26,.35);
    border-radius: 999px;
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .service-panel-copy ul { margin-left: 17px; }

  .services-cta,
  .about-cta {
    padding: 38px 18px !important;
  }
  .services-cta h2,
  .about-cta h2 {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }
  .services-cta .pill,
  .about-cta .pill {
    margin-top: 20px !important;
  }

  .about-hero { padding-bottom: 48px !important; }
  .about-title { font-size: 47px !important; }
  .about-subtitle { font-size: 14px; line-height: 1.68; }
  .founders-grid-large { gap: 16px; }
  .founder-image-wrap {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .founder-card-large .founder-photo {
    object-position: center 15%;
  }
  .founder-copy-large {
    padding: 23px 20px 26px !important;
  }
  .founder-copy-large h2 { font-size: 40px; }
  .founder-copy-large p:last-child { font-size: 13px !important; }
  .values-grid-about .value-card { min-height: 0; }
}


/* V13 — precise fixes after visual review */

.social-footer-logo img {
  width: 114px !important;
  max-width: 30vw !important;
  height: auto !important;
}

.about-founders {
  background: var(--paper) !important;
}

.about-team-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-person-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 228px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.about-person-photo {
  width: 100%;
  min-height: 228px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 14%;
  background-color: var(--oat);
}

.about-person-photo-iva {
  background-position: center 12%;
}

.about-person-photo-ema {
  background-position: center 15%;
}

.about-person-copy {
  align-self: center;
  padding: 25px 26px 26px;
}

.about-person-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 3.5vw, 50px);
  line-height: .95;
  font-weight: 500;
}

.about-person-role {
  margin: 10px 0 15px;
  color: var(--brown);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-person-copy p:last-child {
  max-width: 43ch;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.68;
}

.about-values-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  max-width: 1180px !important;
  margin: 0 auto 46px !important;
  text-align: left !important;
}

.about-values-title {
  max-width: 760px !important;
  margin: 0 !important;
  text-align: left !important;
}

.values-grid-about {
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .social-footer-logo img {
    width: 84px !important;
    max-width: 24vw !important;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-person-card {
    grid-template-columns: 106px minmax(0, 1fr);
    min-height: 188px;
  }

  .about-person-photo {
    min-height: 188px;
    background-position: center 12%;
  }

  .about-person-copy {
    padding: 18px 16px 19px;
  }

  .about-person-copy h2 {
    font-size: 34px;
  }

  .about-person-role {
    margin: 8px 0 11px;
    font-size: 8px;
    letter-spacing: .1em;
  }

  .about-person-copy p:last-child {
    font-size: 11.5px;
    line-height: 1.58;
  }

  .about-values-head {
    margin-bottom: 28px !important;
  }

  .about-values-title {
    font-size: 36px !important;
    line-height: 1.05 !important;
  }
}
