/* Crown Trust Group — Heritage Prestige theme (maroon & gold) */
:root {
  --bk: #1a0102;
  --m9: #2e0204;
  --m8: #44050a;
  --m7: #5a0308;
  --gold: #c9a24a;
  --gold2: #ecd08a;
  --iv: #f3eee2;
  --iv2: #e9e1cf;
  --ink: #2a1d1a;
  --mu: rgba(243, 238, 226, 0.66);
  --mu-dark: #6d615a;
  --line: rgba(201, 162, 74, 0.3);
  --line-dark: rgba(42, 29, 26, 0.14);

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(90px, 11vw, 150px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bk); color: var(--iv);
  font: 300 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.7rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
em { color: var(--gold2); }
.light em { color: var(--m7); }

.cap {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.cap.rule { display: inline-flex; align-items: center; gap: 14px; }
.cap.rule::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.15rem); color: var(--mu); max-width: 58ch; }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 34px; border: 1px solid var(--gold);
  font: 500 0.74rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer; background: transparent; color: inherit;
}
.btn:hover, .btn.fill { background: var(--gold); color: var(--bk); }
.btn.fill:hover { background: var(--gold2); border-color: var(--gold2); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }
.link {
  display: inline-flex; gap: 10px; align-items: center; font-size: 0.72rem; letter-spacing: 0.26em;
  text-transform: uppercase; font-weight: 500; color: var(--gold); padding-bottom: 6px;
  border-bottom: 1px solid var(--line); transition: border-color .3s;
}
.link:hover { border-color: var(--gold); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 104px;
  border-bottom: 1px solid var(--line); transition: height .45s var(--ease), border-color .45s;
}
.site-header.scrolled { background: rgba(26, 1, 2, 0.94); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -20px #000; }
.site-header.scrolled .wrap { height: 80px; border-color: transparent; }
.site-header nav { display: flex; gap: 30px; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; }
.site-header nav.r { justify-content: flex-end; }
.site-header nav a { position: relative; padding: 6px 0; }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.brand { text-align: center; display: block; }
.brand svg { width: 34px; height: auto; color: var(--gold); margin: 0 auto 6px; transition: width .45s var(--ease); }
.brand b { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.36em; text-transform: uppercase; display: block; line-height: 1; padding-left: .36em; }
.brand small { display: block; font-size: 0.52rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); margin-top: 7px; padding-left: .5em; }
.site-header.scrolled .brand svg { width: 26px; margin-bottom: 4px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--iv); padding: 10px; cursor: pointer; justify-self: end; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s var(--ease), opacity .3s; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 40; background: var(--bk);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-nav a:not(.btn) { font-family: var(--serif); font-size: 2.1rem; }
.mobile-nav .btn { margin-top: 26px; }
body.nav-open { overflow: hidden; }
body.nav-open .mobile-nav { opacity: 1; pointer-events: auto; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .site-header nav { display: none; }
  .site-header .wrap { grid-template-columns: 1fr auto; height: 84px; }
  .brand { text-align: left; display: flex; align-items: center; gap: 12px; }
  .brand svg { margin: 0; width: 28px; }
  .brand small { display: none; }
  .nav-toggle { display: block; }
}

/* Heroes with photo */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--m9); }
.bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, rgba(74, 2, 6, .55), rgba(26, 1, 2, .9));
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(110, 6, 12, .28); mix-blend-mode: color;
}
.hero > *:not(.bgimg), .page-hero > *:not(.bgimg) { position: relative; z-index: 2; }

.hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 170px 0 120px;
}
.hero .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .inner { max-width: 940px; }
.hero h1 { margin: 28px 0 30px; }
.hero .lead { margin: 0 auto 46px; }
.scroll-cue { position: absolute !important; bottom: 34px; left: 50%; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); }

.page-hero { padding: calc(104px + clamp(80px, 11vw, 150px)) 0 clamp(80px, 9vw, 120px); text-align: center; min-height: 72vh; display: flex; align-items: center; }
.page-hero .wrap { width: 100%; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); margin: 24px auto 26px; max-width: 18ch; }
.page-hero .lead { margin: 0 auto; }

/* Sections */
.section { padding: var(--section) 0; position: relative; }
.bg-m9 { background: var(--m9); }
.bg-bk { background: var(--bk); }
.border-t { border-top: 1px solid var(--line); }
.light { background: var(--iv); color: var(--ink); }
.light .lead, .light p { color: var(--mu-dark); }
.light .cap { color: #9a7428; }
.light.alt { background: var(--iv2); }

.head-center { text-align: center; max-width: 780px; margin: 0 auto clamp(50px, 7vw, 80px); }
.head-center h2 { margin-top: 20px; }
.head-center .lead { margin: 0 auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.split.top { align-items: start; }
.split h2 { margin-top: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Framed photo */
.photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--m8); }
.photo.wide { aspect-ratio: 16 / 11; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transition: transform 1.4s var(--ease); }
.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(90, 3, 8, .18), rgba(46, 2, 4, .6)); mix-blend-mode: multiply; }
.photo::after { content: ""; position: absolute; inset: 16px; z-index: 2; border: 1px solid rgba(236, 208, 138, .45); pointer-events: none; }
.photo:hover img { transform: scale(1.04); }

.num-row { display: flex; gap: 50px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.num-row b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--gold2); display: block; line-height: 1; margin-bottom: 8px; }
.num-row span { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mu); }

