/* ========================================
   TOMFOLIO — Custom Styles
   ======================================== */

/* --- Font Face Declarations --- */
@font-face {
  font-family: "Lausanne";
  src: url("../assets/fonts/Lausanne-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bethany Elingston";
  src: url("../assets/fonts/Bethany Elingston.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Smooth scroll --- */
html {
  scroll-behavior: smooth;
}

/* --- Hero Carousel --- */
.hero-carousel {
  position: relative;
  overflow: hidden;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-carousel .slide.active {
  opacity: 1;
}

/* --- Header Theme --- */
header.site-header {
  color: #ffffff;
  background: transparent;
  mix-blend-mode: difference;
}

header.site-header nav {
  color: inherit;
}

header.site-header a,
header.site-header button {
  color: inherit;
  transition: color 0.3s ease;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .site-nav-links {
    left: auto !important;
    right: 100px;
    transform: none !important;
    gap: 0.25rem;
  }

  .site-nav-links .nav-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1.5rem;
  }
}

/* --- Mobile Menu --- */
.mobile-menu {
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

/* --- Contact Watermark --- */
.watermark {
  font-size: clamp(80px, 25vw, 400px);
  letter-spacing: 0.04em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.contact-page {
  background: #f3f3ef;
}

.contact-page-frame {
  max-width: 1920px;
  margin: 0 auto;
}


.contact-stage {
  position: relative;
  min-height: clamp(33rem, 62vw, 43.5rem);
  background: #faf9f5;
  overflow: hidden;
}

.contact-stage-copy {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3.5rem);
  bottom: clamp(2.25rem, 8vw, 7rem);
  z-index: 2;
  max-width: min(28rem, calc(100% - 3rem));
}

.contact-stage-heading {
  margin: 0;
  color: #0e03e1;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 0.92;
}

.contact-stage-email {
  display: inline-block;
  margin-top: clamp(0.875rem, 1.8vw, 1.5rem);
  color: #151515;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 20px !important;
  line-height: 1.15;
  transition: color 0.2s ease;
}

.contact-stage-email:hover {
  color: #0e03e1;
}

/* --- Anavi project page --- */
.anavi-page {
  background: #ffffff;
}

.anavi-page-shell {
  background: #fafaf7;
}

.anavi-page-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.anavi-project-head {
  display: flex;
  flex-direction: column;
}

.anavi-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 16rem;
  margin: 2.75rem 0 2rem;
}

.anavi-project-hero {
  overflow: hidden;
  aspect-ratio: 1920 / 984;
  margin-bottom: 1rem;
}

.anavi-title {
  margin: 0;
  color: #2f2c26;
  font-family: "Bethany Elingston", "Cormorant", "Georgia", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.anavi-copy {
  margin: 0.75rem 0 0;
  color: #3b3b39;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 18px;
  line-height: 1.12;
}

.anavi-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anavi-block {
  overflow: hidden;
}

.anavi-block-wide {
  aspect-ratio: 1720 / 1144;
}

.anavi-editorial-grid,
.anavi-color-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.anavi-block-top {
  grid-column: 1 / span 2;
  aspect-ratio: 1136 / 760;
}

.anavi-block-portrait {
  aspect-ratio: 552 / 664;
}

.anavi-block-detail {
  aspect-ratio: 1136 / 752;
}

.anavi-block-swatches {
  aspect-ratio: 698 / 840;
}

.anavi-block-shadow {
  aspect-ratio: 990 / 1192;
}

.anavi-block-beach {
  width: 100%;
  margin: 0.5rem 0 0;
  aspect-ratio: 1136 / 1368;
}

.anavi-block-portrait,
.anavi-block-detail,
.anavi-block-swatches,
.anavi-block-shadow,
.anavi-block-beach {
  margin-left: 0.875rem;
  margin-right: 0.875rem;
}

@media (max-width: 1023px) {
  .anavi-project-hero {
    height: 320px !important;
  }

  .anavi-intro,
  .archi-intro,
  .redfox-intro {
    min-height: 86vh;
  }

  .archi-block-building,
  .archi-block-magazine,
  .archi-block-ipad,
  .archi-block-posters,
  .archi-block-door,
  .archi-block-behance {
    margin-left: 0.875rem;
    margin-right: 0.875rem;
  }

  .archi-accent-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 0.5rem;
    margin-left: 0.875rem;
    margin-right: 0.875rem;
  }

  .anavi-block-cards {
    height: 320px;
    aspect-ratio: auto;
  }

  .anavi-block-beach {
    width: calc(100% - 1.75rem);
    height: 320px;
    margin: 0.5rem auto 0;
    aspect-ratio: auto;
  }
}

@media (min-width: 1024px) {
  .anavi-page-inner {
    padding: 2rem 4rem 5rem;
  }

  .anavi-intro {
    width: 60%;
    max-width: none;
    min-height: clamp(32rem, 50vh, 40rem);
    margin: 3rem 0 4rem 0;
  }

  .anavi-title {
    font-size: 60px;
  }

  .anavi-copy {
    margin-top: 1.25rem;
    font-size: 20px;
    line-height: 1.1;
  }

  .anavi-gallery {
    gap: 3rem;
  }

  .anavi-editorial-grid,
  .anavi-color-grid {
    display: grid;
    gap: 0.875rem;
  }

  .anavi-editorial-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .anavi-block-top {
    grid-column: 1;
    grid-row: 1;
  }

  .anavi-block-detail {
    grid-column: 1;
    grid-row: 2;
  }

  .anavi-block-portrait {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    max-height: 664px;
    width: 100%;
  }

  .anavi-block-stationery {
    aspect-ratio: auto;
    height: 1144px;
  }

  .anavi-color-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .anavi-block-beach {
    width: 62%;
    margin: 0.5rem auto 0;
  }

  .anavi-block-portrait,
  .anavi-block-detail,
  .anavi-block-swatches,
  .anavi-block-shadow {
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- Archi project page --- */
.archi-page {
  background: #ffffff;
}

.archi-page-shell {
  background: #fbfbf8;
}

.archi-page-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.archi-project-head {
  display: flex;
  flex-direction: column;
}

.archi-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 16rem;
  margin: 2.75rem 0 2rem;
}

.archi-project-hero {
  overflow: hidden;
  aspect-ratio: 1920 / 984;
  margin-bottom: 1rem;
}

.archi-title {
  margin: 0;
  color: #2f2c26;
  font-family: "Bethany Elingston", "Cormorant", "Georgia", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.archi-copy,
.archi-secondary-copy {
  margin: 0.75rem 0 0;
  color: #3b3b39;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 18px;
  line-height: 1.12;
}

.archi-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.archi-block {
  overflow: hidden;
}

.archi-block-building {
  aspect-ratio: 1720 / 1104;
}

.archi-block-magazine {
  aspect-ratio: 1422 / 776;
}

.archi-stationery-grid,
.archi-accent-grid,
.archi-photo-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.archi-block-stationery,
.archi-block-ipad {
  aspect-ratio: 844 / 560;
}

.archi-block-pattern {
  aspect-ratio: 796 / 448;
}

.archi-block-square {
  aspect-ratio: 435 / 448;
}

.archi-text-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.archi-block-posters {
  aspect-ratio: 1231 / 784;
}

.archi-block-door {
  aspect-ratio: 698 / 1040;
}

.archi-block-house-small {
  aspect-ratio: 990 / 656;
}

.archi-block-house-wide {
  aspect-ratio: 1720 / 1144;
}

.archi-block-behance {
  aspect-ratio: 1720 / 1104;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .archi-project-hero-desktop {
    height: 720px !important;
  }
}

@media (min-width: 1024px) {
  .archi-page-inner {
    padding: 2rem 4rem 5rem;
  }

  .archi-intro {
    width: 60%;
    max-width: none;
    min-height: clamp(32rem, 50vh, 40rem);
    margin: 3rem 0 4rem 0;
  }

  .archi-title {
    font-size: 60px;
  }

  .archi-copy,
  .archi-secondary-copy {
    margin-top: 1rem;
    font-size: 20px;
    line-height: 1.1;
  }

  .archi-gallery {
    gap: 3rem;
    margin-top: 1.5rem;
  }

  .archi-block-building {
    width: 100%;
    max-width: none;
    height: 660px;
    aspect-ratio: auto;
  }

  .archi-stationery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    margin-top: -1.5rem;
  }

  .archi-accent-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr);
    gap: 0.875rem;
    width: 70%;
    max-width: 1100px;
    margin-left: auto;
  }

  .archi-text-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    gap: 1rem;
    align-items: end;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .archi-secondary-copy {
    margin-top: 0;
    align-self: end;
  }

  .archi-photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 0.875rem;
    align-items: end;
  }

  .archi-block-house-wide,
  .archi-block-behance {
    height: 1100px;
    aspect-ratio: auto;
  }
}

/* --- Red Fox project page --- */
.redfox-page {
  background: #ffffff;
}

.redfox-page-shell {
  background: #f8f5f0;
}

.redfox-page-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.redfox-project-head {
  display: flex;
  flex-direction: column;
}

.redfox-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 16rem;
  margin: 2.75rem 0 2rem;
}

