/* ============================================================
   ALBION FINANCE — Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0d1b2a;
  --navy-mid:    #10202f;
  --navy-light:  #162844;
  --gold:        #c9a84c;
  --gold-light:  #e4c46a;
  --cream:       #f5f1ea;
  --cream-dark:  #ede8df;
  --white:       #ffffff;
  --muted:       rgba(255,255,255,0.60);
  --muted-dark:  rgba(13,27,42,0.55);
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Jost', sans-serif;
  --max:         1320px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── WordPress core resets ── */
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul, ol { list-style: none; }
.wp-block-image { margin: 0; }
.alignnone, .aligncenter, .alignleft, .alignright { margin: 0; }
p:empty { display: none; }

/* ── Container ── */
.af-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 60px;
}

/* ── Common Typography ── */
.af-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.af-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 300; line-height: 1.1; margin-bottom: 18px;
}
.af-title em { font-style: italic; color: var(--gold-light); }
.af-rule {
  width: 54px; height: 1px; background: var(--gold);
  opacity: 0.65; margin-bottom: 16px;
}
.af-rule.center { margin-left: auto; margin-right: auto; }
.af-sub {
  font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--muted);
  max-width: 580px;
}
.af-sub.center { margin: 0 auto; text-align: center; }

/* ── Buttons ── */
.af-btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px;
  background: var(--gold); color: var(--navy);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s; border: none; cursor: pointer;
}
.af-btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
}
.af-btn-gold:hover::before { transform: translateX(0); }
.af-btn-gold:hover { box-shadow: 0 8px 36px rgba(201,168,76,0.4); color: var(--navy); }
.af-btn-gold span, .af-btn-gold svg { position: relative; z-index: 1; }

.af-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.af-btn-ghost:hover { background: var(--gold); color: var(--navy); }

/* ── Reveal Animation ── */
.af-reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.af-reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════
   NAVIGATION
════════════════════════════════ */
#af-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 76px;
  background: rgba(10,20,32,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,0.14);
  transition: box-shadow 0.3s var(--ease);
}
#af-nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.45); }

.af-nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 60px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.af-logo { display: flex; align-items: center; gap: 12px; }
.af-logo-mark {
  width: 46px; height: 46px; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  color: var(--gold); position: relative; transition: background 0.3s;
}
.af-logo-mark::before {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid rgba(201,168,76,0.28);
}
.af-logo:hover .af-logo-mark { background: rgba(201,168,76,0.08); }
.af-logo-text { display: flex; flex-direction: column; }
.af-logo-text strong {
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--white); line-height: 1;
}
.af-logo-text small {
  font-size: 9.5px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); line-height: 1; margin-top: 2px;
}

/* Nav Menu */
#af-nav .menu {
  display: flex; align-items: center; gap: 38px;
}
#af-nav .menu li a {
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); position: relative; padding-bottom: 3px;
  transition: color 0.25s;
}
#af-nav .menu li a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
#af-nav .menu li a:hover,
#af-nav .menu li.current-menu-item a { color: var(--white); }
#af-nav .menu li a:hover::after,
#af-nav .menu li.current-menu-item a::after { width: 100%; }
#af-nav .menu li.current-menu-item a { color: var(--gold); }

.af-nav-cta {
  padding: 11px 26px; border: 1px solid var(--gold); background: transparent;
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  transition: background 0.25s, color 0.25s; white-space: nowrap;
}
.af-nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Burger */
.af-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.af-burger span { width: 24px; height: 1px; background: var(--gold); display: block; }

/* Mobile Nav */
.af-mob-nav {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7,15,25,0.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.af-mob-nav.open { opacity: 1; pointer-events: auto; }
.af-mob-nav a {
  font-family: var(--serif); font-size: 30px; font-weight: 300;
  color: var(--white); transition: color 0.2s;
}
.af-mob-nav a:hover { color: var(--gold); }
.af-mob-close {
  position: absolute; top: 24px; right: 36px;
  font-size: 28px; color: var(--gold); cursor: pointer; background: none; border: none;
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#af-hero {
  min-height: 100vh; padding-top: 76px;
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
#af-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 80px,
    rgba(201,168,76,0.025) 80px, rgba(201,168,76,0.025) 81px
  );
}
#af-hero::after {
  content: ''; position: absolute; right: -10%; top: 10%;
  width: 55%; height: 80%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.07) 0%, transparent 70%);
}

.af-hero-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 70px 100px 0;
}
.af-hero-content .af-eyebrow { opacity: 0; animation: afFadeUp 0.8s 0.2s forwards; }
.af-hero-headline {
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 300; line-height: 1.04; color: var(--white); margin-bottom: 26px;
  opacity: 0; animation: afFadeUp 0.8s 0.35s forwards;
}
.af-hero-headline em { font-style: italic; color: var(--gold); display: block; }
.af-hero-sub {
  font-size: 15px; font-weight: 300; line-height: 1.78; color: var(--muted);
  max-width: 430px; margin-bottom: 48px;
  opacity: 0; animation: afFadeUp 0.8s 0.5s forwards;
}
.af-hero-actions {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  opacity: 0; animation: afFadeUp 0.8s 0.65s forwards;
}
.af-hero-note { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }
.af-hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
  padding-top: 36px; border-top: 1px solid rgba(201,168,76,0.2);
  opacity: 0; animation: afFadeUp 0.8s 0.8s forwards;
}
.af-hstat-num {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--gold); line-height: 1; margin-bottom: 4px;
}
.af-hstat-label { font-size: 11px; font-weight: 300; color: var(--muted); letter-spacing: 0.04em; }

