:root{
  --bg: #0b1220;
  --bg2:#0f1a2f;
  --card:#0f1a2a;
  --text:#e9eef7;
  --muted:#a8b3c7;
  --line: rgba(255,255,255,.10);
  --accent:#7CFFB2;

  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --radius: 18px;
  --wrap: 1160px;
}

[data-theme="light"]{
  --bg:#ffffff;
  --bg2:#f5f7fb;
  --card:#ffffff;
  --text:#0d1220;
  --muted:#56617a;
  --line: rgba(13,18,32,.12);
  --accent:#13b56a;
  --shadow: 0 24px 80px rgba(10,20,40,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(124,255,178,.18), transparent 55%),
    radial-gradient(1000px 700px at 100% 0%, rgba(60,120,255,.18), transparent 50%),
    var(--bg);
  color:var(--text);
}

img{width:100%;height:100%;object-fit:cover;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 20px}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(10,16,28,.55);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .topbar{background: rgba(255,255,255,.7)}
.topbar__inner{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{display:flex;align-items:center;gap:10px; font-weight:800; letter-spacing:.14em}
.brand__dot{width:10px;height:10px;border-radius:999px;background:var(--accent); box-shadow:0 0 0 6px rgba(124,255,178,.15)}
.brand__name{font-size:13px}

.nav{display:flex;gap:18px; align-items:center}
.nav a{font-size:14px; color:var(--muted)}
.nav a:hover{color:var(--text)}

.topbar__actions{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background: transparent;
  color:var(--text);
  font-weight:600;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--primary{
  background: linear-gradient(135deg, var(--accent), rgba(124,255,178,.55));
  color:#05110b;
  border: none;
}
[data-theme="light"] .btn--primary{color:#ffffff; background: linear-gradient(135deg, var(--accent), #0f8f56)}
.btn--ghost:hover{transform: translateY(-1px); box-shadow: var(--shadow)}
.btn--primary:hover{transform: translateY(-1px); box-shadow: var(--shadow)}

.burger{display:none; width:46px; height:40px; border-radius:12px; border:1px solid var(--line); background:transparent; cursor:pointer}
.burger span{display:block; height:2px; background:var(--text); margin:6px 10px; border-radius:10px}

.mobile{display:none; border-top:1px solid var(--line)}
.mobile__inner{padding:14px 0; display:grid; gap:10px}
.mobile__inner a{color:var(--muted)}
.mobile__inner a:hover{color:var(--text)}

/* Hero */
.hero{padding:56px 0 24px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:stretch;
}
.pill{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
  background: rgba(255,255,255,.03);
}
h1{
  font-family:"Playfair Display", serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height:1.02;
  margin:16px 0 12px;
}
.accent{color:var(--accent)}
.lead{color:var(--muted); font-size:16px; line-height:1.6; max-width:56ch}

.hero__cta{display:flex; gap:10px; margin-top:18px; flex-wrap:wrap}

.hero__stats{
  margin-top:22px;
  display:flex; gap:14px; flex-wrap:wrap
}
.stat{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  min-width:140px;
  background: rgba(255,255,255,.03);
}
.stat__num{font-weight:800; font-size:18px}
.stat__label{color:var(--muted); font-size:12px; margin-top:4px}

.hero__media{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  grid-auto-rows: 180px;
  gap:12px;
}
.media{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.media--big{grid-row: span 2; grid-column: 1 / -1; min-height: 380px}
.media__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.68));
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:16px;
}
.kicker{font-size:12px; color:rgba(255,255,255,.75); letter-spacing:.12em}
.title{font-weight:800; font-size:18px; margin-top:6px}

/* Strip */
.strip{padding:20px 0 6px}
.strip__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  background: rgba(255,255,255,.03);
}
.h2{font-family:"Playfair Display", serif; font-size:28px; margin:0}
.strip p{margin:8px 0 0; color:var(--muted)}
.strip__right{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.chip{
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  color:var(--muted);
  background: rgba(255,255,255,.03);
}

/* Sections */
.section{padding:54px 0}
.section--soft{background: linear-gradient(180deg, transparent, rgba(255,255,255,.03), transparent)}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.kicker2{font-size:12px; letter-spacing:.16em; color:var(--muted); text-transform:uppercase}
.link{color:var(--muted); font-weight:600}
.link:hover{color:var(--text)}

/* Filters */
.filters{display:flex; gap:8px; flex-wrap:wrap}
.filter{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  border-radius:999px;
  padding:9px 12px;
  font-weight:600;
  cursor:pointer;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}
.filter:hover{transform: translateY(-1px); color:var(--text)}
.filter.is-active{color:#05110b; background: var(--accent); border-color: transparent}
[data-theme="light"] .filter.is-active{color:#ffffff}

/* Masonry */
.masonry{
  columns: 3 320px;
  column-gap: 14px;
}
.shot{
  display:block;
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  position:relative;
}
.shot img{height:auto}
.shot__meta{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.shot__title{font-weight:800}
.shot__sub{color:rgba(255,255,255,.75); font-size:12px; margin-top:4px}

/* Cards */
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.card:hover{transform: translateY(-2px)}
.card__thumb{height:190px}
.card__body{padding:16px}
.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
  background: rgba(255,255,255,.03);
}
.card h3{margin:10px 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.6}
.card__meta{display:flex; gap:10px; color:var(--muted); font-size:12px; margin-top:12px}

/* Journal */
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.post{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.post:hover{transform: translateY(-2px)}
.post__date{color:var(--muted); font-size:12px; letter-spacing:.06em}
.post h3{margin:10px 0 8px}
.post p{margin:0; color:var(--muted); line-height:1.6}
.post__row{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.tag{border:1px solid var(--line); border-radius:999px; padding:7px 10px; font-size:12px; color:var(--muted); background: rgba(255,255,255,.03)}

/* About */
.about{display:grid; grid-template-columns: 1.05fr .95fr; gap:16px; align-items:start}
.list{margin:14px 0 0; padding:0 0 0 18px; color:var(--muted)}
.list li{margin:8px 0}
.panel{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding:18px;
}
.panel__title{font-weight:800; margin-bottom:10px}
.form{display:grid; gap:12px}
label span{display:block; font-size:12px; color:var(--muted); margin-bottom:6px}
input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color:var(--text);
  padding:12px 12px;
  outline:none;
}
[data-theme="light"] input,[data-theme="light"] textarea{background: rgba(13,18,32,.04)}
textarea{resize: vertical; min-height:120px}

/* Footer */
.footer{padding:40px 0; border-top:1px solid var(--line)}
.footer__inner{display:flex; justify-content:space-between; gap:18px; align-items:center}
.footer__links{display:flex; gap:14px; color:var(--muted)}
.footer__links a:hover{color:var(--text)}
.tiny{color:var(--muted); font-size:12px; margin-top:8px}
.brand--footer{opacity:.9}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr;}
  .hero__media{grid-template-columns: 1fr 1fr}
  .media--big{min-height:340px}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .about{grid-template-columns: 1fr}
  .nav{display:none}
  .burger{display:inline-block}
}

@media (max-width: 560px){
  .hero__media{grid-template-columns: 1fr}
  .media--big{min-height:300px}
  .section__head{flex-direction:column; align-items:flex-start}
}