.redfox-page-kicker {
  margin: 0 0 0.875rem;
  color: #b7b0a6;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 0.875rem;
  line-height: 1.2;
}

.redfox-project-hero {
  overflow: hidden;
  aspect-ratio: 1920 / 984;
  margin-bottom: 1rem;
}

.redfox-title {
  margin: 0;
  color: #2c241f;
  font-family: "Bethany Elingston", "Cormorant", "Georgia", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.redfox-copy,
.redfox-story-copy {
  margin: 0.75rem 0 0;
  color: #403933;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 18px;
  line-height: 1.12;
  width: min(90vw, 24rem);
}

.redfox-story-copy-brand {
  margin: 0.75rem auto;
}

.redfox-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.redfox-block {
  overflow: hidden;
}

.redfox-brand-grid,
.redfox-editorial-grid,
.redfox-leather-grid,
.redfox-balm-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.redfox-block-cover {
  width: 90vw;
  margin: 0 auto;
  aspect-ratio: 908 / 605;
}

.redfox-block-cards,
.redfox-block-sign {
  width: min(90vw, 24rem);
  margin: 0 auto;
  aspect-ratio: 844 / 512;
}

.redfox-block-product {
  width: min(90vw, 24rem);
  margin: 0 auto;
  aspect-ratio: 698 / 856;
}

.redfox-block-bag {
  width: min(90vw, 24rem);
  margin: 0 auto;
}

.redfox-block-wallet {
  width: min(90vw, 26rem);
  margin: 0 auto;
  aspect-ratio: 1136 / 1424;
}

.redfox-block-collection,
.redfox-block-detail {
  width: min(90vw, 24rem);
  margin: 0 auto;
}

.redfox-story-copy-balm {
  margin-left: 0.75rem;
}

.redfox-block-balm {
  width: min(90vw, 24rem);
  margin: 0 auto;
  aspect-ratio: 698 / 1040;
}

.redfox-block-craft {
  width: min(90vw, 32rem);
  margin: 0 auto;
  aspect-ratio: 1300 / 864;
}

@media (max-width: 1023px) {
  .redfox-gallery,
  .redfox-brand-grid,
  .redfox-editorial-grid,
  .redfox-leather-grid,
  .redfox-balm-grid {
    gap: 1.5rem;
  }

  .redfox-project-hero {
    height: 320px !important;
    aspect-ratio: auto;
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .redfox-block-cards,
  .redfox-block-craft {
    width: calc(100% + 2rem);
    max-width: none;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .redfox-block-detail {
    width: 40%;
    max-width: none;
    margin-left: auto;
    margin-right: 0;
  }

  .redfox-story-copy-balm {
    width: 60%;
    max-width: none;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .redfox-project-hero-desktop {
    height: 720px !important;
  }
}

@media (min-width: 1024px) {
  .redfox-page-inner {
    max-width: 1920px;
    padding: 2rem 4rem 5rem;
  }

  .redfox-intro {
    width: 60%;
    max-width: none;
    min-height: clamp(32rem, 50vh, 40rem);
    margin: 0 0 4rem 0;
  }

  .redfox-title {
    font-size: 60px;
  }

  .redfox-copy,
  .redfox-story-copy {
    margin-top: 1rem;
    font-size: 20px;
    line-height: 1.1;
    width: 100%;
  }

  .redfox-gallery {
    gap: 3rem;
  }

  .redfox-project-hero {
    width: 100%;
    margin: 0;
  }

  .redfox-block-cover {
    width: 60%;
    margin: 0 auto;
  }

  .redfox-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    width: 100%;
    margin: 0 auto;
  }

  .redfox-block-cards,
  .redfox-block-sign {
    width: 100%;
  }

  .redfox-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 0.875rem;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
  }

  .redfox-block-product {
    width: 100%;
    height: 100%;
  }

  .redfox-block-collection {
    width: 100%;
    height: 80%;
    align-self: end;
  }

  .redfox-block-bag {
    width: 56%;
    margin: 0 auto;
  }

  .redfox-leather-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    width: 100%;
    margin: 0 auto;
  }

  .redfox-block-wallet,
  .redfox-block-detail {
    width: 100%;
  }

  .redfox-balm-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr);
    gap: 1rem;
    align-items: end;
    width: 100%;
    margin: 0 auto;
  }

  .redfox-story-copy-balm {
    margin: 0;
    width: 100%;
    max-width: none;
    align-self: end;
  }

  .redfox-block-balm {
    width: 100%;
    grid-column: 3;
  }

  .redfox-block-craft {
    width: 70%;
    margin: 0 auto;
    order: 99;
  }
}

