@font-face { font-family: 'Outfit'; src: url('outfit.woff') format('woff'); font-weight: 100 900; font-display: swap; }
:root { --bg:#ECE4DA; --bg2:#F6F2EC; --sage:#4F5E51; --sage-d:#3E4A40; --label:#5D6A5D; --mid:#D8D3C8; --card:#FBFAF7; --ink:#1F2721; --muted:#5E6B60; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(236,228,218,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(79,94,81,.12); }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.mark { font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.mark span { font-weight: 400; color: #7C877D; }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; font-size: 15px; color: var(--label); font-weight: 500; }
nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
h1 { font-size: 56px; line-height: 1.02; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 10px; }
.roles { font-size: 20px; font-weight: 600; color: var(--sage); margin-bottom: 18px; }
.lead { font-size: 19px; color: #2B342D; max-width: 600px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1.5px solid var(--sage); transition: background .15s, color .15s; }
.btn.primary { background: var(--sage); color: #fff; }
.btn.primary:hover { background: var(--sage-d); }
.btn.ghost:hover { background: var(--sage); color: #fff; }
.portrait { border-radius: 24px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 20px 50px rgba(31,39,33,.14); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg2); }
h2 { font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin: 10px 0 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; background: var(--card); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.card .brand-icon { position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; }
.card .brand-icon.inviola { width: 38px; height: 38px; top: 35px; right: 35px; }
.card.dark { background: var(--sage); color: #fff; }
.card .tag { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.card.dark .tag { color: var(--mid); }
.card h3 { font-size: 23px; margin: 8px 0 8px; font-weight: 700; }
.card p { font-size: 16px; color: #3A443C; flex: 1; }
.card.dark p { color: #E6E2DA; }
.card .more { margin-top: 18px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--sage); }
.card.dark .more { color: #fff; }
.card .more:hover { text-decoration: underline; }

/* timeline */
.timeline { border-left: 2px solid var(--mid); margin-left: 6px; }
.tl { position: relative; padding: 0 0 26px 28px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.tl::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--sage); }
.tl.now::before { background: var(--sage); }
.tl .yr { font-weight: 600; color: var(--label); font-size: 15px; padding-top: 1px; }
.tl b { font-weight: 700; font-size: 17px; }
.tl span { display: block; color: var(--muted); font-size: 15px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill { border-radius: 999px; padding: 6px 15px; font-size: 14px; background: var(--mid); }
.pill.o { background: transparent; border: 1px solid #2B342D; }

/* two col */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
ul.list { list-style: none; }
ul.list li { padding: 12px 0; border-bottom: 1px solid rgba(79,94,81,.15); }
ul.list li b { font-weight: 600; }
ul.list li span { display: block; color: var(--muted); font-size: 15px; }

/* contact */
.contact { background: var(--sage); color: #fff; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--mid); }
.contact p { color: #E6E2DA; font-size: 19px; max-width: 620px; }
.contact .btn { border-color: #fff; }
.contact .btn.primary { background: #fff; color: var(--sage); }
.contact .btn.ghost { color: #fff; }
.contact .btn.ghost:hover { background: #fff; color: var(--sage); }

footer { background: var(--sage-d); color: #C9CFC7; font-size: 14px; padding: 22px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: #fff; text-decoration: none; margin-left: 18px; }
footer a:hover { text-decoration: underline; }

/* legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 16px; color: #2B342D; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }

@media (max-width: 860px) {
  nav { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 260px; order: -1; }
  h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  section { padding: 52px 0; }
  h2 { font-size: 28px; }
  .grid3, .two { grid-template-columns: 1fr; gap: 16px; }
  .two { gap: 36px; }
  .tl { grid-template-columns: 1fr; gap: 2px; }
  footer a { margin: 0 18px 0 0; }
}

/* v2 additions */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
p.intro { font-size: 19px; color: #2B342D; max-width: 640px; margin: -12px 0 28px; }
.eng { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.eng-label { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); padding-bottom: 8px; border-bottom: 2px solid var(--sage); margin-bottom: 4px; }
.eng-group:last-child .eng-label { color: var(--muted); border-color: var(--mid); }
.eng-item { padding: 14px 0; border-bottom: 1px solid rgba(79,94,81,.15); }
.eng-item .yr { font-weight: 600; color: var(--label); font-size: 15px; }
.eng-item b { font-weight: 700; font-size: 17px; }
.eng-item span { display: block; color: var(--muted); font-size: 15px; }
.facts.big { margin: -6px 0 28px; }
.facts.big .pill { background: var(--sage); color: #fff; font-weight: 600; font-size: 15px; padding: 8px 18px; }
@media (max-width: 860px) {
  .grid2, .eng { grid-template-columns: 1fr; gap: 16px; }
  .eng { gap: 32px; }
  p.intro { font-size: 17px; }
}
.portrait img { object-position: 50% 30%; }
