:root{
  --bg: #ffffff;
  --panel: #fff7fb;
  --text: #0b0b0d;
  --muted: #4a4a55;
  --border: #f2c8da;
  --accent: #ea4c89;
  --accent-2: #111111;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --max: 1060px;
  --radius: 16px;
}

/* Theme variants for other sites can reuse this CSS by swapping variables via data-theme */
body[data-theme="alia"]{
  --panel: #fff7fb;
  --border: #f3c7dc;
  --accent: #e84d8b;
  --accent-2: #111111;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:linear-gradient(180deg, #fff 0%, #fff 45%, var(--panel) 100%);
  line-height:1.55;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit}

h1,h2,h3{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  letter-spacing:.2px;
}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; background:var(--bg);
  border:1px solid var(--border); border-radius:12px; z-index:999;
}

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.8);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(0,0,0,.05);
}
.header-row{display:flex; align-items:center; justify-content:space-between; padding:14px 20px}

.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand-mark{
  width:16px; height:16px; border-radius:999px;
  background:radial-gradient(circle at 30% 30%, #ffd1e3 0%, var(--accent) 60%, #a91548 100%);
  box-shadow:0 6px 20px rgba(232,77,139,.35);
}
.brand-text{font-weight:800; letter-spacing:.2px}

.nav{display:flex; gap:16px}
.nav a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  color:var(--muted);
}
.nav a:hover{background:var(--panel); color:var(--text)}

.hero{padding:0 0 18px}
.hero-splash{
  height: clamp(260px, 46vh, 520px);
  overflow:hidden;
  border-bottom:1px solid rgba(0,0,0,.06);
  background:var(--panel);
}
.hero-splash img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.02) contrast(1.02);
}
.hero-card{
  margin-top:-58px;
  border:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(160%) blur(10px);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:center;
}
.hero h1{font-size:clamp(2rem, 4vw, 3rem); line-height:1.1; margin:0 0 10px}
.lead{font-size:1.1rem; color:var(--muted); margin:0 0 14px}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 0}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 10px 22px rgba(232,77,139,.25);
}
.btn:hover{filter:brightness(0.98)}
.btn-ghost{
  background:transparent;
  color:var(--text);
  box-shadow:none;
}
.btn-ghost:hover{background:var(--panel)}

.meta-badges{
  list-style:none; padding:0; margin:16px 0 0;
  display:flex; gap:8px; flex-wrap:wrap;
  color:var(--muted);
}
.meta-badges li{
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
  border-radius:14px;
  padding:10px 12px;
}
.hero-media{
  margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:var(--shadow);
}

.section{padding:34px 0}
.section h2{margin:0 0 8px; font-size:1.7rem}
.muted{color:var(--muted)}
.section-head{display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px}

.portfolio{display:grid; gap:28px}
.portfolio-group h3{margin:0 0 6px; font-size:1.25rem}
.portfolio-group p{margin:0 0 12px}
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.tile{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  box-shadow:0 10px 18px rgba(0,0,0,.05);
}
.tile img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit:cover;
  transition:transform .25s ease;
}
.tile:hover img{transform:scale(1.02)}

.contact-card{
  border:1px solid var(--border);
  background:rgba(255,255,255,.8);
  border-radius:var(--radius);
  padding:16px 16px;
  box-shadow:var(--shadow);
  max-width:720px;
}
.contact-line{margin:8px 0}

.site-footer{
  padding:28px 0 42px;
  border-top:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.6);
}
.footer-row{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}

@media (max-width: 860px){
  .hero-card{margin-top:-40px}
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2, 1fr)}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .tile img{transition:none}
}


