@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; }
:root { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  --bg: #141315; --bg-elevated: #201e22; --text-primary: #f4f0f5;
  --text-secondary: #bcb5c1; --accent: #c4a9db; --border: #3c353f; --detail: #d1b498;
  background: var(--bg); color: var(--text-primary);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 1rem; line-height: 1.65;
}
body[data-theme="light"] {
  color-scheme: light; --bg: #f7f6f8; --bg-elevated: #ffffff;
  --text-primary: #29232e; --text-secondary: #6a606f; --accent: #76518d; --border: #ddd6e1; --detail: #93643d;
}
a { color: inherit; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.page { width: min(1240px, calc(100% - 64px)); margin: auto; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-avatar { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; line-height: 1.2; }
.brand small { color: var(--text-secondary); font-size: .75rem; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.theme-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--text-primary); background: transparent; border: 1px solid var(--border); border-radius: 50%; cursor: pointer;
}
main { display: grid; gap: 72px; }
.hero {
  position: relative; isolation: isolate; min-height: 610px; display: flex; align-items: center;
  margin-top: 24px; overflow: hidden; border-radius: 24px; background: #222024; color: #f7f5fa;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../../data/hero-sculpture.jpg") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,19,22,.72), rgba(20,19,22,.38) 42%, transparent 70%);
}
.hero-content { width: 62%; padding: 48px; }
.eyebrow { color: var(--accent); font: 500 .75rem/1.5 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: 0; }
.hero .eyebrow { color: #c3b2e8; }
h1, h2, h3, .hero-statement { font-family: "Space Grotesk", sans-serif; letter-spacing: 0; }
h1 { font-size: 4.6rem; line-height: 1.06; margin-top: 18px; }
.name-period { color: #b5a1e3; }
.hero-statement { font-size: 2.4rem; line-height: 1.15; margin-top: 20px; font-weight: 500; }
.lead { max-width: 460px; margin-top: 20px; color: #c7c4ce; font-size: 1rem; line-height: 1.7; }
.availability-pill { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .82rem; color: #d6d2de; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #c3b2e8; flex: 0 0 7px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px;
  padding: 12px 20px; border: 1px solid var(--border); border-radius: 6px;
  text-decoration: none; font-size: .9rem; font-weight: 600; line-height: 1.3;
  transition: background .2s ease, border-color .2s ease;
}
.btn.primary { color: #fff; background: linear-gradient(115deg, #815496, #655386); border-color: #a480b5; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.btn.primary:hover { background: linear-gradient(115deg, #9060a7, #746197); }
.btn.subtle { background: transparent; }
.btn.subtle:hover { border-color: var(--accent); }
.hero .btn.subtle { border-color: #68636f; background: #25242a; color: #f7f5fa; }
.signal-panel { margin-top: -72px; border-bottom: 1px solid var(--border); padding: 26px 0; }
.signal-list { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr .75fr; gap: 24px; }
.signal-list dt { color: var(--text-secondary); font: 500 .7rem/1.5 "JetBrains Mono", monospace; text-transform: uppercase; }
.signal-list dd { font-size: .84rem; line-height: 1.55; margin-top: 8px; }
.service-card p, .project-body p, .contact p { color: var(--text-secondary); font-size: .93rem; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: 2.3rem; line-height: 1.2; margin-top: 10px; max-width: 720px; }
.section-heading.split { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; }
.service-grid, .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { border-top: 1px solid var(--border); padding-top: 24px; }
.service-number { display: block; color: var(--detail); font: 500 .85rem "JetBrains Mono", monospace; margin-bottom: 20px; }
.service-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 12px; }
.project-card {
  display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; background: var(--bg-elevated); min-width: 0;
  transition: border-color .2s ease;
}
.project-card:hover { border-color: var(--accent); }
.project-thumb {
  aspect-ratio: 16 / 10; background: var(--thumb-image) center / cover no-repeat;
}
.project-thumb span { display: none; }
.project-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px; }
.project-body h3 { font-size: 1.4rem; line-height: 1.2; }
.project-body h3::after { content: "↗"; float: right; color: var(--accent); font-size: 1.1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; padding-top: 12px; }
.tag-row span { font: 500 .68rem/1.5 "JetBrains Mono", monospace; color: var(--text-secondary); }
.contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; border-top: 1px solid var(--border); padding: 48px 0; }
.contact h2 { font-size: 2.4rem; line-height: 1.15; max-width: 640px; margin: 12px 0 20px; }
.contact-actions { display: grid; grid-template-columns: repeat(4, 48px); gap: 12px; justify-content: center; }
.contact-mail { grid-row: 1; grid-column: 1 / -1; margin-bottom: 8px; }
.social-link {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border);
  background: var(--bg-elevated); border-radius: 50%; color: var(--text-primary); text-decoration: none; cursor: pointer;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }
.social-link i { font-size: 1.2rem; line-height: 1; }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); padding: 24px 0 32px; font-size: .8rem; color: var(--text-secondary); }
.site-footer a { text-decoration: none; min-height: 44px; }
.copy-toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 30; width: min(360px, calc(100% - 32px));
  padding: 16px 20px; display: grid; background: var(--bg-elevated); color: var(--text-primary);
  border: 1px solid var(--accent); border-radius: 8px; text-align: center; opacity: 0;
  transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
.copy-toast span { font-size: .82rem; color: var(--text-secondary); }
@media (max-width: 1000px) {
  .hero-content { width: 70%; padding: 32px; }
  h1 { font-size: 3.8rem; }
  .hero-statement { font-size: 2.1rem; }
  .signal-list { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact-actions { justify-self: center; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .hero { min-height: 610px; }
  .hero::before { background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(20,19,22,.92), rgba(20,19,22,.6) 55%, rgba(20,19,22,.1)); }
  .hero-content { width: 80%; padding: 32px; }
}
@media (max-width: 640px) {
  :root { scroll-padding-top: 24px; }
  .page { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 8px; padding: 16px 0 12px; }
  .header-actions { order: 1; }
  .site-nav { order: 2; width: 100%; justify-content: space-between; gap: 4px; }
  .site-nav a { font-size: .8rem; }
  main { gap: 48px; }
  .hero { min-height: 640px; align-items: flex-end; margin-top: 16px; border-radius: 18px; }
  .hero::before { background-size: auto 390px; background-position: right top; }
  .hero::after { background: linear-gradient(0deg, #222024 0%, #222024 37%, rgba(34,32,36,.8) 57%, transparent 82%); }
  .hero-content { width: 100%; padding: 26px 22px; }
  .hero .eyebrow { max-width: 240px; font-size: .65rem; }
  h1 { font-size: 2.7rem; margin-top: 14px; }
  .hero-statement { font-size: 1.7rem; margin-top: 12px; }
  .lead { font-size: .88rem; line-height: 1.65; margin-top: 14px; }
  .availability-pill { margin-top: 18px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1; padding: 12px 10px; font-size: .82rem; }
  .signal-panel { margin-top: -48px; }
  .signal-list { grid-template-columns: 1fr 1fr; gap: 20px; }
  .signal-list dd { font-size: .8rem; }
  .service-grid, .projects-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading h2, .contact h2 { font-size: 1.85rem; }
  .section-heading.split { display: block; }
  .section-heading.split .btn { margin-top: 20px; }
  .project-body { padding: 22px; }
  .contact { gap: 28px; padding: 32px 0; }
}
@media (max-width: 380px) {
  .hero { min-height: 690px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
