/*
  Pedro Home Redesign
  -------------------
  This stylesheet contains the full visual system for the live page.

  Organization:
  1. Global tokens and resets
  2. Shared animation primitives
  3. Desktop / shared layout
  4. Footer and contact area
  5. Tablet adjustments
  6. Mobile / capture-mobile overrides

  Notes:
  - The tiny layout bootstrap remains inline in the HTML head so the page can
    switch into `mobile-layout` / `capture-mobile` before first paint.
  - Class names and selectors were preserved to avoid changing live behavior.

  Maintenance guide:
  - Global spacing rhythm:
    Desktop sections mostly use `224px` top spacing.
    Mobile sections mostly use `162px` top spacing.
  - Main content width:
    Desktop content uses `--content: 1072px`.
    Mobile content is constrained to `345px` inside a `393px` frame.
  - If you need to adjust only mobile visuals, prefer editing selectors under
    `html.mobile-layout ...` instead of touching shared rules.
  - The mobile carousel in `How I can help` intentionally overflows to the
    right side of the screen to reveal part of the next card.
  - The hero layout has dedicated desktop and mobile behavior. The image is
    hidden on mobile by design.

  Sensitive areas:
  - `.hero-photo` reveal styles are coordinated with JS in
    `Assets/js/pedro-home-redesign.js`.
  - `.brands`, `.brands-marquee`, and `.brands-track` are coordinated with the
    marquee logic in JS. Avoid changing widths/gaps without rechecking motion.
  - `.help-card` transform rules are coordinated with pointer/touch tilt logic.
  - `html.capture-mobile` and `html.mobile-layout` are used for Figma capture
    and for real mobile viewport behavior. Keep both.

  Quick edit map:
  - Header/nav: `.site-header`, `nav`
  - Hero: `.hero`, `.hero-photo`, `.intro-badge`
  - Brand carousel: `.brands*`, `.brand*`
  - Portfolio cards: `.project-*`, `.shot*`
  - Leadership section: `.leadership*`
  - Help cards: `.help*`
  - Contact + footer: `.footer-*`, `.copyright`
*/

:root {
  --bg: #0a0a0a;
  --panel: rgba(245, 245, 248, 0.06);
  --text: #f5f5f5;
  --muted: rgba(184, 184, 184, 0.8);
  --muted-soft: #b8b8b8;
  --border: rgba(232, 232, 232, 0.15);
  --shadow-soft: 0 2px 16px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 -4px 8px rgba(0, 0, 0, 0.32);
  --content: 1072px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* Shared animation primitives */

.page {
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 78px;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.reveal-item {
  --reveal-y: 44px;
  --reveal-scale: 0.985;
  --reveal-rotate-x: 6deg;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale)) rotateX(var(--reveal-rotate-x));
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
  transform-origin: center top;
}

.reveal-text {
  --reveal-y: 52px;
  --reveal-scale: 0.97;
  --reveal-rotate-x: 7deg;
}

.reveal-image {
  --reveal-y: 68px;
  --reveal-scale: 0.94;
  --reveal-rotate-x: 0deg;
  transform-origin: center bottom;
  filter: blur(8px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rotate-x: 0deg;
  transform: translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale)) rotateX(var(--reveal-rotate-x));
}

.reveal-image.is-visible {
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Shared / desktop layout */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.62));
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.mark {
  display: grid;
  grid-template-columns: 8px 11px;
  grid-template-rows: 10px 4px 10px;
  gap: 0 4px;
  width: 23px;
  height: 24px;
}

.mark-home {
  display: grid;
}

.mark-menu {
  display: none;
  appearance: none;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.mark span {
  background: var(--text);
  display: block;
}

.mark .bar {
  grid-row: 1 / span 3;
  grid-column: 1;
}

.mark .top,
.mark .bottom {
  grid-column: 2;
}

.mark .top {
  grid-row: 1;
}

.mark .bottom {
  grid-row: 3;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 320ms;
}

.mobile-menu-panel {
  width: min(60vw, 235.8px);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.62));
  transform: translate3d(-100%, 0, 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-panel::before {
  content: none;
}

.mobile-menu-panel::after {
  content: none;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  padding: 24px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 24px 24px 0;
  color: #b8b8b8;
  font-size: 18px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0;
}

.mobile-menu-nav a {
  width: max-content;
  transition: color 160ms ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
  color: var(--text);
}

html.mobile-menu-open,
html.mobile-menu-open body {
  overflow: hidden;
}

html.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

html.mobile-menu-open .mobile-menu-panel {
  transform: translate3d(0, 0, 0);
}

.project-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
}

.project-access-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  opacity: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-access-overlay__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  width: min(calc(100% - 48px), 460px);
  padding: 32px;
  border: 1px solid rgba(232, 232, 232, 0.12);
  border-radius: 24px;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-access-overlay__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-access-overlay__close span {
  position: absolute;
  top: 11px;
  left: 1px;
  width: 22px;
  height: 1px;
  background: var(--text);
}

.project-access-overlay__close span:first-child {
  transform: rotate(45deg);
}

