/* Inspirand — designed the way Apple's team would design it.
   Not the apple.com surface; the philosophy: deference, clarity, restraint.
   Type does the work. Monochrome. Hairlines, not bands. One idea per screen.
   Whitespace is the layout. */

:root {
  --bg: oklch(1 0 0);
  --ink: oklch(0.232 0.0038 286.1);
  --muted: oklch(0.54 0.0077 286.1);
  --faint: oklch(0.752 0.0057 286.3);
  --hairline: oklch(0.932 0.0027 286.3);
  --wash: oklch(0.967 0.0013 286.4);
  --radius: 12px;
  --pill: 980px;
  --font: system-ui, -apple-system, "SF Pro Text", "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.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
}

::selection { background: var(--ink); color: oklch(1 0 0); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.wrap.measure { max-width: 760px; }

a { color: inherit; }

/* ---------- Nav: present, then gone ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(1 0 0 / 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.wordmark { font-weight: 650; font-size: 18px; letter-spacing: -0.015em; text-decoration: none; }
.wordmark sup { font-size: 9px; font-weight: 400; color: var(--faint); margin-left: 2px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Actions: one voice ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: oklch(1 0 0);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--pill);
  border: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); background: oklch(0 0 0); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 8px 18px; font-size: 14px; }
.quiet-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.quiet-link:hover { border-color: var(--ink); }

/* ---------- Hero: the words are the design ---------- */
.hero { padding: 170px 0 120px; }
.hero-visual {
  margin-top: 88px;
  aspect-ratio: 16 / 9;
  background: var(--wash);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 30px;
}
.hero h1 {
  font-size: clamp(56px, 10vw, 128px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 36px;
  max-width: 12ch;
}
.hero .lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 48px;
}
.hero-ctas { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; }

/* ---------- Package: a quiet statement, not a billboard ---------- */
.offer {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 120px 0;
}
.offer h2 {
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 24px;
  max-width: 16ch;
}
.offer p {
  font-size: 20px;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 40px;
}
.offer .kicker { margin-bottom: 24px; }

/* ---------- Sections: rhythm, not decoration ---------- */
.section { padding: 150px 0; scroll-margin-top: 60px; }
.section-head { margin-bottom: 80px; }
.section-title {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 700;
}

/* ---------- Work: the list is the gallery ---------- */
.projects { border-top: 1px solid var(--hairline); }
.project { border-bottom: 1px solid var(--hairline); }
.project-head {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr auto 48px;
  align-items: baseline;
  gap: 24px;
  padding: 38px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.project-no { font-size: 14px; color: var(--faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.project-name { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; }
.project-year { font-size: 15px; color: var(--muted); white-space: nowrap; }
.project-toggle {
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300; line-height: 1;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), background 0.2s, color 0.2s;
  background: transparent; color: var(--muted);
}
.project-head:hover .project-toggle { background: var(--ink); border-color: var(--ink); color: oklch(1 0 0); }
.project.open .project-toggle { transform: rotate(45deg); }
.project-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.32, 0.72, 0, 1); }
.project-body-inner { padding: 0 0 48px 96px; max-width: 700px; }
.project-body p { color: var(--muted); font-size: 18px; line-height: 1.6; margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--hairline);
  border-radius: var(--pill);
  padding: 7px 15px;
  color: var(--muted);
}
.projects-note { margin-top: 48px; color: var(--muted); font-size: 17px; }
.projects-note a { color: var(--ink); font-weight: 550; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.projects-note a:hover { border-color: var(--ink); }

/* ---------- Services: plain rows, nothing to hide behind ---------- */
.service-list { border-top: 1px solid var(--hairline); }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.service-row h3 { font-size: 24px; letter-spacing: -0.02em; font-weight: 700; }
.service-row p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 52ch; }

/* ---------- Process: the fewest possible marks ---------- */
.steps { list-style: none; border-top: 1px solid var(--hairline); }
.step {
  display: grid;
  grid-template-columns: 72px 220px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.step-no { font-size: 14px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 26px; letter-spacing: -0.02em; font-weight: 700; }
.step p { color: var(--muted); font-size: 17px; max-width: 56ch; }

/* ---------- About: say it once ---------- */
.about-body p { font-size: 24px; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 28px; max-width: 32ch; }
.about-body p.secondary { font-size: 18px; color: var(--muted); letter-spacing: 0; max-width: 44ch; }
.about-body p strong { font-weight: 700; }
.about-body a { color: var(--ink); font-weight: 550; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.about-body a:hover { border-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-title {
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-weight: 700;
  margin-bottom: 28px;
  max-width: 14ch;
}
.contact .lede { font-size: 20px; color: var(--muted); margin-bottom: 64px; max-width: 40ch; }
.lead-form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 28px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.form-field .optional { font-weight: 400; color: var(--faint); }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  background: oklch(1 0 0);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px oklch(0.232 0.0038 286.1 / 0.06);
}
.form-field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.lead-form .btn { cursor: pointer; font-family: inherit; margin-top: 8px; }
.lead-form .btn:disabled { opacity: 0.5; cursor: wait; transform: none; }
.form-note { margin-top: 28px; font-size: 15px; color: var(--muted); }
.form-note a { color: var(--ink); font-weight: 550; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.form-note a:hover { border-color: var(--ink); }
.form-status { margin-top: 16px; font-size: 15px; color: oklch(0.478 0.193 23.6); min-height: 24px; }

/* ---------- Footer: fine print, nothing more ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 36px 0 48px; }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.footer p, .footer a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 20px; }

/* ---------- Project visuals: slots for real work ---------- */
.project-visual {
  aspect-ratio: 16 / 10;
  background: var(--wash);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 30px;
}
.project-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-label {
  text-align: center;
  color: var(--faint);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.7;
}
.ph-label small { display: block; font-size: 13px; font-weight: 400; }

/* ---------- Reveal: quiet entrance ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.32, 0.72, 0, 1); }
.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; }
  .btn:hover { transform: none; }
}

/* ---------- Responsive: the grid gives up gracefully ---------- */
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 110px 0 100px; }
  .section { padding: 100px 0; }
  .offer { padding: 90px 0; }
  .project-head { grid-template-columns: 1fr auto; }
  .project-no, .project-year { display: none; }
  .project-body-inner { padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
}