/* Photo column */
.af-hero-photo-col {
  position: relative; z-index: 10;
  display: flex; align-items: flex-end; justify-content: center;
  padding-top: 76px; overflow: hidden;
}
.af-hero-photo-col::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent 5%, rgba(201,168,76,0.25) 30%, rgba(201,168,76,0.25) 70%, transparent 95%);
}
.af-photo-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,40,68,0.9) 0%, rgba(10,20,32,0.5) 100%);
}
.af-hero-photo {
  position: relative; z-index: 2;
  width: 100%; height: calc(100vh - 76px);
  object-fit: cover; object-position: top center;
  display: block;
  opacity: 0; animation: afFadeIn 1s 0.6s forwards;
}
.af-photo-frame {
  position: absolute; z-index: 3;
  bottom: 48px; right: 48px;
  background: rgba(10,20,30,0.88);
  border: 1px solid rgba(201,168,76,0.28);
  padding: 28px 32px; backdrop-filter: blur(6px); max-width: 280px;
  opacity: 0; animation: afFadeLeft 0.9s 0.9s forwards;
}
.af-photo-frame::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}
.af-pf-label {
  font-size: 9px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.af-pf-name {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--white); line-height: 1.2; margin-bottom: 8px;
}
.af-pf-bio { font-size: 12px; font-weight: 300; line-height: 1.65; color: var(--muted); }

/* ════════════════════════════════
   CREDIBILITY BANNER
════════════════════════════════ */
#af-credibility {
  background: linear-gradient(90deg, #08131e 0%, #0e1e2e 50%, #08131e 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.af-cred-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.af-cred-item {
  padding: 44px 32px;
  border-right: 1px solid rgba(201,168,76,0.12); position: relative;
}
.af-cred-item:last-child { border-right: none; }
.af-cred-icon { color: var(--gold); margin-bottom: 14px; opacity: 0.85; }
.af-cred-title {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--white); margin-bottom: 8px; line-height: 1.2;
}
.af-cred-desc { font-size: 12.5px; font-weight: 300; line-height: 1.65; color: var(--muted); }

/* ════════════════════════════════
   EXPERTISE (LIGHT)
════════════════════════════════ */
#af-expertise {
  background: var(--cream);
  padding: 110px 0;
}
#af-expertise .af-eyebrow { color: var(--gold); }
#af-expertise .af-title { color: var(--navy); }
#af-expertise .af-rule { background: var(--gold); opacity: 0.7; }
.af-exp-head { text-align: center; margin-bottom: 64px; }
.af-exp-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: rgba(13,27,42,0.07);
}
.af-exp-card {
  background: var(--white); padding: 44px 36px;
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  cursor: default; position: relative; overflow: hidden;
}
.af-exp-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.af-exp-card:hover { background: #fffdf7; box-shadow: 0 8px 40px rgba(13,27,42,0.1); transform: translateY(-3px); }
.af-exp-card:hover::after { transform: scaleX(1); }
.af-exp-icon { color: var(--gold); margin-bottom: 22px; }
.af-exp-name {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px; line-height: 1.3;
}
.af-exp-desc { font-size: 13px; font-weight: 300; line-height: 1.72; color: var(--muted-dark); }

/* ════════════════════════════════
   TRANSACTIONS (DARK)
════════════════════════════════ */
#af-transactions {
  background: var(--navy-mid);
  padding: 110px 0;
}
.af-tx-head { text-align: center; margin-bottom: 56px; }
.af-tx-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.1);
}
.af-tx-cell {
  background: var(--navy-mid); padding: 32px 28px;
  transition: background 0.22s; cursor: default;
  display: flex; flex-direction: column; gap: 10px;
}
.af-tx-cell:hover { background: rgba(201,168,76,0.055); }
.af-tx-icon { color: var(--gold); opacity: 0.75; flex-shrink: 0; }
.af-tx-amount {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  color: var(--gold); line-height: 1;
}
.af-tx-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white);
}
.af-tx-desc { font-size: 11.5px; font-weight: 300; line-height: 1.62; color: var(--muted); }
.af-tx-note {
  text-align: center; font-size: 11.5px; font-style: italic;
  color: var(--muted); margin-top: 20px; letter-spacing: 0.04em;
}

