/* Inspirand — minimal studio site */

:root {
  --bg: #FAFAF9;
  --tint: #F3F3F1;
  --ink: #141414;
  --muted: #6E6E6A;
  --line: #E6E6E2;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 760px; }

a { color: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.wordmark sup { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 1px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 130px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 30px;
}
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 620px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; scroll-margin-top: 70px; }
.section-tint { background: var(--tint); }
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 64px;
}

/* ---------- Projects ---------- */
.projects { border-top: 1px solid var(--line); }
.project { border-bottom: 1px solid var(--line); }
.project-head {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 34px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.project-no { font-size: 14px; color: var(--muted); font-weight: 500; }
.project-name { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.025em; }
.project-year { font-size: 15px; color: var(--muted); white-space: nowrap; }
.project-toggle {
  grid-column: 3;
  justify-self: end;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  transition: transform 0.25s ease, background 0.2s;
  background: transparent; color: inherit;
}
.project-head:hover .project-toggle { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.project.open .project-toggle { transform: rotate(45deg); }
.project-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.project-body-inner { padding: 0 0 40px 84px; max-width: 720px; }
.project-body p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--muted);
  background: var(--bg);
}
.projects-note { margin-top: 36px; color: var(--muted); font-size: 16px; }
.projects-note a { color: var(--ink); font-weight: 600; }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service { background: var(--bg); padding: 38px 32px; }
.service h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 16px; }

/* ---------- Process ---------- */
.steps { list-style: none; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.step-no { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; }
.step h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 640px; }

/* ---------- About ---------- */
.about-body p { font-size: 20px; line-height: 1.65; color: var(--muted); margin-bottom: 22px; }
.about-body p strong { color: var(--ink); font-weight: 650; }
.about-body a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); }

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact-title {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer p, .footer a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .project-body { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 100px 0 90px; }
  .section { padding: 80px 0; }
  .project-head { grid-template-columns: 1fr auto; }
  .project-no { display: none; }
  .project-body-inner { padding-left: 0; }
  .step { grid-template-columns: 1fr; gap: 8px; }
}
