:root {
  color-scheme: dark;
  --canvas: #0d0e10;
  --surface: #15171b;
  --surface-elevated: #1a1d22;
  --line: rgba(255, 255, 255, .12);
  --text: #f4f5f3;
  --muted: #a8adb5;
  --yellow: #ffc400;
  --yellow-light: #ffd64d;
  --green: #61bb00;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--text); margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { background: var(--yellow); color: #171717; font-weight: 800; left: 1rem; padding: .7rem 1rem; position: fixed; top: -5rem; z-index: 10; }
.skip-link:focus { top: 1rem; }
.shell { margin: 0 auto; max-width: var(--max); padding-left: 28px; padding-right: 28px; width: 100%; }

.site-header { background: rgba(13, 14, 16, .9); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); }
.header-content { align-items: center; display: flex; justify-content: space-between; min-height: 78px; }
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; }
.brand img { display: block; height: 44px; max-width: min(430px, 58vw); object-fit: contain; width: auto; }
.menu-toggle { background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer; display: none; font: inherit; font-size: .88rem; font-weight: 750; letter-spacing: .04em; padding: .65rem .8rem; text-transform: uppercase; }
.site-nav { align-items: center; display: flex; gap: .25rem; }
.site-nav a { border-radius: 4px; color: var(--muted); font-size: .9rem; font-weight: 700; padding: .6rem .75rem; transition: color .16s ease, background .16s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255, 196, 0, .11); color: var(--yellow-light); }

