/* ==========================================================================
   Ghast-inspired restyle — shared stylesheet
   Loaded by index.html and albums.html (and albums/*.html detail pages use
   it too, with albums.css on top for the album-specific parts).
   Every other page keeps assets/css/styles.css.
   ========================================================================== */

/* --------------------------------------------------------- Geist (self-hosted) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/geist/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/geist/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------- Tokens */
:root {
  --black: #000;
  --white: #fff;
  --grey: dimgrey;              /* #696969 */
  --light-grey: #c8c8c8;
  --corner: #878787;

  --text: .875rem;              /* 14px */
  --text-lg: 1.75rem;
  --h1: 2.75rem;

  --section-y: 2rem;
  --section-x: 1.75rem;
  --container: 1160px;
  --container-lg: 1400px;
  --nav-h: 56px;
}

@media (min-width: 768px) {
  :root {
    --text-lg: 2rem;
    --h1: 3.5rem;
    --section-y: 3rem;
    --section-x: 2.25rem;
  }
}

@media (min-width: 992px) {
  :root {
    --text-lg: 2.25rem;
    --h1: 4rem;
    --section-y: 4rem;
    --section-x: 2.5rem;
  }
}

/* ---------------------------------------------------------------------- Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: 'Geist', 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif;
  font-size: var(--text);
  line-height: 120%;
  letter-spacing: -.1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1 {
  font-size: var(--h1);
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -2px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--black);
  color: var(--white);
}

/* Lenis smooth scrolling (mirrors lenis.css) */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ------------------------------------------------------------------ Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.container--large {
  max-width: var(--container-lg);
}

.grey-text {
  color: var(--grey);
}

.light-grey-text {
  color: var(--light-grey);
}

.large-text {
  font-size: var(--text-lg);
  letter-spacing: -1px;
  line-height: 120%;
}

.section-tag {
  color: var(--grey);
  font-size: var(--text);
  font-weight: 400;
  letter-spacing: -.3px;
}

.indent-large {
  padding-left: 6rem;
}

.indent-small {
  padding-left: 4rem;
}

/* -------------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem;
  background: var(--white);
  color: var(--black);
  font-size: var(--text);
  line-height: 16px;
  letter-spacing: -.1px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.btn__icon {
  flex: 0 0 auto;
  display: block;
}

/* Rolling dual-label hover, as in the reference */
.btn__text-wrap {
  height: 1rem;
  overflow: hidden;
}

.btn__text {
  display: block;
  height: 1rem;
  line-height: 1rem;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.65, .05, .35, 1);
}

.btn:hover .btn__text,
.btn:focus-visible .btn__text {
  transform: translateY(-1rem);
}

.btn--ghost {
  background: transparent;
  padding: 0;
}

.btn--ghost.btn--light {
  color: var(--white);
}

.btn--light {
  color: var(--white);
}

/* -------------------------------------------------------------------- Navbar */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 998;
  height: var(--nav-h);
  padding-inline: var(--section-x);
  display: flex;
  align-items: center;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, .01);
  color: var(--white);
  transition: background-color .3s, color .3s, box-shadow .3s;
}

.navbar__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.navbar__brand {
  font-size: 1.25rem;
  letter-spacing: -.5px;
  justify-self: start;
  white-space: nowrap;
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-self: center;
}

.navbar__link {
  margin-inline: 1.25rem;
  opacity: .8;
  color: inherit;
  transition: opacity .2s;
}

.navbar__link:hover,
.navbar__link:focus-visible {
  opacity: 1;
}

.navbar__link[aria-current='page'] {
  opacity: 1;
}

.navbar__cta {
  justify-self: end;
}

/* Over the hero: transparent bar, light type, solid button.
   Past the hero: white bar, dark type, button blends into the bar. */