/* --- Froth project page --- */
.froth-page {
  background: #ffffff;
}

.froth-page-shell {
  background: #fafaf7;
}

.froth-page-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.froth-project-head {
  display: flex;
  flex-direction: column;
}

.froth-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 16rem;
  margin: 2.75rem 0 2rem;
}

.froth-title {
  margin: 0;
  color: #2f2c26;
  font-family: "Bethany Elingston", "Cormorant", "Georgia", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.froth-copy,
.froth-story-copy {
  margin: 0.75rem 0 0;
  color: #3b3b39;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 18px;
  line-height: 1.12;
}

.froth-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.froth-gallery-desktop {
  display: none;
}

.froth-block {
  overflow: hidden;
}

.froth-story-grid {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.froth-block-mark {
  aspect-ratio: 1720 / 1000;
}

.froth-story-copy {
  margin: 0;
}

.froth-mobile-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 0.75rem;
}

.froth-block-local {
  aspect-ratio: 698 / 1113;
}

.froth-brand-grid,
.froth-beans-grid,
.froth-coffee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.froth-accent-copy {
  margin: 0;
  color: #9b884f;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.froth-block-sheet {
  aspect-ratio: 1136 / 839;
}

.froth-block-cup {
  aspect-ratio: 552 / 632;
}

.froth-block-tote {
  aspect-ratio: 1282 / 960;
}

.froth-block-paper {
  aspect-ratio: 990 / 736;
}

.froth-block-bag {
  aspect-ratio: 990 / 840;
}

.froth-block-cards {
  aspect-ratio: 845 / 1048;
}

.froth-block-machine {
  aspect-ratio: 844 / 1048;
}

.froth-block-beans {
  aspect-ratio: 552 / 664;
}

.froth-block-scene {
  aspect-ratio: 1920 / 984;
}

@media (max-width: 1023px) {
  .froth-intro {
    min-height: 85vh;
  }

  .froth-brand-grid,
  .froth-beans-grid {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .froth-block-mark,
  .froth-block-sheet,
  .froth-block-paper {
    width: calc(100% + 2rem);
    margin-left: -0.875rem;
    margin-right: -0.875rem;
  }

  .froth-brand-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    align-items: end;
  }

  .froth-block-cup {
    width: 100%;
    margin-left: auto;
  }

  .froth-beans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .froth-block-cards,
  .froth-block-machine,
  .froth-block-bag {
    width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .froth-project-hero-desktop {
    height: 720px !important;
  }
}

@media (min-width: 1024px) {
  .froth-page-inner {
    padding: 2rem 4rem 5rem;
  }

  .froth-intro {
    width: 60%;
    max-width: none;
    min-height: clamp(32rem, 50vh, 40rem);
    margin: 3rem 0 4rem 0;
  }

  .froth-title {
    font-size: 60px;
  }

  .froth-copy,
  .froth-story-copy {
    font-size: 20px;
    line-height: 1.1;
  }

  .froth-gallery {
    gap: 3rem;
  }

  .froth-mobile-copy {
    display: none;
  }

  .froth-accent-copy {
    font-size: 20px;
  }

  .froth-gallery-desktop {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .froth-gallery-desktop > * + * {
    margin-top: 4rem;
  }

  .froth-desktop-block-mark {
    width: calc(95% + 4rem);
    margin: 0 auto 0 -4rem;
  }

  .froth-desktop-row {
    display: grid;
    gap: 1rem;
    align-items: start;
  }

  .froth-desktop-row-local {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    align-items: stretch;
  }

  .froth-desktop-block-local {
    aspect-ratio: 698 / 1113;
  }

  .froth-desktop-paper-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
  }

  .froth-desktop-block-paper {
    aspect-ratio: auto;
    height: 70%;
  }

  .froth-desktop-local-copy {
    max-width: 30%;
    font-size: 20px;
  }

  .froth-desktop-row-brand {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.3fr);
    align-items: end;
  }

  .froth-desktop-copy-stack {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    height: 100%;
  }

  .froth-desktop-block-sheet {
    aspect-ratio: auto;
    height: 100%;
  }

  .froth-desktop-block-cup {
    aspect-ratio: auto;
    width: 100%;
    height: 80%;
    margin-left: auto;
  }

  .froth-desktop-row-product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 6fr);
    align-items: end;
    margin-top: 3rem;
  }

  .froth-desktop-block-beans {
    aspect-ratio: 552 / 664;
    grid-column: 2;
  }

  .froth-desktop-block-bag {
    aspect-ratio: 990 / 840;
    grid-column: 3;
  }

  .froth-desktop-block-tote {
    width: 75%;
    aspect-ratio: 1282 / 960;
  }

  .froth-desktop-row-end {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .froth-desktop-block-machine {
    aspect-ratio: 844 / 1048;
  }

  .froth-desktop-end-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .froth-desktop-end-stack .froth-story-copy {
    width: 30%;
    max-width: none;
    min-width: 212px;
    height: 212px;
    color: #9b884f;
  }

  .froth-desktop-block-cards {
    aspect-ratio: 845 / 1048;
  }
}

