/* Phillips Equities & Trust */
:root {
  --ink: #1d1d1b;
  --ink-soft: #4a4a45;
  --muted: #76756d;
  --olive: #8a8600;
  --olive-deep: #6b6800;
  --olive-tint: #f4f3e6;
  --cream: #f6f4ee;
  --line: #e3e0d6;
  --white: #ffffff;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--olive-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }

/* Type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin: 0 0 1.1rem;
}
.lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink-soft); line-height: 1.6; max-width: 46rem; }
.rule { width: 64px; height: 3px; background: var(--olive); border: 0; margin: 2rem 0; }
.sans { font-family: var(--sans); }
.small { font-size: .9rem; }

/* Header */
.topbar { height: 6px; background: var(--olive); }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 58px; height: 58px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 2.15rem; font-variant: small-caps; letter-spacing: .03em; }
.brand-sub {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .5em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 4px; padding-top: 5px; border-top: 1.5px solid var(--olive);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--sans); font-size: .82rem; font-weight: 400; letter-spacing: .04em;
  color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--olive); }
.nav a.btn { border: 0; }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: .04em;
  padding: 13px 26px; border-radius: 2px; text-decoration: none; cursor: pointer;
  background: var(--olive); color: var(--white); border: 1px solid var(--olive); transition: background .15s;
}
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav .btn { padding: 10px 18px; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.hero { padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 110px); }
.hero h1 { max-width: 15em; }
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.band { background: var(--cream); }
.band-dark { background: var(--ink); color: #e9e7df; }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .eyebrow { color: #c9c46a; }
.band-dark a { color: #d8d48a; }
.band-dark blockquote { color: var(--white); }
.band-dark blockquote cite { color: #a9a79e; }

.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 > * { background: var(--white); padding: 34px 30px; }
.band .grid-3 > * { background: var(--cream); }
.grid-3 h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.grid-3 p { font-size: .98rem; color: var(--ink-soft); margin: 0; }
.num { font-family: var(--sans); font-size: .78rem; color: var(--olive); letter-spacing: .1em; display: block; margin-bottom: 14px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 3rem; }
.stat { border-top: 2px solid var(--olive); padding-top: 18px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; color: var(--ink); }
.stat span { font-family: var(--sans); font-size: .82rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 8px; }

/* Strategy list */
.strategies { border-top: 1px solid var(--ink); }
.strategy { display: grid; grid-template-columns: 64px 1fr 1.5fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.strategy .n { font-family: var(--sans); color: var(--olive); font-size: .95rem; padding-top: 4px; }
.strategy h3 { margin: 0; font-size: 1.3rem; }
.strategy p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.strategy ul { margin: .8rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; padding: 0; list-style: none; }
.chips li { font-family: var(--sans); font-size: .82rem; padding: 8px 14px; border: 1px solid var(--olive); color: var(--olive-deep); border-radius: 2px; }
.band-dark .chips li { border-color: #c9c46a; color: #e7e3a8; }

/* Team */
.person { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); padding: 56px 0; border-bottom: 1px solid var(--line); }
.person:first-of-type { padding-top: 8px; }
.person:last-of-type { border-bottom: 0; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--cream); border: 1px solid var(--line); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3.4rem; color: var(--olive); letter-spacing: .04em;
}
.portrait picture { display: block; width: 100%; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person h3 { font-size: 1.7rem; margin-bottom: .2rem; }
.person .role { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-bottom: 1.4rem; }
.person p { color: var(--ink-soft); font-size: 1.02rem; }
.team-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card h3 { font-size: 1.3rem; margin: 18px 0 2px; }
.team-card .role { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.team-card .portrait { font-size: 2.6rem; }
.team-card a { text-decoration: none; color: inherit; }

/* Portfolio */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { border: 1px solid var(--line); padding: 28px 26px 26px; display: flex; flex-direction: column; background: var(--white); }
.tile .tag { font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; justify-content: space-between; gap: 8px; }
.tile .tag .status { color: var(--olive-deep); }
.tile h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.tile .loc { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.tile p { font-size: .95rem; color: var(--ink-soft); margin: 0 0 1.2rem; }
.tile .facts { margin-top: auto; display: flex; gap: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.tile .facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.list-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .88rem; }
.list-table th { text-align: left; font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); }
.list-table td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.list-table td:first-child { color: var(--ink); }
.list-table .r { text-align: right; padding-right: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Callout */
.callout { border-left: 3px solid var(--olive); background: var(--cream); padding: 26px 30px; margin: 2rem 0; }
.callout p:last-child { margin: 0; }
blockquote { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; font-style: italic; color: var(--ink); max-width: 36em; }
blockquote cite { display: block; font-style: normal; font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-top: 1.2rem; letter-spacing: .04em; }

.donts { list-style: none; padding: 0; margin: 0; }
.donts li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 1rem; color: var(--ink-soft); }
.donts li::before { content: "—"; position: absolute; left: 0; color: var(--olive); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding: 18px 0 18px 54px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-soft); font-size: 1rem; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 19px; font-family: var(--sans); font-size: .85rem; color: var(--olive); }
.steps b { color: var(--ink); font-weight: 600; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 18px 0 0; display: contents; }
.form legend, .form .legend { grid-column: 1 / -1; font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--ink); }
.field .hint { font-family: var(--sans); font-size: .76rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  border: 1px solid #cfccc1; border-radius: 2px; padding: 12px 14px; background: var(--white); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(138,134,0,.15); }
.field input[type=file] { padding: 10px; background: var(--cream); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: .88rem; color: var(--ink-soft); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--olive); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.form-note { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; font-family: var(--sans); font-size: .92rem; padding: 16px 18px; border-radius: 2px; display: none; }
.form-status.ok { display: block; background: var(--olive-tint); border-left: 3px solid var(--olive); color: var(--ink); }
.form-status.err { display: block; background: #fbeeec; border-left: 3px solid #a8402f; color: #6e2318; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); }
.contact-block { margin-bottom: 2.2rem; }
.contact-block h3 { font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin-bottom: .7rem; }
.contact-block p, .contact-block address { font-style: normal; font-size: 1.05rem; margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #bdbbb2; font-family: var(--sans); font-size: .85rem; padding: 64px 0 36px; }
.site-footer a { color: #e2e0d7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #3a3a36; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { width: 58px; height: 58px; }
.site-footer .brand-sub { color: #bdbbb2; }
.footer-col h4 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #c9c46a; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col address { font-style: normal; line-height: 1.7; }
.disclaimer { padding-top: 28px; font-size: .78rem; line-height: 1.7; color: #9a988f; max-width: 60rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; font-size: .76rem; color: #8a887f; }

/* Responsive */
@media (max-width: 960px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .tiles, .team-cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .strategy { grid-template-columns: 48px 1fr; }
  .strategy > div:last-child { grid-column: 2; }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line);
    padding: 9px 14px; font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; color: var(--ink);
  }
  .nav {
    display: none; position: absolute; top: 96px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav a.btn { margin-top: 16px; text-align: center; padding: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .grid-3, .tiles, .team-cards, .form, .footer-top { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person .portrait { max-width: 200px; }
  .team-card .portrait { max-width: 160px; }
  .brand-name { font-size: 1.7rem; }
  .brand-sub { font-size: .56rem; letter-spacing: .4em; }
  .brand-mark { width: 48px; height: 48px; }
}
@media print {
  .site-header, .nav-toggle, .topbar { display: none; }
}

