/*
Theme Name: Warrior Capital Management
Author: Warrior Capital Management
Description: A discreet, editorial WordPress theme for a private family investment office.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: warrior-capital
*/

:root {
  --ink: #10231f;
  --ink-soft: #31443e;
  --forest: #173b33;
  --forest-deep: #0b2822;
  --brass: #b99457;
  --brass-pale: #d9c79f;
  --ivory: #f6f2e9;
  --paper: #fcfaf5;
  --white: #ffffff;
  --line: rgba(16, 35, 31, 0.16);
  --shadow: 0 24px 70px rgba(9, 31, 27, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--brass);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.6rem, 8vw, 7.8rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.025em; }
.lead { color: var(--ink-soft); font-size: clamp(1.1rem, 1.7vw, 1.38rem); line-height: 1.55; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 14px 24px; border: 1px solid var(--forest);
  background: var(--forest); color: var(--white); text-decoration: none;
  font-size: 0.77rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover, .button:focus-visible { background: var(--brass); border-color: var(--brass); transform: translateY(-2px); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button--ghost:hover, .button--ghost:focus-visible { color: var(--white); }

.site-header {
  position: absolute; z-index: 20; inset: 0 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.18); color: var(--white);
}
body:not(.home) .site-header { background: var(--forest-deep); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.55); color: var(--brass-pale);
  font-family: var(--serif); font-size: 1.2rem;
}
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font-family: var(--serif); font-size: 1.14rem; font-weight: 400; letter-spacing: .025em; }
.brand-name small { margin-top: 5px; font-size: .59rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; opacity: .72; }
.primary-nav ul { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { text-decoration: none; font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--brass-pale); }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; font: inherit; }

.hero {
  position: relative; min-height: 880px; display: flex; align-items: end;
  overflow: hidden; color: var(--white); background: var(--forest-deep);
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% 0 42%;
  background:
    linear-gradient(128deg, transparent 25%, rgba(185,148,87,.55) 25.2%, transparent 25.5%),
    linear-gradient(154deg, transparent 45%, rgba(255,255,255,.10) 45.2%, transparent 45.5%),
    radial-gradient(circle at 58% 44%, rgba(185,148,87,.22), transparent 30%);
  transform: rotate(-4deg); opacity: .9;
}
.hero::after {
  content: "W"; position: absolute; right: -2vw; bottom: -20vh;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
  font-family: var(--serif); font-size: min(70vw, 880px); line-height: .8;
}
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 72px; padding: 210px 0 112px; align-items: end; }
.hero h1 { max-width: 900px; margin-bottom: 0; }
.hero h1 em { color: var(--brass-pale); font-weight: 400; }
.hero-aside { padding: 0 0 12px; }
.hero-aside p { color: rgba(255,255,255,.76); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .button { color: var(--forest-deep); background: var(--brass-pale); border-color: var(--brass-pale); }
.hero .button:hover { color: var(--white); background: var(--brass); border-color: var(--brass); }
.hero .button--ghost { color: var(--white); background: transparent; border-color: rgba(255,255,255,.28); }

.manifesto { padding: 145px 0; }
.manifesto-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 90px; }
.manifesto h2 { max-width: 830px; margin-bottom: 38px; }
.manifesto-copy { max-width: 720px; margin-left: auto; }
.manifesto-copy p { color: var(--ink-soft); font-size: 1.12rem; }