@media (min-width: 1920px) {
  .anavi-gallery,
  .archi-gallery,
  .redfox-gallery,
  .froth-gallery {
    gap: 4rem;
  }

  .anavi-copy,
  .archi-copy,
  .archi-secondary-copy,
  .redfox-copy,
  .redfox-story-copy,
  .froth-copy,
  .froth-story-copy {
    font-size: 30px;
  }

  .froth-desktop-local-copy {
    font-size: 30px;
  }
}

/* --- Radiant project page --- */
.radiant-page {
  background: #ffffff;
}

.radiant-page-shell,
.radiant-mobile-shell {
  background: #fafaf7;
}

.radiant-page-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 2rem 4rem 5rem;
}

.radiant-project-head {
  display: flex;
  flex-direction: column;
}

.radiant-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 60%;
  max-width: none;
  min-height: clamp(32rem, 50vh, 40rem);
  margin: 3rem 0 4rem 0;
}

.radiant-title {
  margin: 0;
  color: #2f2c26;
  font-family: "Bethany Elingston", "Cormorant", "Georgia", "serif";
  font-size: 60px;
  line-height: 0.95;
}

.radiant-copy,
.radiant-story-copy {
  margin: 1rem 0 0;
  color: #2f2f2f;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 20px;
  line-height: 1.1;
}

