:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --surface: #fbfaf6;
  --ink: #172b2c;
  --deep: #13282b;
  --muted: #52615d;
  --line: #deddd4;
  --gold: #e9c995;
  --bronze: #805e32;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Aptos', 'Inter', 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.icon-bank, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 2px solid #ac8050; outline-offset: 5px; }
.wrap { width: min(100% - 96px, 1232px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 9; padding: 10px 16px; background: white; transform: translateY(-170%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid #e8e6df; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 85px; gap: 28px; }
.brand { display: block; flex: none; }
.brand img, footer img { height: auto; }
.header nav, footer nav { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 54px); font-size: .91rem; font-weight: 650; }
.header nav a:hover, footer nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-contact { display: inline-flex; gap: 16px; align-items: center; border: 1px solid #b7c1b6; padding: 10px 15px 10px 19px; }
.nav-contact svg { width: 16px; height: 16px; }
.menu-toggle { display: none; }
.hero {
  color: #fffdf6;
  background-color: var(--deep);
  background-image: linear-gradient(90deg, #0b2024e8 0%, #0c2529ac 39%, #11272a38 70%, #0a171f10 100%), linear-gradient(0deg, #10282b64, transparent 45%), url('assets/hero.webp');
  background-size: cover;
  background-position: center 53%;
}
.hero-inner { min-height: clamp(540px, 47vw, 725px); position: relative; display: flex; align-items: center; padding-block: 74px 84px; }
.hero-copy { max-width: 780px; animation: enter .65s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.eyebrow, .category { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: .69rem; font-weight: 750; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--bronze); }
.eyebrow span { width: 25px; height: 1px; background: currentColor; }
.hero .eyebrow, .about .eyebrow { color: var(--gold); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.042em; }
h1 { font-size: clamp(4.4rem, 8.3vw, 9rem); line-height: .94; }
h1 em, .about h2 em { color: var(--gold); }
h1 em, h2 em { font-weight: inherit; }
.hero-description { max-width: 490px; margin: 30px 0; color: #f0f0e9; font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.66; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.button, .hero-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-size: .9rem; font-weight: 700; }
.button-gold { background: var(--gold); color: #1e2c29; padding: 12px 19px; transition: background-color .2s; }
.button-gold:hover { background: #f6deb4; }
.hero-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero-index { position: absolute; display: flex; align-items: center; gap: 11px; bottom: 27px; right: 0; color: #fffdf6; font-size: .67rem; font-weight: 700; letter-spacing: .14em; }
.hero-index span { width: 33px; height: 1px; background: #fffdf6a8; }
.quick-links { border-bottom: 1px solid var(--line); background: #eeede5; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-grid > a { display: flex; align-items: center; gap: 16px; padding: 21px clamp(15px, 2.6vw, 36px); border-right: 1px solid #d8dbd0; transition: background-color .2s; }
.quick-grid > a:first-child { border-left: 1px solid #d8dbd0; }
.quick-grid > a:hover { background: #e2e6db; }
.quick-grid strong, .quick-grid small { display: block; }
.quick-grid strong { font-size: .94rem; }
.quick-grid small { color: var(--muted); font-size: .77rem; }
.quick-grid .quick-icon { width: 31px; height: 31px; color: #3d6059; }
.quick-grid .quick-arrow { margin-left: auto; width: 15px; height: 15px; }
.section { padding-block: clamp(70px, 8vw, 116px); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 26px 52px; margin-bottom: 30px; }
.section-top > p { max-width: 325px; margin: 0 0 3px; color: var(--muted); }
h2 { font-size: clamp(2.8rem, 5.5vw, 5.7rem); line-height: .99; }
h2 em { color: #51736b; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { padding: 8px 15px; color: var(--ink); background: transparent; border: 1px solid #d4d8cc; border-radius: 40px; cursor: pointer; font-size: .83rem; font-weight: 650; }
.filters button:hover { background: #e9ece3; }
.filters button[aria-pressed="true"] { color: #fffdf6; background: #25443e; border-color: #25443e; }
.company-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.company { display: flex; flex-direction: column; background: #fcfbf7; border: 1px solid var(--line); min-width: 0; }
.company:target { outline: 2px solid #977140; outline-offset: 3px; }
.card-photo { position: relative; overflow: hidden; aspect-ratio: 1.9; background: #d7dfd5; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.company:hover .card-photo img { transform: scale(1.04); }
.card-photo span { position: absolute; left: 13px; top: 13px; background: #fbfaf3; color: var(--ink); font-size: .69rem; font-weight: 750; letter-spacing: .1em; padding: 4px 7px; }
.card-body { padding: 22px clamp(17px, 2.1vw, 28px); display: flex; flex: 1; flex-direction: column; }
.category { color: var(--bronze); margin-bottom: 6px; letter-spacing: .12em; }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.36rem); line-height: 1.08; }
.card-body > p:not(.category) { margin: 11px 0 21px; font-size: .92rem; color: var(--muted); }
.card-body > a, .company-info summary, .text-link { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .85rem; line-height: 1.45; }
.card-body > a, .company-info { margin-top: auto; border-top: 1px solid var(--line); padding-top: 13px; justify-content: space-between; }
.card-body > a svg, .company-info summary svg, .text-link svg { width: 16px; height: 16px; }
.card-body > a:hover, .company-info summary:hover, .company-info-content a:hover, .text-link:hover, .contact-grid li a:hover { text-decoration: underline; text-underline-offset: 4px; }
#meyers-invest .company-info { margin-top: 12px; }
.company-info summary { justify-content: space-between; cursor: pointer; list-style: none; }
.company-info summary::-webkit-details-marker { display: none; }
.company-info[open] summary svg { transform: rotate(45deg); }
.company-info-content { margin-top: 12px; padding: 12px 14px; background: #eaf2ec; color: #244940; font-size: .85rem; }
.company-info-content p { margin: 0 0 8px; }
.company-info-content a { display: block; width: fit-content; max-width: 100%; font-weight: 650; overflow-wrap: anywhere; }
.about { color: #f7f5ed; background: var(--deep); padding-block: clamp(66px, 8vw, 110px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr); align-items: center; gap: clamp(30px, 8vw, 108px); }
.about h2 { font-size: clamp(2.65rem, 5.3vw, 5.1rem); }
.about p:not(.eyebrow) { max-width: 565px; margin: 25px 0 10px; color: #dde2da; }
.about .hero-link { color: var(--gold); }
.numbers { margin: 0; border-top: 1px solid #526361; }
.numbers div { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid #526361; padding: 13px 0; }
.numbers dt { min-width: 90px; font: 2.8rem/1.1 var(--serif); color: var(--gold); }
.numbers dd { margin: 0; font-size: .91rem; }
.partners { background: #fbfaf6; padding-block: 36px; border-bottom: 1px solid var(--line); }
.partner-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(15px, 4vw, 55px); align-items: center; padding: 5px 0; }
.partner-logos img { width: 100%; height: 45px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; }
.contact { background: var(--surface); }
.contact-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.25vw, 30px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.contact-grid ul { padding: 0; margin: 15px 0 17px; list-style: none; font-size: .92rem; overflow-wrap: anywhere; }
.text-link { border-top: 1px solid var(--line); padding-top: 13px; margin-top: auto; }
footer { background: var(--deep); color: #f7f5ed; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-block: 34px; gap: 24px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 15px; border-top: 1px solid #526361; color: #dce2dc; }
.footer-bottom small a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom > a { display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.footer-bottom svg { transform: rotate(180deg); width: 15px; height: 15px; }
@media (max-width: 940px) {
  .wrap { width: min(100% - 60px, 1232px); }
  .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid > a { gap: 10px; padding-inline: 12px; }
  .quick-grid .quick-icon { width: 25px; height: 25px; }
  .contact-grid { gap: 9px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 36px); }
  .nav-wrap { min-height: 69px; gap: 10px; flex-wrap: wrap; }
  .brand img { width: 152px; }
  .js .menu-toggle { display: inline-flex; gap: 7px; align-items: center; border: 1px solid #b7c1b6; background: transparent; color: var(--ink); padding: 6px 9px; cursor: pointer; }
  .header nav { display: flex; width: 100%; gap: 12px 22px; flex-wrap: wrap; padding-bottom: 12px; }
  .js .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .header nav .nav-contact { border: 0; padding: 0; gap: 4px; }
  .hero { background-position: 60% center; }
  .hero-inner { min-height: 520px; padding-block: 64px 78px; }
  h1 { font-size: clamp(3.1rem, 11.8vw, 5.45rem); }
  .hero-description { margin: 23px 0; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > a { border: 0; border-top: 1px solid #d8dbd0; padding: 12px 4px; gap: 12px; }
  .quick-grid > a:first-child { border: 0; }
  .section-top { display: block; }
  .section-top > p { margin-top: 15px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 12px; }
  .partner-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  footer nav { gap: 16px; }
}
@media (max-width: 510px) {
  .company-grid { grid-template-columns: 1fr; }
  .card-body { padding: 19px; }
  .card-body h3, .contact-grid h3 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
