/* Prime Fortune Holdings — styles
   Palette and type are taken from the office sign (poster): onyx plaque, gold frame,
   copper "HOLDINGS" rule, serif capitals for the wordmark. */

:root {
  --onyx: #121110;
  --panel: #1c1a17;
  --panel-2: #24211d;
  --gold: #d4af5f;
  --gold-hi: #ecd496;
  --gold-deep: #a8833a;
  --copper: #c98552;
  --ivory: #f3ece0;
  --ivory-2: #e9dfcd;
  --ink: #2a241c;
  --ink-soft: #5b5144;
  --text: #e8e1d4;
  --text-soft: #b9b0a1;
  --gold-text-on-light: #7d5f1e;

  --gold-grad: linear-gradient(135deg, #a8833a 0%, #ecd496 45%, #c9a24a 60%, #8f6c2a 100%);
  --serif: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--onyx);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; letter-spacing: .02em; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.1rem; letter-spacing: .04em; }
p { margin: 0 0 1rem; max-width: 66ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section--light { background: var(--ivory); color: var(--ink); }
.section--light p { color: var(--ink-soft); }
.section--light a { color: var(--gold-text-on-light); }
.section--panel { background: var(--panel); }
.lede { font-size: 1.1rem; color: var(--text-soft); }
.section--light .lede { color: var(--ink-soft); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--onyx); padding: .6rem 1rem; font-weight: 600;
}
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Gold rule with diamond ends, as under "HOLDINGS" on the sign */
.rule {
  display: flex; align-items: center; gap: .75rem;
  color: var(--copper);
}
.rule::before, .rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.rule::after { background: linear-gradient(90deg, currentColor, transparent); }
.rule__diamond { width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font: 600 .95rem/1 var(--sans); letter-spacing: .03em;
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 1px solid var(--gold);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold-grad); color: #1a1408; border-color: var(--gold-deep); }
.btn--gold:hover { color: #000; filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--gold-hi); }
.btn--ghost:hover { background: rgba(212, 175, 95, .12); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 17, 16, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 95, .18);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; line-height: 1.1; }
.brand__name small { display: block; font-size: .62rem; letter-spacing: .42em; color: var(--copper); font-weight: 600; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: none; border: 1px solid rgba(212,175,95,.35);
  border-radius: var(--radius); color: var(--gold-hi); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open, .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--onyx); border-bottom: 1px solid rgba(212,175,95,.25);
  padding: .5rem var(--pad) 1.5rem;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  display: block; padding: .85rem 0; color: var(--text); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06); font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--gold-hi); }
.site-nav .btn { margin-top: 1rem; width: 100%; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 2rem; padding: 0; background: none; border: 0; }
  .site-nav ul { display: flex; gap: 1.75rem; }
  .site-nav a:not(.btn) { padding: .4rem 0; border: 0; font-size: .92rem; }
  .site-nav .btn { margin: 0; width: auto; min-height: 42px; padding: .6rem 1.2rem; }
}

