@font-face {
  font-family: "Neuething Test";
  src: url("fonts/NeuethingTest-SemiBold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neuething Test";
  src: url("fonts/NeuethingTest-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --ink: #0b0d10;
  --ink-soft: #4d5560;
  --stone: #5d6570;
  --accent: #2b4bff;
  --accent-soft: #7b8cff;
  --hairline: #e6e8ec;
  --dark: #0b0d10;
  --dark-soft: #15181d;
  --dark-line: #23272e;
  --radius: 0px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
h1, h2, h3 { font-family: "Neuething Test", "Inter", "Helvetica Neue", sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.caps { font-size: .88rem; font-weight: 600; color: var(--accent); }

/* Keyboard focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip {
  position: absolute; left: -9999px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px;
  text-decoration: none; font-size: .88rem; font-weight: 600;
}
.skip:focus { left: 0; top: 0; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; flex-wrap: wrap; gap: 12px; }
.brand { font-family: "Neuething Test", "Inter", sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: 0; color: var(--ink); text-decoration: none; }
nav.links { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
nav.links a { text-decoration: none; color: var(--ink-soft); font-size: .88rem; font-weight: 500; }
nav.links a:hover { color: var(--ink); }
nav.links a.active { color: var(--accent); }
nav.links a:not([href="contact.html"]) { position: relative; }
nav.links a:not([href="contact.html"])::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
nav.links a:not([href="contact.html"]):hover::after,
nav.links a:not([href="contact.html"]).active::after { transform: scaleX(1); }
nav.links a[href="contact.html"] {
  background: var(--ink); color: #fff; padding: 9px 20px; font-size: .84rem;
}
nav.links a[href="contact.html"]:hover,
nav.links a[href="contact.html"].active { background: var(--accent); color: #fff; }
@media (max-width: 720px) { nav.links { gap: 16px; } }

/* Page-load entrance: the site's single orchestrated motion moment */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero .wrap > *, .pagehead .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > *:nth-child(2), .pagehead .wrap > *:nth-child(2) { animation-delay: .09s; }
.hero .wrap > *:nth-child(3), .pagehead .wrap > *:nth-child(3) { animation-delay: .18s; }
.hero .wrap > *:nth-child(4), .pagehead .wrap > *:nth-child(4) { animation-delay: .27s; }

/* Home hero */
.hero { padding: 130px 0 110px; }
.hero .caps { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.8rem, 8.5vw, 6.2rem);
  line-height: .98; max-width: 1000px; color: var(--ink);
  text-transform: uppercase;
}
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  text-stroke: 2px var(--ink);
}
.hero p { margin-top: 32px; max-width: 620px; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.65; }
.textlink {
  display: inline-block; margin-top: 40px; text-decoration: none;
  background: var(--ink); color: #fff; font-size: .9rem; font-weight: 600;
  padding: 15px 34px; transition: background .18s ease;
}
.textlink:hover { background: var(--accent); color: #fff; }

/* Sub-page hero */
.pagehead { padding: 100px 0 72px; position: relative; overflow: hidden; }
.pagehead .caps { margin-bottom: 24px; }
.pagehead h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: 1.08; max-width: 860px; text-transform: uppercase; }
.pagehead .ghost {
  animation: none !important;
  position: absolute; right: -0.05em; top: 50%; transform: translateY(-50%);
  font-family: "Neuething Test", "Inter", sans-serif; font-weight: 700;
  font-size: clamp(8rem, 24vw, 18rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--hairline); text-stroke: 1px var(--hairline);
  user-select: none; pointer-events: none; z-index: -1;
}
.pagehead p { margin-top: 26px; max-width: 620px; color: var(--ink-soft); font-size: 1.05rem; }

/* Marquee strip */
.marquee { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); overflow: hidden; padding: 20px 0; }
.marquee .track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee .track > span {
  white-space: nowrap;
  font-family: "Neuething Test", "Inter", sans-serif; font-weight: 600; font-size: .88rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.marquee .track > span b { color: var(--accent); font-weight: 600; padding-right: 64px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pillars: structured open columns on dark */
.pillars { background: var(--dark); color: #b9bec7; padding: 100px 0; }
.pillars .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.pillar { border-top: 2px solid #fff; padding-top: 26px; }
.pillar h3 { color: #fff; font-size: 1.4rem; margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.pillar h3::before { content: ""; width: 11px; height: 11px; background: var(--accent); flex: none; }
.pillar p { font-size: .95rem; line-height: 1.75; }
.pillar .rule { display: none; }
@media (min-width: 821px) {
  .pillars .wrap { gap: 0; }
  .pillar { padding-left: 40px; padding-right: 40px; border-left: 1px solid #2e343d; }
  .pillar:first-child { padding-left: 0; border-left: none; }
  .pillar:last-child { padding-right: 0; }
}

/* Sections */
section { padding: 100px 0; }
.sec-head { margin-bottom: 48px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
@media (min-width: 821px) { main section .two-col > :first-child { position: sticky; top: 120px; } }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.two-col h2 { max-width: 420px; }
.prose p { color: var(--ink-soft); margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }

/* Explore index (home): big-type index rows */
.explore { background: var(--bg-soft); }
.explore .rows { margin-top: 10px; }
.explore a.row {
  display: grid; grid-template-columns: 90px 5fr 7fr; gap: 32px; align-items: baseline;
  padding: 36px 24px; margin: 0 -24px; border-top: 1px solid var(--hairline);
  text-decoration: none; cursor: pointer;
  transition: background .18s ease;
}
.explore a.row:hover { background: var(--dark); }
.explore a.row:hover .n { color: var(--accent-soft); }
.explore a.row:hover .d { color: #b9bec7; }
.explore a.row .n {
  font-family: "Neuething Test", "Inter", sans-serif; font-weight: 600;
  font-size: .95rem; color: var(--accent);
}
.explore .rows a.row:last-child { border-bottom: 1px solid var(--hairline); }
.explore a.row .t {
  font-family: "Neuething Test", "Inter", sans-serif; font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--ink); letter-spacing: 0;
  transition: color .18s ease, transform .18s ease;
}
.explore a.row:hover .t { color: #fff; transform: translateX(12px); }
.sec-head .count { color: var(--accent); font-weight: 600; font-size: .6em; vertical-align: .25em; margin-left: 10px; letter-spacing: .05em; }
.explore a.row .d { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; max-width: 520px; }
@media (max-width: 720px) { .explore a.row { grid-template-columns: 1fr; gap: 8px; } }
.explore .rows a.row:first-child { border-top: 2px solid var(--ink); }

/* Practices: open columns */
.practices { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 26px; }
@media (max-width: 820px) { .practices { grid-template-columns: 1fr; gap: 48px; } }
.practice { border-top: 2px solid var(--ink); padding-top: 30px; }
.practice h3 { font-size: 1.5rem; margin-bottom: 16px; }
.practice p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 14px; }
.practice ul { list-style: none; margin-top: 18px; }
.practice li { color: var(--ink-soft); font-size: .95rem; padding: 13px 0; border-top: 1px solid var(--hairline); }
.practice li strong { color: var(--ink); font-weight: 600; }

/* Industries: editorial rows */
.industries { margin-top: 26px; }
.industry { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: 38px 0; border-top: 1px solid var(--ink); }
.industry:last-child { border-bottom: 1px solid var(--hairline); }
@media (max-width: 720px) { .industry { grid-template-columns: 1fr; gap: 10px; } }
.industry h3 { font-size: 1.35rem; }
.industry p { color: var(--ink-soft); font-size: .98rem; max-width: 640px; }

/* History strip */
.history { background: var(--dark); color: #b9bec7; }
.history section { padding: 96px 0; }
.history .years { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 10px; }
@media (max-width: 720px) {
  .history .years {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 12px;
  }
  .history .yr-block { flex: 0 0 82%; scroll-snap-align: start; }
}
.yr-block { border-top: 1px solid #2e343d; padding-top: 26px; }
.yr-block .yr { font-family: "Neuething Test", "Inter", sans-serif; font-weight: 700; font-size: 2rem; color: #fff; margin-bottom: 10px; letter-spacing: 0; }
.yr-block p { color: #b9bec7; font-size: .93rem; }

/* People: horizontal columns */
.roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.member { border-top: 2px solid var(--ink); padding-top: 24px; }
.member .n { display: block; font-weight: 600; font-size: .85rem; color: var(--accent); margin-bottom: 18px; }
.member .name {
  display: block;
  font-family: "Neuething Test", "Inter", sans-serif; font-weight: 600;
  font-size: 1.35rem; color: var(--ink); margin-bottom: 8px;
}
.member .reveal { display: block; }
.member .role { display: block; color: var(--ink); font-size: .95rem; font-weight: 500; margin-bottom: 12px; }
.member .line { display: block; color: var(--ink-soft); font-size: .92rem; }

/* Contact */
.contact { background: var(--dark); color: #b9bec7; padding: 110px 0; }
.contact h2 { color: #fff; }
.contact .two-col { align-items: center; }
.contact p { font-size: 1rem; }
.contact .detail { border-left: 1px solid #2e343d; padding-left: 34px; }
.contact .detail p { margin-bottom: 20px; }
.contact .lbl { display: block; font-size: .8rem; font-weight: 600; color: #8b94a1; margin-bottom: 4px; }
.contact a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.contact a:hover { color: var(--accent-soft); }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 28px 100px; }
.legal h1 { font-size: 2.4rem; margin-bottom: 6px; }
.legal .date { color: var(--ink-soft); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; font-size: .97rem; }
.legal ul { margin: 0 0 12px 22px; }
.legal a { color: var(--accent); }

/* Footer */
footer { background: var(--dark); border-top: 1px solid var(--dark-line); color: #8b94a1; padding: 40px 0 48px; font-size: .84rem; }
footer .bigmark {
  font-family: "Neuething Test", "Inter", sans-serif; font-weight: 700;
  font-size: clamp(4.5rem, 17vw, 13rem); line-height: .95; letter-spacing: -0.01em;
  color: transparent; -webkit-text-stroke: 1px #3f4652; text-stroke: 1px #3f4652;
  user-select: none; margin-bottom: 8px;
  transition: color .35s ease;
}
footer .bigmark:hover { color: #fff; -webkit-text-stroke: 1px #fff; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: #b9bec7; text-decoration: none; margin-left: 26px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
  .hero .wrap > *, .pagehead .wrap > * { animation: none; }
  .textlink, .explore a.row { transition: none; }
}