.project-access-overlay__close span:last-child {
  transform: rotate(-45deg);
}

.project-access-overlay__eyebrow {
  margin: 0 0 12px;
  color: #858585;
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
  letter-spacing: -0.24px;
}

.project-access-overlay__title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -1.28px;
}

.project-access-overlay__copy {
  margin: 0 0 24px;
  color: var(--muted-soft);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: -0.24px;
}

.project-access-overlay__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-access-overlay__label {
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
}

.project-access-overlay__input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 24px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.project-access-overlay__input:focus {
  background: rgba(255, 255, 255, 0.1);
}

.project-access-overlay__error {
  margin: 0;
  color: #eb445b;
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
}

.project-access-overlay__button {
  width: 100%;
}

html.project-access-open,
html.project-access-open body {
  overflow: hidden;
}

html.project-access-open .project-access-overlay {
  pointer-events: auto;
}

html.project-access-open .project-access-overlay__backdrop {
  opacity: 1;
}

html.project-access-open .project-access-overlay__panel {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

nav {
  display: flex;
  gap: 32px;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0;
  color: #b8b8b8;
}

nav a {
  display: block;
  color: #858585;
  transition: color 160ms ease;
}

nav a.is-active {
  color: var(--text);
}

.hero-wrap {
  padding-top: 80px;
}

.hero {
  display: block;
}

.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intro-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: start;
}

.profile-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  overflow: hidden;
  flex: 0 0 auto;
}

.intro-badge .avatar,
.footer-cta .avatar {
  transform-origin: center center;
  transform: scale(1);
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.2);
  transition-delay: 0ms;
  will-change: transform;
}

.intro-badge .avatar img,
.footer-cta .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-badge .avatar:hover,
.footer-cta .avatar:hover {
  transform: scale(1.8);
  transition-delay: 300ms;
}

.profile-copy strong,
.profile-copy span {
  display: block;
}

.profile-copy strong {
  font-size: 16px;
  line-height: 1.17;
  font-weight: 500;
  letter-spacing: -0.021em;
}

.profile-copy span {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--muted-soft);
  letter-spacing: -0.02em;
}

.linkedin {
  width: 28px;
  height: 28px;
  opacity: 0.95;
  transform: translateY(0) scale(1);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.intro-badge a:hover .linkedin,
.intro-badge a:focus-visible .linkedin {
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.038em;
}

.hero h1 {
  max-width: 950px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 500;
}

.serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 38px;
  max-width: 1520px;
}

.hero p.lead {
  max-width: 1520px;
  margin: 0;
  font-size: 20px;
  line-height: 1.36;
  letter-spacing: -0.018em;
  color: var(--muted-soft);
  font-weight: 300;
}

.hero-photo {
  width: 345px;
  height: 345px;
  overflow: hidden;
  border-radius: 2px;
  justify-self: end;
  background: var(--bg);
}

.hero-photo img {
  width: 317px;
  height: 345px;
  margin-left: 28px;
  border-radius: 16px;
  object-fit: cover;
}

.hero-photo.reveal-item.reveal-image {
  --reveal-y: 56px;
  --reveal-scale: 0.975;
  opacity: 1;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo.reveal-item.reveal-image.is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
}

.hero-photo.reveal-item.reveal-image img {
  opacity: 1;
  filter: blur(12px);
  transform: scale(1.02);
  transition:
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, filter, transform;
}

.hero-photo.reveal-item.reveal-image.is-visible img {
  filter: blur(0);
  transform: scale(1);
}

.hero p.lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-photo {
  width: 345px;
  height: 345px;
  overflow: hidden;
  border-radius: 2px;
  justify-self: end;
  background: var(--bg);
}

.hero-photo img {
  width: 317px;
  height: 345px;
  margin-left: 28px;
  border-radius: 16px;
  object-fit: cover;
}

.hero-photo.reveal-item.reveal-image {
  --reveal-y: 56px;
  --reveal-scale: 0.975;
  opacity: 1;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo.reveal-item.reveal-image.is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
}

.hero-photo.reveal-item.reveal-image img {
  opacity: 1;
  filter: blur(12px);
  transform: scale(1.02);
  transition:
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, filter, transform;
}

.hero-photo.reveal-item.reveal-image.is-visible img {
  filter: blur(0);
  transform: scale(1);
}

.brands {
  position: relative;
  margin-top: 40px;
  height: 100px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg);
}

.brands-marquee {
  position: absolute;
  left: -18px;
  top: 30px;
  display: flex;
  width: max-content;
  will-change: transform;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 90px;
  flex: 0 0 auto;
  width: max-content;
  padding-right: 90px;
}

.brands::before,
.brands::after {
  content: "";
  position: absolute;
  top: 0;
  width: 179px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.brands::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 10, 0) 100%);
}

.brands::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(10, 10, 10, 0) 100%);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brands .brand.reveal-item.reveal-image {
  --reveal-y: 22px;
  --reveal-scale: 0.94;
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brands .brand.reveal-item.reveal-image.is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
  filter: blur(0);
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transform-origin: center center;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease, filter 180ms ease;
}