/* ---------- Hero: the plaque ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(212,175,95,.14), transparent 70%),
    radial-gradient(40% 40% at 85% 90%, rgba(201,133,82,.10), transparent 70%);
}
.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto;
  color: rgba(212,175,95,.07); pointer-events: none;
}

.plaque {
  position: relative; max-width: 52rem; margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.75rem) clamp(1.25rem, 5vw, 3.5rem) clamp(1.75rem, 5vw, 2.75rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(36,33,29,.92), rgba(18,17,16,.95));
  border: 1px solid transparent;
  border-radius: 6px;
  background-clip: padding-box;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
}
/* Bevelled gold frame */
.plaque::before {
  content: ""; position: absolute; inset: -1px; border-radius: 7px; padding: 2px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
/* Inner hairline */
.plaque::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(212,175,95,.22);
  border-radius: 3px; pointer-events: none;
}
/* Mounting studs, like the acrylic sign */
.plaque__stud { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6e6b8, #8f6c2a 70%); z-index: 1; }
.plaque__stud--tl { top: 18px; left: 18px; } .plaque__stud--tr { top: 18px; right: 18px; }
.plaque__stud--bl { bottom: 18px; left: 18px; } .plaque__stud--br { bottom: 18px; right: 18px; }

.plaque__logo { width: clamp(108px, 22vw, 156px); height: auto; margin: 0 auto 1rem; }
.wordmark {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.3rem, 9vw, 5rem); line-height: 1; letter-spacing: .04em;
  margin: 0;
  background: linear-gradient(100deg, #f3ece0 0%, #f3ece0 40%, #ecd496 50%, #f3ece0 60%, #f3ece0 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 2.8s ease-out .6s 1 both;
}
.wordmark__line { display: block; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.holdings { max-width: 30rem; margin: .9rem auto 1.4rem; }
.holdings span:not(.rule__diamond) {
  font-family: var(--serif); font-weight: 600; color: var(--copper);
  font-size: clamp(1rem, 3.2vw, 1.5rem); letter-spacing: .45em; padding-left: .45em;
}
.tagline { font-size: clamp(.82rem, 2.2vw, 1rem); letter-spacing: .14em; color: var(--text); margin: 0 auto 1.75rem; max-width: none; font-weight: 500; }
.tagline span { white-space: nowrap; }
.zenith { font-family: var(--serif); color: var(--gold); font-size: 1rem; letter-spacing: .08em; margin: 0 auto 1.75rem; max-width: none; }

.ribbon {
  position: relative; display: inline-block; margin: 0 auto 2rem;
  padding: .7rem 2.2rem; color: #1a1408; font-weight: 700; font-size: clamp(.78rem, 2.2vw, .95rem); letter-spacing: .06em;
  background: var(--gold-grad);
  clip-path: polygon(0 50%, 1.1rem 0, calc(100% - 1.1rem) 0, 100% 50%, calc(100% - 1.1rem) 100%, 1.1rem 100%);
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.hero__ctas .btn { min-width: 12rem; }

/* Values strip at the foot of the plaque */
.values-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem;
  list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid rgba(212,175,95,.25);
}
.values-strip li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; letter-spacing: .1em; color: var(--text-soft); }
.values-strip svg { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Section headings ---------- */
.heading { margin-bottom: clamp(2rem, 5vw, 3rem); }
.heading .rule { max-width: 8rem; margin: 0 0 1rem; color: var(--gold); }
.heading--center { text-align: center; }
.heading--center p { margin-left: auto; margin-right: auto; }
.heading--center .rule { margin: 0 auto 1rem; }
.section--light h2 { color: var(--ink); }
.section--light .heading .rule { color: var(--gold-deep); }

/* ---------- About ---------- */
.about { display: grid; gap: 2.5rem; }
.about__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(168,131,58,.35); border: 1px solid rgba(168,131,58,.35); }
.about__facts li { background: var(--ivory); padding: 1.1rem 1.25rem; }
.about__facts strong { display: block; font-family: var(--serif); color: var(--ink); font-size: 1rem; letter-spacing: .04em; }
.about__facts span { color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 860px) { .about { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; } }

/* ---------- Services: the sign's badge row ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; }
.service { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.75rem 0; border-top: 1px solid rgba(212,175,95,.18); }
.service:last-child { border-bottom: 1px solid rgba(212,175,95,.18); }
.badge {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #2c2823, #151311);
  border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(212,175,95,.08);
  color: var(--gold-hi);
}
.badge svg { width: 34px; height: 34px; }
.service h3 { color: var(--gold-hi); margin-bottom: .5rem; }
.service p { color: var(--text-soft); font-size: .95rem; margin: 0; }

@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(5, 1fr); }
  .service {
    grid-template-columns: 1fr; justify-items: center; text-align: center;
    padding: 0 1.25rem; border: 0 !important;
  }
  .service + .service { border-left: 1px solid rgba(212,175,95,.3) !important; }
  .badge { width: 88px; height: 88px; }
  .badge svg { width: 40px; height: 40px; }
  .service h3 { min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
}

/* ---------- Approach ---------- */
.approach { display: grid; gap: 3rem; }
.quote { margin: 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--gold-deep); }
.quote p { font-family: var(--serif); font-size: clamp(1.35rem, 3.4vw, 1.9rem); line-height: 1.4; color: var(--ink); max-width: 30ch; margin: 0 0 1rem; }
.quote footer { font-size: .9rem; color: var(--ink-soft); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.principles li { padding-left: 1.5rem; position: relative; }
.principles li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-deep); }
.principles h3 { color: var(--ink); margin-bottom: .35rem; }
.principles p { margin: 0; font-size: .95rem; }
.approach__how { margin-top: 2rem; }
@media (min-width: 900px) { .approach { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }

/* ---------- Values ---------- */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.value { text-align: center; padding: 0 .5rem; }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(5, 1fr); } }
.value .badge { margin: 0 auto 1rem; width: 64px; height: 64px; }
.value .badge svg { width: 30px; height: 30px; }
.value h3 { color: var(--gold-hi); margin-bottom: .4rem; }
.value p { color: var(--text-soft); font-size: .92rem; margin: 0 auto; }

