:root{
  --bg:#0b0b0d;        /* main background */
  --paper:#ffffff;     /* alternating section background */
  --ink:#111114;       /* text on paper */
  --milk:#f4f4f6;      /* subtle paper tint */
  --line:rgba(255,255,255,.14);
  --lineDark:rgba(0,0,0,.12);
  --muted:rgba(255,255,255,.72);
  --mutedInk:rgba(17,17,20,.72);
  --accent:#e7c6ff;
  --radius:18px;
  --shadow: 0 18px 44px rgba(0,0,0,.22);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,13,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand{
  font-weight: 700;
  letter-spacing: -.2px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
}
.brand__dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(231,198,255,.15);
}

.nav{
  display:none;
  gap: 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav a{
  color: rgba(255,255,255,.78);
  font-weight: 500;
  font-size: 14px;
}
.nav a:hover{ color:#fff; }
@media (min-width: 860px){ .nav{ display:flex; } }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:#fff;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.btn:hover{
  border-color: rgba(231,198,255,.9);
  box-shadow: 0 0 0 4px rgba(231,198,255,.25);
  transform: translateY(-1px);
}
.btn--primary{
  border-color: rgba(231,198,255,.7);
}
.btn--primary:hover{
  background: var(--accent);
  color: #17131f;
  box-shadow: 0 0 0 5px rgba(231,198,255,.22), 0 12px 30px rgba(231,198,255,.12);
}

/* Bands (alternating sections) */
.band{
  padding: 68px 0;
  position: relative;
}
.band--paper{
  background: var(--paper);
  color: var(--ink);
}
.band--paper .muted{ color: var(--mutedInk); }
.band--paper .btn{
  border-color: var(--lineDark);
  background: rgba(0,0,0,.02);
  color: var(--ink);
}
.band--paper .btn:hover{
  border-color: rgba(231,198,255,.9);
  box-shadow: 0 0 0 4px rgba(231,198,255,.35);
}
.band--paper .btn--primary:hover{
  background: var(--accent);
  color: #17131f;
}

h1,h2,h3{ margin:0; }
h2{
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sectionHead{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.kicker{
  color: rgba(255,255,255,.72);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
.band--paper .kicker{ color: rgba(17,17,20,.58); }

.text-link{
  font-weight: 700;
  border-bottom: 2px solid rgba(231,198,255,0);
  padding-bottom: 2px;
}
.text-link:hover{ border-bottom-color: var(--accent); }

/* Hero */
.hero{
  padding: 74px 0 58px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before{
  content:"";
  position:absolute;
  inset:-180px;
  background:
    radial-gradient(circle at 15% 25%, rgba(231,198,255,.45), transparent 42%),
    radial-gradient(circle at 85% 40%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 55% 90%, rgba(231,198,255,.28), transparent 42%);
  filter: blur(2px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift{
  from{ transform: translate3d(-14px, -10px, 0) scale(1.02); }
  to{ transform: translate3d(14px, 10px, 0) scale(1.05); }
}
.hero__grid{
  position: relative;
  display:grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 980px){
  .hero__grid{ grid-template-columns: 1.1fr .9fr; align-items: start; }
}

.hero__title{
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -1px;
  margin-top: 12px;
}
.hero__sub{
  margin-top: 14px;
  max-width: 60ch;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}
.hero__cta{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Project tiles (motion + hover overlay) */
.tiles{
  position: relative;
  min-height: 420px;
  display:grid;
  gap: 14px;
}
@media (min-width: 980px){ .tiles{ min-height: 560px; } }

.tile{
  position: relative;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: #000;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.tile video, .tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(.92);
  display:block;
}
.tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 74%);
  opacity: .95;
  pointer-events:none;
}
.tile__overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding: 14px 14px 12px;
  transform: translateY(10px);
  transition: transform .25s ease, opacity .25s ease;
  opacity: .92;
}
.tile:hover{
  outline: 3px solid rgba(231,198,255,.55);
  outline-offset: 2px;
}
.tile:hover .tile__overlay{ transform: translateY(0); opacity: 1; }

.tile__kicker{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.tile__title{
  margin-top: 6px;
  font-size: 18px;
  font-weight: 900;
}
.tile__desc{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.82);
}

.float1{ animation: float1 7.8s ease-in-out infinite; }
.float2{ animation: float2 8.6s ease-in-out infinite; }
.float3{ animation: float3 9.2s ease-in-out infinite; }

@keyframes float1{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
@keyframes float2{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }
@keyframes float3{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }

/* Cards */
.cards{
  margin-top: 18px;
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){ .cards{ grid-template-columns: 1fr 1fr 1fr; } }

.card{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}
.band--paper .card{
  background: var(--milk);
  border-color: var(--lineDark);
}
.card h3{ font-size: 18px; }
.card p{
  margin: 10px 0 0;
  line-height: 1.6;
  color: var(--muted);
}
.band--paper .card p{ color: var(--mutedInk); }

.card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  line-height: 1.55;
}
.card li{ margin: 6px 0; }

/* Experience split */
.split{
  margin-top: 18px;
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px){ .split{ grid-template-columns: 1.15fr .85fr; } }

.pillars{
  display:grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .pillars{ grid-template-columns: 1fr 1fr 1fr; } }

.pillar{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.band--paper .pillar{
  background: var(--milk);
  border-color: var(--lineDark);
}
.pillar h3{ font-size: 16px; }
.pillar p{
  margin: 10px 0 0;
  line-height: 1.55;
  color: var(--muted);
}
.band--paper .pillar p{ color: var(--mutedInk); }

.toolbox{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.band--paper .toolbox{
  background: var(--milk);
  border-color: var(--lineDark);
}
.toolbox h3{ font-size: 16px; }

.chips{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  background: rgba(255,255,255,.02);
}
.band--paper .chip{
  border-color: var(--lineDark);
  background: rgba(0,0,0,.02);
}

/* Scheduler (intentional stage) */
.scheduler{
  margin-top: 18px;
  padding: 10px;                 /* tight — removes the “big padded” feel */
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);   /* slight contrast on white */
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* Embed container height */
#my-cal-inline-quick-chat{
  height: 620px;          /* reduce empty space */
  overflow: hidden;       /* prevents scrollbars */
}

/* Target the injected iframe (Cal loads it inside this div) */
#my-cal-inline-quick-chat iframe{
  width: 100% !important;
  height: 100% !important;   /* fill the container */
  border: 0 !important;
  display: block !important;
  border-radius: 12px !important;
}

/* Optional: accent glow on hover (matches your button hover language) */
.scheduler:hover{
  box-shadow: 0 0 0 4px rgba(231,198,255,.25), 0 14px 30px rgba(0,0,0,.12);
  border-color: rgba(231,198,255,.55);
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__right{ display:flex; gap: 14px; }

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Contact page: tile layout + backgrounds */
.tiles--contact{
  grid-template-rows: 1fr 1fr 1fr;
}

.tile__content{
  position: relative;
  height: 100%;
}

.tile__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(231,198,255,.35), transparent 48%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(10,10,12,.55), rgba(0,0,0,.85));
  transform: scale(1.02);
}

.tile__bg--email{
  background:
    radial-gradient(circle at 18% 22%, rgba(231,198,255,.40), transparent 50%),
    radial-gradient(circle at 80% 35%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(10,10,12,.45), rgba(0,0,0,.88));
}
.tile__bg--linkedin{
  background:
    radial-gradient(circle at 22% 26%, rgba(231,198,255,.28), transparent 52%),
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.12), transparent 58%),
    linear-gradient(180deg, rgba(10,10,12,.42), rgba(0,0,0,.90));
}
.tile__bg--instagram{
  background:
    radial-gradient(circle at 18% 22%, rgba(231,198,255,.38), transparent 54%),
    radial-gradient(circle at 78% 34%, rgba(255,255,255,.14), transparent 58%),
    linear-gradient(180deg, rgba(10,10,12,.40), rgba(0,0,0,.90));
}

/* Contact tiles: 2-column layout (big icon left, text right) */
.tile__layout{
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 140px 1fr;  /* bigger left rail */
  gap: 18px;
  align-items: center;              /* center vertically instead of bottom */
  padding: 28px;                    /* MORE padding from tile edges */
  z-index: 2;
}

/* Remove the old small badge behavior */
.tile__icon{
  display: none !important;
}

/* Big icon rail */
.tile__iconBig{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.10);
  padding-right: 18px;              /* more spacing from divider */
}

/* Make the SVG large and clean */
.tile__iconBig svg{
  width: 76px;
  height: 76px;
  opacity: .92;
}

/* Tighten overlay now that it sits in the grid */
.tile__overlay--contact{
  position: static;
  padding: 0;
  transform: none;
  opacity: 1;
}

/* Ensure overlay text stays readable */
.tile__overlay--contact .tile__kicker{ color: rgba(255,255,255,.72); }
.tile__overlay--contact .tile__desc{ color: rgba(255,255,255,.82); }

/* Add a little spacing so text doesn't feel cramped */
.tile__overlay--contact .tile__kicker{
  margin-bottom: 6px;
}
.tile__overlay--contact .tile__title{
  margin-top: 0;
}
.tile__overlay--contact .tile__desc{
  margin-top: 6px;
}

/* Contact page: larger scheduler */
.scheduler--xl{
  height: min(900px, 78vh);
  min-height: 720px;
  padding: 0;
}
/* Cal container fills wrapper */
#my-cal-inline-contact{
  height: 100%;
}
#my-cal-inline-contact iframe{
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}
