/* ---------------------------------------------------------------
   v2 case studies: only the closing call to action and the footer (same as the v2 pages).
   The rest of a case study keeps the V1 stylesheet, so everything here is prefixed v2-.
   --------------------------------------------------------------- */
/* Body font: Cormorant Garamond, slightly enlarged because it sets small */
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 106%;
  src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 106%;
  src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  size-adjust: 106%;
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Ashford";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/ashford-bold.otf") format("opentype");
}
@font-face {
  font-family: "Ashford";
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  src: url("/fonts/ashford-bold-italic.otf") format("opentype");
}
@font-face {
  font-family: "Black Mango Black";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/black-mango-black.ttf") format("truetype");
}

:root {
  --paper: #f5f5e9;
  --ink: #3a111a;
  --blush: #dbafaa;
  --plum-300: #e2a0c6;
  --plum-700: #7a185c;
  --plum-900: #40012e;
  --text: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Cormorant Garamond", "Times New Roman", serif; /* the case study body text (V1 sheet) follows the v2 body font */
  --display: "Ashford", "Black Mango Black", "Black Mango", "Times New Roman", serif;
  /* Trial: the case study headlines (V1 sheet) follow the v2 headline font */
  --font-hero: "Ashford", "Black Mango Black", "Black Mango", "Times New Roman", serif;
  --font-display: "Ashford", "Black Mango Black", "Black Mango", "Times New Roman", serif;
  --u: calc(min(100vw, 1440px) / 1440);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --velvet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1600'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0035 .005' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .66  0 0 0 0 .54  0 0 0 0 .40  1.25 0 0 0 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}

.v2-mask-logo,
.v2-mask-wordmark {
  display: block;
  width: 100%;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.v2-mask-logo {
  aspect-ratio: 1036 / 261;
  -webkit-mask-image: url("/logo.svg");
  mask-image: url("/logo.svg");
}
.v2-mask-wordmark {
  aspect-ratio: 1036 / 180;
  -webkit-mask-image: url("/logo-belle-amie.svg");
  mask-image: url("/logo-belle-amie.svg");
}


/* Minimal text button: small tracked caps over a hairline that fills in plum on hover */
.v2-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 0 0 9px;
  font-family: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.35s ease, gap 0.45s var(--ease);
}
.v2-btn::before,
.v2-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
}
.v2-btn::after {
  background: rgb(58 17 26 / 0.28);
}
.v2-btn::before {
  z-index: 1;
  background: var(--plum-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.v2-btn:hover,
.v2-btn:focus-visible {
  color: var(--plum-700);
  gap: 1.25em;
}
.v2-btn:hover::before,
.v2-btn:focus-visible::before {
  transform: scaleX(1);
}


.v2-cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 96px 24px;
  background: var(--plum-900);
  color: var(--paper);
}
.v2-cta__bg {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.v2-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Same soft warm shade as the V1 homepage's photo section: darker toward the bottom left, clear top right */
.v2-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top right, rgb(40 36 38 / 0.6), rgb(40 36 38 / 0.1) 50%, transparent),
    rgb(40 36 38 / 0.4);
}
.v2-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 900px;
  text-align: center;
}
.v2-cta__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 0.8;
  letter-spacing: 0.012em;
  color: var(--blush);
}
.v2-cta__text {
  max-width: 460px;
  font-size: 18px;
  line-height: 27px;
}
.v2-btn--light {
  color: var(--paper);
  margin-top: 6px;
}
.v2-btn--light::after {
  background: rgb(245 245 233 / 0.4);
}
.v2-btn--light::before {
  background: var(--blush);
}
.v2-btn--light:hover,
.v2-btn--light:focus-visible {
  color: var(--plum-300);
}


.v2-ftr {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding: 56px 24px 24px;
  background: var(--plum-900);
  color: var(--plum-300);
}
.v2-ftr__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
}
.v2-ftr__col {
  display: grid;
  gap: 14px;
  font-size: 16px;
  line-height: 19px;
  color: var(--paper);
}
.v2-ftr__col--c {
  order: 3;
  grid-column: 1 / -1;
}
.v2-ftr__col a {
  transition: color 0.35s ease;
}
.v2-ftr__col a:hover {
  color: var(--plum-300);
}
.v2-ftr__text {
  max-width: 342px;
  font-size: 14px;
  line-height: 20px;
}
/* Same as the V1 homepage: the wordmark in cream, dimmed to 16% */
.v2-ftr__mark .v2-mask-wordmark {
  color: var(--paper);
  opacity: 0.16;
}


