:root {
  --navy:#132f46;
  --deep:#092235;
  --gold:#ac853f;
  --ivory:#faf7f2;
  --ink:#142f42;
  --soft:#f0ede6;
  --muted:#556573;
  --rule:rgba(19,47,70,.15)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:white;
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.6
}

h1,h2,h3,p {
  margin-top:0
}

a {
  color:inherit;
  text-decoration:none
}

button,input,select,textarea {
  font:inherit
}

button,a,.btn {
  outline-offset:4px
}

::selection {
  background:#e9d5a9;
  color:var(--deep)
}

.container {
  width:min(100% - 72px,1200px);
  margin-inline:auto
}

.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
}

.skip {
  position:absolute;
  left:10px;
  top:-100px;
  background:#fff;
  padding:12px;
  z-index:100
}

.skip:focus {
  top:10px
}

header {
  background:#fff;
  position:relative;
  z-index:20;
  border-bottom:1px solid rgba(19,47,70,.1)
}

.nav-inner {
  height:128px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}

.brand {
  display:flex;
  align-items:center
}

.brand img {
  width:222px;
  height:auto;
  display:block
}

.nav {
  display:flex;
  align-items:center;
  gap:42px;
  color:var(--deep);
  font-size:13px;
  letter-spacing:.035em;
  font-weight:600
}

.nav a:not(.btn):hover,.nav a.active {
  color:#926a27
}

.nav .btn {
  font-size:12px;
  padding:14px 22px
}

.menu-btn {
  display:none;
  background:transparent;
  border:0;
  color:var(--navy);
  font-size:25px;
  cursor:pointer
}

.btn {
  display:inline-flex;
  gap:20px;
  align-items:center;
  justify-content:center;
  border:1px solid var(--gold);
  padding:17px 28px;
  background:var(--gold);
  color:var(--deep);
  font-weight:700;
  font-size:11px;
  line-height:1.4;
  letter-spacing:.13em;
  text-transform:uppercase;
  transition:.18s ease;
  cursor:pointer
}

.btn:hover {
  background:#b28d48;
  border-color:#b28d48
}

.btn.outline {
  background:transparent;
  color:var(--navy);
  border-color:rgba(19,47,70,.35)
}

.btn.outline:hover {
  background:transparent;
  border-color:var(--gold);
  color:#8a672e
}

.btn.ghost {
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.55)
}

.btn.ghost:hover {
  background:transparent;
  border-color:var(--gold);
  color:#fff
}

h1,h2,h3,.serif {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  letter-spacing:-.034em;
  line-height:1.12
}

h1 {
  font-size:clamp(46px,5.3vw,76px);
  max-width:720px;
  line-height:1.07;
  margin-bottom:26px
}

h2 {
  font-size:clamp(34px,3.5vw,52px);
  margin-bottom:24px
}

h3 {
  font-size:26px
}

.hero {
  background:var(--deep);
  position:relative;
  overflow:hidden
}

.hero:before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,#092235 0%,#092235 28%,rgba(9,34,53,.96) 41%,rgba(9,34,53,.51) 68%,rgba(9,34,53,.10) 100%),radial-gradient(circle at 45% 40%,rgba(172,133,63,.12),transparent 42%);
  z-index:1
}

.hero-img {
  position:absolute;
  right:-6%;
  top:0;
  height:100%;
  width:78%;
  object-fit:cover;
  object-position:center center;
  opacity:.89;
  filter:saturate(.72) contrast(1.03)
}

.hero:after {
  content:'';
  position:absolute;
  z-index:2;
  width:450px;
  height:450px;
  right:-180px;
  bottom:-340px;
  border:1px solid rgba(172,133,63,.28);
  border-radius:50%
}

.hero .container {
  position:relative;
  z-index:3;
  min-height:610px;
  display:flex;
  align-items:center
}

.hero-body {
  padding:75px 0 90px;
  max-width:700px
}

.hero h1 {
  color:#fff
}

.hero h1 span {
  color:#d8bd8a
}

.hero p {
  max-width:480px;
  color:#dce4e9;
  font-size:18px;
  line-height:1.75;
  margin-bottom:35px
}

.hero-actions {
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap
}

.hero-small {
  color:#b1bdc6;
  margin-top:56px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.17);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase
}

.hero-small span {
  padding:0 17px;
  color:#bc9556
}

.section {
  padding:100px 0
}

.intro {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:55px;
  margin-bottom:52px
}

.intro h2 {
  max-width:730px;
  margin:0
}

.intro p {
  max-width:360px;
  color:var(--muted);
  margin:0
}

.services {
  background:var(--ivory)
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--rule);
  border-left:1px solid var(--rule)
}

.service {
  padding:41px 36px 39px;
  border-right:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
  min-height:245px
}

