/* CBEA — styles partagés, composants et adaptations responsive. */

:root {
  --navy: #0f2346;
  --gold: #b08d57;
  --muted: #647083;
  --line: #e5e9ee;
  --cream: #f8f7f5;
  --sans: Inter,'Segoe UI',Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  background: white;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.shell {
  width: min(1080px,calc(100% - 72px));
  margin-inline: auto;
}

.header {
  background: #fff;
  border-bottom: 1px solid #ebedf0;
  position: sticky;
  top: 0;
  z-index: 30;
}

.header .shell {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  display: block;
  width: 166px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav>a:not(.btn) {
  font-size: 13px;
  font-weight: 600;
  color: #49536b;
  transition: color .2s;
}

.nav>a:hover, .nav>a.active {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 7px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s,transform .2s;
}

.btn:hover {
  background: #967547;
  transform: translateY(-2px);
}

.btn.outline {
  color: var(--navy);
  background: white;
  border-color: #c9d1db;
}

.btn.outline:hover {
  background: #f4f6f8;
}

.nav .btn {
  padding: 10px 19px;
}

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 7px;
  color: var(--navy);
}

.hero {
  padding-top: 76px;
  padding-bottom: 66px;
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  align-items: center;
  gap: 64px;
}

.hero h1 {
  font-size: clamp(34px,3.75vw,50px);
  line-height: 1.14;
  letter-spacing: -.048em;
  margin: 0 0 24px;
  font-weight: 760;
}

.hero .lead {
  font-size: 16px;
  line-height: 1.7;
  color: #46536a;
  margin: 0 0 14px;
}

.hero .tagline {
  color: #536076;
  margin: 0 0 27px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.hero-notes {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #687487;
  font-size: 12px;
}

.hero-notes span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.hero-notes b {
  color: var(--gold);
  font-size: 17px;
}

.visual {
  position: relative;
}

.hero-slides {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: 425px;
  background: #e8e4dc;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.1s ease,transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  width: 48%;
  max-width: 242px;
  right: -19px;
  bottom: -22px;
  border: 8px solid white;
  background: white;
  box-shadow: 0 12px 25px #15274f22;
  border-radius: 9px;
  transform: rotate(2deg);
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 25px;
}

.slide-controls button {
  border: 0;
  width: 7px;
  height: 7px;
  border-radius: 30px;
  background: #c6ccd5;
  padding: 0;
}

.slide-controls button.current {
  width: 24px;
  background: var(--gold);
}

.section {
  padding: 95px 0;
}

.section-tight {
  padding: 75px 0;
}

.soft {
  background: var(--cream);
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(23px,2.35vw,31px);
  line-height: 1.22;
  letter-spacing: .055em;
  font-weight: 760;
  text-transform: uppercase;
  margin: 0 auto 14px;
  max-width: 790px;
}

.section-heading p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 630px;
}

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.ribbon .shell {
  display: grid;
  gap: 0;
}

.ribbon-item {
  gap: 14px;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
}

.ribbon strong {
  display: block;
}

.ribbon small {
  color: var(--muted);
  display: block;
}

.services {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  padding: 29px 32px;
  border-radius: 10px;
  min-height: 188px;
  transition: border-color .25s,transform .25s,box-shadow .25s;
}

.service:hover {
  transform: translateY(-3px);
  border-color: #dac8ac;
  box-shadow: 0 12px 30px #14234209;
}

.service .service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.service .service-icon {
  font-size: 21px;
  color: var(--gold);
}

.service h3 {
  font-size: 17px;
  letter-spacing: -.018em;
  margin: 0 0 10px;
  line-height: 1.35;
}

.service p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.need {
  background: white;
}

.need-icon {
  font-size: 31px;
  color: var(--gold);
  line-height: 1;
}

.need h3 {
  margin: 0;
}

.method-panel {
  background: var(--navy);
  color: white;
  display: grid;
  overflow: hidden;
  border-radius: 15px;
}

.method-copy {
  align-self: center;
}

.method-panel h2 {
  font-size: 28px;
  line-height: 1.27;
  letter-spacing: -.025em;
  margin: 0 0 23px;
}

.method-panel .sub {
  font-size: 17px;
  font-weight: 600;
  color: #e7e9ed;
  margin-bottom: 17px;
}

.method-panel p {
  color: #c8d0dc;
  line-height: 1.78;
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 17px;
}

.project-tile {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-height: 230px;
  background: #e9ebe9;
  display: block;
}

.project-tile img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  transition: transform .6s;
}