@media (min-width: 768px) {
  .v2-btn {
    font-size: max(12px, calc(14 * var(--u)));
    padding-bottom: calc(10 * var(--u));
  }

  .v2-cta {
    height: calc(700 * var(--u));
    min-height: 0;
    padding: 0;
  }
  .v2-cta__inner {
    max-width: calc(1000 * var(--u));
    gap: calc(28 * var(--u));
  }
  .v2-cta__title {
    font-size: calc(96 * var(--u));
    margin-bottom: calc(12 * var(--u));
  }
  .v2-cta__text {
    max-width: calc(520 * var(--u));
    font-size: max(16px, calc(20 * var(--u)));
    line-height: calc(30 * var(--u));
  }
  .v2-btn--light {
    margin-top: calc(10 * var(--u));
  }

  /* The page rides above a fixed footer that stays put and is uncovered at the end */
  main {
    position: relative;
    z-index: 2;
    margin-bottom: calc(550 * var(--u));
    background-color: #e8dac0;
    background-image: var(--velvet);
    background-size: 1600px 1600px;
  }
  .v2-ftr {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1;
    display: block;
    height: calc(550 * var(--u));
    padding: 0;
  }
  .v2-ftr__col {
    position: absolute;
    top: calc(52 * var(--u));
    gap: calc(22 * var(--u));
    font-size: max(14px, calc(16 * var(--u)));
    line-height: calc(19 * var(--u));
  }
  .v2-ftr__col--l {
    left: calc(60 * var(--u));
  }
  .v2-ftr__col--c {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    order: 0;
  }
  .v2-ftr__col--r {
    right: calc(60 * var(--u));
    text-align: right;
  }
  .v2-ftr__text {
    position: absolute;
    left: 50%;
    top: calc(228 * var(--u));
    width: calc(560 * var(--u));
    max-width: none;
    transform: translateX(-50%);
    text-align: center;
    font-size: max(13px, calc(15 * var(--u)));
    line-height: calc(21 * var(--u));
  }
  .v2-ftr__mark {
    position: absolute;
    left: 50%;
    top: calc(292 * var(--u));
    width: calc(1280 * var(--u));
    transform: translateX(-50%);
  }
}
.v2-cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
}
@media (min-width: 768px) {
  .v2-cta__links {
    gap: calc(16 * var(--u)) calc(44 * var(--u));
  }
}

/* ---------------------------------------------------------------
   v2 header and full-screen menu on the case studies (the V1 header is hidden there)
   --------------------------------------------------------------- */
.site-header {
  display: none !important;
}
/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.v2-hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  color: var(--paper);
  transition: color 0.5s ease;
  pointer-events: none;
}
.v2-hdr[data-tone="light"] {
  color: var(--ink);
}
.v2-hdr > * {
  pointer-events: auto;
}
.v2-hdr__menu {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 44px;
  height: 28px;
  display: grid;
  align-content: center;
}
.v2-hdr__bars {
  display: grid;
  gap: 5px;
  width: 42px;
}
/* Same geometry as cemberstudio.com: two 36px buns (rounded outer edge) around a 42px patty, 5px each, 5px apart */
.v2-hdr__bars i {
  display: block;
  height: 5px;
  width: 36px;
  justify-self: center;
  background: currentColor;
}
.v2-hdr__bars i:nth-child(1) {
  border-radius: 5px 5px 0 0;
}
.v2-hdr__bars i:nth-child(2) {
  width: 42px;
}
.v2-hdr__bars i:nth-child(3) {
  border-radius: 0 0 5px 5px;
}
/* Hover: colour change only */
.v2-hdr__menu {
  transition: color 0.5s ease;
}
.v2-hdr[data-tone="dark"] .v2-hdr__menu:hover {
  color: var(--plum-300);
}
.v2-hdr[data-tone="light"] .v2-hdr__menu:hover {
  color: var(--plum-700);
}
.v2-hdr__inquire {
  position: absolute;
  left: 20px;
  top: 24px;
  font-size: 18px;
  line-height: 22px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s ease;
}
.v2-hdr__inquire {
  transition: color 0.35s ease, opacity 0.3s ease, visibility 0s;
}
/* Phones: Inquire shows only at the very top of the page */
@media (max-width: 767px) {
  .v2-hdr.is-scrolled .v2-hdr__inquire {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: color 0.35s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  }
}
.v2-hdr[data-tone="light"] .v2-hdr__inquire:hover {
  color: var(--plum-700);
}
.v2-hdr[data-tone="dark"] .v2-hdr__inquire:hover {
  color: var(--plum-300);
}