.service-index {
  color:var(--gold);
  font-size:11px;
  letter-spacing:.1em;
  font-weight:700;
  margin-bottom:25px
}

.service h3 {
  font-size:25px;
  line-height:1.2;
  margin:0 0 12px
}

.service p {
  font-size:14px;
  color:#506271;
  max-width:275px;
  line-height:1.65;
  margin:0
}

.service-grid .service.is-hovered {
  background:#f3eee4
}

.statement {
  padding:90px 0;
  background:#fff
}

.statement .container {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:100px;
  align-items:center
}

.statement blockquote {
  font:normal clamp(27px,3.1vw,43px)/1.25 Georgia,serif;
  letter-spacing:-.025em;
  margin:0
}

.statement blockquote em {
  color:#9b7535;
  font-style:normal
}

.statement p {
  border-left:2px solid var(--gold);
  padding-left:25px;
  color:#556676;
  margin:0;
  font-size:16px;
  line-height:1.85
}

.physician {
  background:#f0f2f2
}

.physician-grid {
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  min-height:640px
}

.portrait-panel {
  background:linear-gradient(160deg,rgba(9,34,53,.15),rgba(9,34,53,.9)),url('../assets/neuroimaging.jpg') center center/cover no-repeat;
  position:relative;
  overflow:hidden
}

.portrait-panel:after {
  content:'NCA';
  position:absolute;
  bottom:-105px;
  right:12px;
  font-family:Georgia,serif;
  font-size:210px;
  opacity:.07;
  line-height:1;
  color:#fff
}

.portrait-panel .picture-tag {
  position:absolute;
  left:45px;
  bottom:46px;
  color:#fff;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.55);
  width:240px
}

.physician-details {
  padding:100px clamp(40px,6vw,110px);
  align-self:center
}

.physician-details h2 {
  margin:0 0 16px
}

.subtitle {
  color:#a17b3b;
  font-size:14px;
  letter-spacing:.06em;
  font-weight:700;
  margin-bottom:25px
}

.physician-details p {
  max-width:560px;
  color:#516271;
  font-size:15px;
  line-height:1.85
}

.credentials {
  border-top:1px solid rgba(19,47,70,.19);
  margin-top:32px;
  padding-top:27px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  font-size:13px;
  color:#496170
}

.credentials strong {
  display:block;
  color:var(--navy);
  font-size:12px;
  margin-bottom:10px;
  text-transform:uppercase;
  letter-spacing:.06em
}

.physician-details .btn {
  margin-top:35px
}

.process {
  background:#fff
}

.process-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:45px;
  margin-top:55px
}

.process-item {
  border-top:2px solid var(--gold);
  padding-top:25px
}

.process-num {
  color:var(--gold);
  font-size:12px;
  letter-spacing:.13em;
  font-weight:700
}

.process-item h3 {
  margin-top:22px;
  margin-bottom:12px
}

.process-item p {
  color:#566978;
  font-size:14px;
  line-height:1.8
}

.contact {
  background:var(--deep);
  color:#fff
}

.contact-grid {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:110px
}

.contact h1,.contact h2 {
  color:#fff
}

.contact p {
  color:#c0ccd3;
  line-height:1.85
}

.contact .dividerline {
  width:80px;
  height:2px;
  background:var(--gold);
  margin:34px 0
}

.contact .note {
  font-size:13px;
  color:#b4c0c9;
  margin-top:50px
}

.form {
  background:#fff;
  color:var(--navy);
  padding:43px 46px
}

.form h3 {
  font-size:29px;
  margin:0 0 28px
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:20px
}

.field {
  margin-bottom:22px
}

.field.full {
  grid-column:1/-1
}

.field label {
  display:block;
  font-size:11px;
  letter-spacing:.1em;
  font-weight:700;
  text-transform:uppercase;
  margin-bottom:9px;
  color:#30485a
}

.field input,.field select,.field textarea {
  display:block;
  width:100%;
  border:1px solid #c9d1d6;
  padding:13px 14px;
  border-radius:0;
  background:#fff;
  color:#203e52;
  font-size:14px
}

.field textarea {
  resize:vertical;
  min-height:95px
}

.field input:focus,.field select:focus,.field textarea:focus {
  outline:2px solid #ac853f;
  outline-offset:1px
}

.form-privacy {
  font-size:12px;
  color:#576877;
  margin-bottom:25px
}

.form-consent {
  display:flex;
  align-items:flex-start;
  gap:11px;
  color:#30485a;
  font-size:13px;
  line-height:1.6;
  margin:2px 0 20px
}

.form-consent input {
  flex:none;
  width:17px;
  height:17px;
  margin:2px 0 0;
  accent-color:var(--gold)
}

