/*
  INKONI PORTFOLIO — shared styles
  ------------------------------------------------------------
  The easiest place to restyle the whole site is the variable
  block below. Change colors, width and spacing here first.
*/
:root {
  --bg: #111213;
  --surface: #191b1e;
  --surface-2: #22252a;
  --text: #f4f4f2;
  --muted: #aaaeb5;
  --line: #34383f;
  --accent: #f0d27b;
  --accent-2: #e6b6ff;
  --max-width: 1240px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  z-index: 9999;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-shell { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(17, 18, 19, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { font-size: 1.22rem; }
.brand-sub { color: var(--muted); font-size: .78rem; letter-spacing: .02em; font-weight: 500; }
.nav-list { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; align-items: center; }
.nav-link { display: inline-block; padding: 10px 12px; border-radius: 999px; color: #d9dce0; font-size: .94rem; }
.nav-link:hover, .nav-link.is-active { background: var(--surface-2); color: #fff; }
.nav-toggle {
  display: none;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
}

main { min-height: 60vh; }
.hero { padding: clamp(62px, 9vw, 120px) 0 68px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(38px, 6vw, 80px); align-items: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.06; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); margin-bottom: 18px; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); margin-bottom: 18px; letter-spacing: -.035em; }
h3 { font-size: 1.18rem; margin-bottom: 8px; }
.lede { font-size: clamp(1.12rem, 2vw, 1.48rem); color: #d5d6d4; max-width: 700px; }
.hero-copy .lede { max-width: 600px; }
.meta-line { margin: 26px 0 0; color: var(--muted); max-width: 650px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: var(--surface);
  font-weight: 650;
}
.button.primary { background: var(--text); color: #101112; border-color: var(--text); }
.button:hover { transform: translateY(-1px); color: inherit; border-color: #666b74; }
.button.primary:hover { background: var(--accent); border-color: var(--accent); }

.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; gap: 12px; }
.hero-collage a { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.hero-collage a:hover img { transform: scale(1.025); }

.section { padding: 72px 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,.06); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.feature-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); min-height: 320px; box-shadow: var(--shadow); }
.feature-card.span-7 { grid-column: span 7; }
.feature-card.span-5 { grid-column: span 5; }
.feature-card.span-6 { grid-column: span 6; }
.feature-card img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .35s ease; }
.feature-card:hover img { transform: scale(1.025); }
.feature-label { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 9px 12px; border-radius: 999px; background: rgba(11,12,13,.78); backdrop-filter: blur(9px); font-size: .85rem; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.work-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.work-card .art-link { display: block; background: #0d0e0f; }
.work-card img { width: 100%; height: auto; }
.work-copy { padding: 18px 20px 20px; }
.work-copy p { margin: 6px 0 0; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; background: var(--surface-2); color: #c9ccd2; border-radius: 999px; font-size: .74rem; }

.intro-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface), #151719); }
.intro-panel p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 55px; align-items: start; }
.prose { color: #d5d7d9; font-size: 1.05rem; }
.prose p { margin-top: 0; margin-bottom: 1.2em; }
.prose strong { color: #fff; }

.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.skill-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.skill-card p { color: var(--muted); margin-bottom: 0; }
.skill-level { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }

.project-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: stretch; }
.project-hero > * { min-width: 0; }
.project-copy { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.project-gallery .work-card { height: 100%; }

.contact-card { padding: clamp(30px, 6vw, 68px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at top right, rgba(230,182,255,.08), transparent 32%), var(--surface); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }

.site-footer { border-top: 1px solid rgba(255,255,255,.07); margin-top: 70px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding: 35px 0 45px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(5,6,7,.94); display: none; place-items: center; padding: 30px; }
.lightbox-overlay.is-open { display: grid; }
.lightbox-inner { max-width: min(95vw, 1500px); max-height: 92vh; display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.lightbox-overlay img { max-width: 100%; max-height: calc(92vh - 60px); object-fit: contain; margin: auto; border-radius: 10px; }
.lightbox-caption { color: #d8dade; text-align: center; font-size: .92rem; }
.lightbox-close { position: fixed; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #52565e; color: #fff; background: rgba(25,27,30,.88); cursor: pointer; font-size: 1.4rem; }

.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

@media (max-width: 900px) {
  .hero-grid, .split, .project-hero { grid-template-columns: 1fr; }
  .hero-collage { grid-template-rows: 220px 220px; }
  .feature-card.span-7, .feature-card.span-5, .feature-card.span-6 { grid-column: span 12; }
  .work-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: rgba(17,18,19,.98); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { display: block; }
}

@media (max-width: 620px) {
  .site-shell { width: min(var(--max-width), calc(100% - 26px)); }
  .hero { padding-top: 48px; }
  .hero-collage { grid-template-columns: 1fr; grid-template-rows: repeat(4, 230px); }
  .section { padding: 54px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .skill-grid, .project-gallery { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
