/* This stylesheet is meant for custom styles, on top of The Peel Template */

.hero .bg,
.hero .vcenter {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.profile-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.profile-hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
}

.profile-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.profile-hero-glow {
  position: absolute;
  inset: auto -8% -18% auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 70%);
  filter: blur(25px);
  z-index: 1;
  animation: profileGlow 8s ease-in-out infinite alternate;
}

.profile-hero .vbottom {
  position: relative;
  z-index: 2;
  padding-bottom: 3.5rem;
}

.profile-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.32rem 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
}

.profile-page .content-block,
.profile-page .list-block {
  position: relative;
  margin-bottom: 1.2rem;
  padding: 1.3rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.profile-page .profile-grid {
  align-items: start;
}

.profile-page .profile-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.profile-page .compact-list {
  margin-bottom: 0;
}

.profile-page .brands-block {
  min-height: 22rem;
}

.profile-page .brand-logos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.profile-page .timeline-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem 0 0.55rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.profile-page .timeline-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-page .timeline-item p {
  margin: 0;
}

.profile-page .inline-credits {
  display: block;
  padding-left: 0;
  margin: 0;
}

.profile-page .inline-credits li {
  display: block;
  width: 100%;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.profile-page .inline-credits li:last-child {
  border-bottom: 0;
}

.profile-page .brand-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.5rem;
  min-height: 22rem;
}

.profile-page .brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  min-height: 4.5rem;
}

@media (max-width: 900px) {
  .profile-page .brand-logos {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .profile-page .brand-logo {
    gap: 0.65rem;
    padding: 0.75rem;
  }
}

.profile-page .brand-logo-placeholder {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.profile-page .brand-logo img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.profile-page .brand-logo span {
  font-size: 0.92rem;
  color: inherit;
}

.profile-page .content-block:hover,
.profile-page .list-block:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.profile-page .feature-block {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.profile-page .content-block h2,
.profile-page .content-block h3,
.profile-page .list-block h3 {
  margin-bottom: 0.75rem;
}

.profile-page .content-block p,
.profile-page .list-block li {
  line-height: 1.8;
}

.profile-page .list-block ul.striped li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.profile-page .list-block ul.striped li:last-child {
  border-bottom: 0;
}

@keyframes profileGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate3d(-2%, -3%, 0) scale(1.08); opacity: 0.85; }
}






@media (max-width: 860px) {
  

  

  
}

.contact-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
}

.contact-page .bg {
  transform: scale(1.05);
  filter: saturate(1.06) contrast(1.04);
}

.contact-page .contact-aurora {
  position: absolute;
  inset: -12% -8% auto auto;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.26), transparent 70%);
  filter: blur(24px);
  z-index: 1;
  pointer-events: none;
  animation: contactAurora 10s ease-in-out infinite alternate;
}


.contact-page .vbottom {
  position: relative;
  z-index: 2;
}

.contact-intro {
  align-items: end;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.15);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.26);
}






.contact-intro > div,

.contact-page.is-ready .contact-intro > div,
.contact-page.is-ready 

.contact-intro > div:nth-child(2) {
  transition-delay: 0.08s;
}

.contact-intro > div:nth-child(3) {
  transition-delay: 0.16s;
}


@keyframes contactAurora {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.62; }
  100% { transform: translate3d(-3%, -4%, 0) scale(1.08); opacity: 0.92; }
}