.form-consent a {
  color:var(--navy);
  text-decoration:underline
}

.form-honeypot {
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden
}

.form button {
  width:100%
}

.form button:disabled {
  opacity:.6;
  cursor:not-allowed
}

.form-status {
  font-size:12px;
  line-height:1.5;
  min-height:19px;
  color:#9b5f19;
  margin-top:12px
}

footer {
  background:#061b2a;
  color:#d6dee2;
  padding:58px 0 22px
}

footer .footer-top {
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr;
  gap:60px;
  align-items:start;
  padding-bottom:45px;
  border-bottom:1px solid rgba(255,255,255,.2)
}

.footer-logo {
  width:235px;
  height:auto;
  display:block
}

.footer-tagline {
  font:20px Georgia,serif;
  color:#bdcbd4;
  margin-top:25px;
  line-height:1.45
}

.footer-col h4 {
  color:#e2c68d;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  margin:4px 0 17px
}

.footer-col a,.footer-col p {
  display:block;
  color:#c9d2d8;
  font-size:13px;
  margin-bottom:10px
}

.footer-col a:hover {
  color:#fff
}

.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:22px;
  font-size:11px;
  color:#8e9eaa
}

.footer-bottom a {
  margin-left:22px;
  color:#bec9cf
}

.footer-bottom a:hover {
  color:white
}

.footer-disclaimer {
  border-top:1px solid rgba(255,255,255,.15);
  margin-top:23px;
  padding-top:18px;
  line-height:1.65;
  color:#94a6b0;
  font-size:11px
}

.modal-backdrop {
  position:fixed;
  inset:0;
  background:rgba(3,20,31,.72);
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:25px
}

.modal-backdrop.show {
  display:flex
}

.modal {
  background:#fff;
  width:min(700px,100%);
  max-height:85vh;
  overflow:auto;
  padding:45px 52px;
  box-shadow:0 25px 80px rgba(0,0,0,.25)
}

.modal h2 {
  font-size:38px
}

.modal p,.modal li {
  font-size:14px;
  color:#506271;
  line-height:1.85
}

.modal h3 {
  font-size:20px
}

.modal-close {
  float:right;
  border:0;
  background:none;
  color:var(--navy);
  font-size:24px;
  cursor:pointer
}

.tiny {
  font-size:11px;
  letter-spacing:.06em;
  color:#8193a1
}

.mobile-only {
  display:none
}

@media(max-width:1030px) {
  .nav {
    gap:20px
  }
  .nav .btn {
    display:none
  }
  .hero h1 {
    font-size:60px
  }
  .service {
    padding:31px 25px
  }
  .contact-grid {
    gap:45px
  }
}