.brand-link:hover {
  transform: scale(1.08);
  opacity: 0.96;
  filter: brightness(1.06);
}

.brand-link:focus-visible {
  outline: 1px solid rgba(245, 245, 245, 0.55);
  outline-offset: 8px;
  border-radius: 6px;
}

.brand img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.section {
  padding-top: 224px;
}

.section-title {
  display: grid;
  grid-template-columns: 434px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
  text-align: left;
}

.section-title h2 {
  max-width: 434px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 500;
}

.section-title p {
  width: 100%;
  max-width: 616px;
  margin: 0;
  font-size: 22px;
  line-height: 1.36;
  font-weight: 300;
  letter-spacing: -0.018em;
  color: var(--muted-soft);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.project-card {
  display: block;
  position: relative;
  height: 394px;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
}

.portfolio-card--impact {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  height: 275px;
  padding: 46px 40px 40px;
  border-radius: 16px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transform:
    perspective(1200px)
    translate3d(0, var(--reveal-y, 0px), 0)
    scale(var(--reveal-scale, 1))
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--card-rotate-x)))
    rotateY(var(--card-rotate-y));
  transition: box-shadow 220ms ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.portfolio-card--impact.reveal-item,
.portfolio-card--impact.reveal-item.is-visible {
  transform:
    perspective(1200px)
    translate3d(0, var(--reveal-y, 0px), 0)
    scale(var(--reveal-scale, 1))
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--card-rotate-x)))
    rotateY(var(--card-rotate-y));
}

.portfolio-card--impact:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.portfolio-card--impact h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 500;
  text-wrap: balance;
}

.portfolio-card--impact p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.375;
  letter-spacing: -0.02em;
  color: var(--muted-soft);
  font-weight: 300;
}

.portfolio-card-tag {
  display: block;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.375;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 400;
}

.portfolio-card-tag--locked {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.portfolio-card-tag--locked img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  object-fit: contain;
}

.project-card--text {
  height: 247px;
  border-radius: 16px;
  background: rgba(245, 245, 248, 0.06);
}

.project-copy--text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 46px 40px 40px;
}

.project-copy--text h3 {
  margin: 0 0 16px;
  color: #f5f5f5;
  font-size: 32px;
  line-height: 46.2px;
  font-weight: 500;
  letter-spacing: -0.4px;
}

.project-copy--text p {
  margin: 0;
  max-width: 265px;
  color: #f5f5f5;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  letter-spacing: -0.4px;
}

.project-card[hidden] {
  display: none;
}

.project-card[data-load-more-project] {
  --reveal-y: 56px;
  --reveal-scale: 0.965;
  filter: blur(10px);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 860ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 860ms cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card[data-load-more-project].is-visible {
  filter: blur(0);
}

.project-card[data-load-more-project].is-collapsing {
  --reveal-y: 34px;
  --reveal-scale: 0.975;
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
  transition:
    opacity 420ms cubic-bezier(0.55, 0, 0.1, 1),
    transform 560ms cubic-bezier(0.55, 0, 0.1, 1),
    filter 560ms cubic-bezier(0.55, 0, 0.1, 1);
}

.project-stage {
  position: absolute;
  inset: 32px 0 71px;
}

.shot {
  position: absolute;
  overflow: hidden;
  background: var(--bg);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  transition: transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot.left {
  left: 36.71px;
  top: 36px;
  width: 329px;
  height: 287px;
}

.shot.right {
  left: 154.71px;
  top: 36px;
  width: 328px;
  height: 287px;
}

.shot.center {
  left: 87px;
  top: 0;
  width: 346px;
  height: 323px;
  box-shadow: var(--shadow-soft);
}

.shot.center.sugar img {
  object-position: center center;
  transform: scale(1.01) translateX(1px) translateY(0);
}

.shot.center.evolve img,
.shot.center.pepe-jeans img,
.shot.center.hugo img {
  object-position: center center;
  transform: scale(1) translateX(0) translateY(0);
}

.shot.center img {
  transform-origin: center center;
}

.project-card:hover .shot.left {
  transform: translateX(-12px);
}

.project-card:hover .shot.right {
  transform: translateX(12px);
}

.project-card:hover .shot.center {
  transform: translateY(0);
}

.project-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 24px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
  background: var(--bg);
}

.project-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.project-copy p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-weight: 400;
}