.project-tile:hover img {
  transform: scale(1.06);
}

.project-info {
  position: absolute;
  inset: auto 0 0;
  color: white;
  background: linear-gradient(transparent,#0f2346e8);
  padding: 60px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 7px;
}

.project-info strong {
  font-size: 13px;
  line-height: 1.3;
}

.project-info span {
  font-size: 20px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.sectors-grid {
  display: grid;
  gap: 16px;
}

.sector {
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  padding: 24px 15px;
  background: white;
}

.sector .symbol {
  display: block;
  font-size: 27px;
  margin-bottom: 10px;
  color: var(--gold);
}

.sector strong {
  font-size: 13px;
}

.reviews {
  margin-inline: auto;
  position: relative;
}

.review-card {
  border: 1px solid var(--line);
  box-shadow: 0 9px 30px #17244309;
  text-align: center;
  background: #fff;
}

.stars {
  color: var(--gold);
  letter-spacing: .25em;
  font-size: 15px;
  margin-bottom: 14px;
}

.quote {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 13px;
  color: #34425b;
}

.review-meta {
  font-size: 12px;
  color: var(--muted);
}

.review-more {
  color: var(--gold);
  border: 0;
  background: none;
  margin-top: 12px;
  padding: 5px;
  font-size: 12px;
  font-weight: 700;
}

.rev-arr {
  color: var(--navy);
}

.faqs {
  width: min(780px,100%);
  margin: auto;
}

.faqs details {
  border-bottom: 1px solid var(--line);
}

.faqs details:first-child {
  border-top: 1px solid var(--line);
}

.faqs summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 6px;
  font-weight: 650;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.faqs summary::-webkit-details-marker {
  display: none;
}

.faqs summary:after {
  content: '+';
  font-size: 23px;
  font-weight: 400;
  color: var(--gold);
  line-height: .8;
}

.faqs details[open] summary:after {
  content: '−';
}

.faqs details p {
  color: var(--muted);
  margin: 0;
  padding: 0 6px 24px;
}

.cta-panel {
  background: #f7f5f1;
  border: 1px solid #eee8df;
  border-radius: 14px;
  padding: 46px 54px;
  text-align: center;
}

.cta-panel h2 {
  font-size: 27px;
  margin: 0 0 10px;
  letter-spacing: -.025em;
}

.cta-panel p {
  color: var(--muted);
  margin: 0 auto 21px;
  max-width: 600px;
}

.cta-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
  color: #657287;
  font-size: 12px;
  flex-wrap: wrap;
}

.footer {
  background: #f8f8f7;
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding: 50px 0;
}

.footer .shell {
  display: grid;
  grid-template-columns: 1.3fr .65fr 1.05fr;
  gap: 55px;
}

.footer-brand img {
  width: 170px;
}

.footer-brand p, .footer-info p {
  font-size: 12px;
  color: #697486;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a, .footer-info a {
  font-size: 13px;
  color: #42506a;
}

.footer-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-info p {
  margin: 0 0 13px;
}

.footer-legal {
  margin-top: 26px;
  border-top: 1px solid #e5e5e5;
  padding-top: 18px;
  color: #8891a0;
  font-size: 11px;
}

.portfolio-intro {
  text-align: center;
  padding-top: 99px;
  padding-bottom: 64px;
}

.portfolio-intro h1, .page-simple h1 {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 17px;
}

.portfolio-intro p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 30px;
}

.case {
  display: grid;
  grid-template-columns: 1fr .88fr;
  align-items: center;
  gap: 55px;
  padding: 65px 0;
  border-top: 1px solid var(--line);
}

.case:last-of-type {
  border-bottom: 1px solid var(--line);
}

.case-images {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  grid-template-rows: 124px 124px;
  gap: 10px;
}

.case-images img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 9px;
}

.case-images .main {
  grid-row: span 2;
}

.case-images .secondary {
  border: 1px solid #e4e7ec;
}

.case h2 {
  font-size: 29px;
  letter-spacing: -.035em;
  margin: 0 0 6px;
}

.case-type {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.case p {
  color: #566178;
  font-size: 14px;
}

.case dl {
  margin: 21px 0 0;
  display: grid;
  gap: 15px;
}

.case dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--navy);
}

.case dd {
  color: #647086;
  margin: 3px 0 0;
  font-size: 13px;
}

.page-simple {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 40px;
}

.page-simple p {
  max-width: 570px;
  margin: 0 auto;
  color: var(--muted);
}

