/* The Sixty Group — shared base + portfolio data styling */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&family=Manrope:wght@300;400;500;600;700&family=Italianno&display=swap");

@font-face {
  font-family: "Good Times";
  src: url("fonts/Good_Times_Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* paper-toned base */
  --bone:        #f5f2ec;
  --bone-deep:   #ece7dd;
  --bone-line:   #d9d2c5;
  --bone-line-soft: #e6dfd1;
  --ink:         #1a1a1a;
  --ink-soft:    #4a463f;
  --ink-mute:    #87807460;
  --ink-mute-1:  #6b6357;
  --ink-mute-2:  #9a9387;
  --orange:      #e0531f;
  --orange-soft: #e0531f1a;

  --font-sans:    "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-display: "Good Times", "Manrope", var(--font-sans);
  --font-serif:   "Cormorant Garamond", "Times New Roman", serif;
  --font-script-hand: "Italianno", cursive;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--orange); color: var(--bone); }

/* mono number / tabular */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute-1);
}

/* hairline rule */
.hr {
  height: 1px;
  background: var(--bone-line);
  border: 0;
  margin: 0;
}

/* ===== shared modal (portfolio sheet) ===== */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.32);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  z-index: 50;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 92vw);
  background: var(--bone);
  border-left: 1px solid var(--bone-line);
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 60;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sheet.open { transform: translateX(0); }

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--bone-line-soft);
}
.sheet-close {
  background: transparent;
  border: 1px solid var(--bone-line);
  color: var(--ink-mute-1);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.sheet-close:hover { color: var(--ink); border-color: var(--ink); }

.sheet-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

.sheet-meta {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 24px;
  padding: 24px 0;
  border-top: 1px solid var(--bone-line-soft);
  border-bottom: 1px solid var(--bone-line-soft);
  margin: 28px 0;
}
.sheet-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute-1);
  text-transform: uppercase;
}
.sheet-meta dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  margin-right: 8px;
  vertical-align: middle;
}
.status-dot.legacy  { background: var(--ink-mute-2); }
.status-dot.development { background: #f59e0b; }