.navbar.is-scrolled {
  background-color: var(--white);
  color: var(--black);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.navbar.is-scrolled .btn {
  background: transparent;
}

.navbar.is-scrolled .btn:hover {
  background: rgba(0, 0, 0, .05);
}

/* The menu overlay is white and sits under the bar, so flip the bar to dark type */
.navbar.is-menu-open {
  background-color: var(--white);
  color: var(--black);
  box-shadow: none;
}

.navbar.is-menu-open .btn {
  background: transparent;
}

.navbar__toggle {
  display: none;
  justify-self: end;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.navbar__toggle span,
.navbar__toggle span::before,
.navbar__toggle span::after {
  display: block;
  width: 1.375rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.navbar__toggle span {
  position: relative;
}

.navbar__toggle span::before,
.navbar__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.navbar__toggle span::before {
  top: -6px;
}

.navbar__toggle span::after {
  top: 6px;
}

.navbar__toggle.active span {
  background: transparent;
}

.navbar__toggle.active span::before {
  transform: translateY(6px) rotate(45deg);
}

.navbar__toggle.active span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 997;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-x);
  background: var(--white);
  color: var(--black);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  font-size: 2rem;
  letter-spacing: -1.5px;
  line-height: 110%;
}

.mobile-nav a:hover {
  color: var(--grey);
}

@media (max-width: 991px) {
  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__inner {
    grid-template-columns: 1fr auto;
  }

  .navbar__toggle {
    display: flex;
  }
}

/* ----------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2rem) var(--section-x) 2rem;
  overflow: clip;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: 50% 30%;
  background-size: cover;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .4;
  background-image: linear-gradient(#000, #0000 51%, #000);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.hero__heading {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--white);
}

.hero__heading .light-grey-text {
  color: var(--light-grey);
}

/* "Latest Work" blip */
.latest-work {
  grid-column: 1;
  justify-self: start;
  align-self: end;
  display: flex;
  gap: 1rem;
  padding: .5rem 1rem .5rem .5rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: var(--white);
  transition: background-color .25s;
}

.latest-work:hover {
  background: rgba(0, 0, 0, .68);
}

.latest-work__media {
  position: relative;
  width: 60px;
  min-height: 60px;
  border-radius: 4px;
  overflow: clip;
  flex: 0 0 auto;
}

.latest-work__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: 50%;
  background-size: cover;
}

.latest-work__img--hover {
  opacity: 0;
  transition: opacity .4s;
}

.latest-work:hover .latest-work__img--hover {
  opacity: 1;
}

.latest-work__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: .35rem;
}

.latest-work__title {
  color: var(--white);
}

@media (max-width: 767px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__heading {
    grid-column: 1;
    grid-row: 1;
  }

  .latest-work {
    grid-column: 1;
    grid-row: 2;
  }
}

/* ------------------------------------------------------------------ Sections */
.section {
  position: relative;
  padding: var(--section-y) var(--section-x);
}

.section__corners {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.section__corner {
  position: absolute;
  width: 13px;
  height: 13px;
}

.section__corner--tl {
  top: 16px;
  left: 16px;
  border-top: 1px solid var(--corner);
  border-left: 1px solid var(--corner);
}

.section__corner--tr {
  top: 16px;
  right: 16px;
  border-top: 1px solid var(--corner);
  border-right: 1px solid var(--corner);
}

.section__corner--bl {
  bottom: 16px;
  left: 16px;
  border-bottom: 1px solid var(--corner);
  border-left: 1px solid var(--corner);
}

.section__corner--br {
  bottom: 16px;
  right: 16px;
  border-bottom: 1px solid var(--corner);
  border-right: 1px solid var(--corner);
}

/* ---------------------------------------------------------------------- About */
.about-grid {
  display: grid;
  grid-template-columns: .25fr 1fr;
  column-gap: 1rem;
  row-gap: 4rem;
}

.about__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.about__text .large-text {
  max-width: 60ch;
}

.about__body {
  max-width: 58ch;
  color: var(--grey);
  line-height: 150%;
}

/* The row spans the full container so the three images read at a similar,
   generous size instead of being squeezed into the text column. The frames
   share one aspect ratio so the trio lines up evenly regardless of each
   photo's native ratio. */
.about__images {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 1.25rem;
  align-items: end;
}

.about-image {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .5rem;
  height: 100%;
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: clip;
}

/* Absolutely positioned so the frame's box, not the photo's native ratio,
   decides the height (and the parallax has a fixed frame to drift inside). */
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transform-origin: 50% 50%;
  will-change: transform;
}

@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .about__images {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    row-gap: 1.25rem;
  }

  .about-image:first-child {
    grid-column: 1 / -1;
  }

  .indent-large {
    padding-left: 2rem;
  }
}

