/* Ethos Advisory: shared styles for all pages
   Brand: Roboto 400/700; plum #7A3B63, olive #939D2D, text #3E3E3E,
   background #F8F4EF, secondary #E4D8E0 */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #F8F4EF;
  color: #3E3E3E;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: #7A3B63; }
a:hover { color: #5A2A49; }

h1, h2, h3, p, ul, ol { margin: 0; }

.container { max-width: 1248px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #FFFFFF; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  border-radius: 4px;
  padding: 14px 24px;
  cursor: pointer;
}
.btn-primary { background: #939D2D; color: #1F220B; border: none; }
.btn-primary:hover { background: #7A8225; color: #1F220B; }
.btn-outline { color: #7A3B63; border: 2px solid #7A3B63; background: transparent; }
.btn-outline:hover { background: #7A3B63; color: #F8F4EF; }
.btn-sm { padding: 12px 20px; }
.btn-lg { padding: 16px 28px; }

/* Header */
.site-header { background: #F8F4EF; border-bottom: 1px solid #E4D8E0; }
.site-header .container {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; display: block; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 16px; }
.main-nav a:not(.btn) { text-decoration: none; color: #3E3E3E; }
.main-nav a:not(.btn):hover { color: #7A3B63; }

/* Sections */
.section-white { background: #FFFFFF; border-top: 1px solid #E4D8E0; border-bottom: 1px solid #E4D8E0; }
.section-tint { background: #E4D8E0; }

/* Homepage hero */
.hero { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #7A3B63; }
.hero h1 { font-size: 60px; line-height: 1.08; font-weight: 700; color: #7A3B63; letter-spacing: -1px; }
.hero-lead { font-size: 20px; max-width: 520px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero-image {
  flex: 1 1 440px; min-width: 0; max-width: 540px; width: 100%; height: auto;
  aspect-ratio: 1 / 1; border-radius: 8px; display: block;
}

/* Homepage services */
.services .container { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 56px; }
.services-intro { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.services-intro h2 { font-size: 42px; line-height: 1.15; font-weight: 400; color: #3E3E3E; }
.services-intro h2 strong { color: #7A3B63; }
.services-intro .subhead { font-size: 20px; font-weight: 700; }
.card-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.service-card {
  flex: 1 1 340px; max-width: 381px; min-width: 0;
  background: #F8F4EF; border: 1px solid #E4D8E0; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; }
.service-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.service-card h3 { font-size: 21px; line-height: 1.3; font-weight: 700; color: #7A3B63; }
.service-card p { font-size: 16px; }
.service-card .more { margin-top: auto; font-weight: 700; padding-top: 8px; }

/* How every engagement works */
.how { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-title { font-size: 36px; line-height: 1.2; font-weight: 700; color: #7A3B63; }
.steps { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 28px; }
.step {
  flex: 1 1 230px; min-width: 0; background: #FFFFFF; border: 1px solid #E4D8E0; border-radius: 8px;
  padding: 32px; display: flex; flex-direction: column; gap: 12px;
}
.step-num { font-size: 40px; font-weight: 700; line-height: 1; color: #7A3B63; }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { font-size: 16px; }

/* Team */
.team { background: #FFFFFF; border-top: 1px solid #E4D8E0; }
.team .container { padding-top: 96px; padding-bottom: 96px; }
.team-head { padding-bottom: 28px; border-bottom: 1px solid #DCCBD6; margin-bottom: 56px; }
.team-eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase; color: #6B7320; font-weight: 700; }
.team-head h2 { font-size: 44px; font-weight: 700; color: #3E3E3E; letter-spacing: -0.4px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px 64px; }
.member { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.member-photo { width: 132px; height: 132px; object-fit: cover; background: #E4D8E0; flex: 0 0 auto; }
.member-photo.placeholder { display: flex; align-items: center; justify-content: center; color: #7A3B63; font-size: 13px; }
.member-bio { flex: 1 1 260px; min-width: 0; }
.member h3 { font-size: 22px; font-weight: 700; color: #3E3E3E; line-height: 1.2; }
.member-title { margin: 8px 0 14px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #7A3B63; font-weight: 700; }
.member-bio p:not(.member-title) { font-size: 15px; line-height: 1.75; }
.member-bio p:not(.member-title) + p { margin-top: 14px; }




/* Team photo crops */
.photo-kari-kelly { object-position: center 16%; }
.photo-chiara-wirz { object-position: center 18%; }
.photo-kevin-kelly { object-position: center 22%; }
.photo-heather-johnston { object-position: center 18%; }
.photo-emile-kfouri { object-position: center 20%; }

/* Contact */
.contact { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; }
.contact-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-text .email { font-weight: 700; }
.contact-form {
  flex: 1 1 480px; min-width: 0; background: #FFFFFF; border: 1px solid #E4D8E0; border-radius: 8px;
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field-row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.field input, .field textarea {
  font: inherit; font-weight: 400; padding: 12px; border: 1px solid #B9A9B4; border-radius: 4px; background: #FFFFFF; color: #3E3E3E;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid #939D2D; outline-offset: 1px; border-color: #939D2D; }
.optional { font-weight: 400; color: #6B6B6B; }
.botcheck { display: none; }
.contact-form .btn { align-self: flex-start; padding: 14px 28px; }
.contact-form .btn[disabled] { opacity: 0.7; cursor: default; }
.form-status { display: none; border-radius: 4px; padding: 14px 18px; font-size: 15px; }
.form-status.success { display: block; background: rgba(147, 157, 45, 0.15); border: 1px solid #939D2D; }
.form-status.error { display: block; background: rgba(122, 59, 99, 0.08); border: 1px solid #7A3B63; }

/* Service pages */
.service-hero { padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.breadcrumb { font-size: 15px; }
.service-hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.service-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.service-hero h1 { font-size: 52px; line-height: 1.1; font-weight: 700; color: #7A3B63; letter-spacing: -0.5px; }
.service-hero .subhead { font-size: 21px; font-weight: 700; }
.service-hero .lead { font-size: 18px; max-width: 560px; }
.service-hero .btn { align-self: flex-start; }
.service-image {
  flex: 1 1 420px; min-width: 0; max-width: 480px; width: 100%; height: auto;
  aspect-ratio: 1 / 1; border-radius: 8px; display: block;
}
.service-detail .container { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 48px; }
.callout { background: #E4D8E0; border-radius: 8px; padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.callout p { max-width: 860px; }
.detail-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.detail-col { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.detail-title { font-size: 26px; font-weight: 700; color: #7A3B63; }
.detail-col ul { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.cta-band { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta-band h2 { font-size: 32px; line-height: 1.2; font-weight: 700; color: #3E3E3E; }
.other-services .container { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.other-services h2 { font-size: 22px; font-weight: 700; color: #7A3B63; }
.other-links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 700; }

/* Footer */
.site-footer { background: #7A3B63; color: #F8F4EF; }
.site-footer a { color: #F8F4EF; }
.site-footer a:hover { color: #FFFFFF; }
.footer-top { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { height: 30px; width: auto; display: block; }
.footer-brand p { font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.footer-bottom { padding-bottom: 40px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Phones */
@media (max-width: 640px) {
  .hero { padding-top: 48px; padding-bottom: 48px; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .services .container, .how, .contact, .team .container { padding-top: 56px; padding-bottom: 56px; }
  .services-intro h2 { font-size: 32px; }
  .team-head h2 { font-size: 34px; }
  .section-title { font-size: 30px; }
  .service-hero h1 { font-size: 38px; }
  .service-detail .container, .cta-band { padding-top: 48px; padding-bottom: 48px; }
  .callout, .contact-form, .step { padding: 24px; }
  .main-nav { gap: 18px; }
}