@media(max-width:800px) {
  .container {
    width:min(100% - 42px,1200px)
  }
  .nav-inner {
    height:104px
  }
  .brand img {
    width:175px
  }
  .menu-btn {
    display:block
  }
  .nav {
    position:absolute;
    top:104px;
    left:0;
    right:0;
    background:#fff;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:12px 22px 24px;
    box-shadow:0 20px 35px rgba(0,0,0,.12)
  }
  .nav.open {
    display:flex
  }
  .nav a {
    padding:12px 0
  }
  .hero-img {
    width:100%;
    right:0;
    opacity:.5
  }
  .hero:before {
    background:linear-gradient(90deg,#092235 0%,rgba(9,34,53,.94) 45%,rgba(9,34,53,.52) 100%)
  }
  .hero .container {
    min-height:580px
  }
  .hero h1 {
    font-size:clamp(42px,8vw,63px)
  }
  .hero p {
    font-size:16px
  }
  .section {
    padding:70px 0
  }
  .intro {
    display:block;
    margin-bottom:36px
  }
  .intro p {
    margin-top:25px
  }
  .service-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .statement .container {
    grid-template-columns:1fr;
    gap:40px
  }
  .physician-grid {
    grid-template-columns:1fr
  }
  .portrait-panel {
    min-height:350px
  }
  .physician-details {
    padding:60px 35px
  }
  .process-grid {
    gap:24px
  }
  .contact-grid {
    grid-template-columns:1fr;
    gap:35px
  }
  .contact .note {
    margin-top:30px
  }
  footer .footer-top {
    grid-template-columns:1fr 1fr
  }
  .footer-top .footer-col:nth-child(3) {
    grid-column:2
  }
  .footer-bottom {
    flex-direction:column
  }
}

@media(max-width:540px) {
  .container {
    width:min(100% - 36px,1200px)
  }
  .hero .container {
    min-height:605px
  }
  .hero-body {
    padding:65px 0
  }
  .hero-actions .btn {
    width:100%
  }
  .hero-small {
    margin-top:36px
  }
  .hero-small span {
    padding:0 5px
  }
  .service-grid {
    grid-template-columns:1fr
  }
  .service {
    min-height:185px;
    padding:29px
  }
  .statement {
    padding:65px 0
  }
  .credentials {
    grid-template-columns:1fr
  }
  .process-grid {
    grid-template-columns:1fr;
    gap:20px
  }
  .form {
    padding:28px 22px
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .field {
    grid-column:1/-1
  }
  footer .footer-top {
    grid-template-columns:1fr;
    gap:28px
  }
  .footer-top .footer-col:nth-child(3) {
    grid-column:1
  }
  footer .footer-bottom a {
    margin:0 14px 0 0
  }
  .modal {
    padding:26px 23px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  .btn {
    transition:none
  }
}

/* Refined, interactive service grid */

.service {
  padding:0;
  position:relative;
  min-height:246px;
  background:rgba(255,255,255,.28);
  transition:background .25s ease,box-shadow .25s ease,transform .25s ease;
  overflow:hidden
}

.service:after {
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:3px;
  background:var(--gold);
  transition:right .32s ease;
  pointer-events:none
}

.service.is-hovered,.service.is-active,.service.is-open {
  background:#fff;
  box-shadow:0 14px 40px rgba(19,47,70,.08);
  z-index:1
}

.service.is-hovered:after,.service.is-active:after,.service.is-open:after {
  right:0
}

.service-toggle {
  display:block;
  text-align:left;
  width:100%;
  border:0;
  background:transparent;
  padding:35px 35px 31px;
  cursor:pointer;
  color:var(--navy)
}

.service-toggle:focus-visible {
  outline:2px solid var(--gold);
  outline-offset:-5px
}

.service-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px
}

.service-index {
  margin:0;
  line-height:1.2
}

.service-arrow {
  color:var(--gold);
  font-size:21px;
  display:inline-block;
  transition:transform .22s ease
}

.service.is-hovered .service-arrow,.service.is-active .service-arrow,.service.is-open .service-arrow {
  transform:translate(3px,-3px)
}

.service-title {
  display:block;
  font:400 25px/1.2 Georgia,'Times New Roman',serif;
  letter-spacing:-.034em;
  margin-bottom:12px;
  max-width:280px
}

.service-summary {
  display:block;
  font-size:14px;
  line-height:1.7;
  color:#506271;
  max-width:310px;
  min-height:70px
}

.service-more {
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:130px;
  color:#957039;
  font-size:11px;
  letter-spacing:.07em;
  font-weight:700;
  margin-top:20px;
  text-transform:uppercase;
  white-space:nowrap;
  gap:13px
}

.service-more span {
  font-size:18px;
  line-height:1
}

.service.is-open .service-more span {
  transform:rotate(45deg)
}

.service-detail {
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height .35s ease,opacity .3s ease
}

.service.is-open .service-detail {
  max-height:220px;
  opacity:1
}

.service-detail-inner {
  margin:0 35px 32px;
  padding-top:17px;
  border-top:1px solid rgba(19,47,70,.14);
  font-size:13px;
  line-height:1.76;
  color:#506271
}

/* Process: connected three-stage visual timeline */

.process-grid {
  gap:0;
  position:relative
}

.process-item {
  border-top:0;
  position:relative;
  padding:28px 32px 25px 5px;
  transition:background .24s ease,transform .24s ease
}

.process-item:before {
  content:"";
  position:absolute;
  left:5px;
  right:0;
  top:0;
  border-top:1px solid rgba(172,133,63,.58)
}

.process-item:last-child:before {
  right:32px
}

.process-num {
  display:flex;
  gap:15px;
  align-items:center;
  font-size:11px;
  color:#8e692e
}

.process-number {
  height:52px;
  width:52px;
  border:1px solid var(--gold);
  color:var(--gold);
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:600;
  letter-spacing:0;
  transition:background .25s ease,color .25s ease,transform .25s ease
}

.process-item.is-hovered .process-number {
  background:var(--navy);
  color:#fff;
  transform:translateY(-3px)
}

.process-item h3 {
  margin-top:23px
}

.process-item p {
  max-width:315px
}

.contact .form-privacy {
  color:#576877
}

.contact-details {
  border-top:1px solid rgba(255,255,255,.25);
  margin-top:32px;
  padding-top:13px;
  max-width:410px
}

.contact-detail {
  display:grid;
  grid-template-columns:33px 1fr;
  gap:12px;
  align-items:start;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.14)
}

.contact-detail-icon {
  color:#d4b77b;
  font-size:20px;
  line-height:1.5;
  display:flex;
  align-items:center;
  padding-top:5px
}

.contact-detail-label {
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  display:block;
  color:#d1b985
}

.contact-detail-value {
  display:block;
  font-size:16px;
  letter-spacing:.025em;
  color:#f4f3f0;
  margin-top:3px;
  overflow-wrap:anywhere
}

.contact-detail-note {
  display:block;
  font-size:12px;
  color:#b4c0c9;
  margin-top:4px
}

a.contact-detail-value {
  text-decoration:none
}

a.contact-detail-value:hover,a.contact-detail-value:focus-visible {
  text-decoration:underline
}

@media(max-width:1030px) {
  .service-toggle {
    padding:30px 25px 27px
  }
  .service-detail-inner {
    margin:0 25px 27px
  }
  .service-title {
    font-size:23px
  }
}

@media(max-width:800px) {
  .process-item {
    padding-right:22px
  }
  .service-summary {
    min-height:0
  }
}

@media(max-width:540px) {
  .service {
    min-height:0
  }
  .service-toggle {
    padding:27px 28px
  }
  .service-detail-inner {
    margin:0 28px 29px
  }
  .process-grid {
    gap:0
  }
  .process-item {
    padding:23px 12px 31px 5px
  }
  .process-item:before {
    right:0
  }
  .process-number {
    width:48px;
    height:48px
  }
  .process-item h3 {
    margin-top:16px
  }
}

@media(prefers-reduced-motion:reduce) {
  .service,.service:after,.service-arrow,.service-detail,.process-number {
    transition:none
  }
}

/* NCA identity typography: high-contrast classical serif to harmonize with the approved outlined logo. */

:root {
  --serif:'Baskervville','GFS Baskerville','Baskerville','Palatino Linotype',Georgia,serif;
  --sans:'Source Sans 3','Segoe UI',Arial,sans-serif;
}

body {
  font-family:var(--sans);
  font-size:16px
}

h1,h2,h3,.serif,.service-title,.statement blockquote {
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.018em
}

.hero h1 {
  letter-spacing:-.018em;
  line-height:1.12
}

.nav>a:not(.btn) {
  font-family:var(--serif);
  font-size:17px;
  letter-spacing:-.012em
}

.service-title {
  font-family:var(--serif);
  font-size:26px;
  letter-spacing:-.014em;
  line-height:1.18;
  margin-bottom:15px
}

.statement blockquote {
  font-family:var(--serif);
  letter-spacing:-.017em
}

.process-item h3 {
  font-family:var(--serif);
  font-size:28px;
  letter-spacing:-.012em
}

.form h3 {
  font-family:var(--serif);
  font-size:26px
}

/* Service tiles: no expand arrows, no explore prompts. Hover is a quiet editorial reveal. */

.service {
  min-height:292px;
  background:rgba(255,255,255,.42);
  transition:background .42s cubic-bezier(.2,.65,.25,1),box-shadow .42s ease,transform .42s cubic-bezier(.2,.65,.25,1);
  isolation:isolate;
  overflow:hidden
}

.service:before {
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:3px;
  background:var(--gold);
  transform:scaleY(0);
  transform-origin:bottom;
  transition:transform .45s cubic-bezier(.2,.65,.25,1);
  z-index:3
}

.service:after {
  height:2px;
  z-index:2
}

.service.is-hovered,.service.is-active,.service.is-open {
  background:var(--navy);
  transform:translateY(-5px);
  box-shadow:0 20px 42px rgba(9,34,53,.16);
  z-index:4
}

.service.is-hovered:before,.service.is-active:before,.service.is-open:before {
  transform:scaleY(1)
}

.service-toggle {
  padding:34px 34px 22px;
  min-height:292px;
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  transition:color .35s ease
}

.service-top {
  margin-bottom:22px;
  justify-content:flex-start
}

.service-index {
  color:#806026;
  font-size:11px;
  letter-spacing:.14em;
  transition:color .35s ease
}

.service-title {
  transition:color .35s ease;
  max-width:315px
}

.service-summary {
  font-size:15px;
  line-height:1.64;
  max-width:320px;
  min-height:0;
  transition:opacity .26s ease,transform .36s ease;
  color:#536371;
}

.service.is-hovered .service-title,.service.is-active .service-title,.service.is-open .service-title {
  color:#fff
}

.service.is-hovered .service-index,.service.is-active .service-index,.service.is-open .service-index {
  color:#e3bf82
}

.service.is-hovered .service-summary,.service.is-active .service-summary,.service.is-open .service-summary {
  opacity:0;
  transform:translateY(-10px)
}

.service-detail {
  position:absolute;
  z-index:4;
  left:34px;
  right:34px;
  top:155px;
  bottom:auto;
  max-height:none;
  opacity:0;
  transform:translateY(18px);
  pointer-events:none;
  overflow:visible;
  transition:opacity .34s ease,transform .44s cubic-bezier(.2,.65,.25,1);
}

.service-detail-inner {
  color:#e6ebed;
  font-size:15px;
  line-height:1.66;
  border:0;
  margin:0;
  padding:0;
  max-width:335px
}

.service.is-hovered .service-detail,.service.is-active .service-detail,.service.is-open .service-detail {
  max-height:none;
  opacity:1;
  transform:translateY(0)
}

.service-toggle:focus-visible {
  outline:2px solid #d1b779;
  outline-offset:-6px
}

/* Process as a real visual sequence with lit connectors. */

.process-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr) 70px minmax(0,1fr);
  gap:0;
  align-items:stretch;
  position:relative;
  margin-top:48px
}