.radiant-gallery {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.radiant-block {
  overflow: hidden;
}

.radiant-block-hero {
  width: 100%;
  aspect-ratio: 1720 / 1112;
}

.radiant-block-icons {
  width: 100%;
  margin: 0;
  aspect-ratio: 1720 / 1032;
}

.radiant-block-structure {
  width: 65%;
  margin: 0 auto;
  aspect-ratio: 1136 / 752;
}

.radiant-brand-row,
.radiant-editorial-row {
  display: grid;
  gap: 1rem;
}

.radiant-brand-row {
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
  align-items: end;
}

.radiant-block-banner {
  aspect-ratio: auto;
  height: 80%;
  align-self: start;
}

.radiant-block-id {
  aspect-ratio: 698 / 840;
}

.radiant-editorial-row {
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  align-items: start;
}

.radiant-block-brochure {
  aspect-ratio: 844 / 1016;
}

.radiant-block-palette {
  aspect-ratio: auto;
  height: 50%;
  align-self: end;
}

.radiant-block-aerial {
  width: 100%;
  margin: 0;
  aspect-ratio: 1719 / 1144;
}

.radiant-block-tape {
  width: 65%;
  margin: 0 auto;
  aspect-ratio: 1137 / 760;
}

.radiant-block-billboard {
  width: 100%;
  margin: 0;
  aspect-ratio: 1720 / 1032;
}

.radiant-mobile-inner {
  padding: 0 1rem 3rem;
}

.radiant-mobile-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 16rem;
  min-height: 100vh;
  margin:0;
}