/* ---------- Home ---------- */
.home-hero{position:relative;min-height:100vh;display:flex;align-items:flex-end;overflow:hidden;background:#000;isolation:isolate}
.home-portrait{position:absolute;top:0;right:0;bottom:0;width:62%;background-size:cover;background-position:center top;background-repeat:no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)}
.home-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,0) 38%)}
.home-content{position:relative;z-index:2;padding-top:8rem;padding-bottom:2.5rem}
.home-content>*{max-width:36rem;opacity:0;transform:translateY(22px);animation:homeIn .9s cubic-bezier(.2,.8,.2,1) forwards}
.home-content>*:nth-child(2){animation-delay:.08s}.home-content>*:nth-child(3){animation-delay:.16s}.home-content>*:nth-child(4){animation-delay:.24s}.home-content>*:nth-child(5){animation-delay:.32s}.home-content>*:nth-child(6){animation-delay:.4s}.home-content>*:nth-child(7){animation-delay:.48s}
@keyframes homeIn{to{opacity:1;transform:none}}
.home-kicker{font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;opacity:.75;margin-bottom:1rem}
.home-title{font-size:clamp(2.3rem,4.6vw,3.9rem);line-height:1.05;margin:0 0 1rem}
.home-sub{font-size:1rem;line-height:1.65;opacity:.85;margin:0 0 1.4rem}
.home-pillars{list-style:none;margin:0 0 1.6rem;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.home-pillars li{padding-top:.7rem;border-top:1px solid rgba(255,255,255,.25)}
.home-pillars strong{display:block;font-weight:600;margin-bottom:.2rem}
.home-pillars span{display:block;opacity:.7;font-size:.84rem;line-height:1.45}
.home-cta{display:flex;align-items:center;gap:1.6rem;margin-bottom:1.8rem}
.home-btn{display:inline-block;padding:.85rem 1.8rem;background:#fff;color:#000;font-weight:600;text-decoration:none;transition:transform .3s ease}
.home-btn:hover{transform:translateY(-2px)}
.home-link{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:2px;white-space:nowrap}
.home-link:hover{border-color:#fff}
.home-proof{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;max-width:44rem!important;font-size:.82rem;line-height:1.4;margin-bottom:1.2rem;padding-top:1.1rem;border-top:1px solid rgba(255,255,255,.12)}
.home-proof .label{display:block;opacity:.6;margin-bottom:.2rem}
.home-quote{font-size:.8rem;font-style:italic;opacity:.5;margin:0}
@media (max-width:860px){
  .home-portrait{width:100%;top:70px;height:58vh;bottom:auto;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 45%);mask-image:linear-gradient(0deg,transparent 0,#000 45%)}
  .home-content{padding-top:26rem}
  .home-pillars{grid-template-columns:1fr;gap:.6rem}
  .home-proof{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:reduce){.home-content>*{animation:none;opacity:1;transform:none}}

/* Hide the template's fixed vertical background lines */
.line-container { display: none !important; }

.text-link { color: inherit; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; }
.text-link:hover { border-color: #fff; }


/* ---------- Work ---------- */
.work-section { padding-bottom: 5rem; }
.work-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.work-filter { appearance: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .55rem 1.2rem; font: inherit; font-size: .9rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.work-filter:hover { border-color: #fff; }
.work-filter.active { background: #fff; color: #000; border-color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.work-card { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #111; color: #fff; text-decoration: none; animation: workIn .6s ease both; }
.work-card.is-hidden { display: none; }
@keyframes workIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.work-thumb { position: absolute; inset: 0; display: block; }
.work-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.work-card.short .work-thumb img { transform: scale(1.8); }
.work-card:hover .work-thumb img { transform: scale(1.08); }
.work-card.short:hover .work-thumb img { transform: scale(1.9); }
.work-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 62%); pointer-events: none; }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem; z-index: 2; transition: transform .5s ease; }
.work-card:hover .work-cap { transform: translateY(-.3rem); }
.work-title { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.work-sub { display: block; opacity: .65; font-size: .8rem; margin-top: .25rem; }
.work-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem; border-radius: 50%; background: rgba(255,255,255,.94); opacity: 0; transform: scale(.7); transition: opacity .35s, transform .35s; }
.work-play:before { content: ""; position: absolute; top: 50%; left: 50%; margin: -.55rem 0 0 -.3rem; border-left: .9rem solid #000; border-top: .55rem solid transparent; border-bottom: .55rem solid transparent; }
.work-card:hover .work-play { opacity: 1; transform: scale(1); }
.work-card.no-link { cursor: default; }
.work-card.no-link .work-play { display: none; }
@media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .work-title { font-size: .85rem; } .work-cap { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .work-card { animation: none; } }
.work-thumb img { font-size: 0; color: transparent; }
ul.striped li:before, ul.striped li:after { content: none !important; display: none !important; }
.contact-note { margin: 0 0 1rem; font-size: 1rem; line-height: 1.6; opacity: .95; max-width: 30rem; }

/* ---------- Fixed menu on every page ---------- */
header#main-header { position: fixed !important; top: 0; left: 0; right: 0; height: 80px !important; margin: 0 !important; align-items: center !important; z-index: 50 !important; background: transparent; transition: background .35s ease; }
body.scrolled header#main-header { background: rgba(0,0,0,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
header#main-header .grid, header#main-header nav.main-nav { width: 100%; }
header#main-header .brand img { height: 46px; width: auto; display: block; }
header#main-header a.nav-link { padding-bottom: 4px; line-height: 1.6; }
header#main-header a.nav-link:after { margin-top: 4px; height: 3px; }
body #inner { padding-top: 104px; }
body #inner .behind-header, body.home .home-hero { margin-top: -104px; }
@media (max-width: 950px) {
  header#main-header { height: 64px !important; display: block !important; }
  header#main-header .container { padding: 0 16px; height: 64px; }
  header#main-header .grid, header#main-header nav.main-nav { position: relative; height: 64px; }
  header#main-header .responsive-nav { position: absolute; z-index: 6; right: 0; top: 0; margin: 0 !important; width: 44px; height: 64px; padding: 0 !important; display: flex; flex-direction: column; justify-content: center; }
  header#main-header .responsive-nav .bar { width: 26px; margin-left: auto; }
  ul.nav-links { padding: 0 !important; }
  ul.nav-links li:not(.brand) { display: none; }
  ul.nav-links li.brand { position: fixed; top: 0; left: 16px; width: auto !important; max-width: none; height: 64px; display: flex !important; align-items: center; padding: 0 !important; z-index: 3; }
  header#main-header .brand img { height: 36px; }
  body.menu-open header#main-header { height: 100vh !important; background: #000; overflow-y: auto; }
  body.menu-open ul.nav-links { position: absolute; top: 64px; left: 0; right: 0; }
  body.menu-open ul.nav-links li:not(.brand) { display: block; }
  body #inner { padding-top: 84px; }
  body #inner .behind-header, body.home .home-hero { margin-top: -84px; }
}

/* ---------- About: small photo, content first ---------- */
.about-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.3rem; }
.about-photo { position: relative; flex: none; width: 6.5rem; height: 6.5rem; overflow: hidden; border-radius: 2px; background: #111; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(3.4); transform-origin: 40% 29%; }
.about-title { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }

/* ---------- Work: top of page, crops ---------- */
.work-section { padding-top: 1rem; }
.work-card.short .work-thumb img { transform: scale(1.78); transform-origin: 50% var(--oy, 30%); }
.work-card.short:hover .work-thumb img { transform: scale(1.88); }
.work-card.wide .work-thumb img.fill { filter: blur(22px) brightness(.55); transform: scale(1.4); }
.work-card.wide:hover .work-thumb img.fill { transform: scale(1.4); }
.work-card.wide .work-thumb img.fit { object-fit: contain; }
.work-card.wide:hover .work-thumb img.fit { transform: scale(1.05); }
@media (max-width: 950px) { body.menu-open ul.nav-links li.brand { height: 64px; } }

/* ---------- Home: what I do (mind map) ---------- */
.home-map { position: relative; background: #000; padding: 4rem 0 5rem; overflow: hidden; }
.map-stage { position: relative; container-type: inline-size; width: 100%; max-width: 1440px; margin: 0 auto; aspect-ratio: 1440 / 800; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.map-lines path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 1.1s cubic-bezier(.4,.1,.2,1); transition-delay: calc(var(--i) * .16s); }
.map-lines path.r { transition-delay: calc(.9s + var(--i) * .16s); }
.is-in .map-lines path { stroke-dashoffset: 0; }
.map-img { position: absolute; z-index: 2; left: 27.78%; top: 5%; width: 44.44%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 96%); mask-image: linear-gradient(180deg, #000 68%, transparent 96%); }
.map-item { position: absolute; z-index: 3; display: flex; align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--i) * .16s); }
.map-item.r { transition-delay: calc(.9s + var(--i) * .16s); }
.is-in .map-item { opacity: 1; transform: none; }
.map-item.l { left: 2.5%; width: 22.2%; }
.map-item.r { left: 75.7%; width: 22.5%; }
.map-lb { font-weight: 700; text-transform: uppercase; font-size: 1.74cqw; line-height: 1.18; letter-spacing: .02em; }
.map-item.l .map-lb { order: 2; flex: 1; text-align: right; padding-left: 1.3cqw; }
.map-item.l .map-ic { order: 1; }
.map-item.r .map-lb { flex: 1; text-align: left; padding-right: 1.3cqw; }
.map-ic { flex: none; display: grid; place-items: center; width: 3.75cqw; height: 3.75cqw; min-width: 36px; min-height: 36px; border: 1.5px solid #fff; border-radius: 50%; }
.map-ic svg { width: 48%; height: 48%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-tag { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; opacity: .55; }
.map-stage .map-tag { position: absolute; top: 1%; z-index: 3; }
.map-stage .map-tag.b { left: 2.5%; } .map-stage .map-tag.a { right: 2.5%; }
.map-cap { position: absolute; left: 0; right: 0; bottom: 1%; text-align: center; margin: 0; font-size: 1rem; opacity: .7; z-index: 3; }
.map-list { display: none; }
@media (max-width: 860px) {
  .home-map { padding: 3rem 0 3.5rem; }
  .map-stage { aspect-ratio: auto; container-type: normal; }
  .map-lines, .map-item, .map-stage .map-tag { display: none; }
  .map-img { position: relative; left: auto; top: auto; display: block; width: 100%; max-width: 420px; margin: 0 auto; }
  .map-cap { position: static; margin: .5rem 0 2rem; padding: 0 16px; }
  .map-list { display: block; max-width: 420px; margin: 0 auto; }
  .ml-group ul { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .9rem; }
  .ml-group li { display: flex; align-items: center; gap: .9rem; }
  .ml-group .map-ic { width: 44px; height: 44px; }
  .ml-group .map-lb { font-size: 1.15rem; }
  .ml-group:not(.after) .map-lb { opacity: .6; } .ml-group:not(.after) .map-ic { opacity: .6; border-style: dashed; }
  .ml-wave { display: block; width: 40px; height: 90px; margin: 1.2rem 0 1.2rem 2px; }
  .ml-wave path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
}
@media (prefers-reduced-motion: reduce) { .map-lines path, .map-item { transition: none !important; } .map-lines path { stroke-dashoffset: 0; } .map-item { opacity: 1; transform: none; } }
/* White band between hero and the before/after map */
.map-band{background:#fff;color:#000;padding:1.15rem 0;text-align:center}
.map-band p{margin:0;font-weight:700;text-transform:uppercase;letter-spacing:.16em;font-size:clamp(.72rem,1.15vw,1rem);line-height:1.5;color:#000}
.home-map{padding-top:3rem}
.map-cap{display:none!important}
@media (max-width:860px){.map-band{padding:1rem 0}.map-band p{letter-spacing:.1em}}

@media (max-width:860px){body.home .home-title br{display:none}}