.process-item {
  background:#faf9f6;
  border:1px solid rgba(19,47,70,.14);
  min-height:280px;
  padding:32px 29px;
  transform:none;
  transition:background .35s ease,border-color .35s ease,box-shadow .35s ease;
}

.process-item:before {
  display:none
}

.process-item h3 {
  margin:20px 0 14px
}

.process-item p {
  font-size:15px;
  line-height:1.7;
  color:#566572;
  margin-bottom:0
}

.process-num {
  display:flex;
  align-items:center;
  margin:0;
  color:var(--gold)
}

.process-number {
  font-family:var(--sans);
  font-size:15px;
  width:48px;
  height:48px;
  background:transparent;
  border:1px solid rgba(172,133,63,.6);
  border-radius:50%;
  color:#806026;
  transition:background .35s ease,color .35s ease,box-shadow .35s ease,transform .35s ease
}

.process-item.is-hovered,.process-item:focus-visible {
  background:#fff;
  border-color:rgba(172,133,63,.65);
  box-shadow:0 14px 28px rgba(9,34,53,.07)
}

.process-item.is-hovered .process-number,.process-item:focus-visible .process-number {
  background:var(--navy);
  color:#fff;
  transform:scale(1.06)
}

.flow-connector {
  display:flex;
  align-items:center;
  position:relative;
  margin:0 7px;
  align-self:stretch;
  color:#a98445;
}