.mandate { padding: 130px 0; background: var(--ivory); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 70px; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { max-width: 550px; margin: 0 0 7px auto; }
.mandate-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.mandate-card { min-height: 390px; padding: 42px 38px; border-right: 1px solid var(--line); position: relative; }
.mandate-card:first-child { border-left: 1px solid var(--line); }
.mandate-number { color: var(--brass); font-size: .75rem; font-weight: 750; letter-spacing: .14em; }
.mandate-card h3 { margin: 90px 0 24px; }
.mandate-card p { color: var(--ink-soft); }

.principles { background: var(--forest); color: var(--white); padding: 135px 0; }
.principles-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.principles h2 { max-width: 500px; }
.principle-list { border-top: 1px solid rgba(255,255,255,.2); }
.principle { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.principle span { color: var(--brass-pale); font-size: .75rem; font-weight: 700; }
.principle h3 { margin-bottom: 8px; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.principle p { margin: 0; color: rgba(255,255,255,.68); }

.criteria { padding: 145px 0; }
.criteria-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; }
.criteria-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 54px; }
.criterion { padding-top: 18px; border-top: 1px solid var(--line); }
.criterion strong { display: block; margin-bottom: 8px; font-size: .9rem; letter-spacing: .02em; }
.criterion p { color: var(--ink-soft); font-size: .93rem; }
.quote-panel {
  position: relative; align-self: stretch; min-height: 520px; display: flex; align-items: end;
  padding: 48px; color: var(--white); background: var(--forest-deep); overflow: hidden;
}
.quote-panel::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(217,199,159,.32); border-radius: 50%; top: -100px; right: -150px; }
.quote-panel::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(217,199,159,.2); border-radius: 50%; top: -15px; right: -65px; }
.quote-panel blockquote { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: 1.08; }

.process { padding: 125px 0; background: var(--ivory); }
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; }
.process-step { padding: 30px 28px 0; border-top: 1px solid var(--line); }
.process-step:first-child { padding-left: 0; }
.process-step strong { color: var(--brass); font-size: .72rem; letter-spacing: .15em; }
.process-step h3 { margin: 28px 0 12px; font-family: var(--sans); font-size: 1rem; font-weight: 750; }
.process-step p { color: var(--ink-soft); font-size: .9rem; }

.contact-band { padding: 125px 0; color: var(--white); background: var(--forest-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: end; }
.contact-band h2 { max-width: 850px; margin-bottom: 0; }
.contact-band .button { color: var(--forest-deep); background: var(--brass-pale); border-color: var(--brass-pale); }

.site-footer { padding: 60px 0 38px; color: rgba(255,255,255,.64); background: #071d19; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.site-footer .brand { color: var(--white); }
.footer-nav { display: flex; justify-content: flex-end; gap: 28px; list-style: none; margin: 8px 0 0; padding: 0; }
.footer-nav a { font-size: .76rem; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.legal { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .73rem; line-height: 1.6; }
.legal p { max-width: 950px; }

.content-page { min-height: 70vh; padding: 170px 0 100px; }
.content-page article { max-width: 780px; }
.content-page h1 { font-size: clamp(3rem, 6vw, 6rem); }

.fluentform { margin-top: 42px; }
.fluentform .ff-el-form-control {
  width: 100%; min-height: 50px; padding: 13px 14px !important;
  border: 1px solid var(--line) !important; border-radius: 0 !important;
  background: var(--white) !important; color: var(--ink) !important; font: inherit !important;
}
.fluentform textarea.ff-el-form-control { min-height: 150px; }
.fluentform label { color: var(--ink) !important; font-size: .82rem !important; font-weight: 700 !important; }
.fluentform .ff-btn-submit {
  min-height: 52px; padding: 14px 24px !important; border: 1px solid var(--forest) !important;
  border-radius: 0 !important; background: var(--forest) !important; color: var(--white) !important;
  font-size: .77rem !important; font-weight: 750 !important; letter-spacing: .13em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .container { width: min(100% - 32px, 720px); }
  .menu-toggle { display: inline-flex; padding: 10px; cursor: pointer; }
  .primary-nav { display: none; position: absolute; inset: 94px 0 auto; padding: 24px; background: var(--forest-deep); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 760px; }
  .hero-content, .section-head, .principles-grid, .criteria-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 180px 0 80px; gap: 46px; }
  .hero-aside { max-width: 560px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 28px; }
  .mandate-grid { grid-template-columns: 1fr; }
  .mandate-card, .mandate-card:first-child { min-height: auto; border: 0; border-top: 1px solid var(--line); }
  .mandate-card h3 { margin-top: 44px; }
  .process-row { grid-template-columns: 1fr 1fr; row-gap: 38px; }
  .footer-nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .brand-name small { display: none; }
  .hero-content { padding-top: 160px; }
  .manifesto, .criteria { padding: 95px 0; }
  .mandate, .principles, .process, .contact-band { padding: 85px 0; }
  .criteria-list, .process-row { grid-template-columns: 1fr; }
  .quote-panel { min-height: 390px; padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