.timeline {
  position: relative;
  width: min(840px,100%);
  margin: 35px auto 0;
}

.timeline:before {
  content: '';
  height: 100%;
  width: 2px;
  position: absolute;
  left: 50%;
  top: 0;
  background: #d8c6a8;
}

.timeline-entry {
  width: 50%;
  position: relative;
  padding: 14px 42px 30px 0;
  text-align: right;
}

.timeline-entry:after {
  content: '';
  position: absolute;
  right: -7px;
  top: 30px;
  width: 12px;
  height: 12px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px #d8c6a8;
}

.timeline-entry:nth-child(even) {
  margin-left: 50%;
  padding: 14px 0 30px 42px;
  text-align: left;
}

.timeline-entry:nth-child(even):after {
  left: -7px;
}

.timeline-entry .when {
  font-size: 12px;
  color: var(--gold);
  font-weight: 750;
  letter-spacing: .05em;
}

.timeline-entry h3 {
  font-size: 19px;
  margin: 2px 0 4px;
}

.timeline-entry .place {
  font-size: 13px;
  color: #566377;
  margin: 0 0 9px;
}

.timeline-entry p {
  font-size: 13px;
  color: #697489;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 17px;
}

.step {
  padding: 27px 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.step strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.step p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
  padding-top: 65px;
  padding-bottom: 100px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 40px 42px;
  background: #fff;
}

.contact-card h2 {
  font-size: 23px;
  margin: 0 0 25px;
  letter-spacing: -.025em;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
}

.field label small {
  font-weight: 400;
  color: var(--muted);
}

.field input, .field textarea {
  padding: 13px 15px;
  width: 100%;
  border: 1px solid #d9dfe6;
  border-radius: 7px;
  outline: none;
  color: var(--navy);
  background: #fff;
}

.field textarea {
  height: 165px;
  resize: vertical;
}

.field input:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #b08d571d;
}

.fineprint {
  font-size: 11px;
  color: #7b8593;
}

.contact-aside .aside-top {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 37px 36px;
  margin-bottom: 20px;
}

.contact-aside h2 {
  margin: 0 0 25px;
  font-size: 23px;
}

.contact-aside p {
  font-size: 14px;
  color: #526177;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0 0 23px;
}

.contact-aside p:last-child {
  margin: 0;
}

.aside-photo {
  width: 100%;
  border-radius: 12px;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #07172bc2;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.overlay.open {
  display: flex;
}

.modal {
  width: min(520px,100%);
  background: white;
  border-radius: 14px;
  padding: 35px;
  max-height: 90vh;
  overflow: auto;
  position: relative;
}

.modal h2 {
  margin: 0 0 25px;
  font-size: 22px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 13px;
  background: none;
  border: 0;
  font-size: 27px;
  color: #58657a;
}

.demo-note {
  font-size: 11px;
  color: #7f8a9a;
  text-align: center;
  margin: 12px 0 0;
}

