/* style.css */
:root{
  --black:#07060a;
  --panel:#0f0c12;
  --panel2:#141018;
  --white:#ffffff;
  --ink:#f7f3ff;
  --muted:#d7d0e2;

  --red:#d60f2a;
  --red2:#ff2a3f;
  --green:#0f6b3a;
  --green2:#24b56a;

  --line:rgba(255,255,255,.14);
  --shadow: 0 10px 30px rgba(0,0,0,.60);
  --radius: 18px;
  --radius2: 26px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  cursor: url("assets/candy-cane.png") 16 16, auto;
  margin:0;
  color:var(--ink);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    url("assets/let-it-snow-bg.png") repeat,
    radial-gradient(1100px 650px at 12% 0%, rgba(214,15,42,.22), transparent 60%),
    radial-gradient(900px 600px at 92% 15%, rgba(15,107,58,.20), transparent 58%),
    linear-gradient(180deg, #040309, #07060a 35%, #05040a);
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 2px, transparent 2px, transparent 10px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 2px, transparent 6px);
  mix-blend-mode: overlay;
  opacity:.33;
  z-index:0;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
a, button, .btn{ cursor:pointer; }

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  z-index:999;
}

.wrap{
  position:relative;
  z-index:1;
  max-width:var(--max);
  margin:0 auto;
  padding:18px 14px 40px;
}

/* HEADER */
.topbar{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,16,24,.78), rgba(15,12,18,.72));
  backdrop-filter: blur(8px);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.topbar::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(214,15,42,.28) 0px,
      rgba(214,15,42,.28) 10px,
      rgba(255,255,255,.12) 10px,
      rgba(255,255,255,.12) 20px,
      rgba(15,107,58,.22) 20px,
      rgba(15,107,58,.22) 30px
    );
  opacity:.10;
  mix-blend-mode: screen;
}

.badge{ display:flex; align-items:center; gap:10px; min-width:0; }
.logo-icon{ width:80px; height:80px; object-fit:contain; display:block; }

.brand h1{
  margin:0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:16px;
  letter-spacing:.06em;
  text-transform: uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand p{
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mini{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
  min-width:0;
}
.pill{
  border:1px solid var(--line);
  background: rgba(0,0,0,.20);
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
}
.pill strong{ color:var(--white); font-weight:800; }

.ticker{
  flex:1 1 320px;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  border-radius:999px;
  border:1px dashed rgba(255,255,255,.22);
  background: rgba(0,0,0,.18);
  position:relative;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  clip-path: inset(0 round 999px);
}
.ticker span{
  display:inline-block;
  padding:7px 12px;
  white-space:nowrap;
  animation: scroll 14s linear infinite;
  will-change: transform;
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12px;
}
.ticker b{ color: rgba(214,15,42,.95); }
.ticker i{ color: rgba(15,107,58,.95); font-style: normal; }
@keyframes scroll{ 0%{ transform:translateX(100%);} 100%{ transform:translateX(-100%);} }

/* NAV */
nav{
  margin-top:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.navrow{ display:flex; flex-wrap:wrap; }
.navrow a{
  flex: 1 1 160px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.03em;
  text-transform: uppercase;
  font-size:12px;
  border-right:1px solid var(--line);
  position:relative;
}
.navrow a:last-child{ border-right:none; }

.navrow a:hover{
  text-decoration:none;
  background:
    linear-gradient(90deg,
      rgba(214,15,42,.16),
      rgba(255,255,255,.06),
      rgba(15,107,58,.16)
    );
}

.navrow a[aria-current="page"]{
  background:
    linear-gradient(90deg,
      rgba(214,15,42,.20),
      rgba(255,255,255,.06),
      rgba(15,107,58,.20)
    );
}

.navrow a:focus-visible{
  outline:3px solid rgba(255,255,255,.55);
  outline-offset:-3px;
}

.ico{
  width:18px; height:18px;
  display:inline-block;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  position:relative;
}
.ico::after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:4px;
  background: linear-gradient(180deg, rgba(214,15,42,.85), rgba(15,107,58,.65));
  opacity:.95;
}

/* LAYOUT */
.hero{
  margin-top:16px;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  align-items:stretch;
}

.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.span5{ grid-column: span 5; }
.span7{ grid-column: span 7; }
.span12{ grid-column: span 12; }

/* CARD */
.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,16,24,.78), rgba(15,12,18,.74));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.card::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius: calc(var(--radius2) - 10px);
  border:1px dashed rgba(255,255,255,.16);
  pointer-events:none;
}
.pad{ padding:18px; position:relative; }