/*
  Button Border Effect — Opção Borda 1
  ------------------------------------
  Estado de referência aprovado pelo utilizador para recuperação futura.

  Características:
  - Nunca afeta o interior do botão
  - Mantém o preenchimento/base do botão intactos
  - Mostra um gradient estático na linha da borda por defeito
  - Mantém a animação de hover na borda em layers separadas

  Regras críticas:
  - Não usar `background` no `.btn` para simular glow da borda
  - Não aplicar nenhuma layer visual sobre o interior do botão
  - Qualquer glow/animação deve viver apenas em `::before` / `::after`
    recortados como ring de borda
*/
.btn {
  --angle: 0deg;
  --fill-progress: 0deg;
  --primary: 0 0% 100%;
  --mouseX: 50%;
  --mouseY: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 16px 32px;
  min-height: 53px;
  border-radius: 24px;
  border: 1px solid rgba(232, 232, 232, 0.2);
  background: rgba(10, 10, 10, 0.1);
  color: var(--text);
  font-size: 18px;
  line-height: 21px;
  font-weight: 600;
  letter-spacing: -0.28px;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(255, 255, 255, 0.012);
  z-index: 0;
  transition:
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background-image: conic-gradient(
    from var(--angle) at 50% 50%,
    transparent 0%,
    transparent 33%,
    hsl(var(--primary) / 0.5) 50%,
    transparent 67%,
    transparent 100%
  );
  padding: 2px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  opacity: 0.16;
  animation: rotate 6.2s linear infinite;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background-image: conic-gradient(
    from var(--angle) at 50% 50%,
    transparent 0%,
    transparent 33%,
    hsl(var(--primary)) 50%,
    transparent 67%,
    transparent 100%
  );
  padding: 2px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  opacity: 0.38;
  animation: rotate 6.2s linear infinite;
}

.btn::before {
  filter: blur(15px);
}

.inner {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    100px circle at var(--mouseX) var(--mouseY),
    hsl(var(--primary) / 0.3),
    transparent 50%
  );
  border-radius: inherit;
  z-index: 0;
  opacity: 0;
  display: none;
}

.btn > :not(.inner) {
  position: relative;
  z-index: 1;
}


.btn:hover::before {
  opacity: 0.34;
  background-image: conic-gradient(
    from var(--angle) at 50% 50%,
    transparent 0%,
    transparent 33%,
    hsl(var(--primary) / 0.5) 50%,
    transparent 67%,
    transparent 100%
  );
  animation: rotate 3s linear infinite;
}

.btn:hover::after {
  opacity: 0.78;
  background-image: conic-gradient(
    from var(--angle) at 50% 50%,
    transparent 0%,
    transparent 33%,
    hsl(var(--primary)) 50%,
    transparent 67%,
    transparent 100%
  );
  animation: rotate 3s linear infinite;
}

.btn:hover {
  border-color: rgba(232, 232, 232, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --fill-progress {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes rotate {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

@keyframes rotate-once {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

@keyframes fill-border {
  0% {
    --fill-progress: 0deg;
  }

  100% {
    --fill-progress: 360deg;
  }
}

.portfolio-cta {
  margin-top: 48px;
  text-align: center;
}

.portfolio-note {
  margin: 16px 0 0;
  color: #7d7d7d;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.02em;
  font-weight: 300;
  text-align: center;
}

.portfolio-note span {
  display: block;
}

.leadership {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 0;
}

.leadership-top {
  display: grid;
  grid-template-columns: 434px 616px;
  gap: 22px;
  align-items: start;
}

.leadership-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 44px;
  line-height: 46.2px;
  letter-spacing: -1.68px;
  font-weight: 500;
}

.leadership-photo {
  position: relative;
  width: 100%;
  height: 345px;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.leadership-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.leadership-copy {
  width: 616px;
  min-height: 279px;
}

.leadership-copy p {
  margin: 0;
  color: #b8b8b8;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.4px;
  font-weight: 300;
  max-width: 616px;
}

.leadership-copy p + p {
  margin-top: 0;
}

.leadership-copy strong {
  font-weight: 600;
  color: inherit;
}

.help-header {
  display: grid;
  grid-template-columns: 434px 616px;
  column-gap: 22px;
  align-items: start;
}

.help h2 {
  margin: 0;
  text-align: left;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 500;
  width: 434px;
  letter-spacing: -0.038em;
}

.help-header p {
  margin: 0;
  width: 616px;
  max-width: 100%;
  color: #b8b8b8;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.4px;
  font-weight: 300;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.help-card {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  padding: 46px 40px 40px;
  border-radius: 16px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform:
    perspective(1200px)
    translate3d(0, var(--reveal-y, 0px), 0)
    scale(var(--reveal-scale, 1))
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--card-rotate-x)))
    rotateY(var(--card-rotate-y));
  transition: box-shadow 220ms ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.help-card.reveal-item,
.help-card.reveal-item.is-visible {
  transform:
    perspective(1200px)
    translate3d(0, var(--reveal-y, 0px), 0)
    scale(var(--reveal-scale, 1))
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--card-rotate-x)))
    rotateY(var(--card-rotate-y));
}

.help-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.help-copy {
  width: 100%;
}

.icon {
  width: 56px;
  height: 56px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.help-card h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 500;
  text-wrap: balance;
}

.help-card p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.375;
  letter-spacing: -0.02em;
  color: var(--muted-soft);
  font-weight: 300;
}

.closing-note {
  margin-top: 48px;
  text-align: center;
  font-size: 22px;
  line-height: 1.36;
  letter-spacing: -0.018em;
  color: var(--muted-soft);
  font-weight: 300;
}

