@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #11140f;
  --paper: #ece5d2;
  --paper-soft: #d8d0bb;
  --ink: #1a1c17;
  --muted: #6f7468;
  --line: rgba(236, 229, 210, 0.14);
  --line-dark: rgba(26, 28, 23, 0.15);
  --moss: #8ea76b;
  --moss-bright: #b7d58a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 999; padding: 10px 14px; border-radius: 10px; background: var(--paper); color: var(--ink); transform: translateY(-150%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; color: var(--paper); border-bottom: 1px solid transparent; transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease; }
.site-header.scrolled { background: rgba(17,20,15,.88); border-bottom-color: var(--line); backdrop-filter: blur(16px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(183,213,138,.4); border-radius: 50%; color: var(--moss-bright); font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .04em; }
.brand-text { font-family: Fraunces, Georgia, serif; font-size: 21px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--paper-soft); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--moss-bright); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--paper); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 19px; height: 2px; margin-inline: auto; border-radius: 99px; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.hero { position: relative; overflow: hidden; min-height: 760px; padding: 170px 0 110px; background: radial-gradient(circle at 16% 18%, rgba(142,167,107,.09), transparent 24rem), radial-gradient(circle at 88% 62%, rgba(199,133,85,.08), transparent 22rem), linear-gradient(180deg,#11140f 0%,#151912 100%); color: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); gap: clamp(48px,8vw,100px); align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--moss); font-family: "DM Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, .section-heading h2, .closing h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.hero h1 { max-width: 830px; margin: 0; font-size: clamp(54px,8vw,105px); }
.hero h1 span { color: var(--moss-bright); }
.hero-intro { max-width: 650px; margin: 32px 0 0; color: #c9c4b5; font-size: clamp(17px,2vw,21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform 150ms ease,background 150ms ease,border-color 150ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--moss-bright); color: #182011; }
.button-primary:hover { background: #c5e59a; }
.button-ghost { border-color: var(--line); color: var(--paper); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(236,229,210,.28); background: rgba(255,255,255,.05); }
.notice-board { position: relative; padding: 35px 30px 30px; background: #d8ceb2; color: #29281f; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.notice-board::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(45,41,30,.12); pointer-events: none; }
.notice-pin { position: absolute; width: 11px; height: 11px; left: 50%; top: 13px; border-radius: 50%; background: #8e593e; box-shadow: 0 2px 4px rgba(0,0,0,.24); }
.notice-kicker { margin: 0 0 12px; font-family: "DM Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #665e4a; }
.notice-board h2 { margin: 0 0 14px; font-family: Fraunces,Georgia,serif; font-size: 30px; line-height: 1.1; }
.notice-board p { margin: 0; color: #4a473b; }
.notice-signoff { margin-top: 22px; font-family: Fraunces,Georgia,serif; font-style: italic; color: #6d624d; }
.hero-divider { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: var(--paper); clip-path: polygon(0 68%,15% 48%,30% 74%,50% 40%,67% 66%,84% 38%,100% 58%,100% 100%,0 100%); }

.section { padding-top: 120px; padding-bottom: 120px; }
.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading h2 { margin: 0; font-size: clamp(42px,6vw,72px); }
.section-heading > p:last-child { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.feature-card { min-height: 345px; padding: 36px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.20); box-shadow: 0 12px 34px rgba(40,39,31,.05); transition: transform 180ms ease,box-shadow 180ms ease,background 180ms ease; }
.feature-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.36); box-shadow: 0 18px 48px rgba(40,39,31,.08); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 55px; border: 1px solid var(--line-dark); border-radius: 14px; color: #59694a; font-size: 21px; }
.card-label, .library-meta { margin: 0 0 8px; color: #748264; font-family: "DM Mono",monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.feature-card h3, .library-item h3 { margin: 0; font-family: Fraunces,Georgia,serif; font-size: 29px; line-height: 1.1; }
.feature-card > p:not(.card-label) { max-width: 560px; color: var(--muted); }
.card-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; }
.card-link-muted { color: #7d8177; }

.dark-section { position: relative; background: #11140f; color: var(--paper); }
.dark-section .section-heading > p:last-child { color: #a8aa9f; }
.rack { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #0c0f0b; box-shadow: var(--shadow); }
.rack-unit { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; min-height: 102px; padding: 20px 26px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg,rgba(255,255,255,.018),rgba(255,255,255,0)); }
.rack-unit:last-child { border-bottom: 0; }
.rack-unit strong { display: block; margin-bottom: 4px; font-family: "DM Mono",monospace; font-size: 13px; letter-spacing: .04em; }
.rack-unit div span { color: #8f9588; font-size: 14px; }
.rack-lights { display: flex; gap: 6px; }
.rack-lights i { width: 7px; height: 7px; border-radius: 50%; background: #5e7d46; box-shadow: 0 0 12px rgba(142,167,107,.35); }
.rack-lights i:nth-child(2) { background: #a77b45; }
.rack-lights i:nth-child(3) { background: #485543; }
.rack-status { color: var(--moss-bright); font-family: "DM Mono",monospace; font-size: 10px; letter-spacing: .11em; }
.privacy-note { margin: 22px 0 0; color: #858b7e; font-size: 13px; }

.library-list { border-top: 1px solid var(--line-dark); }
.library-item { display: grid; grid-template-columns: minmax(230px,.8fr) minmax(0,1fr) auto; gap: 36px; align-items: center; min-height: 145px; padding: 26px 6px; border-bottom: 1px solid var(--line-dark); transition: padding 170ms ease,background 170ms ease; }
.library-item:hover { padding-left: 16px; padding-right: 16px; background: rgba(255,255,255,.18); }
.library-item p:not(.library-meta) { color: var(--muted); }
.library-item > span { font-size: 22px; color: #758463; }

.about-section { background: #d8d0bb; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px,9vw,120px); align-items: start; }
.about-grid .section-heading { margin: 0; }
.about-copy { max-width: 640px; padding-top: 28px; color: #55584f; font-size: 17px; }
.about-copy .lead { margin-top: 0; color: var(--ink); font-family: Fraunces,Georgia,serif; font-size: 28px; line-height: 1.35; }

.closing { padding: 120px 0; background: radial-gradient(circle at 70% 30%,rgba(142,167,107,.12),transparent 24rem),#11140f; color: var(--paper); }
.closing-inner { display: flex; flex-direction: column; align-items: flex-start; }
.closing h2 { max-width: 850px; margin: 0 0 36px; font-size: clamp(48px,7vw,88px); }
.site-footer { padding: 28px 0; background: #0b0d0a; color: #7f857a; border-top: 1px solid rgba(255,255,255,.05); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease,transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 860px) { .hero { min-height: auto; padding-top: 140px; } .hero-grid,.about-grid { grid-template-columns: 1fr; } .notice-board { max-width: 520px; transform: rotate(.6deg); } .card-grid { grid-template-columns: 1fr; } .library-item { grid-template-columns: 1fr auto; gap: 10px 20px; } .library-item > p { grid-column: 1/2; margin-top: 4px; } .library-item > span { grid-column: 2; grid-row: 1/3; } }
@media (max-width: 700px) { .site-nav { display: none; position: absolute; top: 68px; left: 20px; right: 20px; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,20,15,.98); box-shadow: var(--shadow); } .site-nav.open { display: flex; } .site-nav a { padding: 13px 12px; } .menu-button { display: block; } .menu-button[aria-expanded="true"] .menu-icon { background: transparent; } .menu-button[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); } .menu-button[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); } .section,.closing { padding-top: 88px; padding-bottom: 88px; } .feature-card { min-height: 0; padding: 28px; } .card-icon { margin-bottom: 38px; } .rack-unit { grid-template-columns: auto 1fr; } .rack-status { display: none; } .footer-inner { flex-direction: column; gap: 4px; } .footer-inner p { margin: 0; } }
@media (max-width: 480px) { .shell { width: min(calc(100% - 28px),var(--shell)); } .hero h1 { font-size: 49px; } .hero-intro { font-size: 17px; } .hero-actions { align-items: stretch; flex-direction: column; } .button { width: 100%; } .notice-board { padding: 31px 25px 25px; } .section-heading h2 { font-size: 42px; } .about-copy .lead { font-size: 24px; } }
