/* Tomorrow Technology Design. Light mode, navy + gold from the logo.
   Same type system as MirrorMeet / Digital Signage Portal: Plus Jakarta Sans headings, IBM Plex text. */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500 800; font-display: swap; src: url('../fonts/PlusJakartaSans-var.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url('../fonts/IBMPlexSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-display: swap; src: url('../fonts/IBMPlexSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url('../fonts/IBMPlexSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('../fonts/IBMPlexMono-Medium.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --bg: #f6f7f9; --surface: #fff; --sunken: #edf0f4; --border: #d8dde5;
  --text: #0f1c2e; --muted: #4a5566; --subtle: #5b6677;
  --navy: #0b2a4a; --navy-2: #14406b; --on-navy: #e8eef6; --on-navy-muted: #b4c3d6;
  --gold: #e8a33d; --gold-border: #cf8d27; --gold-text: #8a5608; --gold-tint: rgba(232,163,61,.16);
  --blue: #2a6f97; --leaf: #3f8f37;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold-border); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.15; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-top: 3px; }
.nav nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav nav a:not(.btn) { color: var(--muted); font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; padding: 10px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.btn:hover { border-color: var(--navy-2); color: var(--navy-2); text-decoration: none; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold-border); color: #1b1203; }
.btn.gold:hover { filter: brightness(1.05); color: #1b1203; }
.btn.lg { padding: 14px 28px; font-size: 17px; }

.kicker { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 16px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font-size: 56px; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-text); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before { content: ""; position: absolute; inset: 6% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.28), rgba(232,163,61,0) 68%); }
.hero-art img { position: relative; width: 100%; max-width: 420px; }
.hero.page { padding-top: 40px; padding-bottom: 56px; }
.hero.page h1 { font-size: 48px; }
.hero-photo { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 28px 56px -32px rgba(11,42,74,.45); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* sections */
.section { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: 34px; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* venture cards (umbrella home) */
.ventures { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.venture { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.venture:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--gold-border); box-shadow: 0 22px 40px -26px rgba(11,42,74,.45); }
.venture .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--sunken); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.venture .ico svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.venture .ico svg .fill { fill: var(--gold); stroke: none; }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; background: var(--gold-tint); color: var(--gold-text); margin-bottom: 12px; }
.venture h3 { font-size: 24px; margin-bottom: 10px; }
.venture p { color: var(--muted); margin-bottom: 20px; }
.venture .go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--navy-2); padding-top: 16px; border-top: 1px solid var(--border); }
.venture .go span:first-child { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--subtle); }
.venture .go b { transition: transform .18s ease; }
.venture:hover .go b { transform: translateX(4px); }
.soon { font-family: var(--mono); font-size: 12px; color: var(--subtle); }