/* ---------- Regions ---------- */
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(212,175,95,.22); border: 1px solid rgba(212,175,95,.22); }
.region { background: var(--onyx); padding: 1.75rem 1.5rem; }
.region h3 { color: var(--gold-hi); margin-bottom: .4rem; }
.region p { color: var(--text-soft); font-size: .95rem; margin: 0; }
.region--home { background: linear-gradient(160deg, #2a2520, var(--onyx)); }
@media (min-width: 720px) { .regions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .regions { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin: 0 auto; }
.faq details { border-top: 1px solid rgba(125,95,30,.3); }
.faq details:last-child { border-bottom: 1px solid rgba(125,95,30,.3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--gold-text-on-light); border-bottom: 2px solid var(--gold-text-on-light);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 1.2rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 3rem; }
.contact__list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact__list .badge { width: 44px; height: 44px; border-width: 1px; box-shadow: none; }
.contact__list .badge svg { width: 20px; height: 20px; }
.contact__list strong { display: block; font-family: var(--serif); color: var(--gold-hi); letter-spacing: .04em; font-size: .95rem; }
.contact__list a, .contact__list address { color: var(--text); font-style: normal; text-decoration: none; word-break: break-word; }
.contact__list a:hover { color: var(--gold-hi); text-decoration: underline; }
.contact__quick { display: flex; flex-wrap: wrap; gap: .75rem; }

.form { display: grid; gap: 1.1rem; background: var(--panel-2); padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid rgba(212,175,95,.25); border-radius: var(--radius); }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--onyx); border: 1px solid #4a4339; border-radius: var(--radius);
  padding: .75rem .9rem; min-height: 48px;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,95,.25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e08a6a; }
.form__note { font-size: .85rem; color: var(--text-soft); margin: 0; }
.form__status { font-size: .92rem; margin: 0; min-height: 1.5em; color: var(--gold-hi); }

.map { margin-top: 3rem; border: 1px solid rgba(212,175,95,.25); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--panel); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 599px) { .map { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

/* ---------- Footer ---------- */
.site-footer { background: #0c0b0a; border-top: 1px solid rgba(212,175,95,.25); padding: 3.5rem 0 2rem; font-size: .92rem; color: var(--text-soft); }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__grid h2 { font-size: 1rem; color: var(--gold-hi); letter-spacing: .06em; margin-bottom: .9rem; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__grid a { color: var(--text-soft); text-decoration: none; }
.footer__grid a:hover { color: var(--gold-hi); text-decoration: underline; }
.footer__grid address { font-style: normal; }
.disclaimer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; line-height: 1.6; max-width: none; }
.copyright { margin: 1rem 0 0; font-size: .82rem; max-width: none; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Secondary pages ---------- */
.page { padding: var(--section) 0; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--gold-hi); }
.page h2 { font-size: 1.35rem; margin-top: 2.5rem; color: var(--gold-hi); }
.page p, .page li { color: var(--text-soft); max-width: 68ch; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: .5rem; font-size: .88rem; color: var(--text-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--gold-deep); }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .plaque { max-width: 36rem; }

/* ---------- Reveal on scroll (only when JS + motion allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wordmark { background-position: 0 0; }
  .js .reveal { opacity: 1; transform: none; }
}
