/* Titanium — visual rhythm and progressive interactions. */

.site-header {
  transition: border-color 200ms ease;
}
.site-header.is-scrolled { border-color: #cbd8ce; }
.brand img { width: 140px; }

/* A brighter, photographic opening with direct routes into the explorer. */
.hero-enhanced {
  width: calc(100% - 24px);
  max-width: 1408px;
  margin: 12px auto 24px;
  padding: 0;
  border-radius: 18px;
  background: #eef4ee;
  overflow: hidden;
}
.hero-enhanced .hero-grid { width: 100%; gap: 0; }
.hero-enhanced .hero-copy { padding: 36px 20px 28px; }
.hero-enhanced .eyebrow { margin-bottom: 20px; }
.hero-enhanced h1 { font-size: 39px; }
.hero-enhanced .hero-description { margin-top: 24px; font-size: 17px; }
.hero-enhanced .hero-actions { margin-top: 28px; gap: 12px; }
.hero-enhanced .hero-micro { margin-top: 20px; font-size: 11px; }
.hero-quicklinks {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 24px;
  border-top: 1px solid #d4e1d5;
}
.hero-quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 40px;
  color: var(--color-primary-dark);
}
.hero-quicklinks .icon { width: 14px; height: 14px; }
.hero-quicklinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-enhanced .hero-visual {
  margin: 0 12px 12px;
  border-radius: 12px;
  aspect-ratio: 1.1;
  min-height: 0;
  display: block;
}
.hero-enhanced .hero-visual > img {
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 51% center;
}
.hero-enhanced figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 16px 52px 16px 16px;
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
}
.hero-enhanced figcaption strong { font-size: 12px; line-height: 1.5; }
.hero-image-link {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-primary-dark);
  background: #eef4ee;
  border-radius: 8px;
  transition: background 180ms;
}
.hero-image-link:hover { background: #dcebdd; }
.hero-enhanced .hero-visual figcaption .arrow {
  position: static;
  display: block;
  transform: none;
  width: 20px;
  height: 20px;
}
.trust-strip { border-top: 0; }

/* Accessible goal explorer; all four articles remain visible without JS. */
.categories { background: #fff; }
.categories .section-heading { margin-bottom: 32px; }
.categories .section-heading p:not(.eyebrow) { font-size: 17px; }
.goal-tabs { display: none; }
.is-enhanced .goal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.goal-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  min-height: 72px;
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.goal-tab > img { width: 26px; height: 26px; flex-shrink: 0; }
.goal-tab > .arrow { display: none; }
.goal-tab:hover { border-color: var(--color-primary); transform: translateY(-1px); }
.goal-tab[aria-selected="true"] {
  border-color: var(--color-primary);
  background: #e7f1e8;
  color: var(--color-primary-dark);
}
.goal-panels {
  border: 1px solid #dbe5dc;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f5f0;
}
.goal-panel { display: grid; min-width: 0; }
.goal-panel[hidden] { display: none !important; }
.goal-panel + .goal-panel:not([hidden]) { border-top: 1px solid #dbe5dc; }
.is-enhanced .goal-panel { border-top: 0; }
.goal-panel-copy { padding: 28px 24px; }
.goal-panel-copy .eyebrow { margin-bottom: 12px; font-size: 11px; }
.goal-panel-copy h3 { font-size: 32px; line-height: 1.12; }
.goal-panel-copy p:not(.eyebrow) { margin-top: 20px; font-size: 15px; }
.goal-panel-copy .goal-intro { color: var(--color-text); font-size: 18px !important; line-height: 1.5; }
.goal-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
.goal-actions .btn { width: 100%; font-size: 19px; padding-inline: 14px; }
.goal-actions .text-link { font-size: 14px; }
.goal-panel-copy .goal-condition { font-size: 12px !important; line-height: 1.5; }
.goal-panel-image {
  background: #fff;
  min-width: 0;
  height: 240px;
  margin: 0 12px 12px;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
}
.goal-panel-image img { width: 100%; height: 100%; object-fit: contain; }
.goal-panel-0 .goal-panel-image { padding: 0; }
.goal-panel-0 .goal-panel-image img { object-fit: cover; object-position: 57% center; }
.goal-panel.is-entering { animation: titanium-enter 500ms cubic-bezier(.22,1,.36,1); }
.other-goals { border-top: 0; padding-top: 8px; }

/* Section contrast and a lighter, easier-to-scan sequence of steps. */
.proposition { background: var(--color-bg); }
.editorial-photo > p { border-left: 3px solid var(--color-primary); }
.process-section { background: #fff; }
.process-grid { gap: 16px; }
.process-grid li {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 20px;
  border-top: 1px solid #d9e2d8;
  padding: 24px 0 8px;
  transition: border-color 200ms, transform 200ms;
}
.process-grid li:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.process-grid .step-number { grid-row: span 2; font-size: 32px; margin-bottom: 0; }
.process-grid h3 { margin-bottom: 10px; }
.process-grid p { grid-column: 2; }
.objection-section { background: #f1f5f0; }
.accordion summary { transition: color 180ms; }
.accordion details[open] summary { color: var(--color-primary-dark); }
.authority { background: var(--color-dark); color: #fff; border: 0; }
.authority .eyebrow { color: #a0d5af; }
.authority-heading h2 span { color: #a0d5af; }
.authority-body p { color: #d0d6ce; }
.authority-body span { color: #c1cbc0; }
.authority-body > div { border-color: #70b786; }
.partners-section { background: #fff; scroll-margin-top: 84px; }
.partners-list li { transition: transform 200ms; }
.partners-list img { opacity: .78; transition: opacity 200ms; }
.partners-list li:hover { transform: translateY(-2px); }
.partners-list li:hover img { opacity: 1; }
.selection-note {
  border-left: 3px solid var(--color-primary);
  background: #f0f5ee;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-primary-dark);
}
.selection-note[hidden] { display: none; }
.inner-photo { border: 1px solid var(--color-border); }
.inner-hero { border-bottom: 1px solid var(--color-border); }
.breadcrumb { font-size: 12px; }

/* Search is only shown once enhanced; native FAQ still works without scripts. */
.faq-search { display: none; margin-bottom: 48px; }
.is-searchable .faq-search { display: block; }
.faq-search > label { display: block; font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.faq-search-field { position: relative; }
.faq-search-field > .icon { position: absolute; left: 18px; top: 18px; color: var(--color-primary-dark); }
.faq-search-field input { padding-left: 52px; min-height: 56px; background: #fff; }
.faq-results { margin-top: 12px; font-size: 13px; }
.faq-empty { margin-top: 32px; padding: 24px; background: #edf3ed; border-radius: 14px; }
.faq-empty h2 { margin-bottom: 16px; }
.faq-empty .text-link { margin-top: 16px; }
.faq-page [hidden] { display: none !important; }
.faq-page { padding-top: 40px; }

/* A single, short entrance per block. No parallax or continuous animation. */
[data-reveal] {
  transition: opacity 600ms cubic-bezier(.22,1,.36,1), transform 600ms cubic-bezier(.22,1,.36,1);
}
.motion-ready .reveal-pending { opacity: 0; transform: translateY(12px); }
@keyframes titanium-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes titanium-menu {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.js-enabled .main-nav.is-open { animation: titanium-menu 200ms ease-out; }

@media (min-width: 600px) {
  .hero-enhanced .hero-copy { padding: 40px 32px; }
  .hero-enhanced h1 { font-size: 48px; }
  .hero-enhanced .hero-visual { aspect-ratio: 1.7; margin: 0 20px 20px; }
  .hero-quicklinks { max-width: 480px; }
  .hero-quicklinks a { font-size: 14px; }
  .hero-enhanced .hero-micro { font-size: 13px; }
  .hero-enhanced figcaption { max-width: 430px; padding: 20px 64px 20px 24px; }
  .hero-enhanced figcaption strong { font-size: 14px; }
  .goal-tab { font-size: 15px; padding: 20px; }
  .goal-panel-copy { padding: 40px; }
  .goal-actions .btn { width: auto; }
  .goal-panel-image { height: 300px; margin: 0 20px 20px; }
  .process-grid li { display: block; }
  .process-grid .step-number { font-size: 40px; margin-bottom: 20px; }
}

@media (min-width: 768px) {
  .hero-enhanced { width: calc(100% - 32px); margin-top: 16px; }
  .hero-enhanced .hero-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; }
  .hero-enhanced .hero-copy { padding: 40px 28px; align-self: center; }
  .hero-enhanced h1 { font-size: 44px; }
  .hero-enhanced .hero-description { font-size: 16px; }
  .hero-enhanced .hero-visual { margin: 16px 16px 16px 0; aspect-ratio: auto; }
  .hero-enhanced .hero-visual > img { position: absolute; inset: 0; object-position: 54%; }
  .hero-enhanced figcaption { padding: 16px 52px 16px 16px; }
  .hero-enhanced figcaption strong { font-size: 12px; }
  .hero-enhanced .hero-micro { font-size: 11px; }
  .hero-quicklinks a { font-size: 11px; gap: 2px; }
  .hero-quicklinks { gap: 8px; }
  .hero-quicklinks .icon { width: 12px; }
  .is-enhanced .goal-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .goal-tab { padding: 20px 12px; font-size: 13px; gap: 8px; }
  .goal-panel { grid-template-columns: 1fr 1fr; min-height: 430px; align-items: stretch; }
  .goal-panel-copy { padding: 32px; align-self: center; }
  .goal-panel-copy h3 { font-size: 36px; }
  .goal-panel-image { height: auto; margin: 16px 16px 16px 0; min-height: 320px; }
  .goal-panel-image img { min-height: 100%; }
  .goal-panel-0 .goal-panel-image img { object-position: 58%; }
  .goal-actions .btn { max-width: 100%; }
  .faq-page { padding-top: 56px; }
}

@media (min-width: 1024px) {
  .hero-enhanced .hero-grid { width: calc(100% - 64px); gap: 32px; }
  .hero-enhanced .hero-copy { padding: 56px 0; }
  .hero-enhanced h1 { font-size: 54px; }
  .hero-enhanced .hero-description { font-size: 17px; }
  .hero-enhanced .hero-visual { margin: 24px -8px 24px 0; }
  .hero-enhanced .hero-micro { font-size: 12px; }
  .hero-quicklinks a { font-size: 13px; gap: 8px; }
  .hero-quicklinks .icon { width: 16px; }
  .hero-enhanced figcaption { left: 20px; right: 20px; bottom: 20px; padding: 20px 64px 20px 20px; }
  .hero-enhanced figcaption strong { font-size: 14px; }
  .hero-image-link { right: 12px; }
  .goal-tab { font-size: 15px; padding: 20px; min-height: 88px; gap: 14px; }
  .goal-tab > .arrow { display: block; margin-left: auto; width: 18px; }
  .goal-tab > img { width: 32px; height: 32px; }
  .goal-panel { grid-template-columns: 1.05fr 1fr; min-height: 460px; }
  .goal-panel-copy { padding: 48px; }
  .goal-panel-copy h3 { font-size: 40px; }
  .goal-panel-copy p:not(.eyebrow) { font-size: 17px; max-width: 400px; }
  .goal-panel-image { margin: 24px 24px 24px 0; }
  .goal-panel-1 .goal-panel-image,
  .goal-panel-2 .goal-panel-image,
  .goal-panel-3 .goal-panel-image { padding: 32px; }
  .goal-panel-image img { max-height: 430px; }
  .process-grid { gap: 32px; }
  .process-grid li { padding-top: 28px; }
  .process-grid .step-number { font-size: 48px; margin-bottom: 24px; }
  .main-nav > a:not(.btn):not([aria-current])::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms;
  }
  .main-nav > a:not(.btn):hover::after,
  .main-nav > a.section-active::after { transform: scaleX(1); }
}

@media (min-width: 1280px) {
  .hero-enhanced .hero-grid { gap: 56px; grid-template-columns: 1.08fr 1fr; }
  .hero-enhanced .hero-copy { padding: 64px 0 48px; }
  .hero-enhanced h1 { font-size: 64px; }
  .hero-enhanced .hero-description { font-size: 18px; max-width: 520px; }
  .hero-enhanced .hero-visual { margin-right: -24px; }
  .hero-enhanced .hero-actions { flex-direction: row; gap: 16px; }
  .hero-enhanced .hero-actions > .text-link { font-size: 14px; }
  .hero-enhanced .hero-micro { margin-top: 24px; font-size: 13px; }
  .hero-quicklinks { margin-top: 28px; padding-top: 16px; max-width: 490px; }
  .hero-quicklinks a { font-size: 14px; }
  .goal-panel { min-height: 440px; }
  .goal-actions { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
  .goal-panel-copy { padding: 48px 56px; }
  .goal-panel-image { margin-left: 8px; }
  .partners-section { padding-block: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal-pending { opacity: 1; transform: none; }
  [data-reveal], .goal-panel.is-entering, .main-nav.is-open { animation: none !important; transition: none !important; }
}

@media print {
  .goal-tabs, .hero-quicklinks, .faq-search { display: none !important; }
  .goal-panel[hidden] { display: grid !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
  .authority { background: #fff; color: #000; }
  .authority p, .authority span { color: #000; }
}
