/* ==========================================================================
   Home — positions measured from the original Squarespace page at 1361px wide.
   1 --u = 1px of that layout, so everything scales with the window like the original.
   ========================================================================== */

.home { --u: calc(100vw / 1361); --red: #b53033; --dark: #282828; --light: #dad9d9; }
.home main { overflow: hidden; }

/* Each section is clipped to its divider shape at the bottom, and the next section
   slides up underneath it (negative margin), exactly like Squarespace's dividers. */
.h-sec { position: relative; }
.h-sec__clip { position: absolute; inset: 0; overflow: hidden; }
.h-stroke { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }
.h-abs { position: absolute; }

/* ---------- Hero ---------- */
.h-hero { height: calc(893 * var(--u)); z-index: 4; }
.h-hero .h-sec__clip { background: #000; }
.h-hero .h-sec__clip { clip-path: url(#clip-hero); }
.h-hero__bg { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-hero__shade { inset: 0; background: rgba(0,0,0,.45); }
.h-hero__doodles { left: 0; top: calc(129 * var(--u)); width: 100%; height: calc(682 * var(--u)); object-fit: cover; }
.h-hero__portrait { left: calc(354 * var(--u)); top: calc(157 * var(--u)); width: calc(653 * var(--u)); height: calc(511 * var(--u)); }
.h-hero__portrait img, .h-hero__portrait video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.h-hero__d1 { left: calc(408 * var(--u)); top: calc(327 * var(--u)); width: calc(109 * var(--u)); height: calc(57 * var(--u)); object-fit: contain; }
.h-hero__d2 { left: calc(898 * var(--u)); top: calc(469 * var(--u)); width: calc(163 * var(--u)); height: calc(57 * var(--u)); object-fit: contain; }
.h-hero__title {
  left: 0; top: calc(355 * var(--u)); width: 100%; text-align: center; white-space: nowrap;
  font-size: calc(65.5 * var(--u)); line-height: calc(66 * var(--u)); color: #fff; margin: 0;
}
.h-hero__tag { left: calc(408 * var(--u)); top: calc(530 * var(--u)); width: calc(544 * var(--u)); text-align: center; font-size: calc(16 * var(--u)); margin: 0; }

/* Buttons from the original */
.h-btn {
  display: grid; place-items: center; font-family: var(--body); font-size: max(13px, calc(16 * var(--u))); text-decoration: none;
  border-radius: calc(10 * var(--u)); transition: transform .4s var(--ease-out), background .3s, color .3s;
}
.h-btn:hover { transform: translateY(-2px); }
.h-btn--white { background: #fff; color: #000; }
.h-btn--white:hover { background: var(--red); color: #fff; }
.h-btn--outline { border: 1px solid #fff; color: #fff; font-weight: 700; }
.h-btn--outline:hover { background: #fff; color: var(--red); }
.h-btn--red { background: var(--red); color: #fff; }
.h-btn--red:hover { background: #8f2426; }
.h-hero .h-btn { left: calc(517 * var(--u)); top: calc(611 * var(--u)); width: calc(327 * var(--u)); height: calc(57 * var(--u)); }

/* ---------- What's New ---------- */
.h-new { height: calc(887 * var(--u)); margin-top: calc(-83 * var(--u)); z-index: 3; }
.h-new .h-sec__clip { clip-path: url(#clip-new); background: linear-gradient(rgba(181,48,51,.15), rgba(181,48,51,.15)), var(--red) url("/assets/img/deco-4.webp") center/cover; }
.h-new__in { position: absolute; left: 0; right: 0; top: calc(83 * var(--u)); bottom: 0; }
.h-new__video { left: calc(285 * var(--u)); top: calc(121 * var(--u)); width: calc(790 * var(--u)); aspect-ratio: 16/9; background: #000; z-index: 1; }
.h-new__curve { left: 0; top: 0; width: 100%; height: calc(304 * var(--u)); z-index: 2; pointer-events: none; overflow: visible; }
.h-new__curve text { font-family: var(--serif); font-size: 131.6px; fill: #fff; }
.h-new .h-btn { left: calc(467 * var(--u)); top: calc(709 * var(--u)); width: calc(428 * var(--u)); height: max(30px, calc(28 * var(--u))); }

/* ---------- About ---------- */
.h-about { height: calc(966 * var(--u)); margin-top: calc(-27 * var(--u)); z-index: 2; }
.h-about .h-sec__clip { clip-path: url(#clip-about); background: var(--dark); }
.h-about__in { position: absolute; left: 0; right: 0; top: calc(27 * var(--u)); bottom: 0; }
.h-about__photo { left: calc(28 * var(--u)); top: calc(85 * var(--u)); width: calc(653 * var(--u)); height: calc(740 * var(--u)); object-fit: cover; }
.h-about__spark { left: calc(28 * var(--u)); top: calc(142 * var(--u)); width: calc(272 * var(--u)); height: calc(114 * var(--u)); object-fit: contain; }
.h-about__guy { left: calc(953 * var(--u)); top: calc(142 * var(--u)); width: calc(381 * var(--u)); height: calc(256 * var(--u)); object-fit: contain; }
.h-about__title { left: calc(789 * var(--u)); top: calc(228 * var(--u)); width: calc(490 * var(--u)); font-size: calc(65.5 * var(--u)); line-height: calc(66 * var(--u)); color: #fff; margin: 0; }
.h-about__text { left: calc(789 * var(--u)); top: calc(398 * var(--u)); width: calc(490 * var(--u)); font-size: max(13px, calc(16 * var(--u))); line-height: 1.5; margin: 0; }
.h-about .h-btn { left: calc(789 * var(--u)); top: calc(570 * var(--u)); width: calc(381 * var(--u)); height: calc(57 * var(--u)); font-weight: 700; }

/* ---------- Socials ---------- */
.h-social { height: calc(700 * var(--u)); margin-top: calc(-27 * var(--u)); z-index: 1; color: #000; }
.home .site-footer { margin-top: calc(-30 * var(--u)); padding-top: calc(80 * var(--u)); }
.h-social .h-sec__clip { clip-path: url(#clip-social); background: var(--light); }
.h-social__in { position: absolute; left: 0; right: 0; top: calc(27 * var(--u)); bottom: 0; }
.h-marquee { left: 0; top: 0; width: 100%; height: calc(277 * var(--u)); overflow: hidden; display: flex; align-items: center; z-index: 3; pointer-events: none; }
/* the scrolling words ride over the top of the Instagram tiles */
.h-marquee__track > span { text-shadow: 0 0 calc(18 * var(--u)) rgba(243, 237, 227, .55); }
.h-marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.h-marquee__track > span { font-family: var(--serif); font-size: calc(197.6 * var(--u)); white-space: nowrap; padding-right: calc(100 * var(--u)); }
.h-feed { left: calc(28 * var(--u)); top: calc(160 * var(--u)); width: calc(1306 * var(--u)); display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(14 * var(--u)); z-index: 1; }
.h-feed a { position: relative; overflow: hidden; display: block; aspect-ratio: 1; border-radius: calc(6 * var(--u)); background: #cfcfcf; cursor: zoom-in; box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(0,0,0,.12); }
.h-feed img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; }
.h-feed a:hover img { transform: scale(1.05); filter: brightness(.85); }
.h-feed__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 0; height: 0; border-left: calc(30 * var(--u)) solid #fff; border-top: calc(19 * var(--u)) solid transparent; border-bottom: calc(19 * var(--u)) solid transparent; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); pointer-events: none; transition: transform .4s var(--ease-out); }
.h-feed a:hover .h-feed__play { transform: scale(1.15); }
.h-feed__stack { position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 3px; box-shadow: 4px -4px 0 -2px rgba(0,0,0,0), 4px -4px 0 0 #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); pointer-events: none; }

/* ---------- Instagram lightbox ---------- */
html.ig-locked { overflow: hidden; }
.ig-lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; --tint: 40,40,40; }
.ig-lb[hidden] { display: none; }
.ig-lb__veil {
  position: absolute; inset: 0; background: rgba(var(--tint), .35);
  backdrop-filter: blur(0px) saturate(1); -webkit-backdrop-filter: blur(0px) saturate(1);
  opacity: 0; transition: opacity .45s var(--ease-out), backdrop-filter .45s var(--ease-out), -webkit-backdrop-filter .45s var(--ease-out);
}
.ig-lb.is-open .ig-lb__veil { opacity: 1; backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); }
.ig-lb__card {
  position: relative; display: grid; grid-template-columns: auto 360px; max-width: 100%; max-height: calc(100svh - 48px);
  background: #111; color: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.55);
  transform-origin: var(--ox) var(--oy); transform: scale(.6); opacity: 0;
  transition: transform .5s cubic-bezier(.2,1.1,.3,1), opacity .3s;
}
.ig-lb.is-open .ig-lb__card { transform: none; opacity: 1; }
.ig-lb__media { position: relative; overflow: hidden; background: #000; width: 480px; height: 600px; transition: width .45s var(--ease-out), height .45s var(--ease-out); }
.ig-lb__track { display: flex; height: 100%; transition: transform .55s var(--ease-out); }
.ig-lb__slide { position: relative; flex: 0 0 100%; height: 100%; display: grid; place-items: center; --mp-pad: 22px; }
.ig-lb__dots { z-index: 3; }
.ig-lb__slide img, .ig-lb__slide video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.ig-lb__step { position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #111; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.ig-lb__step:hover { transform: scale(1.1); }
.ig-lb__step--prev { left: 12px; } .ig-lb__step--next { right: 12px; }
.ig-lb__step[hidden] { display: none; }
.ig-lb__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.ig-lb__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s, transform .3s; }
.ig-lb__dots i.on { background: #fff; transform: scale(1.25); }
.ig-lb__side { display: flex; flex-direction: column; min-height: 0; max-height: calc(100svh - 48px); }
.ig-lb__who { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ig-lb__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #b53033; }
.ig-lb__user {
  display: flex; width: max-content; align-items: center; gap: 5px; font-family: var(--body); font-weight: 700; font-size: 15px;
  color: #fff; text-decoration: none; transform-origin: left center; transition: transform .3s cubic-bezier(.2,1.6,.4,1);
}
.ig-lb__user:hover, .ig-lb__user:focus-visible { transform: scale(1.12); }
.ig-lb__user:active { transform: scale(1.04); }
.ig-lb__verified { width: 15px; height: 15px; flex: none; }
.ig-lb__date { font-size: 13px; opacity: .6; }
.ig-lb__caption { flex: 1; overflow-y: auto; padding: 18px 20px; font-size: 15px; line-height: 1.55; white-space: normal; overscroll-behavior: contain; }
.ig-lb__caption a { color: #ff8d8f; text-decoration: none; }
.ig-lb__caption a:hover { text-decoration: underline; }
.ig-lb__actions { padding: 16px 20px 20px; display: grid; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.ig-lb__follow {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 10px; text-decoration: none;
  font-family: var(--body); font-weight: 700; font-size: 16px; color: #fff; background: #b53033; position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.ig-lb__follow svg { width: 20px; height: 20px; fill: currentColor; }
.ig-lb__follow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s; }
.ig-lb__follow:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(181,48,51,.5); }
.ig-lb__follow:hover::after { transform: translateX(120%); }
.ig-lb__view { text-align: center; font-size: 13px; opacity: .7; text-decoration: none; }
.ig-lb__view:hover { opacity: 1; text-decoration: underline; }
.ig-lb__close { position: absolute; top: 14px; right: 18px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: transform .3s var(--ease-out), background .3s; }
.ig-lb__close:hover { transform: rotate(90deg); background: rgba(0,0,0,.6); }
.ig-lb__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; transition: background .3s; }
.ig-lb__nav:hover { background: rgba(0,0,0,.6); }
.ig-lb__nav--prev { left: 18px; } .ig-lb__nav--next { right: 18px; }
@media (max-width: 900px) {
  .ig-lb { padding: 0; place-items: stretch; }
  .ig-lb__card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); max-height: 100svh; height: 100svh; border-radius: 0; background: #000; }
  .ig-lb__side { background: #111; }
  .ig-lb__media { justify-self: center; }
  .ig-lb__side { max-height: none; min-height: 0; }
  .ig-lb__nav { display: none; }
}
.h-social__deco { left: 0; top: calc(487 * var(--u)); width: calc(136 * var(--u)); height: calc(28 * var(--u)); object-fit: contain; }
.h-social .h-btn { left: calc(463 * var(--u)); top: calc(520 * var(--u)); width: calc(435 * var(--u)); height: calc(57 * var(--u)); }

/* Dividers' white/red lines */
.h-stroke path { fill: none; stroke-width: 6; vector-effect: non-scaling-stroke; }

/* Tablets / narrow windows: the bio text hits its 13px floor and runs longer, so drop the button lower */
@media (min-width: 761px) and (max-width: 1120px) {
  .h-about .h-btn { top: calc(760 * var(--u)); }
}

/* ---------- Phones: stack the grid into a column ---------- */
@media (max-width: 760px) {
  .home { --u: calc(100vw / 600); }
  .h-hero { height: 100svh; min-height: 640px; }
  .h-hero__shade { inset: 0; background: rgba(0,0,0,.45); }
.h-hero__doodles { top: 0; height: 100%; }
  .h-hero__portrait { left: 50%; translate: -50% 0; top: 18%; width: 92vw; height: 46%; }
  .h-hero__d1, .h-hero__d2 { display: none; }
  .h-hero__title { left: 16px; right: 16px; width: auto; top: 38%; font-size: 44px; line-height: 1.05; }
  .h-hero__tag { left: 16px; right: 16px; width: auto; top: calc(38% + 110px); font-size: 16px; }
  .h-hero .h-btn { left: 50%; translate: -50% 0; width: 240px; height: 50px; top: calc(38% + 150px); }

  .h-new, .h-about, .h-social { height: auto; }
  .h-new .h-sec__clip, .h-about .h-sec__clip, .h-social .h-sec__clip { position: relative; }
  .h-hero__title { white-space: normal; }
  .h-new__in, .h-about__in, .h-social__in { position: relative; padding: 100px 16px 90px; display: flex; flex-direction: column; gap: 24px; align-items: center; }
  .h-new__in > *, .h-about__in > *, .h-social__in > * { position: relative !important; left: auto !important; top: auto !important; translate: none !important; }
  .h-new__curve { width: calc(100% + 32px); margin: -40px -16px 0; height: 140px; order: -1; }
  .h-new__video { width: 100%; margin-top: -60px; }
  .h-new .h-btn, .h-about .h-btn, .h-social .h-btn { width: 100%; max-width: 360px; height: 50px; }
  .h-about__photo { width: 100%; height: auto; aspect-ratio: 4/5; }
  .h-about__spark { position: absolute !important; left: 0 !important; top: 100px !important; width: 140px; }
  .h-about__guy { width: 160px; height: 110px; }
  .h-about__title { width: 100%; font-size: 48px; line-height: 1.05; }
  .h-about__text { width: 100%; font-size: 16px; }
  .h-marquee { width: calc(100% + 32px); margin: -60px -16px 0; height: 150px; }
  .h-marquee__track > span { font-size: 110px; }
  .h-marquee { z-index: 3; }
  .h-feed { width: 100%; height: auto; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -78px; }
  .h-feed a { aspect-ratio: 1; border-radius: 6px; }
  .h-social__deco { display: none; }
}

/* ---------- phones: hero stacks so the headline never runs into the tagline ---------- */
@media (max-width: 760px) {
  .h-hero .h-sec__clip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 110px 20px 120px; }
  .h-hero__title, .h-hero__tag, .h-hero .h-btn { position: relative !important; left: auto !important; right: auto !important; top: auto !important; translate: none !important; width: auto !important; }
  .h-hero__title { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.05; white-space: normal; }
  .h-hero__tag { font-size: 16px; }
  .h-hero .h-btn { width: 240px !important; height: 50px; margin-top: 8px; }
  .h-hero__portrait { top: 12%; height: 50%; }

  /* the little standing guy waits beside "A lil About me…" like on desktop */
  .h-about__guy { align-self: flex-end; width: 104px !important; height: 150px !important; margin: 0 2px -150px 0; z-index: 2; }
  .h-about__title { align-self: flex-start; }
}

/* Soft horizontal blur band behind the hero title, so the words read cleanly over the portrait */
.h-hero__title, .h-hero__tag { isolation: isolate; }
.h-hero__title::before, .h-hero__tag::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -14%; width: min(100%, calc(720 * var(--u))); height: 128%; translate: -50% 0;
  background: rgba(0, 0, 0, .14);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%);
}
.h-hero__tag::before { width: calc(380 * var(--u)); min-width: 250px; top: -45%; height: 190%; }
@media (max-width: 760px) { .h-hero__title::before { width: 112%; } .h-hero__tag::before { width: 300px; } }

/* Hero doodles glow gold on hover (assets/js/hero.js) */
.h-dood { position: absolute; overflow: hidden; pointer-events: none; }
.h-dood__spot {
  position: absolute; pointer-events: none; background-repeat: no-repeat; opacity: 0;
  filter: brightness(.8) sepia(1) saturate(3.4) hue-rotate(-12deg) brightness(1) drop-shadow(0 0 4px rgba(242, 211, 75, .95)) drop-shadow(0 0 14px rgba(242, 211, 75, .6));
  transition: opacity 1.6s ease-in-out;
}
.h-dood__spot.is-gold { opacity: 1; transition-duration: .15s; animation: doodPop .45s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes doodPop { 40% { transform: scale(1.12); } }
/* the two separate doodle images tint themselves: same filter list both ways so it fades smoothly */
.h-dood__img {
  filter: brightness(1) sepia(0) saturate(1) hue-rotate(0deg) brightness(1) drop-shadow(0 0 0 rgba(242, 211, 75, 0)) drop-shadow(0 0 0 rgba(242, 211, 75, 0));
  transition: filter 1.6s ease-in-out;
}
.h-dood__img.is-gold {
  filter: brightness(.8) sepia(1) saturate(3.4) hue-rotate(-12deg) brightness(1) drop-shadow(0 0 4px rgba(242, 211, 75, .95)) drop-shadow(0 0 14px rgba(242, 211, 75, .6));
  transition-duration: .15s;
}
@media (prefers-reduced-motion: reduce) { .h-dood__spot.is-gold { animation: none; } }

/* Tagline typewriter (assets/js/hero.js) */
.tt-ch { opacity: 0; }
.tt-ch.is-on { opacity: 1; animation: ttPop .18s ease-out; }
@keyframes ttPop { from { opacity: 0; filter: blur(2px); } }
.h-hero__tag:not(.is-typing):not(.is-typed) .tt-caret { visibility: hidden; }
.tt-caret {
  display: inline-block; width: .09em; height: 1.05em; margin: 0 -.045em; vertical-align: -.15em;
  background: #f2d34b; border-radius: 1px; box-shadow: 0 0 8px rgba(242, 211, 75, .8);
  animation: ttBlink .9s steps(1) infinite;
}
.h-hero__tag.is-typed .tt-caret { animation: ttFade .5s ease forwards; }
@keyframes ttBlink { 50% { opacity: 0; } }
@keyframes ttFade { to { opacity: 0; } }

/* Hero title breathes: a slow zoom in and out once it has animated in (scale is separate from the
   mouse-parallax transform, so the two work together) */
.is-ready .h-hero__title { animation: heroBreathe 7s ease-in-out 1.8s infinite; transform-origin: 50% 55%; }
@keyframes heroBreathe { 0%, 100% { scale: 1; } 50% { scale: 1.045; } }
@media (prefers-reduced-motion: reduce) { .is-ready .h-hero__title { animation: none; } }
