@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --background: #07090d;
  --surface: #0e121a;
  --surface-soft: #141a24;
  --text: #f1f3f8;
  --muted: #a7afc0;
  --line: #272e3c;
  --gold: #f6be38;
  --gold-soft: rgba(246, 190, 56, 0.12);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.6;
  background-image: radial-gradient(ellipse 80% 45% at 50% -8%, #141b29, transparent);
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: fixed; z-index: 20; inset: 0 0 auto; padding: 20px 0;
  transition: background .25s ease, padding .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  padding: 12px 0; background: rgba(11, 13, 19, .92);
  border-bottom: 1px solid rgba(39, 46, 60, .8); backdrop-filter: blur(16px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 25px; font-weight: 800; letter-spacing: -.07em; }
.brand span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { padding: 8px 13px; color: var(--muted); border-radius: 999px; font-size: 13px; transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255,255,255,.07); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 999px; padding: 14px 24px; color: #17130a;
  background: var(--gold); font-weight: 800; transition: transform .2s ease, filter .2s ease;
}
.button:hover { filter: brightness(1.1); transform: translateY(-2px); }
.button-small { padding: 10px 18px; font-size: 13px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--text); }

main { min-height: 78vh; padding-top: 76px; }
.page { animation: page-in .45s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero { min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::after {
  content: "KTTI"; position: absolute; z-index: -1; right: -3vw; top: 44%;
  color: transparent; font-size: clamp(160px, 23vw, 330px); font-weight: 800; line-height: 1;
  -webkit-text-stroke: 1px rgba(246,190,56,.1);
}
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: var(--muted); margin-bottom: 28px; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(3.25rem, 8vw, 5.7rem); max-width: 760px; }
h1 .gold { color: var(--gold); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; }
.hero-copy { max-width: 520px; color: var(--muted); font-size: 18px; margin: 30px 0 42px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-outline { color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.button-outline:hover { border-color: #596173; background: rgba(255,255,255,.07); }
.section { padding: 100px 0; border-top: 1px solid rgba(39,46,60,.7); }
.quote { padding: 82px 0; }
.quote p { max-width: 850px; margin: 0 0 18px; font: italic clamp(2rem, 4.3vw, 3.35rem)/1.25 "Lora", serif; }
.quote span { color: var(--muted); font-size: 13px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-heading p { max-width: 300px; margin: 0; color: var(--muted); text-align: right; font-size: 14px; }
.principles { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 70px 1fr 25px; gap: 20px; align-items: center; padding: 28px 16px; border-bottom: 1px solid var(--line); transition: background .2s ease; }
.principle:hover { background: rgba(255,255,255,.025); }
.number { color: rgba(246,190,56,.5); font: 800 23px/1 Menlo, monospace; }
.principle p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.arrow { color: var(--line); font-size: 22px; transition: .2s ease; }
.principle:hover .arrow { color: var(--gold); transform: translateX(4px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split p, .prose { color: var(--muted); font-size: 16px; }
.split h2 { margin-bottom: 24px; }
.link-gold { color: var(--gold); font-size: 14px; font-weight: 800; }
.stack { display: grid; gap: 13px; }
.mini-card, .card { padding: 24px; border: 1px solid var(--line); background: var(--surface); border-radius: 17px; }
.mini-card { display: flex; gap: 16px; }
.dot { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 8px; border-radius: 50%; background: var(--gold); }
.mini-card strong { display: block; margin-bottom: 3px; }
.mini-card span { color: var(--muted); font-size: 13px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta p { color: var(--muted); margin: 10px 0 0; }
.page-head { padding: 75px 0 60px; }
.page-head h1 { font-size: clamp(2.7rem, 6vw, 5rem); margin: 15px 0 20px; }
.page-head > p { max-width: 730px; margin: 0; color: var(--muted); font-size: 18px; }
.band { padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(18,22,32,.55); }
.two-col, .cards-3, .cards-2, .contact-grid { display: grid; gap: 24px; }
.two-col, .cards-2, .contact-grid { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card h2, .card h3 { margin: 16px 0 12px; }
.card p { color: var(--muted); margin: 0; }
.gold-line { width: 40px; height: 4px; background: var(--gold); border-radius: 4px; }
.value-card { min-height: 250px; }
.value-number { color: var(--line); font-size: 46px; font-weight: 800; transition: color .2s ease; }
.value-card:hover .value-number { color: rgba(246,190,56,.28); }
.empty { padding: 58px 24px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border: 1px solid rgba(246,190,56,.25); border-radius: 17px; color: var(--gold); background: var(--gold-soft); font-size: 25px; }
.empty h2 { font-size: 25px; margin-bottom: 12px; }
.empty p { max-width: 480px; margin: auto; }
.info-card .icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 15px; border: 1px solid rgba(246,190,56,.25); border-radius: 12px; color: var(--gold); background: var(--gold-soft); }
.info-card small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-highlight { display: flex; flex-direction: column; justify-content: space-between; min-height: 310px; border-color: rgba(246,190,56,.25); background: linear-gradient(135deg, rgba(246,190,56,.08), var(--surface)); }
.contact-highlight h2 { margin: 18px 0 12px; font-size: 28px; }
.contact-highlight p { margin-bottom: 24px; }
.location { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11,13,19,.5); }
.location small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.location p { margin: 0; color: var(--text); }
.founder-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.initials { display: grid; place-items: center; aspect-ratio: 1; border: 2px solid rgba(246,190,56,.3); border-radius: 24px; color: rgba(241,243,248,.85); font: 700 70px "Lora", serif; background: radial-gradient(ellipse at 50% 120%, rgba(246,190,56,.13), var(--surface) 65%); }
.founder-name { margin-top: 20px; }
.founder-role { color: var(--gold); font-weight: 700; }
.founder-copy { font-size: 18px; }
.founder-quote { margin-top: 34px; border-color: rgba(246,190,56,.3); background: var(--gold-soft); }
.founder-quote p { font: italic 22px/1.55 "Lora", serif; color: var(--text); }
.founder-quote small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.announcement-list { display: grid; gap: 18px; margin-bottom: 22px; }
.announcement-card { padding: 30px; }
.announcement-date { display: inline-block; margin-bottom: 14px; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(246,190,56,.22); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 800; }
.announcement-card h2 { margin-bottom: 10px; font-size: 25px; }
.announcement-card p { color: var(--muted); margin: 0; white-space: pre-wrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.gallery-item { position: relative; overflow: hidden; min-height: 220px; margin: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.gallery-item img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 40px 18px 16px; color: var(--text); background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 13px; font-weight: 700; }
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: rgba(18,22,32,.4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-brand { display: inline-block; margin-bottom: 15px; }
.site-footer p, .site-footer a:not(.brand) { display: block; color: var(--muted); font-size: 13px; }
.site-footer h3 { margin: 0 0 15px; color: var(--text); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.site-footer a:not(.brand):hover { color: var(--gold); }
.footer-bottom { padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.enroll-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.enroll-modal[hidden] { display: none; }
.modal-card { position: relative; width: min(100%, 480px); max-height: calc(100vh - 32px); overflow-y: auto; padding: 34px; color: var(--text); border: 1px solid rgba(246,190,56,.3); border-radius: 22px; background: #0d1119; box-shadow: 0 24px 80px rgba(0,0,0,.7); }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; color: var(--muted); font-size: 28px; }
.dialog-copy { color: var(--muted); font-size: 13px; }
.modal-card form { display: grid; gap: 8px; margin-top: 24px; }
.modal-card label { color: var(--muted); font-size: 12px; font-weight: 700; }
.modal-card input, .modal-card select { width: 100%; padding: 12px 13px; margin-bottom: 8px; color: var(--text); border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--background); }
.modal-card input:focus, .modal-card select:focus { border-color: var(--gold); }
.modal-card code { color: var(--gold); }
.form-status { color: var(--gold); font-size: 12px; }

@media (max-width: 900px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 7px; font-size: 11px; }
  .header-enroll { padding: 9px 13px; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header { padding: 14px 0; }
  .menu-toggle { display: block; }
  .header-enroll { display: none; }
  .main-nav { position: fixed; inset: 0; display: none; flex-direction: column; align-items: stretch; justify-content: center; gap: 2px; padding: 70px 32px 32px; background: var(--background); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 24px; font-weight: 700; }
  main { padding-top: 62px; }
  .hero { min-height: 78vh; }
  .hero-copy { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-heading, .cta { display: block; }
  .section-heading p { margin-top: 16px; text-align: left; }
  .principle { grid-template-columns: 42px 1fr 18px; gap: 10px; padding: 23px 8px; }
  .split, .two-col, .cards-2, .cards-3, .contact-grid, .founder-grid, .footer-grid { grid-template-columns: 1fr; }
  .split, .founder-grid { gap: 35px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .page-head { padding: 55px 0 42px; }
  .page-head > p { font-size: 16px; }
  .founder-grid { gap: 35px; }
  .initials { max-width: 240px; }
  .footer-grid { gap: 28px; padding-bottom: 35px; }
  .cta .button { margin-top: 24px; }
}
.brand img {
    width: 65px;
    height: auto;
    display: block;
}