.closing-note strong {
  color: var(--text);
  font-weight: 600;
}

/* Contact and footer */

.footer-cta {
  width: min(100%, var(--content));
  margin: 224px auto 0;
  padding: 32px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-cta .avatar {
  position: relative;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 2px;
  overflow: hidden;
}

.footer-copy {
  width: 324px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-cta p {
  margin: 0;
}

.footer-cta .footer-title {
  width: auto;
  height: auto;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.34px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.footer-cta .footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 191px;
  height: 18px;
  color: #858585;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.24px;
  text-align: center;
}

.footer-cta .btn {
  margin: 0;
}

.footer-cta .footer-meta-location {
  width: 104px;
  font-weight: 300;
  color: #858585;
}

.footer-cta .footer-meta-time {
  width: 62px;
  font-size: 0;
  line-height: 0;
  font-weight: 600;
  color: #858585;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap;
}

.footer-cta .footer-meta-time-main {
  color: #858585;
}

.footer-cta .footer-meta-time-main,
.footer-cta .footer-meta-time-seconds {
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.24px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.footer-cta .footer-meta-time-seconds {
  color: rgba(133, 133, 133, 0.5);
}

.footer-cta .footer-meta-flag {
  width: 13px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 300;
  text-align: center;
}

.copyright {
  width: min(100%, var(--content));
  margin: 224px auto 0;
  padding: 0 0 48px;
  display: flex;
  justify-content: center;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.footer-divider-wrap {
  position: relative;
  width: 460px;
  max-width: 100%;
  height: 1px;
  flex-shrink: 0;
  background: #1f1f1f;
}

.footer-credit {
  width: auto;
  margin: 0;
  color: #858585;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.24px;
  font-weight: 300;
}

/* Contact drawer */

.contact-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.contact-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  opacity: 0;
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-drawer-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, calc(100% + 32px));
  width: min(calc(100% - 48px), 760px);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.98), rgba(12, 12, 12, 0.98));
  box-shadow:
    0 -4px 16px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 18px 24px 8px;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.contact-drawer-handle {
  width: 54px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.contact-drawer-handle:active {
  cursor: grabbing;
}

.contact-drawer-intro {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-right: 56px;
}

.contact-drawer-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 4px;
}

.contact-drawer-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-drawer-message {
  margin: 0;
  color: #f5f5f5;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.32px;
  font-weight: 600;
}

.contact-drawer .footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 191px;
  height: 18px;
  color: #858585;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.24px;
  text-align: center;
}

.contact-drawer .footer-meta-location {
  width: 104px;
  font-weight: 300;
  color: #858585;
}

.contact-drawer .footer-meta-time {
  width: 62px;
  font-size: 0;
  line-height: 0;
  font-weight: 600;
  color: #858585;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap;
}

.contact-drawer .footer-meta-time-main,
.contact-drawer .footer-meta-time-seconds {
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.24px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.contact-drawer .footer-meta-time-main {
  color: #858585;
}

.contact-drawer .footer-meta-time-seconds {
  color: rgba(133, 133, 133, 0.5);
}

.contact-drawer .footer-meta-flag {
  width: 13px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 300;
  text-align: center;
}

.contact-drawer-header {
  position: absolute;
  top: 44px;
  right: 24px;
  margin: 0;
  z-index: 2;
}

.contact-drawer-hero {
  margin-bottom: 40px;
}

.contact-drawer-title {
  margin: 0;
  color: #f5f5f5;
  font-size: 44px;
  line-height: 0.92;
  letter-spacing: -2.4px;
  font-weight: 500;
}

.contact-drawer-eyebrow {
  margin: 0 0 8px;
  color: #858585;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-drawer-header h2 {
  margin: 0;
  color: var(--text);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.contact-drawer-close {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.contact-drawer-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.88);
}

.contact-drawer-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-drawer-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-drawer-body {
  display: flex;
}

.contact-success {
  width: 100%;
  min-height: 520px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0 12px;
}

.contact-success[hidden] {
  display: none;
}

.contact-success-icon {
  width: 48px;
  height: 48px;
  color: #f5f5f5;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(-18px, 18px, 0) scale(0.84) rotate(-12deg);
  margin-bottom: 16px;
  animation: contact-success-icon-send 1220ms cubic-bezier(0.19, 1, 0.22, 1) 700ms both;
}

.contact-success-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-success-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-success-title {
  margin: 0;
  color: #f5f5f5;
  font-size: 44px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 52px, 0) scale(0.97) rotateX(7deg);
  animation: contact-success-reveal 1100ms cubic-bezier(0.22, 1, 0.36, 1) 40ms both;
  transform-origin: center top;
}

.contact-success-copy {
  margin: 0;
  color: #858585;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.02em;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 52px, 0) scale(0.97) rotateX(7deg);
  animation: contact-success-reveal 1100ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
  transform-origin: center top;
}