/* ------------------------------------------------------------- Selected work */
.work-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.work-card {
  display: grid;
  grid-template-columns: 1.25fr .5fr .25fr;
  gap: 1.25rem;
}

.work-card__media {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: clip;
}

.work-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .45s cubic-bezier(.215, .61, .355, 1);
}

.work-card__media:hover img {
  transform: scale(1.05);
}

.work-card__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

@media (max-width: 991px) {
  .work-card {
    grid-template-columns: 1.25fr .5fr;
  }

  .work-card__text {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .work-card {
    grid-template-columns: 1fr;
  }

  .work-card__media--portrait {
    display: none;
  }
}

/* ---------------------------------------------------------------- Work hero
   Ghast's work-page hero: a single centred page title in a full viewport. */
.work-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) var(--section-x);
  overflow: clip;
  text-align: center;
}

/* Loading / empty state for the work card lists */
.work-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding-block: 2rem;
}

.work-empty .btn {
  margin-top: .5rem;
}

/* ------------------------------------------------------------- What I Do
   Ghast's "What We Do": a sticky centre column of service names that
   crossfade while three scattered image groups scroll past behind them.
   Photos keep their own shape: no aspect-ratio boxes, no object-fit. */
.services-stage {
  position: relative;
}

.services-shot {
  position: relative;
  width: 100%;
  align-self: start;
  overflow: clip;
}

.services-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------- Desktop: scatter + sticky */
@media (min-width: 768px) {
  .services-sticky {
    position: sticky;
    top: 50%;
    z-index: -1;
    width: 100%;
    max-width: 335px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-align: center;
  }

  .services-names {
    display: grid;
    width: 100%;
  }

  .services-names > p {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity .2s;
  }

  .services-names > p.is-active {
    opacity: 1;
  }

  .services-group__label {
    display: none;
  }

  .services-group {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
    row-gap: 4rem;
    margin-top: 10rem;
    margin-bottom: 10rem;
  }

  .services-group[data-service="0"] .services-shot:nth-of-type(1) { grid-area: 1 / 1 / 2 / 4; }
  .services-group[data-service="0"] .services-shot:nth-of-type(2) { grid-area: 3 / 2 / 4 / 5; }
  .services-group[data-service="0"] .services-shot:nth-of-type(3) { grid-area: 2 / 8 / 3 / 11; }

  .services-group[data-service="1"] .services-shot:nth-of-type(1) { grid-area: 1 / 1 / 2 / 4; }
  .services-group[data-service="1"] .services-shot:nth-of-type(2) { grid-area: 3 / 2 / 4 / 5; }
  .services-group[data-service="1"] .services-shot:nth-of-type(3) { grid-area: 1 / 8 / 2 / 11; }

  .services-group[data-service="2"] .services-shot:nth-of-type(1) { grid-area: 1 / 1 / 2 / 4; }
  .services-group[data-service="2"] .services-shot:nth-of-type(2) { grid-area: 3 / 9 / 4 / 11; }
  .services-group[data-service="2"] .services-shot:nth-of-type(3) { grid-area: 2 / 7 / 3 / 9; }
}

/* ------------------------------------------------------- Mobile: stacked cards */
@media (max-width: 767px) {
  .services-sticky {
    display: none;
  }

  .services-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 3rem;
  }

  .services-group__label {
    display: block;
    grid-column: 1 / -1;
  }

  .services-shot:nth-of-type(n + 3) {
    display: none;
  }
}

@media (max-width: 479px) {
  .services-group {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------- Instagram */
.instagram-head {
  display: grid;
  grid-template-columns: .25fr 1fr;
  column-gap: 1rem;
  row-gap: 1.5rem;
  align-items: start;
}

.instagram-head__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.instagram-head__intro .large-text {
  max-width: 22ch;
}

.instagram-head__intro a {
  border-bottom: 1px solid currentColor;
}

.instagram-nav {
  display: flex;
  gap: .5rem;
}

.instagram-nav__btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-grey);
  color: var(--black);
  transition: background-color .2s, color .2s, border-color .2s;
}

.instagram-nav__btn:hover:not(:disabled) {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.instagram-nav__btn:disabled {
  opacity: .3;
  cursor: default;
}

.instagram-carousel {
  margin-top: 2.5rem;
}

.instagram-carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: .25rem;
}