/* ---------------------------------------------------------------
   Menu overlay
   --------------------------------------------------------------- */
.v2-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: var(--plum-900);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.v2-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.v2-menu[hidden] {
  display: none;
}
.v2-menu__close {
  position: absolute;
  right: 20px;
  top: 24px;
  z-index: 2;
  font-size: 18px;
  line-height: 22px;
  border-bottom: 1px solid currentColor;
}
.v2-menu__logo {
  display: none; /* phones: no logo in the menu */
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  width: 150px;
  color: var(--plum-300);
}
.v2-menu__top {
  position: absolute;
  right: 20px;
  top: 24px;
  z-index: 2;
  display: none; /* phones: Inquire and Work are already in the menu list */
  gap: 4px;
  text-align: right;
  font-size: 13px;
  line-height: 16px;
}
.v2-menu__close,
.v2-menu__top a {
  transition: color 0.35s ease, opacity 0.5s ease, transform 0.6s var(--ease);
}
.v2-menu__close:hover,
.v2-menu__top a:hover {
  color: var(--plum-300);
}
.v2-menu__nav {
  position: absolute;
  left: 24px;
  top: 112px;
  z-index: 2;
}
.v2-menu__nav ul {
  display: grid;
  gap: 12px;
}
.v2-menu__nav a {
  display: inline-block;
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  transition: color 0.5s ease, transform 0.5s var(--ease);
}
.v2-menu__nav a:hover {
  color: var(--plum-300);
  transform: translateX(8px);
}
.v2-menu__statement {
  display: none; /* phones: the list and photos are enough */
  position: absolute;
  left: 24px;
  right: 24px;
  top: 52%;
  z-index: 2;
  font-family: var(--display);
  font-size: 26px;
  line-height: 29px;
  color: var(--plum-300);
}
.v2-menu__mark {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  pointer-events: none;
}
/* Same treatment as the footer: cream wordmark at 16% */
.v2-menu__mark .v2-mask-wordmark {
  color: var(--paper);
  opacity: 0.16;
}
.v2-menu__strip {
  position: absolute;
  inset: 300px 0 105px 0; /* reaches up behind the last links (the list ends at 388px, links stay in front); the wordmark sits below */
  overflow: hidden;
  opacity: 0.45;
  pointer-events: none;
}
.v2-menu__strip ul {
  display: flex;
  gap: 30px;
  width: max-content;
  height: 100%;
  animation: v2-drift 60s linear infinite;
}
.v2-menu__strip li {
  flex: none;
  width: auto;
  aspect-ratio: 9 / 14; /* always portrait, whatever the phone height */
  height: 100%;
}
.v2-menu__strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Items rise in one after another when the menu opens */
.v2-menu__nav li,
.v2-menu__statement,
.v2-menu__top a {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.v2-menu.is-open .v2-menu__nav li,
.v2-menu.is-open .v2-menu__statement,
.v2-menu.is-open .v2-menu__top a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 60ms + 200ms);
}
@keyframes v2-drift {
  to {
    transform: translateX(-50%);
  }
}