.kicker{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  letter-spacing:.12em;
  font-size: 12px;
  margin:0 0 10px;
}
.kicker b{ color: var(--red2); }
.kicker i{ color: var(--green2); font-style: normal; }

.headline{
  margin:0 0 10px;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height:1.05;
  letter-spacing:.01em;
  text-transform: uppercase;
  font-weight: 950;
  text-shadow: 2px 0 rgba(214,15,42,.45), -2px 0 rgba(15,107,58,.35);
}
.sub{
  margin:0 0 14px;
  color:var(--muted);
  max-width: 62ch;
}

.cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  margin-top:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.20);
  font-weight:900;
  text-transform: uppercase;
  letter-spacing:.03em;
  font-size:12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  text-align:center;
}
.btn.red{ background: linear-gradient(90deg, rgba(214,15,42,.28), rgba(0,0,0,.12)); border-color: rgba(214,15,42,.45); }
.btn.green{ background: linear-gradient(90deg, rgba(15,107,58,.26), rgba(0,0,0,.12)); border-color: rgba(15,107,58,.45); }
.btn.white{ background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(0,0,0,.12)); border-color: rgba(255,255,255,.28); }
.btn:hover{ text-decoration:none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.hr{ height:1px; background: var(--line); margin:12px 0; }

.two{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  text-align:center;
  margin-top:10px;
}
.tag{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  font-size:12px;
  color:var(--muted);
}
.tag.red{ border-color: rgba(214,15,42,.35); }
.tag.green{ border-color: rgba(15,107,58,.35); }
.tag.white{ border-color: rgba(255,255,255,.25); }

/* SIDE ART */
.sideart{ display:flex; flex-direction:column; height:100%; }

.poster{
  flex:1;
  min-height: 220px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(180px 180px at 30% 35%, rgba(214,15,42,.20), transparent 62%),
    radial-gradient(180px 180px at 70% 45%, rgba(15,107,58,.20), transparent 62%),
    radial-gradient(160px 160px at 55% 78%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.18));
  position:relative;
  overflow:hidden;
}
.poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: contrast(1.05) saturate(1.00);
}
.sidepad{
  padding:14px 16px;
  color: var(--muted);
  font-size: 13px;
}
.sidepad b{ color:var(--white); }

/* LISTS */
.list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.item{
  padding:12px 12px;
  border:1px dashed rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(0,0,0,.16);
}
.item b{ color:var(--white); }
.item small{ color:var(--muted); display:block; margin-top:2px; }
.item a{ color: var(--green2); font-weight: 900; }
.item a:hover{ color: var(--white); text-decoration:underline; }

/* ABOUT PAGE BITS */
.bio-pics{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin: 10px 0 18px;
}
.bio-pic{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.16);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.bio-pic img{
  width:100%;
  aspect-ratio: 5 / 7; /* perfect for 500x700 uploads */
  height:auto;
  object-fit:cover;
  object-position:center;
  display:block;
  filter: contrast(1.08) saturate(1.05);
}

.bio{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:stretch;
}

.callout{
  border:1px dashed rgba(255,255,255,.22);
  background: rgba(0,0,0,.16);
  border-radius: 14px;
  padding:12px;
  color: var(--muted);
}
.callout b{ color:var(--white); }

.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:12px;
}
.fan{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.16);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.fan img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  filter: contrast(1.05);
}
.fan .cap{
  padding:10px 12px;
  border-top:1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-size: 13px;
}
.fan .cap a{
  color: var(--green2);
  font-weight: 900;
  text-decoration:none;
}
.fan .cap a:hover{ color: var(--white); text-decoration:underline; }
.fan .cap b{ color:var(--white); }

/* FOOTER */
footer{
  margin-top:16px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-size: 13px;
  box-shadow: var(--shadow);
}
footer a{ color: var(--green2); font-weight: 900; }
footer a:hover{ color: var(--white); }

/* GUESTBOOK */
.guestbook-wrap{
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(214,15,42,.45);
  box-shadow: 0 0 30px rgba(214,15,42,.35);
  background: #000;
  margin-top: 10px;
}
.guestbook-wrap iframe{
  display:block;
  width:100%;
  border:none;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .bio{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px){
  .topbar{ align-items:flex-start; flex-direction:column; }
  .mini{ justify-content:flex-start; flex-direction:column; align-items:stretch; width:100%; min-width:0; }
  .pill{ width:100%; }
  .ticker{ width:100%; max-width:none; flex: 0 0 auto; align-self:stretch; }
  .gallery{ grid-template-columns: 1fr; }
  .fan img{ height:260px; }
  .bio-pics{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .ticker span{ animation:none; }
  .btn:hover{ transform:none; }
}