/* Service grid (home) */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.svc { padding: 54px 32px 60px; border-left: 1px solid var(--line); text-align: center; transition: background .5s var(--ease); }
.svc:first-child { border-left: 0; }
.svc:hover { background: var(--m8); }
.svc .rn { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: 30px; }
.svc .rn::after { content: ""; display: block; width: 1px; height: 34px; background: var(--line); margin: 18px auto 0; }
.svc p { color: var(--mu); font-size: .94rem; }
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(3) { border-left: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { border-left: 0 !important; border-top: 1px solid var(--line); }
  .svc:first-child { border-top: 0; }
}

/* Quote */
.quote { text-align: center; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.3; max-width: 24ch; margin: 30px auto 46px; }

/* CTA with photo */
.cta { text-align: center; padding: clamp(110px, 13vw, 170px) 0; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 16ch; margin: 22px auto 22px; }
.cta .lead { margin: 0 auto 44px; }
.cta.page-hero { min-height: 0; display: block; }

/* Principles (about) */
.principles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.principles > div { padding: 46px 46px 50px 0; border-bottom: 1px solid var(--line-dark); }
.principles > div:nth-child(2n) { padding: 46px 0 50px 46px; border-left: 1px solid var(--line-dark); }
.principles .rn { font-family: var(--serif); font-style: italic; color: #9a7428; font-size: 1.2rem; display: block; margin-bottom: 18px; }
.principles h3 { font-size: 1.7rem; }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principles > div, .principles > div:nth-child(2n) { padding: 34px 0; border-left: 0; }
}

.purpose { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.3; max-width: 28ch; margin: 26px auto 0; }

.tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tags span { border: 1px solid var(--line); padding: 12px 22px; font-size: .88rem; letter-spacing: .06em; }

/* Service rows (what we do) */
.service-list { border-top: 1px solid var(--line-dark); }
.service-row { display: grid; grid-template-columns: 90px 5fr 7fr; gap: 30px; padding: clamp(40px, 5vw, 60px) 0; border-bottom: 1px solid var(--line-dark); }
.service-row .rn { font-family: var(--serif); font-style: italic; color: #9a7428; font-size: 1.5rem; }
.service-row h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; color: var(--ink); }
.service-row .note { margin-top: 18px; padding-left: 18px; border-left: 2px solid var(--gold); font-size: .9rem; }
@media (max-width: 820px) { .service-row { grid-template-columns: 1fr; gap: 14px; } }

/* Steps (approach) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 30px; border-left: 1px solid var(--line); text-align: center; }
.step:first-child { border-left: 0; }
.step .circle {
  width: 64px; height: 64px; margin: 0 auto 30px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold2);
}
.step p { color: var(--mu); font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .step:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; padding: 0; }
}

/* Articles (insights) */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px); }
.article { display: flex; flex-direction: column; }
.article .photo { aspect-ratio: 4 / 3; margin-bottom: 26px; }
.article .meta { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: #9a7428; font-weight: 500; margin-bottom: 12px; }
.article h3 { color: var(--ink); transition: color .3s; }
.article:hover h3 { color: var(--m7); }
.article.feature { grid-column: span 2; }
.article.feature .photo { aspect-ratio: 16 / 9; }
.article.feature h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .articles { grid-template-columns: 1fr; } .article.feature { grid-column: auto; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 8vw, 110px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h3 { font-size: 1.3rem; margin: 34px 0 8px; color: var(--ink); }
.contact-aside a { border-bottom: 1px solid var(--line-dark); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--mu-dark); }
.field label i { color: #9a7428; font-style: normal; }
.field input, .field textarea {
  font: 300 1rem var(--sans); color: var(--ink); background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid rgba(42, 29, 26, .3); padding: 10px 0 12px; transition: border-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--m7); }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: #b3261e; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; margin-top: 8px; }
.form-foot small { color: var(--mu-dark); max-width: 46ch; font-size: .82rem; line-height: 1.6; }
.form .btn { color: var(--iv); background: var(--m8); border-color: var(--m8); }
.form .btn:hover { background: var(--m9); border-color: var(--m9); }
.form-success { display: none; grid-column: 1 / -1; padding: 30px 32px; background: var(--iv2); border-left: 3px solid var(--m7); }
.form-success h3 { color: var(--ink); }
.form.sent .form-success { display: block; }
.form.sent .field, .form.sent .form-foot { display: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Legal prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 2.2em 0 .6em; color: var(--ink); }
.prose .placeholder { border: 1px dashed rgba(154, 116, 40, .6); background: rgba(201, 162, 74, .08); padding: 16px 20px; font-size: .92rem; }

/* Footer */
.site-footer { background: #120001; color: var(--mu); padding: clamp(80px, 9vw, 110px) 0 36px; border-top: 1px solid var(--line); font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 5fr 3fr 3fr 3fr; gap: 44px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-top .brand { text-align: left; display: inline-block; color: var(--iv); margin-bottom: 26px; }
.footer-top .brand svg { margin: 0 0 8px; }
.footer-tag { font-family: var(--serif); color: var(--iv); font-size: 1.25rem; line-height: 1.45; max-width: 26ch; }
.footer-col h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--gold2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: .78rem; color: rgba(243, 238, 226, .45); }
.footer-bottom p { max-width: 72ch; margin: 0; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.mt { margin-top: clamp(40px, 5vw, 60px); }
.center { text-align: center; }