/* ════════════════════════════════
   WHO WE WORK WITH (LIGHT)
════════════════════════════════ */
#af-who {
  background: var(--cream-dark);
  padding: 110px 0;
}
.af-who-inner {
  display: grid; grid-template-columns: 1fr 380px; gap: 70px; align-items: start;
}
#af-who .af-eyebrow { color: var(--gold); }
#af-who .af-title { color: var(--navy); }
#af-who .af-rule { background: var(--gold); opacity: 0.7; }
.af-who-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px;
}
.af-who-card {
  background: var(--white); padding: 32px 28px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.af-who-card:hover { border-bottom-color: var(--gold); box-shadow: 0 10px 36px rgba(13,27,42,0.1); transform: translateY(-3px); }
.af-who-icon { color: var(--gold); margin-bottom: 14px; }
.af-who-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.af-who-desc { font-size: 12.5px; font-weight: 300; line-height: 1.7; color: var(--muted-dark); }

.af-approach-card {
  background: var(--navy); padding: 44px 36px;
  position: sticky; top: 96px; border-left: 3px solid var(--gold);
}
.af-approach-card .af-eyebrow { color: var(--gold); margin-bottom: 20px; }
.af-appr-list { list-style: none; }
.af-appr-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid rgba(201,168,76,0.1);
  font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,0.82); line-height: 1.5;
}
.af-appr-list li:last-child { border-bottom: none; }
.af-chk { color: var(--gold); font-size: 13px; margin-top: 2px; flex-shrink: 0; }

/* ════════════════════════════════
   CONTACT (DARK)
════════════════════════════════ */
#af-contact {
  background: linear-gradient(135deg, #07111b 0%, #0d1c2c 100%);
  padding: 110px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.af-contact-inner {
  display: grid; grid-template-columns: 1fr 1fr 260px; gap: 70px; align-items: start;
}
.af-c-left .af-title { font-size: clamp(30px, 3.5vw, 48px); }
.af-c-text { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--muted); margin-bottom: 38px; }
.af-c-info-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 26px;
}
.af-c-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.af-c-detail-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.af-c-detail-text { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.8); line-height: 1.5; }
.af-c-detail-text a { color: var(--gold); transition: color 0.2s; }
.af-c-detail-text a:hover { color: var(--gold-light); }
.af-c-note { margin-top: 24px; font-size: 12px; font-style: italic; color: var(--gold); }

.af-brand-col {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: flex-start; padding-top: 8px;
}
.af-brand-monogram {
  width: 84px; height: 84px; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--gold); position: relative; margin-bottom: 22px;
}
.af-brand-monogram::before {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid rgba(201,168,76,0.28);
}
.af-brand-name {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--white); letter-spacing: 0.1em; text-transform: uppercase;
  text-align: right; margin-bottom: 8px;
}
.af-brand-tagline {
  font-family: var(--serif); font-size: 12px; font-style: italic;
  color: var(--muted); text-align: right; line-height: 1.55;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
#af-footer {
  background: #060f18;
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 32px 0;
}
.af-footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.af-footer-links { display: flex; gap: 28px; list-style: none; margin-bottom: 14px; flex-wrap: wrap; }
.af-footer-links a {
  font-size: 10.5px; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); transition: color 0.2s;
}
.af-footer-links a:hover { color: var(--gold); }
.af-footer-reg {
  font-size: 10px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.25); max-width: 560px;
}
.af-footer-copy {
  font-size: 10px; color: rgba(255,255,255,0.25);
  text-align: right; white-space: nowrap; padding-top: 4px;
}

/* ── Keyframes ── */
@keyframes afFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes afFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes afFadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1200px) {
  #af-hero { grid-template-columns: 1fr 1fr; }
  .af-hero-content { padding: 80px 50px 80px 0; }
  .af-tx-grid { grid-template-columns: repeat(3,1fr); }
  .af-contact-inner { grid-template-columns: 1fr 1fr; }
  .af-brand-col { display: none; }
}
@media (max-width: 1000px) {
  .af-cred-grid { grid-template-columns: repeat(2,1fr); padding: 0 32px; }
  .af-cred-item:nth-child(2) { border-right: none; }
  .af-exp-grid { grid-template-columns: repeat(2,1fr); }
  .af-who-inner { grid-template-columns: 1fr; gap: 40px; }
  .af-approach-card { position: static; }
  .af-nav-inner { padding: 0 32px; }
}
@media (max-width: 900px) {
  #af-hero { grid-template-columns: 1fr; min-height: auto; }
  .af-hero-content { padding: 80px 0 48px; }
  .af-hero-photo-col { min-height: 60vh; }
  .af-hero-photo { height: 60vh; width: 100%; }
  .af-photo-frame { right: 24px; bottom: 24px; }
  #af-nav .menu { display: none; }
  .af-nav-cta { display: none; }
  .af-burger { display: flex; }
  .af-tx-grid { grid-template-columns: repeat(2,1fr); }
  .af-who-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .af-container { padding: 0 20px; }
  .af-cred-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .af-cred-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.1); padding: 28px 0; }
  .af-cred-item:last-child { border-bottom: none; }
  .af-exp-grid { grid-template-columns: 1fr; }
  .af-tx-grid { grid-template-columns: 1fr; }
  .af-contact-inner { grid-template-columns: 1fr; }
  .af-footer-inner { flex-direction: column; }
  .af-footer-copy { text-align: left; }
}