.radiant-mobile-title {
  margin: 0;
  color: #2f2c26;
  font-family: "Bethany Elingston", "Cormorant", "Georgia", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.radiant-mobile-copy {
  margin: 0.75rem 0 0;
  max-width: 15rem;
  color: #2f2f2f;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 18px;
  line-height: 1.12;
}

.radiant-mobile-copy-secondary {
  margin-top: 1.25rem;
  max-width: 18rem;
}

.radiant-mobile-block {
  overflow: hidden;
  margin-top: 1rem;
}

.radiant-mobile-block-hero {
  aspect-ratio: 1720 / 1112;
}

.radiant-mobile-block-icons {
  margin-top: 1.75rem;
  aspect-ratio: 1720 / 1032;
}

.radiant-mobile-block-hero,
.radiant-mobile-block-icons,
.radiant-mobile-block-banner,
.radiant-mobile-block-billboard {
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.radiant-mobile-block-id,
.radiant-mobile-block-brochure {
  height: 520px;
}

.radiant-mobile-block-id img,
.radiant-mobile-block-brochure img {
  aspect-ratio: auto;
}

@media (min-width: 1920px) {
  .radiant-gallery {
    gap: 4rem;
  }

  .radiant-copy,
  .radiant-story-copy {
    font-size: 30px;
  }
}

.contact-watermark {
  position: absolute;
  left: 50%;
  bottom: -1.125rem;
  transform: translateX(-50%);
  color: #e7e7e1;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(10rem, 26vw, 28rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
}

/* --- Shared footer --- */
.site-footer {
  margin-top: -1px;
  background: #0f0f0f;
}

.site-footer-panel,
.contact-footer-panel {
  min-height: clamp(13.5rem, 20vw, 18rem);
  background: #0f0f0f;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 3vw, 3.25rem);
}

.site-footer-copy,
.contact-footer-copy {
  margin: 0;
  flex: 0 0 auto;
  align-self: flex-end;
  margin-right: auto;
  color: #4f4f4f;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(0.875rem, 1vw, 1.25rem);
  line-height: 1;
}

.site-footer-links,
.contact-footer-links {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  gap: 2rem;
}

.site-footer-link,
.contact-footer-link {
  color: #e6e1d7;
  font-family: "Bethany Elingston", "Cormorant", "Georgia", serif;
  font-size: clamp(1.5rem, 1.7vw, 2.125rem);
  line-height: 1;
  letter-spacing: 2%;
}

.site-footer-divider {
  width: 1px;
  height: 2rem;
  margin: 0.5rem 0;
  background: #555555;
  display: none;
}

.site-footer-back,
.contact-footer-back {
  border: 0;
  padding: 0;
  background: transparent;
  color: #5c5c5c;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: clamp(0.9375rem, 1vw, 1.1875rem);
  line-height: 1;
  text-transform: none;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .contact-page-main {
    padding: 0;
  }

  .contact-stage {
    min-height: calc(100svh);
  }

  .contact-stage-copy {
    left: 1rem;
    right: 1rem;
    bottom: 2rem;
    max-width: none;
  }

  .contact-stage-heading {
    font-size: 4rem;
    line-height: 0.9;
  }

  .contact-stage-email {
    margin-top: 0.75rem;
    font-size: 1.875rem;
    word-break: break-word;
  }

  .contact-watermark {
    left: -1.5rem;
    right: 1rem;
    bottom: -0.875rem;
    transform: none;
    font-size: clamp(5rem, 24.5vw, 8rem);
    line-height: 0.82;
    text-align: left;
  }
}

@media (max-width: 1023px) {
  .contact-footer-shell,
  .site-footer {
    padding: 0;
  }

  .site-footer-panel,
  .contact-footer-panel {
    min-height: auto;
    padding: 4rem 1rem 3rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .site-footer-links,
  .contact-footer-links {
    width: 100%;
    align-items: center;
    margin-left: 0;
    gap: 2rem;
  }

  .site-footer-divider {
    display: block;
  }

  .site-footer-link,
  .contact-footer-link {
    font-size: 2rem;
  }

  .site-footer-back,
  .contact-footer-back {
    font-size: 0.75rem;
  }

  .site-footer-copy,
  .contact-footer-copy {
    order: 2;
    align-self: center;
    margin-right: 0;
    font-size: 0.75rem;
    text-align: center;
  }
}

/* --- Image Placeholders --- */
.img-placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
  position: relative;
  overflow: hidden;
}

.img-placeholder img {
  transition: opacity 0.3s ease;
  color: transparent; /* hide alt text */
  font-size: 0; /* hide alt text */
}

/* Hide broken image icon */
.img-placeholder img::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: inherit;
}

/* --- Project card hover --- */
.project-card {
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.02);
}