.contact-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 0;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-botcheck {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-field span {
  color: #cfcfcf;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.02em;
}

.contact-required {
  display: none;
  color: inherit;
}

.contact-form.has-required-error .contact-required {
  display: inline;
  color: #eb445b;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  caret-color: #f5f5f5;
  font: inherit;
  padding: 16px 18px;
  outline: none;
  transition:
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(171, 171, 171, 0.82);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(232, 232, 232, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.contact-field-message {
  grid-column: 1 / -1;
}

.contact-field textarea {
  min-height: 156px;
  resize: vertical;
  padding: 16px 18px;
}

.contact-submit {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.contact-submit-wrap {
  grid-column: 1 / -1;
}

.contact-submit:not(:disabled) {
  background: #f5f5f5;
  color: #0a0a0a;
}

.contact-submit:not(:disabled):hover {
  background: linear-gradient(90deg, #ffffff 0%, #d9d9d9 45%, #ffffff 100%);
  background-size: 200% 100%;
  border-color: rgba(232, 232, 232, 0.78);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
  animation: contact-submit-sheen 1.8s linear infinite;
}

.contact-submit:not(:disabled):hover::before,
.contact-submit:not(:disabled):hover::after {
  opacity: 0;
  animation: none;
}

.contact-submit:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.contact-submit:disabled::before,
.contact-submit:disabled::after {
  opacity: 0;
  animation: none;
}

.contact-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #858585;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-align: center;
}

.contact-note span {
  display: block;
}

@keyframes contact-submit-sheen {
  from {
    background-position: 100% 50%;
  }

  to {
    background-position: -100% 50%;
  }
}

@keyframes contact-success-reveal {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 52px, 0) scale(0.97) rotateX(7deg);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
  }
}

@keyframes contact-success-icon-send {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(-18px, 18px, 0) scale(0.84) rotate(-12deg);
  }

  68% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(2px, -2px, 0) scale(1.02) rotate(1.5deg);
  }

  100% {
    opacity: 0.96;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

.contact-note a {
  color: inherit;
  text-decoration: none;
}

.contact-shortcuts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}

.contact-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  transition:
    color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-shortcut:hover {
  opacity: 0.85;
}

.contact-shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(245, 245, 245, 0.88);
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
}

.contact-shortcut-value {
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.contact-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: #858585;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-align: center;
}

.contact-status.is-success {
  color: #b7d7b6;
}

.contact-status.is-error {
  color: #eb445b;
}

.contact-drawer.is-success .contact-drawer-intro,
.contact-drawer.is-success .contact-drawer-hero,
.contact-drawer.is-success .contact-form {
  display: none;
}

html.contact-drawer-open,
html.contact-drawer-open body {
  overflow: hidden;
}

html.contact-drawer-open .contact-drawer {
  pointer-events: auto;
}

html.contact-drawer-open .contact-drawer-backdrop {
  opacity: 1;
}

html.contact-drawer-open .contact-drawer-panel {
  transform: translate(-50%, 0);
}

/* Tablet */

@media (max-width: 1120px) {
  .hero-main {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .hero-photo {
    justify-self: start;
  }

  .brands-track {
    gap: 90px;
  }

  .section {
    padding-top: 160px;
  }

  .leadership {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-right: 0;
  }

  .leadership-copy {
    width: 100%;
    min-height: 0;
  }

  .portfolio-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 430px;
  }
}

/* Mobile / capture-mobile */

html.capture-mobile,
html.capture-mobile body {
  width: 393px;
  min-width: 393px;
  max-width: 393px;
  overflow-x: clip;
  margin: 0 auto;
}

html.capture-mobile .page {
  width: 393px;
  min-width: 393px;
  overflow-x: clip;
}

html.mobile-layout .page {
  padding-top: 72px;
}

html.mobile-layout .container {
  width: min(calc(100% - 48px), 345px);
  max-width: 345px;
}

html.mobile-layout .hero,
html.mobile-layout .brands,
html.mobile-layout .section-title,
html.mobile-layout .portfolio-grid,
html.mobile-layout .leadership,
html.mobile-layout .leadership-copy,
html.mobile-layout .help,
html.mobile-layout .closing-note,
html.mobile-layout .footer-cta,
html.mobile-layout .copyright,
html.mobile-layout .footer-stack,
html.mobile-layout .footer-divider-wrap,
html.mobile-layout .footer-copy-block,
html.mobile-layout .footer-credit {
  width: 100%;
  max-width: 345px;
}

html.mobile-layout .site-header .container {
  padding: 24px 0;
  justify-content: flex-start;
}

html.mobile-layout .mark-home {
  display: none;
}

html.mobile-layout .mark-menu {
  display: grid;
}

html.mobile-layout .site-header nav {
  display: none;
}

html.mobile-layout .hero-wrap {
  padding-top: 42px;
}

