/* Deep Dive Development - the company pages (25 Nov 2026, Kevan: "DeepDiveDevelopment.com needs to be a website that
   has tabs or pages that consist of our different apps ... what you see at face value is the Deep Dive Development
   logo ... we also have an astronaut").
   Loaded AFTER /site.css and only adds to it. On these pages the page's own light turns navy and ember to match
   Kevan's astronaut art. Blue is for labels, gold stays the one thing to press. Still no shadow or glow behind
   anything. Used by home.html and guides.html (body class "hub"); podforge.html loads it for the phone tab bar only. Linked as /hub.css?v=N - bump N on any change. */

body.hub { --bg: #05080f; --blue: #7ca0e2; --blue-2: #a9c2f1; --ember: #ff7a45; }
body.hub::before {
  background:
    radial-gradient(70vw 80vh at 100% 0%, rgba(52, 92, 170, .22), transparent 64%),
    radial-gradient(60vw 50vh at 100% 108%, rgba(214, 120, 60, .12), transparent 62%),
    var(--bg);
}
.hub .top-in { background: rgba(9, 13, 22, .58); }
.hub .role { color: var(--blue-2); }
.hub ::selection { background: rgba(124, 160, 226, .35); }

/* ---- small parts: the tracked label from the logo's tagline, and the ember line from the wallpapers ---- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--blue-2); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .3em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.ember { position: relative; overflow: visible; width: 100%; height: 1px; margin: 0; border: 0; background: linear-gradient(90deg, #ffd2a6, rgba(255, 196, 150, .6) 34%, rgba(255, 255, 255, .12) 80%, transparent); }
.ember::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

/* ---- home hero: the astronaut fills the first screen, behind the glass top bar ---- */
.dd-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; justify-items: center; margin-top: -80px; padding: 124px var(--gutter) 0; min-height: max(100svh, calc(69.4vw + 500px)); }
.dd-hero-art { position: absolute; inset: 0; z-index: -1; margin: 0; }
.dd-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; -webkit-user-drag: none; user-select: none; }
.dd-hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(5, 8, 15, 0), var(--bg)); }
.dd-hero-copy { display: grid; gap: clamp(20px, 2.2vw, 30px); justify-items: center; text-align: center; width: min(100%, 460px); }
.dd-hero h1 { display: grid; justify-items: inherit; width: 100%; font-size: 13px; line-height: 1; letter-spacing: 0; }
.dd-hero .eyebrow { margin-bottom: clamp(14px, 1.4vw, 20px); }
.dd-logo { width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
/* the logo's stand-in in words, shown only while the logo file is not on the server */
.dd-word { display: none; }
.dd-logo[hidden] + .dd-word { display: grid; gap: 14px; justify-items: inherit; color: var(--ink); font-size: clamp(44px, 5.4vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.dd-word span { font-weight: 500; color: var(--ink-3); }
.dd-word small { color: var(--blue-2); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .3em; text-transform: uppercase; }
.dd-hero .lede { max-width: 36ch; color: var(--ink); }
.dd-hero .ctas { justify-content: center; }
@media (min-width: 861px) and (min-aspect-ratio: 5/4) {
  .dd-hero { align-content: center; justify-items: start; min-height: 100svh; padding: 110px var(--gutter) 9vh; }
  .dd-hero-art img { object-position: 40% 60%; }
  .dd-hero-copy { justify-items: start; text-align: left; width: min(35vw, 620px); }
  .dd-hero .ctas { justify-content: flex-start; }
}

/* ---- a plain page head for the other company pages ---- */
.dd-head { display: grid; gap: 22px; justify-items: start; padding: clamp(40px, 6vw, 96px) var(--gutter) 0; }
.dd-head h1 { max-width: 14ch; }
.dd-head .eyebrow { margin: 0; }
.dd-head .ember { max-width: 720px; }

/* ---- the team: one photo with both of them in it, their words beside it ---- */
.dd-team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
/* until there is one photo of both, their two photos stand side by side; the "founders" art slot replaces the pair */
.dd-faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dd-photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.dd-photo.both { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.dd-photo img { width: 100%; height: 100%; object-fit: cover; }
.dd-team-body > p { margin-top: 18px; max-width: 46ch; font-size: clamp(17px, 1.2vw, 20px); }
.dd-people { display: grid; gap: 14px; margin-top: 30px; }

/* ---- the apps: one card per tab ---- */
.dd-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); align-items: stretch; }
.dd-app { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; justify-items: start; padding: clamp(24px, 2.2vw, 36px); text-decoration: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
a.dd-app:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); }
.dd-app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.dd-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(124, 160, 226, .12); border: 1px solid rgba(124, 160, 226, .28); color: var(--blue-2); }
.dd-ico svg { width: 24px; height: 24px; }
.dd-app h3 { font-size: clamp(26px, 2.2vw, 38px); letter-spacing: -.035em; }
.dd-app .pill i { background: var(--ember); }
.dd-app .pill.on i { background: var(--gold); }
.dd-app .more.muted { color: var(--ink-3); }
.dd-app.one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* ---- phones: the tabs sit at the bottom, icon over label, like the app's own tab bar ---- */
.dd-tabs { display: none; }
@media (max-width: 1280px) { .nav a { padding: 0 11px; } }   /* four tabs plus Sign in and the invite button still fit one line */
@media (max-width: 980px) {
  .dd-tabs { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 6px; border-radius: 28px; background: rgba(9, 13, 22, .78); border: 1px solid var(--line); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); }
  .dd-tabs a { display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 56px; border-radius: 22px; text-decoration: none; color: var(--ink-3); font-size: 12.5px; font-weight: 700; line-height: 1; }
  .dd-tabs a svg { width: 22px; height: 22px; }
  .dd-tabs a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .09); }
  .foot { padding-bottom: 104px; }
  .dd-team, .dd-apps { grid-template-columns: minmax(0, 1fr); }
  .dd-faces { max-width: 640px; }
}
@media (max-width: 680px) {
  .dd-hero { margin-top: -70px; padding-top: 100px; }
  .dd-hero .ctas .btn { flex: 1 1 0; padding: 0 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .dd-hero-copy > * { animation: dd-rise .7s var(--ease) both; }
  .dd-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .dd-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .dd-hero-copy > :nth-child(4) { animation-delay: .24s; }
  @keyframes dd-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