.flow-track {
  height:2px;
  background:rgba(172,133,63,.2);
  display:block;
  flex:1;
  position:relative;
  overflow:hidden
}

.flow-track:before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#9d753a,#e2bd7f);
  transform:scaleX(0);
  transform-origin:left;
}

.flow-tip {
  display:block;
  font:400 30px/1 var(--serif);
  color:#b9a27c;
  transform:translateX(-4px);
  transition:color .35s ease,text-shadow .35s ease
}

.flow-tip-vertical {
  display:none
}

.process-grid.in-view .process-item:nth-child(1) .process-number {
  animation:stagePulse .65s ease .12s both
}

.process-grid.in-view .flow-connector:nth-child(2) .flow-track:before {
  animation:lineTravel .7s ease .56s forwards
}

.process-grid.in-view .flow-connector:nth-child(2) .flow-tip {
  animation:arrowPulse .62s ease 1.05s both
}

.process-grid.in-view .process-item:nth-child(3) .process-number {
  animation:stagePulse .7s ease 1.17s both
}

.process-grid.in-view .flow-connector:nth-child(4) .flow-track:before {
  animation:lineTravel .7s ease 1.59s forwards
}

.process-grid.in-view .flow-connector:nth-child(4) .flow-tip {
  animation:arrowPulse .62s ease 2.08s both
}

.process-grid.in-view .process-item:nth-child(5) .process-number {
  animation:stagePulse .7s ease 2.18s both
}

.process-item.is-hovered + .flow-connector .flow-track:before {
  transform:scaleX(1);
  animation:none;
  background:#a37c3a
}

.process-item.is-hovered + .flow-connector .flow-tip {
  color:#9a7130;
  text-shadow:0 0 9px rgba(172,133,63,.3)
}

@keyframes lineTravel {
  from {
    transform:scaleX(0)
  }
  to {
    transform:scaleX(1)
  }
}

@keyframes arrowPulse {
  0% {
    color:#b9a27c;
    transform:translateX(-7px)
  }
  50% {
    color:#8a6227;
    text-shadow:0 0 12px rgba(172,133,63,.42)
  }
  100% {
    color:#a47b3b;
    transform:translateX(0)
  }
}

@keyframes stagePulse {
  0% {
    color:#a67b38;
    background:transparent;
    box-shadow:none
  }
  55% {
    background:var(--navy);
    color:white;
    box-shadow:0 0 0 8px rgba(172,133,63,.12)
  }
  100% {
    background:#f6f0e4;
    color:#8b672f;
    box-shadow:none
  }
}

