/* plentymedia.co/text | contact page styles. Shared reset lives in /assets/base.css. No script on this page. */

@font-face {
  font-family: 'Google Sans Flex';
  src: url('fonts/gsf-var-latin.woff2') format('woff2-variations'),
       url('fonts/gsf-var-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 100% 120%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2122;
}

:root {
  --white: #ffffff;
  --ink: #000000;
  --ink-2: #303737;
  --muted: #56676a;
  --light-1: #f5f6f6;
  --light-2: #d0dbdb;
  --blue: #0d72d1;

  --container: 1120px;
  --pad: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font: 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

@media (min-width: 640px) {
  :root {
    --pad: 32px;
  }
}

html {
  background: var(--white);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  font-optical-sizing: auto;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- frame: header, contact block centered in the screen, footer ---------- */
.page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  overflow: clip;
}
/* The brand star as a quiet watermark, Static Light 1 on white. */
.page__mark {
  position: absolute;
  z-index: -1;
  top: -70px;
  right: -90px;
  width: 260px;
  height: 260px;
  color: var(--light-1);
  pointer-events: none;
}

.top,
.contact,
.foot {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.top {
  padding-top: 14px;
}
.top__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}
.logo {
  width: 112px;
  height: auto;
  aspect-ratio: 1069 / 222;
}

.contact {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 32px;
  padding-block: 24px 40px;
}
.contact__copy {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: var(--light-1);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
/* Antonio's face, the same close crop as his YouTube and Instagram profile (Antonio, 2026-10-20). */
.contact__face {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light-2);
}
/* 12.2vw keeps "Tell me what / you need." on 2 lines from 360 to 430 px wide. */
.contact__title {
  max-width: 11ch;
  font-size: clamp(40px, 12.2vw, 116px);
  font-weight: 700;
  font-stretch: 120%;
  font-variation-settings: 'wdth' 120, 'wght' 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.contact__lede {
  max-width: 32ch;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--ink-2);
}

/* ---------- channels: one pill per app, the destination glyph in the circle (layout_patterns.md) ---------- */
.channels {
  display: grid;
  gap: 12px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 9px 22px 9px 9px;
  border: 1px solid var(--light-2);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s var(--ease-out),
    translate 0.3s var(--ease-out);
}
.channel__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.3s var(--ease-out);
}
.channel__icon svg {
  width: 24px;
  height: 24px;
}
.channel__label {
  flex: 1;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}
.channel__arrow {
  flex: none;
  width: 22px;
  height: 22px;
  transition: translate 0.3s var(--ease-out);
}
.channel--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.channel--primary .channel__icon {
  background: var(--white);
  color: var(--ink);
}
@media (hover: hover) {
  .channel:hover {
    border-color: var(--ink);
    translate: 0 -3px;
    box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.5);
  }
  .channel:hover .channel__icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.08);
  }
  .channel:hover .channel__arrow {
    translate: 3px 0;
  }
}
.channel:active {
  translate: 0 0;
}
.contact__desk {
  display: none;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  .contact__desk {
    display: block;
  }
}

.foot {
  display: grid;
  gap: 2px;
  padding-block: 18px 26px;
  font-size: 14px;
  color: var(--muted);
}
.foot a {
  white-space: nowrap;
}

/* Short phone screens (iPhone SE, in-app browsers): keep the three buttons in the first screen. */
@media (max-width: 899.98px) and (max-height: 700px) {
  .contact {
    gap: 24px;
    padding-block: 12px 28px;
  }
  .contact__title {
    font-size: clamp(40px, 11.5vw, 64px);
  }
  .channel {
    min-height: 60px;
    padding-block: 6px;
  }
  .channel__icon {
    width: 46px;
    height: 46px;
  }
}

/* ---------- desktop: title left, buttons right ---------- */
@media (min-width: 900px) {
  .page__mark {
    top: auto;
    bottom: -150px;
    right: -130px;
    width: 560px;
    height: 560px;
  }
  .logo {
    width: 124px;
  }
  /* 3 lines in the left column: "Tell me / what you / need." */
  .contact__title {
    font-size: clamp(64px, 7.2vw, 104px);
  }
  .contact {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 72px;
    padding-block: 40px 56px;
  }
  .channels {
    gap: 14px;
  }
  .channel {
    min-height: 76px;
    padding-right: 26px;
  }
  .channel__icon {
    width: 56px;
    height: 56px;
  }
  .channel__label {
    font-size: 21px;
  }
}

/* ---------- entrance ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact__copy > *,
.channels > li,
.contact__desk {
  animation: rise 0.8s var(--ease-out) both;
}
.contact__title {
  animation-delay: 0.06s;
}
.contact__lede {
  animation-delay: 0.12s;
}
.channels > li:nth-child(1) {
  animation-delay: 0.16s;
}
.channels > li:nth-child(2) {
  animation-delay: 0.22s;
}
.channels > li:nth-child(3) {
  animation-delay: 0.28s;
}
.contact__desk {
  animation-delay: 0.34s;
}
@media (prefers-reduced-motion: reduce) {
  .contact__copy > *,
  .channels > li,
  .contact__desk {
    animation: none;
  }
}