.hero { background-image: radial-gradient(circle at 80% 5%, rgba(97, 187, 0, .16), transparent 25rem), radial-gradient(circle at 15% 0%, rgba(255, 196, 0, .14), transparent 24rem); border-bottom: 1px solid var(--line); padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(4rem, 8vw, 6.75rem); }
.hero-grid { align-items: center; display: grid; gap: clamp(2.5rem, 7vw, 7rem); grid-template-columns: minmax(245px, .78fr) minmax(0, 1.22fr); }
.hero-logo-panel { align-items: center; display: flex; justify-content: center; }
.hero-logo-panel img { display: block; filter: drop-shadow(0 22px 35px rgba(0, 0, 0, .34)); height: auto; max-width: min(100%, 390px); width: 100%; }
.eyebrow { color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .14em; margin: 0 0 1.1rem; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.7rem); letter-spacing: -.065em; line-height: .94; margin-bottom: 1.5rem; max-width: 860px; }
.hero h1 span { color: var(--yellow); }
.hero-copy { color: #c1c5ca; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; margin-bottom: 2rem; max-width: 650px; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: .9rem; font-weight: 800; gap: .45rem; justify-content: center; padding: .85rem 1rem; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #141414; }
.button-secondary { border-color: var(--line); color: var(--text); }
.button-secondary:hover { background: var(--surface-elevated); }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--muted { background: #111316; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header { align-items: end; display: flex; gap: 2rem; justify-content: space-between; margin-bottom: 2rem; }
.section-header h2, .content-heading h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.05em; line-height: 1; margin-bottom: 0; }
.section-lead { color: var(--muted); line-height: 1.6; margin: 0; max-width: 470px; }

.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .45s ease; }
.carousel-slide { flex: 0 0 100%; }
.project-feature { background: linear-gradient(135deg, #202635, #17191e 56%); border: 1px solid rgba(255,255,255,.13); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); min-height: 360px; overflow: hidden; }
.project-feature__copy { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4.4rem); }
.project-feature__copy h3 { font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.055em; line-height: .95; margin-bottom: 1rem; }
.project-feature__copy p { color: #c0c5ce; line-height: 1.6; margin-bottom: 1.6rem; max-width: 450px; }
.project-visual { align-items: center; background: radial-gradient(circle at 52% 35%, rgba(255, 196, 0, .4), transparent 12%), radial-gradient(circle at 60% 46%, rgba(97,187,0,.48), transparent 25%), linear-gradient(145deg, #17202b, #0e1015 72%); display: flex; justify-content: center; min-height: 260px; overflow: hidden; position: relative; }
.project-visual::before { border: 1px solid rgba(255, 196, 0, .45); content: ""; height: 280px; position: absolute; transform: rotate(45deg); width: 280px; }
.project-visual__title { color: #fff; font-size: clamp(2.6rem, 6vw, 5.6rem); font-weight: 900; letter-spacing: -.1em; line-height: .75; position: relative; text-align: center; text-shadow: 0 7px 20px #000; transform: skewY(-7deg); }
.project-visual__title span { color: var(--yellow); display: block; font-size: .38em; letter-spacing: .04em; margin-top: .8rem; text-transform: uppercase; }
.carousel-controls { display: flex; gap: .5rem; margin-top: .8rem; }
.carousel-control { background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 1.1rem; height: 38px; width: 38px; }
.carousel-control:disabled { cursor: default; opacity: .35; }
.carousel-status { color: var(--muted); font-size: .8rem; margin: .55rem 0 0 auto; text-align: right; }

.principles { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: var(--line); border: 1px solid var(--line); }
.principle { background: var(--canvas); min-height: 180px; padding: 1.7rem; }
.principle__number { color: var(--yellow); display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; margin-bottom: 2.8rem; }
.principle h3 { font-size: 1.3rem; letter-spacing: -.025em; margin-bottom: .5rem; }
.principle p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }

.page-intro { background: linear-gradient(135deg, #191b1f, #101114); border-bottom: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.content-heading { max-width: 740px; }
.content-heading h1 { margin-bottom: 1.25rem; }
.content-heading p { color: var(--muted); font-size: 1.1rem; line-height: 1.65; margin-bottom: 0; }
.projects-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.project-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 360px; overflow: hidden; }
.project-card .project-visual { min-height: 205px; }
.project-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.project-card__type { color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-card h2 { font-size: 1.75rem; letter-spacing: -.04em; margin: .45rem 0 .6rem; }
.project-card p { color: var(--muted); line-height: 1.55; margin-bottom: 1.3rem; }
.project-card .button { margin-top: auto; width: max-content; }

.legal-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 760px) 220px; }
.legal-copy { color: #d6d8dc; line-height: 1.7; }
.legal-copy h2 { color: var(--text); font-size: 1.5rem; letter-spacing: -.025em; margin: 2.6rem 0 .8rem; }
.legal-copy h3 { color: var(--text); font-size: 1.05rem; margin: 1.7rem 0 .5rem; }
.legal-copy p { margin-bottom: 1rem; }
.legal-copy ul { margin: .8rem 0 1.25rem; padding-left: 1.25rem; }
.legal-copy li { margin-bottom: .45rem; }
.legal-note { border-left: 3px solid var(--yellow); color: var(--muted); font-size: .92rem; line-height: 1.55; padding: .2rem 0 .2rem 1rem; }
.legal-aside { align-self: start; border-left: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.55; padding-left: 1.2rem; position: sticky; top: 110px; }
.legal-aside strong { color: var(--text); display: block; margin-bottom: .5rem; }
.empty-notice { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; }
.empty-notice h2 { margin-top: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 2.6rem 0; }
.footer-content { align-items: end; display: flex; gap: 2rem; justify-content: space-between; }
.footer-brand { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.footer-brand p { margin: 0; }
.footer-brand p + p { margin-top: .18rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--muted); font-size: .86rem; }
.footer-links a:hover { color: var(--yellow); }

@media (max-width: 720px) {
  .shell { padding-left: 20px; padding-right: 20px; }
  .header-content { min-height: 70px; }
  .brand img { height: 36px; max-width: min(270px, 64vw); }
  .menu-toggle { display: inline-flex; }
  .site-nav { background: #121316; border-bottom: 1px solid var(--line); display: none; flex-direction: column; gap: .15rem; left: 0; padding: .7rem 20px 1rem; position: absolute; right: 0; top: 70px; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { width: 100%; }
  .project-feature { grid-template-columns: 1fr; }
  .project-feature__copy { order: 2; }
  .project-visual { min-height: 235px; }
  .section-header, .footer-content { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .carousel-status { margin-left: 0; text-align: left; }
  .principles { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { border-left: 0; border-top: 1px solid var(--line); position: static; padding: 1.2rem 0 0; }
}

@media (max-width: 440px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo-panel { justify-content: flex-start; }
  .hero-logo-panel img { max-width: 280px; }
}