@media(max-width:1050px) {
  .process-grid {
    grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr) 44px minmax(0,1fr)
  }
  .process-item {
    padding:28px 22px;
    min-height:308px
  }
  .process-item h3 {
    font-size:25px
  }
  .flow-connector {
    margin:0 3px
  }
  .service-detail {
    left:25px;
    right:25px;
    top:152px
  }
  .service-title {
    font-size:24px
  }
}

@media(max-width:800px) {
  .process-grid {
    grid-template-columns:1fr;
    gap:0;
    margin-top:30px
  }
  .process-item {
    min-height:0;
    padding:25px 27px
  }
  .process-item h3 {
    margin:14px 0 9px
  }
  .flow-connector {
    height:50px;
    width:48px;
    align-self:start;
    margin:0 auto;
    flex-direction:column
  }
  .flow-track {
    height:100%;
    width:2px;
    min-height:26px;
    flex:1
  }
  .flow-track:before {
    transform:scaleY(0);
    transform-origin:top
  }
  .flow-tip-horizontal {
    display:none
  }
  .flow-tip-vertical {
    display:block;
    line-height:.8;
    transform:translateY(-3px)
  }
  .process-grid.in-view .flow-connector:nth-child(2) .flow-track:before,.process-grid.in-view .flow-connector:nth-child(4) .flow-track:before {
    animation:lineTravelVertical .7s ease forwards
  }
  .process-grid.in-view .flow-connector:nth-child(2) .flow-track:before {
    animation-delay:.56s
  }
  .process-grid.in-view .flow-connector:nth-child(4) .flow-track:before {
    animation-delay:1.59s
  }
  .process-grid.in-view .flow-connector:nth-child(2) .flow-tip,.process-grid.in-view .flow-connector:nth-child(4) .flow-tip {
    animation-name:arrowPulseVertical
  }
  .process-item.is-hovered + .flow-connector .flow-track:before {
    transform:scaleY(1)
  }
  @keyframes lineTravelVertical {
    from {
      transform:scaleY(0)
    }
    to {
      transform:scaleY(1)
    }
  }
  @keyframes arrowPulseVertical {
    0% {
      color:#b9a27c;
      transform:translateY(-7px)
    }
    50% {
      color:#8a6227;
      text-shadow:0 0 12px rgba(172,133,63,.42)
    }
    100% {
      color:#a47b3b;
      transform:translateY(0)
    }
  }
}

@media(max-width:540px) {
  .service {
    min-height:252px
  }
  .service-toggle {
    padding:28px 28px 20px;
    min-height:252px
  }
  .service-top {
    margin-bottom:17px
  }
  .service-title {
    font-size:26px
  }
  .service-detail {
    left:28px;
    right:26px;
    top:135px
  }
  .service-detail-inner {
    font-size:14.5px;
    line-height:1.57
  }
  .service-summary {
    font-size:15px
  }
  .process-item {
    padding:26px
  }
  .process-item h3 {
    font-size:26px
  }
}

@media(prefers-reduced-motion:reduce) {
  .service,.service:before,.service:after,.service-toggle,.service-summary,.service-detail,.service-title,.process-item,.process-number,.flow-tip,.flow-track:before {
    transition:none!important;
    animation:none!important
  }
  .process-grid.in-view .flow-track:before {
    transform:scaleX(1)
  }
  .process-grid.in-view .flow-tip {
    transform:none
  }
  @media(max-width:800px) {
    .process-grid.in-view .flow-track:before {
      transform:scaleY(1)
    }
  }
}

/* Grid hover specificity keeps the active panel reliably dark, even over legacy hover rules. */

.service-grid .service.is-hovered,.service-grid .service.is-active,.service-grid .service.is-open {
  background:var(--navy)
}

/* v5: precise interactive process, independent of service-card behavior. */

.process-grid  {
  grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr) 72px minmax(0,1fr);
  gap:0;
  align-items:stretch;
}

.process-grid .process-item  {
  position:relative;
  min-width:0;
  background:#fbf9f5;
  border:1px solid rgba(19,47,70,.15);
  border-radius:3px;
  padding:32px 29px;
  outline-offset:5px;
  cursor:pointer;
  isolation:isolate;
  overflow:hidden;
  transform:translateY(0);
  transition:background .32s ease,border-color .32s ease,box-shadow .32s ease,transform .32s cubic-bezier(.2,.65,.25,1);
}

.process-grid .process-item:before  {
  display:none;
}