/* dark band */
.band { background: var(--navy); color: var(--on-navy); border-top: 0; }
.band .kicker { color: var(--gold); }
.band h2 { color: #fff; }
.band p { color: var(--on-navy-muted); }
.band a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.band .btn { border-color: rgba(255,255,255,.3); background: transparent; color: #fff; }
.band .btn:hover { border-color: var(--gold); color: var(--gold); }
.band .btn.gold { background: var(--gold); border-color: var(--gold-border); color: #1b1203; }
.band .btn.gold:hover { color: #1b1203; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: 34px; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 18px; }
.stat b { display: block; font-family: var(--display); font-size: 22px; color: #fff; margin-bottom: 2px; }
.stat span { font-size: 14px; color: var(--on-navy-muted); }

/* cards + grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card.photo { padding: 0; overflow: hidden; }
.card.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card.photo .body { padding: 22px 24px 26px; }
.spec { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--border); }
.spec:last-child { border-bottom: 1px solid var(--border); }
.spec i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 9px; }
.spec b { font-family: var(--display); font-weight: 600; font-size: 18px; }
.specs { max-width: 760px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps .n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13.5px; padding: 3px 12px; border-radius: 100px; background: var(--sunken); color: var(--muted); border: 1px solid var(--border); }

/* portfolio */
.project { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--border); }
.project:first-of-type { border-top: 0; }
.project-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; margin-bottom: 28px; align-items: start; }
.project-head h2 { font-size: 34px; }
.project-head .where { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-top: 8px; display: block; }
.project-head p { color: var(--muted); margin: 0 0 .9em; }
.credit { font-size: 14px; color: var(--subtle); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--sunken); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; display: block; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery.big { grid-template-columns: repeat(3, 1fr); }
.gallery.big button { aspect-ratio: 3 / 2; }
.gallery .tall { aspect-ratio: 3 / 4; grid-row: span 1; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; width: 96vw; height: 96vh; }
dialog.lightbox::backdrop { background: rgba(8,20,36,.88); }
.lb { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; }
.lb button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(11,42,74,.8); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.lb button:hover { background: var(--navy-2); }
.lb .x { top: 6px; right: 6px; } .lb .prev { left: 6px; } .lb .next { right: 6px; }
.lb .count { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); color: #fff; background: rgba(11,42,74,.8); font-family: var(--mono); font-size: 12px; padding: 3px 12px; border-radius: 100px; }

/* about */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.about .portrait { position: sticky; top: 24px; }
.about .portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); }
.about .portrait figcaption { margin-top: 12px; font-family: var(--display); font-weight: 600; }
.about .portrait figcaption small { display: block; font-family: var(--sans); font-weight: 400; color: var(--subtle); font-size: 14px; }
.prose p { font-size: 18px; color: var(--muted); }
.prose p:first-of-type { font-size: 21px; color: var(--text); line-height: 1.55; }
.prose h2 { font-size: 30px; margin: 0 0 18px; }
.cred h3 { font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.cred ul { list-style: none; padding: 0; margin: 0; }
.cred li { padding: 11px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 15.5px; }
.cred li b { display: block; color: var(--text); font-family: var(--display); font-weight: 600; font-size: 16.5px; }
.strip { margin-top: 44px !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 16px; margin: 32px 0 28px; }
.contact-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; color: var(--text); }
a.contact-card:hover { text-decoration: none; border-color: var(--gold-border); }
.contact-card small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.contact-card b { font-family: var(--display); font-size: 18px; overflow-wrap: anywhere; }
.checklist { max-width: 640px; color: var(--muted); }
.checklist li { margin-bottom: 4px; }

/* sun-tracking illustration */
.sun-art { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 12px; box-shadow: 0 28px 56px -32px rgba(11,42,74,.4); }
.sun-art svg { width: 100%; height: auto; display: block; }
.sun-art figcaption { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); padding: 6px 10px 6px; }
#orbit { transform-origin: 250px 250px; animation: orbit 16s linear infinite; }
#chair { transform-origin: 250px 250px; animation: orbit 16s linear infinite; }
@keyframes orbit { from { transform: rotate(-70deg); } 50% { transform: rotate(70deg); } to { transform: rotate(-70deg); } }
#orbit, #chair { animation-timing-function: ease-in-out; }
@media (prefers-reduced-motion: reduce) { #orbit, #chair { animation: none; transform: rotate(-20deg); } .venture, .venture .go b, .gallery button img { transition: none; } html { scroll-behavior: auto; } }

/* long strings never push the page wider than the phone */
.venture, .split > *, .hero > *, .contact-card { min-width: 0; }
.venture .go span:first-child { overflow-wrap: anywhere; }
.btn { max-width: 100%; text-align: center; overflow-wrap: anywhere; }

/* umbrella home: title + four clickable boxes */
.portal { max-width: 920px; padding-top: 72px; padding-bottom: 72px; }
.portal h1 { font-size: 46px; letter-spacing: -0.025em; text-align: center; margin-bottom: 10px; }
.portal .tagline { text-align: center; font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--gold-text); margin: 0 0 40px; }
.portal-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.portal-box { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px 28px; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.portal-box:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--gold-border); box-shadow: 0 20px 36px -26px rgba(11,42,74,.5); }
.portal-box .ico { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: var(--sunken); display: flex; align-items: center; justify-content: center; }
.portal-box .ico svg { width: 30px; height: 30px; stroke: var(--navy); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.portal-box .ico svg .fill { fill: var(--gold); stroke: none; }
.portal-box .txt { flex: 1 1 auto; min-width: 0; }
.portal-box b { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.portal-box small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.portal-box .arrow { flex: 0 0 auto; font-size: 22px; color: var(--navy-2); transition: transform .18s ease; }
.portal-box:hover .arrow { transform: translateX(4px); }
.portal-box .thumb { flex: 0 0 auto; width: 176px; height: 118px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); background: var(--sunken); }
@media (max-width: 520px) { .portal { padding-top: 40px; } .portal h1 { font-size: 34px; } .portal .tagline { font-size: 18px; margin-bottom: 28px; } .portal-box { padding: 14px; gap: 12px; } .portal-box .ico, .portal-box .arrow { display: none; } .portal-box .thumb { width: 96px; height: 72px; border-radius: 10px; } .portal-box small { font-size: 14px; } .portal-box b { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .portal-box, .portal-box .arrow { transition: none; } }

/* footer */
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--border); color: var(--subtle); font-size: 14px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.notfound { text-align: center; padding: 96px 24px; }
.notfound h1 { font-size: 56px; margin-bottom: 12px; }

@media (max-width: 900px) {
  .hero, .split, .about, .project-head { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 40px; } .hero.page h1 { font-size: 38px; }
  .hero-art { order: -1; } .hero-art img { max-width: 260px; }
  .ventures, .grid2 { grid-template-columns: 1fr; }
  .grid3, .steps, .contact-grid { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .gallery, .gallery.big { grid-template-columns: repeat(2, 1fr); }
  .about .portrait { position: static; max-width: 340px; }
  .stats { grid-template-columns: 1fr; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .nav nav { gap: 14px; } .brand small { display: none; } .grid4 { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .btn.lg { font-size: 15px; padding: 12px 18px; }
}