@media (min-width: 768px) {
  .v2-hdr {
    height: calc(80 * var(--u));
  }
  .v2-hdr__menu {
    left: calc(40 * var(--u));
    right: auto;
    top: calc(28 * var(--u));
  }
  .v2-hdr__inquire {
    left: auto;
    right: calc(40 * var(--u));
    top: calc(32 * var(--u));
    font-size: max(15px, calc(18 * var(--u)));
  }

  .v2-menu__close {
    left: calc(40 * var(--u));
    right: auto;
    top: calc(32 * var(--u));
    font-size: max(15px, calc(18 * var(--u)));
  }
  .v2-menu__logo {
    display: block;
    left: 50%;
    transform: translateX(-50%);
    top: calc(34 * var(--u));
    width: calc(250 * var(--u));
  }
  .v2-menu__top {
    display: grid;
    right: calc(40 * var(--u));
    top: calc(32 * var(--u));
    font-size: max(12px, calc(14 * var(--u)));
  }
  .v2-menu__nav {
    left: calc(160 * var(--u));
    top: calc(288 * var(--u));
  }
  .v2-menu__nav ul {
    gap: calc(16 * var(--u));
  }
  .v2-menu__nav a {
    font-size: max(20px, calc(28 * var(--u)));
    line-height: calc(33 * var(--u));
  }
  .v2-menu__statement {
    display: block;
    left: calc(875 * var(--u));
    right: auto;
    top: calc(333 * var(--u));
    width: calc(430 * var(--u));
    font-size: max(24px, calc(42 * var(--u)));
    line-height: calc(46.2 * var(--u));
  }
  .v2-menu__mark {
    display: none;
  }
  .v2-menu__strip {
    inset: auto 0 auto 0;
    top: calc(522 * var(--u));
    height: calc(310 * var(--u));
  }
  .v2-menu__strip ul {
    gap: calc(100 * var(--u));
  }
  .v2-menu__strip li {
    width: calc(230 * var(--u));
  }
}

/* Headlines on the case studies' light sections use Plum 900, like the rest of v2 (the italic accent word stays Plum 700) */
main h2.font-display {
  color: var(--plum-900);
}

/* Same headline rhythm as the other v2 pages: tighter lines, slightly open letter spacing */
main h2.font-display {
  line-height: 0.8;
  letter-spacing: 0.012em;
}

/* ---------------------------------------------------------------
   Case intro, below the animated opening: client name on the left, scope on the right, a rule,
   then the description in a narrow column with a thin arrow at the right edge.
   --------------------------------------------------------------- */
.v2-intro {
  position: relative;
  z-index: 2;
  padding: 56px 24px 88px;
  color: var(--ink);
}
.v2-intro__top {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}
.v2-intro__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 46px;
  line-height: 0.8;
  letter-spacing: 0.012em;
  color: var(--plum-900);
}
.v2-intro__label {
  margin: 0 0 8px;
  font-family: var(--text);
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.v2-intro__value {
  margin: 0;
  font-family: var(--text);
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}
.v2-intro__body {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
}
.v2-intro__text {
  max-width: 600px;
  font-family: var(--text);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  text-wrap: pretty;
}
.v2-intro__text p {
  margin: 0 0 1em;
}
.v2-intro__text p:last-child {
  margin-bottom: 0;
}
.v2-intro__lead {
  font-style: italic;
  color: var(--plum-900);
}
.v2-intro__lead em {
  color: var(--plum-700);
}
.v2-intro__arrow {
  display: none;
}
@media (min-width: 768px) {
  .v2-intro {
    padding: calc(64 * var(--u)) 40px calc(120 * var(--u));
  }
  .v2-intro__top {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
    padding-bottom: calc(24 * var(--u));
  }
  .v2-intro__title {
    max-width: 14ch;
    font-size: calc(96 * var(--u));
  }
  .v2-intro__scope {
    text-align: right;
    max-width: 320px;
    padding-bottom: 4px;
  }
  .v2-intro__body {
    padding-top: calc(36 * var(--u));
  }
  /* A hairline arrow pointing down, at the right edge */
  .v2-intro__arrow {
    display: block;
    flex: none;
    position: relative;
    width: 1px;
    height: 44px;
    margin-top: 4px;
    background: currentColor;
  }
  .v2-intro__arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 9px;
    height: 9px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
    transform-origin: 60% 60%;
  }
}

/* Privacy link in the footer */
.v2-ftr__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
