.page-head {
  padding: 160px 48px 12px;
}

.page-head h1 {
  font-size: clamp(44px,5.2vw,72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--wp--preset--color--navy);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(26,32,80,.58);
  margin-bottom: 18px;
}

.meta-line span + span::before {
  content: "·";
  margin-right: 14px;
}

.page-divider {
  border: none;
  border-top: 1px solid rgba(26,32,80,.08);
  margin: 0 0 12px;
  height: 1px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(200px, 1fr);
  align-items: start;
  padding: 0 48px;
}

.page-body {
  padding: 42px 64px 96px 0;
}

.page-intro,
.page-body .intro {
  font-size: 20px;
  line-height: 1.65;
  font-style: italic;
  font-weight: 300;
  color: var(--wp--preset--color--grey-mid);
  margin-bottom: 48px;
  max-width: 52ch;
}

.page-body p {
  font-size: 17px;
  line-height: 1.82;
  color: var(--wp--preset--color--grey-dark);
  margin-bottom: 20px;
}

.service-entry,
.principle {
  padding: 28px 0;
  border-top: 1px solid rgba(26,32,80,.08);
}

.service-entry:last-child,
.principle:last-child {
  border-bottom: 1px solid rgba(26,32,80,.08);
}

.service-entry-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 16px;
}

.service-num,
.step-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(26,32,80,.35);
  flex-shrink: 0;
}

.service-num {
  width: 24px;
}

.service-kind,
.principle-label,
.approach-steps-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
}

.service-entry h2,
.step-body h3 {
  font-size: clamp(26px,2.8vw,40px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--wp--preset--color--navy);
  margin-bottom: 16px;
}

.service-entry ul,
.sidebar-nav,
.footer-list {
  list-style: none;
}

.service-entry ul {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.service-entry li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--wp--preset--color--grey-mid);
  padding-left: 16px;
  position: relative;
}

.service-entry li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(26,32,80,.28);
}

.service-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
  border: 1px solid rgba(45,79,214,.22);
  padding: 4px 10px;
  border-radius: 3px;
}

.page-sidebar {
  padding: 42px 0 96px;
  position: sticky;
  top: 48px;
}

.sidebar-block {
  padding-top: 20px;
  border-top: 1px solid rgba(26,32,80,.08);
}

.sidebar-block + .sidebar-block {
  margin-top: 28px;
}

.sidebar-block-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,32,80,.45);
  margin-bottom: 16px;
}

.sidebar-nav {
  display: grid;
  gap: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,32,80,.06);
  font-size: 15px;
  line-height: 1.45;
  color: var(--wp--preset--color--navy);
  text-decoration: none;
}

.sidebar-nav a:last-child {
  border-bottom: none;
}

.sidebar-nav .num,
.sidebar-nav .arr {
  color: rgba(26,32,80,.35);
  flex-shrink: 0;
}

.sidebar-nav a:hover {
  color: var(--wp--preset--color--cobalt);
}

.sidebar-nav .is-current {
  color: var(--wp--preset--color--cobalt);
  font-weight: 500;
}

.sidebar-nav .arr {
  font-size: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s var(--armist-ease, cubic-bezier(.7,0,.2,1)), transform .18s var(--armist-ease, cubic-bezier(.7,0,.2,1));
}

.sidebar-nav a:hover .arr {
  opacity: 1;
  transform: translateX(0);
}

.legal-page-body .wp-block-post-content > * {
  max-width: none;
}

.legal-page-body .wp-block-post-content h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--wp--preset--color--navy);
  margin: 40px 0 14px;
}

.legal-page-body .wp-block-post-content h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--navy);
  margin: 28px 0 10px;
}

.legal-page-body .wp-block-post-content ul,
.legal-page-body .wp-block-post-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-page-body .wp-block-post-content li {
  font-size: 17px;
  line-height: 1.82;
  color: var(--wp--preset--color--grey-dark);
  margin-bottom: 6px;
}

.legal-page-body .wp-block-post-content a {
  color: var(--wp--preset--color--cobalt);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sidebar-cta {
  margin-top: 28px;
  padding: 20px;
  background: var(--wp--preset--color--navy);
  border-radius: 4px;
}

.sidebar-cta p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  margin-bottom: 14px;
}

.sidebar-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: gap .2s var(--armist-ease), opacity .2s ease;
}

.sidebar-cta a:hover {
  gap: 12px;
  opacity: .75;
}

.contact-layout .page-body {
  min-width: 0;
  padding: 42px 64px 96px 0;
}

.contact-page-body .intro {
  font-size: 20px;
  line-height: 1.65;
  font-style: italic;
  font-weight: 300;
  color: var(--wp--preset--color--grey-mid);
  margin-bottom: 48px;
  max-width: 52ch;
}

.contact-form {
  display: grid;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.form-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,32,80,.45);
  margin-bottom: 10px;
}

.field-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(26,32,80,.3);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 17px;
  font-weight: 300;
  color: var(--wp--preset--color--navy);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26,32,80,.18);
  padding: 8px 0 10px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  transition: border-color .2s var(--armist-ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(26,32,80,.28);
  font-weight: 300;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--wp--preset--color--cobalt);
}

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='rgba(26,32,80,.4)' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
  padding-right: 20px;
}

