@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --olive: #2e3a1f; --accent: #5f7a2b; --lime: #a9bf5f;
  --fg: #1c2116; --muted: #5a6150; --line: #e3e5da; --soft: #f4f5ee; --badge: #e7ecd6;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  interpolate-size: allow-keywords;
  font: 16px/1.65 "Inter", system-ui, -apple-system, sans-serif;
  color: var(--fg); background: #fff; font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.w { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.skip-link { position: absolute; top: -100px; left: 20px; background: #fff; padding: 12px; z-index: 5; }
.skip-link:focus { top: 10px; }

/* top bar + header */
.top { background: var(--olive); color: #d6dcc4; font-size: 12px; }
.top .w { display: flex; justify-content: space-between; height: 36px; align-items: center; }
header { border-bottom: 1px solid var(--line); background: #fff; }
header .w { display: flex; justify-content: space-between; align-items: center; height: 80px; gap: 16px; }
.mark { display: inline-block; text-decoration: none; color: var(--olive); font: 700 22px var(--display); letter-spacing: -.02em; min-height: 44px; line-height: 44px; }
.mark span { font-weight: 500; color: var(--accent); }
.site-nav { display: flex; gap: 6px; align-items: center; font: 500 15px "Inter"; }
.site-nav a { position: relative; color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 6px; transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--soft); color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--olive); background: var(--soft); }
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero-home .hero-in { grid-template-columns: minmax(0, 1fr) 280px; padding-top: 88px; padding-bottom: 80px; }
h1 { font: 700 52px/1.08 var(--display); letter-spacing: -.03em; color: var(--olive); margin: 0 0 24px; max-width: 820px; }
.hero:not(.hero-home) h1 { font-size: 46px; }
.lede { font-size: 18px; color: var(--muted); margin: 0; max-width: 640px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn, .ghost { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; text-decoration: none; font-weight: 500;
  transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn { background: var(--olive); color: #fff; }
.btn:hover { background: var(--accent); }
.ghost { color: var(--olive); border: 1px solid #cfd3c2; background: #fff; }
.ghost:hover { border-color: var(--olive); }
.btn:hover, .ghost:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(46, 58, 31, .5); }
.btn:active, .ghost:active { transform: none; }
.btn::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: translateX(-120%); }
.btn:hover::after { animation: sheen .8s ease; }
.arr { display: inline-block; transition: transform .3s var(--ease); }
a:hover .arr { transform: translateX(4px); }
.card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 12px 32px -16px rgba(46, 58, 31, .28); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; }
.card b { display: block; margin-top: 12px; color: var(--olive); }
.card span { font-size: 13px; color: var(--muted); }
.rings { position: absolute; right: -180px; top: -140px; width: 760px; height: 760px; pointer-events: none; }
.rings i { position: absolute; inset: 0; border: 1px solid rgba(95, 122, 43, .35); border-radius: 50%; opacity: 0; animation: ring 8s linear infinite; }
.rings i:nth-child(2) { animation-delay: 2s; } .rings i:nth-child(3) { animation-delay: 4s; } .rings i:nth-child(4) { animation-delay: 6s; }
.hero:not(.hero-home) .rings { opacity: .6; top: -320px; }
.reference-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 18px 0 0; font-weight: 500; }
.reference-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* content */
.content { padding-top: 8px; }
.sec { padding: 64px 0 8px; }
.sec h2, .panel h2 { font: 700 30px/1.2 var(--display); letter-spacing: -.02em; color: var(--olive); margin: 0 0 20px; scroll-margin-top: 24px; }
.sec-body > p, .sec-body > ul, .panel p { max-width: 720px; color: #3a4032; margin: 0 0 16px; }
.sec-body h3 { font: 600 19px/1.35 var(--display); color: var(--olive); margin: 28px 0 6px; }
.sec-body h3 + p { margin-top: 0; }
p.stack { font: 500 13px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: var(--accent); letter-spacing: .01em; }
p.role { display: inline-block; font: 600 13px "Inter"; color: var(--accent); background: var(--badge); padding: 4px 12px; border-radius: 999px; margin: -8px 0 16px; }
code { font: .9em ui-monospace, "SF Mono", Menlo, monospace; background: var(--soft); padding: 1px 5px; border-radius: 4px; }

/* facts */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.proof b { display: block; font: 700 40px/1.1 var(--display); color: var(--olive); letter-spacing: -.02em; }
.proof span { color: var(--muted); font-size: 14px; }
.proof b { animation: rise .8s .3s var(--ease) both; }

/* panel */
.panel { margin-top: 64px; background: var(--soft); border-radius: 16px; padding: 48px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }

/* cards (Card) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: 8px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; transition: border-color .2s, box-shadow .3s; }
.svc-card:hover { border-color: #a7ad96; box-shadow: 0 12px 28px -18px rgba(46, 58, 31, .45); }
.svc-card h3 { font: 600 20px/1.3 var(--display); color: var(--olive); margin: 0 0 10px; }
.svc-card p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.svc-card .more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 500; }

/* Items / Item (work entries) */
.references { display: grid; gap: 16px; margin-top: 8px; }
.references article { border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; background: #fff; scroll-margin-top: 24px; transition: border-color .2s, box-shadow .3s, transform .3s var(--ease); }
.references article:hover { border-color: #a7ad96; box-shadow: 0 12px 28px -18px rgba(46, 58, 31, .45); }
.references article:target { border-color: var(--olive); }
.references h3 { font: 600 20px/1.35 var(--display); color: var(--olive); margin: 0 0 8px; }
.references p { color: #3a4032; margin: 0 0 12px; max-width: 760px; }
.references .reference-meta { font: 600 12px "Inter"; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.references > h3 { margin-top: 12px; }
.references details summary { cursor: pointer; color: var(--olive); font-weight: 600; padding: 10px 0; }
.references details summary span { margin-left: 10px; text-transform: none; letter-spacing: 0; }
.references iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; margin: 8px 0 12px; }
.references .reference-links { margin-top: 4px; }

/* cta + footer */
.cta { position: relative; overflow: hidden; margin: 80px 0 72px; background: var(--olive); color: #fff; border-radius: 16px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta p { position: relative; font: 600 24px/1.35 var(--display); margin: 0; max-width: 580px; }
.cta .btn { position: relative; background: #fff; color: var(--olive); white-space: nowrap; }
.cta .btn:hover { background: var(--badge); }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(169, 191, 95, .25); box-shadow: 0 0 0 40px rgba(169, 191, 95, .05), 0 0 0 80px rgba(169, 191, 95, .03); animation: float 10s ease-in-out infinite; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .w { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 32px; }
footer p { margin: 0; }
footer nav { display: flex; gap: 20px; }
footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--olive); }

/* motion: CSS only, the CSP is script-src 'none' */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ring { 0% { transform: scale(.2); opacity: 0; } 15% { opacity: .55; } 100% { transform: scale(1); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-6px) rotate(.4deg); } }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(220%); } }
h1 { animation: rise .8s .15s var(--ease) both; }
.lede { animation: rise .8s .28s var(--ease) both; }
.btns, .hero .reference-links { animation: rise .8s .4s var(--ease) both; }
.card { animation: rise .9s .35s var(--ease) both; }
.card img { animation: float 9s 1.4s ease-in-out infinite; }
@supports (animation-timeline: view()) {
  .sec h2, .sec-body > *, .panel, .svc-card, .references article, .cta { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rings { display: none; }
}

@media (max-width: 820px) {
  .w { padding: 0 20px; }
  .top .w > span:first-child { display: none; }
  .top .w { justify-content: flex-end; height: 32px; }
  header .w { height: 68px; }
  .mark { font-size: 18px; }
  .site-nav { gap: 0; font-size: 14px; }
  .site-nav a { padding: 10px 9px; }
  .site-nav a::after { left: 9px; right: 9px; }
  .hero-home .hero-in, .hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 48px; }
  .card { max-width: 200px; order: -1; }
  h1, .hero:not(.hero-home) h1 { font-size: 34px; }
  .proof, .cards { grid-template-columns: minmax(0, 1fr); }
  .proof { gap: 20px; padding: 36px 0; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px; margin-top: 40px; }
  .sec { padding-top: 48px; }
  .references article { padding: 20px; }
  .cta { flex-direction: column; align-items: start; padding: 32px; margin: 56px 0 48px; }
  .cta p { font-size: 20px; }
  .cta .btn { white-space: normal; }
  footer .w { flex-direction: column; align-items: start; gap: 0; }
}
.references:not(:has(> article)) { display: block; }
.references:not(:has(> article)) > h3 { font: 600 19px/1.35 var(--display); color: var(--olive); margin: 28px 0 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.references:not(:has(> article)) > p { color: #3a4032; max-width: 720px; }
.references ul { max-width: 720px; margin: 0 0 16px; padding-left: 20px; color: #3a4032; }
.references li { margin: 0 0 10px; padding-left: 4px; }
.references li::marker { color: var(--accent); }
.references li strong { color: var(--olive); font-weight: 600; }
.more { text-decoration: none; } .more:hover { text-decoration: underline; }
.cta .avail { display: flex; align-items: center; gap: 12px; font: 500 14px/1.4 "Inter"; color: #d6dcc4; margin: 0 0 14px; }
.spots { display: inline-flex; gap: 6px; }
.spots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--lime); }
.spots i.taken { background: var(--lime); }
.top .status { display: inline-flex; align-items: center; gap: 10px; }
.top .spots i { width: 9px; height: 9px; border-width: 1.5px; }