@media(max-width:900px) {
  .shell {
    width: min(100% - 40px,720px);
  }

  .header .shell {
    height: 70px;
  }

  .nav {
    gap: 16px;
  }

  .nav a:not(.btn) {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav.open {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 18px 22px #101c3414;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open a:not(.btn) {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-slides {
    height: 390px;
  }

  .project-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .case {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .case-images {
    grid-template-rows: 170px 170px;
  }

  .footer .shell {
    gap: 20px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

}

@media(max-width:600px) {
  .shell {
    width: calc(100% - 34px);
  }

  .brand img {
    width: 137px;
  }

  .nav .btn {
    padding: 9px 14px;
  }

  .hero {
    padding: 45px 0 54px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero .lead {
    font-size: 14px;
  }

  .hero-slides {
    height: 270px;
  }

  .hero-overlay {
    width: 46%;
    right: -7px;
    bottom: -9px;
    border-width: 5px;
  }

  .section {
    padding: 68px 0;
  }

  .section-tight {
    padding: 52px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 23px;
    letter-spacing: .035em;
  }

  .ribbon-item {
    justify-content: flex-start;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service {
    min-height: auto;
    padding: 23px;
  }

  .need-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .need-icon {
    font-size: 25px;
  }

  .method-panel h2 {
    font-size: 25px;
  }

  .project-grid {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    gap: 13px;
    padding-bottom: 13px;
  }

  .project-tile {
    min-width: 78%;
    scroll-snap-align: start;
  }

  .faqs summary {
    font-size: 13px;
  }

  .cta-panel {
    padding: 35px 20px;
  }

  .cta-panel h2 {
    font-size: 24px;
  }

  .footer .shell {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-info {
    grid-column: 1 / -1;
  }

  .portfolio-intro {
    padding: 68px 0 48px;
  }

  .portfolio-intro h1, .page-simple h1 {
    font-size: 30px;
    letter-spacing: .045em;
  }

  .case {
    padding: 43px 0;
  }

  .case-images {
    grid-template-rows: 130px 130px;
    gap: 7px;
  }

  .case h2 {
    font-size: 24px;
  }

  .page-simple {
    padding: 70px 0 35px;
  }

  .timeline:before {
    left: 13px;
  }

  .timeline-entry, .timeline-entry:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 12px 0 30px 43px;
    text-align: left;
  }

  .timeline-entry:after, .timeline-entry:nth-child(even):after {
    left: 7px;
    right: auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .step {
    padding: 21px 14px;
  }

  .contact-layout {
    padding: 38px 0 75px;
  }

  .contact-card, .contact-aside .aside-top {
    padding: 26px;
  }

  .contact-aside {
    display: flex;
  }

}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }

}

.home .ribbon .shell {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.home .needs-section {
  padding-block: 64px;
}

.home .needs-section .section-heading {
  margin-bottom: 30px;
}

.home .need-grid {
  gap: 24px;
}

.home .need {
  min-height: 170px;
  padding: 22px 24px;
  border: 1px solid #e7e0d6;
  border-radius: 16px;
  box-shadow: 0 8px 24px #0f234605;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.home .need-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  color: #98733d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home .need-icon svg {
  width: 36px;
  height: 36px;
}

.home .need h3 {
  line-height: 1.35;
}

.home .method-panel {
  grid-template-columns: 1fr;
}

.home .method-copy {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

.home .method-panel h2 {
  max-width: 700px;
}

.home .method-panel p {
  font-size: 16px;
}

.home .sectors-grid {
  grid-template-columns: repeat(5,minmax(0,1fr));
}

.home .sector {
  padding: 26px 14px;
}

.home .sector .symbol svg {
  width: 30px;
  height: 30px;
  display: block;
  margin: auto;
}

.home .sector strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

@media(max-width:1000px) {
  .home .ribbon .shell {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .home .sectors-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .home .need {
    padding: 20px;
  }

  .home .need h3 {
    font-size: 20px;
  }

}

@media(max-width:600px) {
  .home .ribbon .shell {
    grid-template-columns: 1fr;
  }

  .home .need-grid {
    gap: 14px;
  }

  .home .needs-section {
    padding-block: 44px;
  }

  .home .need {
    min-height: 132px;
    align-items: center;
    justify-content: flex-start;
  }

  .home .need-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
  }

  .home .need-icon svg {
    width: 32px;
    height: 32px;
  }

  .home .method-panel p {
    font-size: 15px;
  }

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

  .home .sector:last-child {
    grid-column: 1 / -1;
  }

}

:focus-visible {
  outline: 3px solid #b08d57;
  outline-offset: 4px;
}

#formulaire-contact {
  scroll-margin-top: 110px;
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.fineprint a {
  text-decoration: underline;
}

.home .need {
  align-items: center;
  text-align: center;
}

.home .need-icon {
  background: none;
  border-radius: 0;
}

.home .need h3 {
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0;
  max-width: 260px;
}

.home .collaboration {
  background: var(--navy);
  padding: 48px 0;
}

.home .collaboration .method-panel {
  border-radius: 0;
}

.home .collaboration .method-copy {
  padding: 16px 40px;
}

.expertise-page .timeline {
  width: 100%;
  max-width: 960px;
}

.expertise-page .timeline-entry {
  text-align: left;
}

.timeline-entry ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.timeline-entry li+li {
  margin-top: 10px;
}

.education {
  margin-top: 64px;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.education-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 28px;
  background: var(--cream);
}

.education-card .when {
  color: #8c6b38;
  font-size: 13px;
  font-weight: 600;
}

.education-card h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 12px 0;
}

.education-card p {
  font-size: 14px;
  color: var(--muted);
}

.education-card .place {
  font-size: 12px;
}

.expertise-page .step p {
  font-size: 14px;
}

@media(max-width:900px) {
  .header .shell {
    gap: 12px;
  }

  .header .brand {
    margin-right: auto;
  }

  .header .nav .btn {
    font-size: 12px;
    padding: 10px 12px;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

}

@media(max-width:600px) {
  .header .shell {
    height: auto;
    min-height: 100px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-block: 10px;
  }

  .header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header .burger {
    grid-column: 2;
    grid-row: 1;
  }

  .header .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }

  .header .nav .btn {
    width: 100%;
  }

  .header .nav.open {
    top: 100%;
    grid-row: auto;
  }

  .home .need {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .home .need h3 {
    font-size: 20px;
    font-weight: 500;
  }

  .home .collaboration {
    padding: 32px 0;
  }

  .home .collaboration .method-copy {
    padding: 0 9px;
  }

  .expertise-page .steps {
    grid-template-columns: 1fr;
  }

}

.home .ribbon {
  background: #f3f3f2;
  border: 0;
  padding: 32px 0;
}

.home .ribbon .shell {
  gap: 0;
}

.home .ribbon-item {
  position: relative;
  display: block;
  text-align: center;
  padding: 16px 22px!important;
  border: 0!important;
}

.home .ribbon-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #d9cdbb;
}

.home .ribbon strong {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.home .ribbon small {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 7px;
}

.home .reviews {
  width: 100%;
  padding: 0;
}

.home .review-stage {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.55fr) minmax(0,1fr);
  gap: 24px;
  align-items: center;
  padding: 10px 0 22px;
}

.home .review-card {
  min-width: 0;
  min-height: 290px;
  padding: 28px 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home .review-active {
  border-color: #ded1bd;
  box-shadow: 0 12px 30px #1724430d;
}

.home .review-preview {
  transform: scale(.93);
  filter: blur(2px);
  opacity: .6;
  user-select: none;
  pointer-events: none;
}

.home .review-preview .quote {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home .review-preview .review-more {
  display: block;
}

.home .review-active .quote {
  font-size: 16px;
}

.home .review-more {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home .review-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 4px;
}

.home .rev-arr {
  position: static;
  transform: none;
  margin: 0;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  border-radius: 50%;
}

.home .rev-arr:hover {
  background: #eae7e1;
}

.home .review-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.home .review-dots button {
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.home .review-dots button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6d7d8;
}

.home .review-dots button[aria-current="true"]::after {
  background: var(--gold);
  width: 11px;
  height: 11px;
}

.home .reviews button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

@media(max-width:1000px) {
  .home .ribbon-item:nth-child(2)::after {
    display: none;
  }

  .home .ribbon-item:nth-child(-n+2) {
    margin-bottom: 14px;
  }

  .home .review-stage {
    gap: 12px;
    grid-template-columns: minmax(0,.65fr) minmax(0,1.6fr) minmax(0,.65fr);
  }

  .home .review-preview {
    padding: 22px 12px;
  }

}

@media(max-width:600px) {
  .home .ribbon {
    padding: 18px 0;
  }

  .home .ribbon-item {
    padding: 18px 10px!important;
  }

  .home .ribbon-item:nth-child(-n+2) {
    margin-bottom: 0;
  }

  .home .ribbon-item:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
  }

  .home .review-stage {
    grid-template-columns: 18px minmax(0,1fr) 18px;
    gap: 8px;
    overflow: hidden;
    padding-block: 12px 22px;
  }

  .home .review-preview {
    width: 240px;
    min-height: 250px;
    transform: scale(.9);
  }

  .home .review-previous {
    justify-self: end;
  }

  .home .review-next {
    justify-self: start;
  }

  .home .review-active {
    padding: 26px 18px;
  }

  .home .review-active .quote {
    font-size: 15px;
  }

}

.footer-brand {
  isolation: isolate;
}

.footer-brand img {
  mix-blend-mode: multiply;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.linkedin-icon {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.linkedin-link:hover {
  color: var(--gold);
}

.linkedin-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px;
}

.cta-panel .linkedin-link {
  color: inherit;
}

.cta-panel .linkedin-link:hover {
  color: var(--gold);
}

.contact-aside .contact-icon {
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.contact-aside .aside-top p {
  align-items: center;
  gap: 14px;
}

.contact-aside .aside-photo {
  display: block;
  object-fit: cover;
  height: auto;
  aspect-ratio: 3/2;
}

@media(max-width:600px) {
  .contact-aside {
    flex-direction: column;
  }

  .contact-aside .aside-photo {
    margin-bottom: 0;
  }

}

.form-status:not(:empty) {
  color: var(--navy);
  font-size: 13px;
  margin-top: 15px;
}