.process-grid .process-item:after  {
  content:'';
  position:absolute;
  height:3px;
  left:0;
  top:0;
  right:0;
  background:linear-gradient(90deg,var(--gold),#e5c98f,var(--gold));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s cubic-bezier(.2,.65,.25,1);
}

.process-grid .process-item.is-hovered,.process-grid .process-item:focus-visible,.process-grid .process-item.is-engaged  {
  background:linear-gradient(150deg,#fffefb,#faf5eb);
  border-color:#b48d4c;
  box-shadow:0 16px 34px rgba(19,47,70,.095),0 0 0 3px rgba(172,133,63,.14),inset 0 0 0 1px rgba(172,133,63,.18);
  transform:translateY(-4px);
}

.process-grid .process-item.is-hovered:after,.process-grid .process-item:focus-visible:after,.process-grid .process-item.is-engaged:after  {
  transform:scaleX(1);
}

.process-grid .process-item:focus-visible  {
  outline:2px solid var(--navy);
}

.process-grid .process-number  {
  transition:background .32s ease,color .32s ease,border-color .32s ease,box-shadow .32s ease,transform .32s ease;
}

.process-grid .process-item.is-hovered .process-number,.process-grid .process-item:focus-visible .process-number,.process-grid .process-item.is-engaged .process-number  {
  border-color:var(--gold);
  background:var(--navy);
  color:#f7e4bd;
  box-shadow:0 0 0 5px rgba(172,133,63,.13);
  transform:scale(1.035);
}

.process-grid.in-view .process-item .process-number  {
  animation:none !important;
}

.process-grid .process-item h3  {
  transition:color .3s ease;
}

.process-grid .process-item.is-engaged h3,.process-grid .process-item.is-hovered h3  {
  color:#102b3e;
}

.process-grid .flow-connector  {
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  min-width:0;
  margin:0 5px;
}

.process-grid .flow-svg  {
  display:block;
  width:100%;
  height:34px;
  overflow:visible;
}

.process-grid .flow-svg-vertical  {
  display:none;
}

.process-grid .flow-base  {
  fill:none;
  stroke:#c8b793;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.72;
}

.process-grid .flow-line-active,.process-grid .flow-head-active  {
  fill:none;
  stroke:#ac853f;
  stroke-width:2.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 2px rgba(172,133,63,.28));
}

.process-grid .flow-line-active  {
  stroke-dasharray:50;
  stroke-dashoffset:50;
  transition:stroke-dashoffset .48s cubic-bezier(.2,.72,.3,1);
}

.process-grid .flow-head-active  {
  opacity:0;
  transform:translateX(-6px);
  transition:opacity .22s ease,transform .28s ease;
}

.process-grid .flow-connector.is-traversed .flow-line-active,.process-grid .flow-connector.is-next .flow-line-active  {
  stroke-dashoffset:0;
}

.process-grid .flow-connector.is-traversed .flow-head-active,.process-grid .flow-connector.is-next .flow-head-active  {
  opacity:1;
  transform:translateX(0);
  transition-delay:.29s;
}

.process-grid .flow-connector.is-next .flow-head-active  {
  stroke:#bf9350;
}

.legal-effective  {
  color:#94713d;
  font-size:13px;
  letter-spacing:.03em;
  font-weight:600;
  margin:-8px 0 23px;
}

@media (max-width:1050px)  {
  .process-grid  {
    grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr) 50px minmax(0,1fr);
  }
  .process-grid .process-item  {
    padding:28px 20px;
  }
  .process-grid .flow-connector  {
    margin:0 2px;
  }
}

@media (max-width:800px)  {
  .process-grid  {
    grid-template-columns:1fr;
    gap:0;
  }
  .process-grid .process-item  {
    min-height:0;
    padding:26px 27px;
  }
  .process-grid .flow-connector  {
    width:52px;
    height:62px;
    margin:0 auto;
    align-self:center;
  }
  .process-grid .flow-svg-horizontal  {
    display:none;
  }
  .process-grid .flow-svg-vertical  {
    display:block;
    width:30px;
    height:61px;
  }
  .process-grid .flow-svg-vertical .flow-head-active  {
    transform:translateY(-6px);
  }
  .process-grid .flow-connector.is-traversed .flow-svg-vertical .flow-head-active,.process-grid .flow-connector.is-next .flow-svg-vertical .flow-head-active  {
    transform:translateY(0);
  }
}

@media (max-width:540px)  {
  .process-grid .process-item  {
    padding:24px 25px;
  }
  .process-grid .process-item h3  {
    font-size:26px;
  }
}

@media (prefers-reduced-motion:reduce)  {
  .process-grid .process-item,.process-grid .process-item:after,.process-grid .process-number,.process-grid .flow-line-active,.process-grid .flow-head-active  {
    transition:none !important;
    animation:none !important;
  }
}

@media(max-width:540px) {
  .service.is-active,.service.is-open {
    min-height:300px
  }
  .service.is-active .service-toggle,.service.is-open .service-toggle {
    min-height:300px
  }
}