/* --- Nav link underline effect --- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.footer-link {
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* --- Gallery image reveal animation --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-img {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.gallery-img.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* --- Homepage featured work --- */
.featured-work-layout {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.featured-work-item {
  width: 100%;
}

.featured-work-caption {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.625rem;
  color: #65695b;
  font-family: "Lausanne", "Inter", "Helvetica Neue", "Arial", sans-serif;
  font-size: 0.625rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-work-title,
.featured-work-meta {
  display: inline-block;
}

.featured-work-title {
  font-size: 16px;
  line-height: 1;
}

@media (min-width: 1024px) {
  .featured-work-layout {
    position: relative;
    display: block;
    width: min(100%, 1520px);
    aspect-ratio: 220 / 650;
    height: auto;
    margin: 0 auto;
    overflow: visible;
  }

  .featured-work-item {
    position: absolute;
  }

  .featured-work-item .project-card {
    width: 100%;
  }

  .featured-work-media {
    height: auto !important;
  }

  .featured-work-caption {
    gap: 0.4375rem;
    margin-top: 0.75rem;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .featured-work-title {
    font-size: 20px;
  }

  .featured-work-item-anavi {
    left: 0;
    top: 0%;
    width: 45%;
  }

  .featured-work-item-anavi .featured-work-media {
    aspect-ratio: 698 / 866;
  }

  .featured-work-item-archi {
    left: 56%;
    top: 6.5%;
    width: 55%;
  }

  .featured-work-item-archi .featured-work-media {
    aspect-ratio: 951 / 637;
  }

  .featured-work-item-redfox {
    left: 63%;
    top: 22%;
    width: 45%;
  }

  .featured-work-item-redfox .featured-work-media {
    aspect-ratio: 698 / 856;
  }

  .featured-work-item-radiant {
    left: -10%;
    top: 37%;
    width: 55%;
  }

  .featured-work-item-radiant .featured-work-media {
    aspect-ratio: 844 / 1048;
  }

  .featured-work-item-froth {
    left: 51%;
    top: 56%;
    width: 60%;
  }

  .featured-work-item-froth .featured-work-media {
    aspect-ratio: 951 / 624;
  }

  .featured-work-item-444 {
    left: -5%;
    top: 74%;
    width: 65%;
  }

  .featured-work-item-444 .featured-work-media {
    aspect-ratio: 921 / 605;
  }

  .featured-work-item-patoast {
    left: 66%;
    top: 86%;
    width: 40%;
  }

  .featured-work-item-patoast .featured-work-media {
    aspect-ratio: 698 / 864;
  }
}

@media (min-width: 1280px) {
  .featured-work-item-archi {
    left: 52%;
    top: 6.5%;
    width: 55%;
  }

  .featured-work-item-redfox {
    left: 58%;
    top: 22%;
    width: 45%;
  }

  .featured-work-item-radiant {
    left: -5%;
    top: 37%;
    width: 50%;
  }

  .featured-work-item-froth {
    left: 52%;
    top: 52%;
    width: 55%;
  }

  .featured-work-item-444 {
    left: -5%;
    top: 68%;
    width: 65%;
  }

  .featured-work-item-patoast {
    left: 65%;
    top: 80%;
    width: 40%;
  }
}

/* --- Homepage showcase collage --- */
.showcase-collage {
  display: grid;
}

.showcase-item-studio {
  grid-area: studio;
  aspect-ratio: 204 / 304;
}

.showcase-item-tote {
  grid-area: tote;
  aspect-ratio: 321 / 240;
}

.showcase-item-posters {
  grid-area: posters;
  aspect-ratio: 328 / 208;
}

.showcase-item-balm {
  grid-area: balm;
  aspect-ratio: 218 / 325;
}

.showcase-item-paper {
  grid-area: paper;
  aspect-ratio: 309 / 227;
}

.showcase-item-card {
  grid-area: card;
  aspect-ratio: 239 / 280;
}

.showcase-item-dsc {
  grid-area: dsc;
  aspect-ratio: 287 / 192;
  z-index: 3;
}

.showcase-item-behance {
  grid-area: behance;
  aspect-ratio: 299 / 192;
}

@media (max-width: 1023px) {
  .showcase-collage {
    position: relative;
    display: block;
    height: clamp(1032px, 215vw, 1909px);
    overflow: hidden;
  }

  .showcase-item {
    position: absolute;
    max-width: none;
  }

  .showcase-item img {
    image-rendering: auto;
    transform: translateZ(0);
  }

  .showcase-item-studio {
    left: 0;
    top: 0;
    width: clamp(204px, 42.5vw, 377px);
    height: clamp(304px, 63.333vw, 562px);
  }

  .showcase-item-tote {
    left: clamp(232px, 48.333vw, 429px);
    top: 0;
    width: clamp(321px, 66.875vw, 594px);
    height: clamp(240px, 50vw, 444px);
  }

  .showcase-item-posters {
    left: clamp(-83px, -9.375vw, -45px);
    top: clamp(320px, 66.667vw, 592px);
    width: clamp(328px, 68.333vw, 607px);
    height: clamp(208px, 43.333vw, 385px);
  }

  .showcase-item-balm {
    left: clamp(311px, 64.792vw, 575px);
    top: clamp(256px, 53.333vw, 474px);
    width: clamp(218px, 45.417vw, 403px);
    height: clamp(325px, 67.708vw, 601px);
  }

  .showcase-item-card {
    left: clamp(-35px, -3.958vw, -19px);
    top: clamp(544px, 113.333vw, 1006px);
    width: clamp(239px, 49.792vw, 442px);
    height: clamp(280px, 58.333vw, 518px);
  }

  .showcase-item-paper {
    left: clamp(248px, 51.667vw, 459px);
    top: clamp(597px, 124.375vw, 1104px);
    width: clamp(309px, 64.375vw, 572px);
    height: clamp(227px, 47.292vw, 420px);
  }

  .showcase-item-dsc {
    left: clamp(-244px, -27.5vw, -132px);
    top: clamp(688px, 143.333vw, 1273px);
    width: clamp(287px, 59.792vw, 531px);
    height: clamp(192px, 40vw, 355px);
  }

  .showcase-item-behance {
    left: clamp(183px, 38.125vw, 339px);
    top: clamp(840px, 175vw, 1554px);
    width: clamp(299px, 62.292vw, 553px);
    height: clamp(192px, 40vw, 355px);
  }
}

@media (min-width: 1024px) {
  .showcase-collage {
    position: relative;
    display: block;
    width: min(100%, 1654px);
    aspect-ratio: 1654 / 795;
    margin: 0 auto;
    overflow: visible;
  }

  .showcase-item {
    position: absolute;
  }

  .showcase-item-studio {
    left: 0;
    top: 0;
    width: 17.715%;
    aspect-ratio: 293 / 436;
  }

  .showcase-item-tote {
    left: 0;
    top: 61.258%;
    width: 22.37%;
    aspect-ratio: 370 / 276;
  }

  .showcase-item-posters {
    left: 49.093%;
    top: 0;
    width: 30.472%;
    aspect-ratio: 504 / 320;
  }

  .showcase-item-balm {
    left: 81.5%;
    top: 0;
    width: 18.501%;
    aspect-ratio: 306 / 456;
  }

  .showcase-item-paper {
    left: 24.426%;
    top: 57.5%;
    width: 25.332%;
    aspect-ratio: 419 / 308;
  }

  .showcase-item-card {
    left: 51.814%;
    top: 44%;
    width: 18.561%;
    aspect-ratio: 307 / 360;
  }

  .showcase-item-dsc {
    left: 19.77%;
    top: 17%;
    width: 27.267%;
    aspect-ratio: 451 / 302;
  }

  .showcase-item-behance {
    left: 72.431%;
    top: 59.5%;
    width: 27.57%;
    aspect-ratio: 456 / 293;
  }
}

/* --- Back to top hover --- */
.back-to-top {
  transition: color 0.2s ease;
  margin-top: 3rem;
}

.back-to-top:hover {
  color: #f0f0f0;
}
