/* True Capacity Holdings — shared stylesheet for interior pages.
   index.html keeps its own inline styles and does not load this file. */

:root {
  --ink: #1C1A17;
  --paper: #F4F1EA;
  --space: #04070C;
  --sage: #8FAE9C;
  --rule: rgba(244, 241, 234, 0.15);
  --quiet: rgba(244, 241, 234, 0.62);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html {
  background: var(--space);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--space);
  color: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--paper); }
a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.7);
  outline-offset: 4px;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border: 0.5px solid var(--rule);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus {
  left: clamp(18px, 5vw, 28px);
  top: calc(12px + var(--safe-t));
}

/* ---------- Page shell ---------- */
.shell {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: clamp(18px, 5vw, 28px);
  padding-right: clamp(18px, 5vw, 28px);
}

/* ---------- Header ---------- */
.site-head {
  position: relative;
  z-index: 20;
  border-bottom: 0.5px solid rgba(244, 241, 234, 0.12);
}
.site-head .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: calc(20px + var(--safe-t));
  padding-bottom: 20px;
}

/* Wordmark lockup — same construction as the homepage, smaller. */
.lockup {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: var(--paper);
}
.lockup .name {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(19px, 5vw, 24px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.lockup .sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 2vw, 10px);
  margin-top: 7px;
}
.lockup .sub .rule {
  width: clamp(12px, 4vw, 18px);
  height: 1px;
  background: rgba(244, 241, 234, 0.55);
  flex: none;
}
.lockup .sub .label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(8px, 2.2vw, 10px);
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: rgba(244, 241, 234, 0.75);
  text-transform: uppercase;
  white-space: nowrap;
}
.lockup:hover .name { color: var(--paper); }

/* ---------- Hamburger ---------- */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  margin: -8px;
  cursor: pointer;
  border-radius: 2px;
  flex: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  opacity: 0.85;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.hamburger:focus-visible { outline: 1px solid rgba(244, 241, 234, 0.6); outline-offset: 4px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Menu panel ---------- */
#menu-panel {
  position: absolute;
  top: calc(74px + var(--safe-t));
  right: clamp(18px, 5vw, 28px);
  z-index: 21;
  background: rgba(28, 26, 23, 0.96);
  border: 0.5px solid var(--rule);
  padding: 20px 24px;
  min-width: 230px;
  max-width: calc(100vw - 36px);
  font-family: Georgia, 'Times New Roman', serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  backdrop-filter: blur(6px);
}
#menu-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }

#menu-panel h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 10px;
}
#menu-panel ul { list-style: none; margin: 0 0 18px; padding: 0; }
#menu-panel ul:last-of-type { margin-bottom: 0; }
#menu-panel li {
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 0.5px solid rgba(244, 241, 234, 0.12);
}
#menu-panel li:last-child { border-bottom: none; }
#menu-panel a {
  display: block;
  padding: 7px 0;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.18s ease;
}
#menu-panel a:hover,
#menu-panel a:focus-visible { color: var(--sage); outline: none; }
#menu-panel a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
#menu-panel a[aria-current="page"] { color: var(--sage); }

/* ---------- Main content ---------- */
main { display: block; }
.page {
  padding-top: clamp(48px, 10vw, 88px);
  padding-bottom: clamp(56px, 10vw, 96px);
}

.eyebrow {
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 18px;
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
}

.lede {
  font-size: clamp(18px, 3.4vw, 21px);
  line-height: 1.6;
  color: var(--paper);
  margin: 0 0 34px;
  max-width: 34em;
}

h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
  font-size: clamp(19px, 4vw, 23px);
  line-height: 1.3;
  margin: 0 0 14px;
}

h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
}

p { margin: 0 0 18px; max-width: 34em; }
p:last-child { margin-bottom: 0; }

section {
  border-top: 0.5px solid rgba(244, 241, 234, 0.12);
  padding-top: clamp(28px, 5vw, 40px);
  margin-top: clamp(34px, 6vw, 52px);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 34em;
}
.list li {
  border-bottom: 0.5px solid rgba(244, 241, 234, 0.12);
  padding: 12px 0;
}
.list li:last-child { border-bottom: none; }

.detail {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 34em;
}
.detail li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  border-bottom: 0.5px solid rgba(244, 241, 234, 0.12);
  padding: 12px 0;
  font-size: 15px;
}
.detail li:last-child { border-bottom: none; }
.detail .key {
  flex: none;
  width: 9.5em;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 2.1;
  color: var(--sage);
}
.detail .val { flex: 1 1 14em; min-width: 0; }

/* Status marker for in-development ventures. */
.status {
  display: inline-block;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  border: 0.5px solid rgba(143, 174, 156, 0.5);
  padding: 4px 10px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.note {
  font-size: 15px;
  color: var(--quiet);
  max-width: 34em;
}

/* Venture index entries */
.venture {
  border-bottom: 0.5px solid rgba(244, 241, 234, 0.12);
  padding: 22px 0;
}
.venture:last-of-type { border-bottom: none; }
.venture h3 { margin-bottom: 6px; }
.venture h3 a { color: var(--paper); text-decoration: none; border-bottom: 0.5px solid rgba(244, 241, 234, 0.35); }
.venture h3 a:hover { color: var(--sage); border-bottom-color: rgba(143, 174, 156, 0.6); }
.venture p { margin: 0; font-size: 16px; color: var(--quiet); }
.venture .meta {
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 8px;
}

/* Inline prose links */
main p a,
main li a,
.foot-nav a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(244, 241, 234, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}
main p a:hover,
main li a:hover,
.foot-nav a:hover {
  color: var(--sage);
  border-bottom-color: rgba(143, 174, 156, 0.6);
}

.mailto {
  font-size: clamp(19px, 4.6vw, 26px);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.site-foot {
  border-top: 0.5px solid rgba(244, 241, 234, 0.12);
  padding-top: clamp(28px, 5vw, 36px);
  padding-bottom: calc(clamp(28px, 5vw, 36px) + var(--safe-b));
}
.foot-nav {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14px;
}
.foot-nav a { padding: 2px 0; }
.site-foot .legal {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 234, 0.42);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .detail li { display: block; }
  .detail .key { width: auto; display: block; line-height: 1.6; margin-bottom: 2px; }
}
