/* Paper Lamps studio site */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("/fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #1B1A17;
  --paper: #F6F1E7;
  --card: #EDE5D4;
  --line: #DCD3BF;
  --dash: #C9BFA8;
  --muted: #5A554B;
  --body: #34312B;
  --lamp: #F2A93B;
  --ember: #A84E0C;
  --glow: rgba(242, 169, 59, 0.55);
  --display: "Space Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--ember); }
img, svg { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 8px; z-index: 10; }

/* Logo */
.lamp-mark { position: relative; flex: none; width: 34px; height: 34px; background: var(--ink); }
.lamp-mark::after { content: ""; position: absolute; right: 15%; top: 15%; width: 21%; height: 21%; background: var(--lamp); box-shadow: 0 0 6px 2px rgba(242, 169, 59, 0.5); }
.lamp-mark.inverse { background: var(--paper); width: 26px; height: 26px; }
.lamp-mark.inverse::after { box-shadow: none; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; padding: 12px 0; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 999px; background: var(--card); }
.pill::before { content: ""; width: 8px; height: 8px; background: var(--lamp); box-shadow: 0 0 6px 2px rgba(242, 169, 59, 0.6); }
h1 { margin: 24px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.035em; }
.lede { margin: 28px 0 0; font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 600px; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { height: 56px; padding: 0 28px; border-radius: 12px; display: inline-flex; align-items: center; font-weight: 700; font-size: 17px; text-decoration: none; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: var(--lamp); }
.btn-line { border: 1.5px solid var(--ink); }
.hero-art { flex: 1 1 320px; display: flex; justify-content: center; }
.hero-frame { padding: 48px; border-radius: 32px; background: var(--ink); }
.block { position: relative; width: 260px; height: 260px; background: var(--paper); padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 0.92; letter-spacing: -0.035em; box-shadow: 0 0 80px 10px rgba(242, 169, 59, 0.22); }
.block::after { content: ""; position: absolute; right: 26px; top: 26px; width: 30px; height: 30px; background: var(--lamp); box-shadow: 0 0 26px 8px var(--glow); }

/* Sections */
section { scroll-margin-top: 16px; }
.band { background: var(--card); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 48px; letter-spacing: -0.03em; }
.sub { margin: 12px 0 0; font-size: 17px; color: var(--muted); }
.section-head .sub { margin: 0; }

/* Project cards */
.projects { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.project { display: flex; flex-direction: column; min-height: 360px; padding: 32px; border-radius: 24px; text-decoration: none; transition: transform 0.15s ease; }
.project:hover { transform: translateY(-3px); }
.project-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.project-grow { flex: 1; }
.project-icon { width: 72px; height: 72px; border-radius: 17px; }
.tag { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.project p { margin: 8px 0 0; font-size: 18px; line-height: 1.5; max-width: 440px; }
.project-link { margin-top: 20px; font-weight: 700; font-size: 16px; }

.folio { color: #EDE6D6; background-color: #141B33; background-image: radial-gradient(circle at 75% 20%, rgba(120, 140, 220, 0.28), transparent 50%); }
.folio:hover { color: #EDE6D6; }
.folio .tag { background: #F2C14E; color: #141B33; }
.folio .project-name { margin-top: 40px; font-family: "Young Serif", serif; font-size: 44px; color: #F2C14E; }
.folio p { color: #C9CFEA; }
.folio .project-link { color: #F2C14E; }

.boring { color: #FFFFFF; background: #000000; }
.boring:hover { color: #FFFFFF; }
.boring .tag { background: #FFFFFF; color: #000000; }
.boring .project-name { margin-top: 40px; font-weight: 700; font-size: 40px; letter-spacing: -0.03em; }
.boring p { color: #A1A1AA; }
.bs-icon { position: relative; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.bs-icon span { position: absolute; top: 22px; width: 9px; height: 27px; background: #FFF; }
.bs-icon span:nth-child(1) { left: 18px; }
.bs-icon span:nth-child(2) { left: 31.5px; height: 9px; }
.bs-icon span:nth-child(3) { left: 45px; }

/* Coming soon */
.soon { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.soon-card { border: 1.5px dashed var(--dash); border-radius: 24px; padding: 28px; }
.soon-card .project-top { align-items: center; }
.soon-card .tag { background: var(--card); color: var(--muted); }
h3 { margin: 28px 0 0; font-family: var(--display); font-size: 28px; letter-spacing: -0.02em; }
h3 small { font-size: 16px; font-weight: 500; color: var(--muted); }
.soon-card p { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.notify { display: flex; flex-direction: column; border-radius: 24px; padding: 28px; background: var(--ink); color: var(--paper); }
.notify::before { content: ""; width: 12px; height: 12px; background: var(--lamp); box-shadow: 0 0 10px 3px var(--glow); }
.notify h3 { margin-top: 24px; }
.notify p { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: #C4BCAC; flex: 1; }
.btn-lamp { margin-top: 24px; height: 52px; border-radius: 12px; background: var(--lamp); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; text-decoration: none; }
.btn-lamp:hover { color: var(--ink); background: #F7BD62; }

/* About */
.about { border-top: 1px solid var(--line); }
.about .wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.about h2 { flex: 1 1 280px; }
.about-copy { flex: 999 1 520px; min-width: 0; font-size: 19px; line-height: 1.65; color: var(--body); }
.about-copy p { margin: 0 0 20px; }

/* Footer */
.site-footer { background: var(--ink); color: #C4BCAC; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 56px; font-size: 15px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--lamp); }

/* 404 */
.lost { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 96px; }

@media (max-width: 600px) {
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .hero-frame { padding: 28px; }
  .block { width: 200px; height: 200px; font-size: 43px; padding: 26px 24px; }
  .block::after { width: 23px; height: 23px; right: 20px; top: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  h2 { font-size: 38px; }
  .project { padding: 24px; min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project { transition: none; }
}