html.mobile-layout .intro-badge {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

html.mobile-layout .hero {
  display: block;
}

html.mobile-layout .hero-shell {
  display: block;
}

html.mobile-layout .hero-main {
  display: block;
}

html.mobile-layout .section-title {
  display: block;
}

html.mobile-layout .hero-photo {
  display: none;
}

html.mobile-layout .hero h1,
html.mobile-layout .section-title h2,
html.mobile-layout .leadership-copy h2,
html.mobile-layout .help h2 {
  width: 100%;
  max-width: 345px;
  font-size: 44px;
  line-height: 46.2px;
  letter-spacing: -1.68px;
  white-space: normal;
  overflow-wrap: break-word;
}

html.mobile-layout .hero p.lead,
html.mobile-layout .section-title p,
html.mobile-layout .leadership-copy p,
html.mobile-layout .closing-note {
  width: 100%;
  max-width: 345px;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.4px;
  white-space: normal;
  overflow-wrap: break-word;
}

html.mobile-layout .hero p.lead {
  margin-top: 24px;
}

html.mobile-layout .hero-copy {
  gap: 0;
}

html.mobile-layout .hero-copy .lead + .lead {
  margin-top: 24px;
}

html.mobile-layout .brands {
  margin-top: 48px;
  height: 100px;
}

html.mobile-layout .brands::before,
html.mobile-layout .brands::after {
  display: block;
  width: 48px;
}

html.mobile-layout .brands-marquee {
  left: 12px;
  top: 30px;
}

html.mobile-layout .brands-track {
  gap: 48px;
  padding-right: 48px;
}

html.mobile-layout .brand--farfetch img {
  width: 109.333px;
  height: 13.575px;
}

html.mobile-layout .brand--prozis img {
  width: 106.667px;
  height: 14.4px;
}

html.mobile-layout .brand--hostelworld img {
  width: 136px;
  height: 16px;
}

html.mobile-layout .brand--hugoboss img {
  width: 109.333px;
  height: 13.12px;
}

html.mobile-layout .brand--hackett img {
  width: 109.333px;
  height: 22.14px;
}

html.mobile-layout .brand--pepejeans img {
  width: 109.333px;
  height: 40.18px;
}

html.mobile-layout .brand--faconnable img {
  width: 109.333px;
  height: 32.8px;
}

html.mobile-layout .brand--fashionfutures img {
  width: 146px;
  height: 32px;
}

html.mobile-layout .section {
  padding-top: 162px;
}

html.mobile-layout .section-title {
  text-align: left;
}

html.mobile-layout .portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

html.mobile-layout .project-card {
  height: 254px;
  width: 100%;
}

html.mobile-layout .portfolio-card--impact {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 275px;
  padding: 46px 24px 40px;
}

html.mobile-layout .portfolio-card--impact.reveal-item,
html.mobile-layout .portfolio-card--impact.reveal-item.is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rotate-x: 0deg;
}

html.mobile-layout .portfolio-card--impact h3 {
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -0.4px;
  white-space: normal;
  overflow-wrap: break-word;
}

html.mobile-layout .portfolio-card--impact p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: break-word;
}

html.mobile-layout .project-card--text {
  height: auto;
  min-height: 247px;
}

html.mobile-layout .project-copy--text {
  padding: 40px 24px 32px;
}

html.mobile-layout .project-copy--text h3 {
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 46.2px;
  letter-spacing: -0.4px;
}

html.mobile-layout .project-copy--text p {
  max-width: 265px;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.4px;
}

html.mobile-layout .project-stage {
  position: absolute;
  inset: 0;
  height: 150px;
  margin: 0;
}

html.mobile-layout .shot.left {
  left: 25.01px;
  top: 24px;
  width: 218.01px;
  height: 190px;
}

html.mobile-layout .shot.right {
  right: 25.01px;
  left: auto;
  top: 24px;
  width: 218.01px;
  height: 190px;
}

html.mobile-layout .shot.center {
  left: 50%;
  top: 0;
  width: 229px;
  height: 214px;
  transform: translateX(-50%);
}

html.mobile-layout .shot.center img,
html.mobile-layout .shot.center.sugar img,
html.mobile-layout .shot.center.evolve img,
html.mobile-layout .shot.center.pepe-jeans img,
html.mobile-layout .shot.center.hugo img {
  object-position: center center;
  transform: none;
}

html.mobile-layout .project-card:hover .shot.left {
  transform: translateX(-8px);
}

html.mobile-layout .project-card:hover .shot.right {
  transform: translateX(8px);
}

html.mobile-layout .project-card:hover .shot.center {
  transform: translateX(-50%) translateY(0);
}

html.mobile-layout .project-copy {
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 104px;
  padding: 0;
  box-shadow: var(--shadow-card);
}

html.mobile-layout .project-copy > div {
  width: 100%;
  max-width: 344px;
}

html.mobile-layout .project-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 21.6px;
  letter-spacing: -0.96px;
}

html.mobile-layout .project-copy p {
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0;
  font-weight: 300;
}

html.mobile-layout .portfolio-cta .btn {
  width: 100%;
}

html.mobile-layout .portfolio-cta {
  margin-top: 24px;
}

html.mobile-layout .portfolio-note {
  display: block;
  width: 100%;
  margin: 8px auto 0;
  color: #7d7d7d;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.24px;
  font-weight: 300;
  text-align: center;
}