.form-field select option {
  background: #fff;
  color: var(--wp--preset--color--navy);
  font-weight: 400;
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.form-field .hint {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(26,32,80,.38);
}

.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.form-submit .note {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(26,32,80,.45);
  max-width: 28ch;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wp--preset--color--cobalt);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: background .2s var(--armist-ease), gap .2s var(--armist-ease);
}

.btn-send:hover {
  background: var(--wp--preset--color--navy);
  gap: 14px;
}

.btn-send svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* CF7 wrapper resets */
.wpcf7 {
  width: 100%;
}

.wpcf7 .contact-form,
.wpcf7-form {
  display: contents;
}

.wpcf7-spinner {
  display: none !important;
}

.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}

.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 13px;
  border: 1px solid currentColor;
}

.wpcf7-mail-sent-ok {
  color: #27ae60;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  color: #c0392b;
}

/* Arrow after CF7 submit button */
.btn-send.wpcf7-submit::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  flex-shrink: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 8h14M9 2l6 6-6 6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 8h14M9 2l6 6-6 6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.maps-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid rgba(45,79,214,.14);
  background: var(--wp--preset--color--cobalt-pale);
  text-decoration: none;
  transition: background .2s var(--armist-ease), border-color .2s var(--armist-ease);
}

.maps-card:hover {
  background: rgba(45,79,214,.12);
  border-color: rgba(45,79,214,.3);
}

.maps-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.maps-pin {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wp--preset--color--cobalt);
  flex-shrink: 0;
}

.maps-pin svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.maps-address {
  padding-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--wp--preset--color--navy);
}

.maps-address strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
}

.maps-cta-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
  transition: gap .2s var(--armist-ease);
}

.maps-card:hover .maps-cta-label {
  gap: 10px;
}

.contact-detail {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  column-gap: 12px;
  align-items: start;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(26,32,80,.12);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--navy);
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.contact-row-text {
  padding-top: 7px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wp--preset--color--navy);
}

.contact-row-text span {
  display: block;
  margin-bottom: 1px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,32,80,.4);
}

.contact-row-text a {
  color: var(--wp--preset--color--navy);
  text-decoration: none;
  transition: color .18s var(--armist-ease);
}

.contact-row-text a:hover {
  color: var(--wp--preset--color--cobalt);
}

.sidebar-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(26,32,80,.08);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(26,32,80,.52);
}

.sidebar-note strong {
  color: var(--wp--preset--color--navy);
  font-weight: 500;
}

.approach-quote {
  margin: 0 0 56px;
  padding: 36px 0;
  border-top: 1px solid rgba(26,32,80,.08);
  border-bottom: 1px solid rgba(26,32,80,.08);
  display: grid;
  grid-template-columns: minmax(0,1fr) 160px;
  gap: 36px;
  align-items: center;
}

.approach-quote blockquote {
  font-size: clamp(22px,2.4vw,32px);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -.03em;
  color: var(--wp--preset--color--navy);
  position: relative;
  padding-left: 28px;
  margin: 0;
}

.approach-quote blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--wp--preset--color--cobalt);
}

.approach-quote-meta {
  text-align: center;
}

.approach-founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid rgba(26,32,80,.08);
}

.approach-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-founder-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--wp--preset--color--navy);
  display: block;
  margin-bottom: 2px;
}

.approach-founder-role {
  font-size: 12px;
  color: rgba(26,32,80,.5);
  display: block;
  margin-bottom: 8px;
}

.approach-founder-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cobalt);
  text-decoration: none;
}

.approach-steps {
  margin: 0 0 56px;
}

.approach-step {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 0 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(26,32,80,.08);
  align-items: start;
}

.approach-step:last-child {
  border-bottom: 1px solid rgba(26,32,80,.08);
}

.step-body p,
.principle p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.approach-principles {
  margin: 56px 0 0;
}

.checkout-body {
  padding: 42px 48px 96px;
}

/* ── WooCommerce checkout button ─────────────────────────────────────────── */

#place_order,
.wc-block-components-checkout-place-order-button {
  background: var(--wp--preset--color--cobalt) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 28px !important;
  cursor: pointer !important;
  transition: background .2s ease !important;
}

#place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--wp--preset--color--navy) !important;
}

@media (max-width: 980px) {
  .page-head,
  .page-layout {
    padding-left: 22px;
    padding-right: 22px;
  }

  .page-head {
    padding-top: 84px;
  }

  .page-head h1 {
    font-size: clamp(32px,8vw,52px);
  }

  .page-layout,
  .approach-quote {
    grid-template-columns: 1fr;
  }

  .page-body {
    padding: 28px 0 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-sidebar {
    position: static;
    padding: 0 0 48px;
    border-top: 1px solid rgba(26,32,80,.08);
  }

  .approach-quote-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .approach-founder-photo {
    margin: 0;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }

  .checkout-body {
    padding-left: 22px;
    padding-right: 22px;
  }
}
