/* Obsidian Harbor LLC — staging stylesheet
   Colors taken from the live logo: cream wordmark #ECE8DF, arch gray #575757,
   on a near-black ground that matches the current site. */
:root {
  --bg: #0b0b0b;
  --bg-card: #141414;
  --cream: #ece8df;
  --cream-dim: #c4bfb4;
  --muted: #9a958b;
  --line: #2a2a2a;
  --arch: #575757;
  --focus: #ece8df;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1040px;
  --header-h: 4.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-underline-offset: 0.18em; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cream);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }
.stg {
  background: #1a1a1a;
  color: var(--cream-dim);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid var(--line);
}
.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-block: 0.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  line-height: 0;
}
.brand-mark video,
.brand-mark .brand-static {
  width: 48px;
  height: 48px;
  object-fit: cover;
  display: block;
  background: var(--bg);
}
.brand-static { display: none; }
.brand-wordmark {
  width: 118px;
  height: 48px;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .brand-anim { display: none !important; }
  .brand-static { display: block !important; }
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
nav a:hover, nav a[aria-current="page"] { color: var(--cream); }
main { display: block; }
.hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}
.hero-logo {
  width: 180px;
  margin-bottom: 2rem;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}
h1, h2, h3 { font-weight: 600; color: var(--cream); }
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  font-weight: 600;
  max-width: 30ch;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
}
.lead, .prose {
  max-width: 40rem;
  color: var(--cream-dim);
  margin: 0;
}
.lead { font-size: 1.2rem; max-width: 62rem; }
section { padding: 4rem 0; }
section + section, .band + section, section + .band { border-top: 1px solid var(--line); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.5rem;
}
.card p { margin: 0; color: var(--cream-dim); font-size: 0.98rem; }
.work p, .bio p, .contact p { color: var(--cream-dim); max-width: 40rem; }
.work p, .bio p { margin: 0 0 1rem; }
.bio a, .contact a { color: var(--cream); }
.creds {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--cream);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn:hover { background: var(--cream); color: var(--bg); }
.place { margin: 0; color: var(--muted); font-size: 0.95rem; }
footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--cream); }
.page-hero { padding: 3rem 0 2rem; }
.page-hero h1 { max-width: none; }
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.75rem)); }
  .hero { padding: 3rem 0 2.5rem; }
  section { padding: 3rem 0; }
  .brand { gap: 0.4rem; }
  .brand-mark { flex-basis: 41px; width: 41px; height: 41px; }
  .brand-mark video,
  .brand-mark .brand-static { width: 41px; height: 41px; }
  .brand-wordmark { width: 100px; height: 41px; }
  .hero-logo { width: 148px; }
}
.work strong { color: var(--cream); font-weight: 600; }

/* ---- visual layer ---- */
.hero { border-bottom: 0; padding: 4rem 0 3.5rem; background: radial-gradient(60rem 28rem at 85% 20%, rgba(236,232,223,0.05), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-art { width: min(100%, 22rem); height: auto; margin-inline: auto; display: block; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; }
  .hero-art { width: 100%; max-width: 21rem; margin-inline: auto 0; }
}
.hero h1 { max-width: 22ch; }

/* section dividers */
section { position: relative; }
section + section { border-top: 0; }
section + section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), calc(100% - 2.5rem)); height: 1px;
  background: linear-gradient(90deg, transparent, var(--arch), transparent);
}
section + section::after {
  content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px;
  transform: translateX(-50%) rotate(45deg); background: var(--bg); border: 1px solid var(--arch);
}

.ico { width: 1.5rem; height: 1.5rem; color: var(--cream); display: block; flex: none; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding-bottom: 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 1.5rem; top: 3rem; bottom: 0; width: 1px; background: var(--arch);
}
.node {
  grid-row: 1 / span 3; width: 3rem; height: 3rem; border: 1px solid var(--arch); border-radius: 50%;
  background: var(--bg-card); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.step-n { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); align-self: end; }
.timeline h3 { margin: 0 0 0.2rem; }
.timeline p { margin: 0; color: var(--cream-dim); font-size: 0.95rem; }
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(7, 1fr); column-gap: 0.5rem; }
  .timeline li { display: block; text-align: center; padding: 0 0.4rem; }
  .timeline li:not(:last-child)::before { left: 50%; right: -50%; top: 1.5rem; bottom: auto; width: auto; height: 1px; }
  .node { margin: 0 auto 0.9rem; }
  .step-n { display: block; margin-bottom: 0.25rem; }
  .timeline p { font-size: 0.86rem; line-height: 1.5; }
}

/* stats */
.numbers { background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.stats li { padding: 1.4rem 1rem; text-align: center; border-top: 1px solid var(--line); }
.stats li:first-child { border-top: 0; }
.stat-n { display: block; font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 600; line-height: 1.05; color: var(--cream); letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.stat-l { display: block; color: var(--cream-dim); font-size: 0.92rem; line-height: 1.4; max-width: 14rem; margin-inline: auto; }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li { border-top: 0; border-left: 1px solid var(--line); padding: 0.5rem 1rem; }
  .stats li:first-child { border-left: 0; }
}

/* project types */
.types { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.types .card { flex: 1 1 100%; transition: border-color .2s ease; }
.types .card:hover { border-color: var(--arch); }
.types .ico { color: var(--cream-dim); margin-bottom: 0.8rem; }
@media (min-width: 640px) { .types .card { flex: 0 1 calc((100% - 1rem) / 2); } }
@media (min-width: 960px) { .types .card { flex: 0 1 calc((100% - 3rem) / 4); } }

/* hero mark (option B): logo mark, zoomed out with breathing room */
.hero-art.hero-mark { width: min(78%, 17rem); height: auto; aspect-ratio: 503 / 509; }
@media (min-width: 900px) { .hero-art.hero-mark { width: 100%; max-width: 20rem; margin-inline: auto; } }