.instagram-carousel__track::-webkit-scrollbar {
  display: none;
}

.instagram-carousel__track:focus-visible {
  outline: 1px solid var(--grey);
  outline-offset: 4px;
}

.instagram-carousel__item {
  flex: 0 0 calc((100% - 3.75rem) / 4);
  scroll-snap-align: start;
}

.instagram-carousel__link {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: clip;
  background: #f2f2f2;
}

.instagram-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.215, .61, .355, 1);
}

.instagram-carousel__link:hover .instagram-carousel__img {
  transform: scale(1.05);
}

.instagram-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0) 55%);
  opacity: 0;
  transition: opacity .3s;
}

.instagram-carousel__link:hover .instagram-carousel__overlay,
.instagram-carousel__link:focus-visible .instagram-carousel__overlay {
  opacity: 1;
}

.instagram-carousel__badge {
  position: absolute;
  top: .6rem;
  right: .6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, .9);
  color: var(--black);
}

.instagram-carousel__meta {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}

.instagram-carousel__link:hover .instagram-carousel__meta,
.instagram-carousel__link:focus-visible .instagram-carousel__meta {
  opacity: 1;
  transform: none;
}

.instagram-carousel__date {
  font-size: .8125rem;
}

.instagram-carousel__icon {
  font-size: .875rem;
}

@media (max-width: 991px) {
  .instagram-carousel__item {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 767px) {
  .instagram-head {
    grid-template-columns: 1fr;
  }

  .instagram-carousel__item {
    flex-basis: 78%;
  }
}

/* ------------------------------------------------------------- CTA + footer */
.cta {
  position: relative;
  display: flex;
  min-height: 720px;
  padding: 2.5rem var(--section-x);
  color: var(--white);
  background-position: 50% 50%;
  background-size: cover;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, .35));
}

.cta__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}

.cta__heading {
  max-width: 680px;
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -1px;
}

.cta__action {
  margin-left: auto;
}

@media (max-width: 767px) {
  .cta {
    min-height: 560px;
    padding-block: 2rem;
  }

  .indent-small {
    padding-left: 2rem;
  }
}

.footer {
  padding: 2rem var(--section-x) 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr .5fr .5fr .5fr .5fr .5fr .5fr;
  gap: 1.25rem;
  row-gap: 2.05rem;
  align-items: end;
}

.footer__brand {
  grid-column: 1 / 3;
  grid-row: 1;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: -.05em;
  white-space: nowrap;
  color: var(--black);
}

.footer__col {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.footer__label {
  color: var(--black);
}

.footer__link {
  color: var(--grey);
  transition: color .2s;
}

.footer__link:hover {
  color: var(--black);
}

.footer__col--instagram {
  grid-column: 3;
}

.footer__col--email {
  grid-column: 4;
}

.footer__copy {
  grid-column: 7;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  color: var(--grey);
  text-align: right;
}

@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer__col,
  .footer__copy {
    grid-row: auto;
    grid-column: auto;
    justify-self: start;
    text-align: left;
  }
}

/* ------------------------------------------------------- Floating contact pill */
.floating-contact {
  position: fixed;
  right: 2%;
  bottom: 2%;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 2rem 1rem 1rem;
  border: 1px solid var(--light-grey);
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  transition: background-color .2s, opacity .35s, transform .35s;
}

.floating-contact:hover {
  background: #f8f8f8;
}

.floating-contact__avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.floating-contact__text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.floating-contact__title {
  font-weight: 600;
}

.floating-contact__cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--grey);
}

.floating-contact.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

@media (max-width: 600px) {
  .floating-contact {
    padding: .75rem 1rem .75rem .75rem;
    gap: .5rem;
    border-radius: 14px;
  }

  .floating-contact__avatar {
    width: 36px;
    height: 36px;
  }

  .floating-contact__title {
    font-size: .8125rem;
  }
}

/* SplitText line masks: give descenders a little breathing room */
.split-line-mask {
  padding-bottom: .14em;
  margin-bottom: -.14em;
}

/* --------------------------------------------------------------- Load states */
.preload .hero__media {
  transform: scale(1.35);
}

.preload .hero__grid,
.preload .navbar {
  opacity: 0;
}

/* --------------------------------------------------------------- A11y/motion */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