html.mobile-layout .portfolio-note span {
  display: inline;
}

html.mobile-layout .project-access-overlay__panel {
  width: calc(100% - 32px);
  padding: 24px;
  border-radius: 20px;
}

html.mobile-layout .project-access-overlay__title {
  font-size: 28px;
  letter-spacing: -1.12px;
}

html.mobile-layout .leadership {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-right: 0;
}

html.mobile-layout .leadership-top {
  display: block;
}

html.mobile-layout .leadership-title {
  margin-bottom: 24px;
}

html.mobile-layout .leadership-photo {
  width: 100%;
  max-width: 345px;
  height: 260px;
  border-radius: 0;
}

html.mobile-layout .leadership-photo img {
  inset: 0;
  width: 100%;
  height: 100%;
}

html.mobile-layout .leadership-copy {
  width: 100%;
  min-height: 0;
}

html.mobile-layout .leadership-copy p {
  margin-top: 0;
}

html.mobile-layout .leadership-copy p + p {
  margin-top: 24px;
}

html.mobile-layout .help {
  overflow: visible;
}

html.mobile-layout .help-header {
  display: block;
}

html.mobile-layout .help-grid {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  margin-top: 48px;
  margin-right: -24px;
  overflow-x: auto;
  overflow-y: hidden;
  width: calc(100% + 24px);
  padding-right: 57px;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

html.mobile-layout .help-grid::-webkit-scrollbar {
  display: none;
}

html.mobile-layout .help-card {
  flex: 0 0 288px;
  width: 288px;
  min-width: 288px;
  max-width: 288px;
  min-height: 0;
  height: 420px;
  padding: 46px 24px 40px;
}

html.mobile-layout .help-card.reveal-item,
html.mobile-layout .help-card.reveal-item.is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rotate-x: 0deg;
}

html.mobile-layout .icon {
  margin-bottom: 40px;
}

html.mobile-layout .help-card h3 {
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -0.4px;
  white-space: normal;
  overflow-wrap: break-word;
}

html.mobile-layout .help-card p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: break-word;
}

html.mobile-layout .closing-note {
  margin-top: 24px;
  text-align: left;
}

html.mobile-layout .footer-cta {
  margin-top: 162px;
}

html.mobile-layout .footer-cta .footer-meta {
  gap: 6px;
}

html.mobile-layout .footer-cta .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

html.mobile-layout .contact-drawer-panel {
  width: 100%;
  left: 0;
  right: 0;
  transform: translate(0, calc(100% + 32px));
  max-height: 85vh;
  border-radius: 24px 24px 0 0;
  padding: 16px 16px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html.mobile-layout .contact-drawer-handle {
  margin-bottom: 16px;
}

html.mobile-layout .contact-drawer-header {
  top: 38px;
  right: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

html.mobile-layout .contact-drawer-header h2 {
  font-size: 28px;
}

html.mobile-layout .contact-drawer-intro {
  display: none;
}

html.mobile-layout .contact-drawer-message {
  font-size: 14px;
  line-height: 17px;
}

html.mobile-layout .contact-drawer .footer-meta {
  gap: 4px;
  width: auto;
  height: 16px;
  font-size: 14px;
  line-height: 16px;
}

html.mobile-layout .contact-drawer .footer-meta-location {
  width: auto;
}

html.mobile-layout .contact-drawer .footer-meta-time {
  width: auto;
}

html.mobile-layout .contact-drawer .footer-meta-time-main,
html.mobile-layout .contact-drawer .footer-meta-time-seconds {
  font-size: 14px;
  line-height: 16px;
}

html.mobile-layout .contact-drawer .footer-meta-flag {
  width: auto;
  font-size: 14px;
  line-height: 16px;
}

html.mobile-layout .contact-drawer-title {
  font-size: 34px;
  line-height: 0.96;
  letter-spacing: -1.84px;
}

html.mobile-layout .contact-drawer-hero {
  margin-top: 8px;
  margin-bottom: 24px;
}

html.mobile-layout .contact-success {
  min-height: 420px;
  padding: 12px 0 0;
}

html.mobile-layout .contact-success-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

html.mobile-layout .contact-success-title {
  font-size: 32px;
}

html.mobile-layout .contact-success-copy {
  font-size: 16px;
  line-height: 22px;
}

html.mobile-layout .contact-form {
  grid-template-columns: 1fr;
  gap: 14px;
}

html.mobile-layout .contact-submit {
  position: relative;
  bottom: auto;
  z-index: 3;
  margin-top: 0;
}

html.mobile-layout .contact-submit-wrap {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin-top: 12px;
  padding-top: 18px;
}

html.mobile-layout .contact-note {
  text-align: center;
}

html.mobile-layout .contact-shortcuts {
  flex-direction: column;
}

html.mobile-layout.contact-drawer-open .contact-drawer-panel {
  transform: translate(0, 0);
}

html.mobile-layout .copyright {
  margin: 162px auto 0;
  padding: 0 0 24px;
}

html.mobile-layout .footer-credit {
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}
