/* ==========================================================================
   Hype Company — global stylesheet
   Brand: #784DFF (hype purple) on near-black. Type: Inter + Archivo.
   ========================================================================== */

:root {
  --purple: #784df5;
  --purple-bright: #8f6bff;
  --purple-deep: #4a1fd1;
  --ink: #0b0b10;
  --ink-soft: #14141d;
  --ink-line: rgba(255, 255, 255, 0.12);
  --paper: #ffffff;
  --paper-soft: #f4f3f8;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.64);
  --text-ink: #0b0b10;
  --text-ink-dim: rgba(11, 11, 16, 0.64);

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--purple);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------- layout helpers */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--paper {
  background: var(--paper);
  color: var(--text-ink);
}

.section--soft {
  background: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section--paper .eyebrow {
  color: var(--purple-deep);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-dim);
  max-width: 62ch;
}

.section--paper .lead {
  color: var(--text-ink-dim);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--purple);
  color: #fff;
}

.btn--primary:hover {
  background: var(--purple-bright);
}

.btn--ghost {
  border-color: var(--ink-line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}

.section--paper .btn--ghost {
  border-color: rgba(11, 11, 16, 0.2);
  color: var(--text-ink);
}

.section--paper .btn--ghost:hover {
  border-color: var(--purple);
  color: var(--purple-deep);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--purple-bright);
}

.arrow-link span {
  transition: transform 0.2s ease;
}

.arrow-link:hover span {
  transform: translateX(4px);
}

.section--paper .arrow-link {
  color: var(--purple-deep);
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.logo img {
  height: 30px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"] {
  position: relative;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--purple);
}

.header-cta {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  background: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav[data-open="true"] {
    transform: translateY(0);
  }

  .nav a {
    padding: 0.9rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--ink-line);
  }

  .nav a[aria-current="page"]::after {
    display: none;
  }

  .nav .header-cta {
    margin-top: 1.25rem;
    border: none;
    justify-content: center;
  }
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* fade the glow out before the section edge so no hard seam shows */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  background:
    radial-gradient(
      52rem 40rem at 88% -18%,
      rgba(120, 77, 245, 0.52),
      transparent 68%
    ),
    radial-gradient(
      34rem 28rem at -12% 55%,
      rgba(74, 31, 209, 0.42),
      transparent 72%
    );
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero__title {
  max-width: 16ch;
}

.hero__title em {
  font-style: normal;
  color: var(--purple-bright);
}

.hero__lead {
  max-width: 56ch;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--text-dim);
}

.hero--page {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero--page .hero__title {
  max-width: 20ch;
}

/* ------------------------------------------------------------------ stats */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--purple-bright);
}

.stat__label {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ------------------------------------------------------------------ cards */

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(143, 107, 255, 0.5);
  transform: translateY(-4px);
}

.card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-bright);
  margin-bottom: 1.1rem;
}

.card p {
  color: var(--text-dim);
  font-size: 0.97rem;
}

.section--paper .card {
  background: var(--paper-soft);
  border-color: rgba(11, 11, 16, 0.08);
}

.section--paper .card p {
  color: var(--text-ink-dim);
}

.section--paper .card__num {
  color: var(--purple-deep);
}

/* --------------------------------------------------------- service blocks */

.service {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--ink-line);
}

.service:first-of-type {
  border-top: none;
}

.service__index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--purple-bright);
  margin-bottom: 0.9rem;
}

.service__body p {
  color: var(--text-dim);
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.tag-list li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--text-dim);
}

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

/* --------------------------------------------------------------- two-cols */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text-dim);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--purple);
}

.section--paper .checklist li {
  color: var(--text-ink-dim);
}

/* -------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ink-line);
  padding-block: 1.4rem;
  background: var(--ink-soft);
}

.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
}

.marquee__track span::after {
  content: "✦";
  color: var(--purple);
  margin-left: 3.5rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------------- cta */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--purple-deep), var(--purple));
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.cta h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  margin-inline: auto;
}

.cta .btn-row {
  justify-content: center;
}

.cta .btn--primary {
  background: #fff;
  color: var(--purple-deep);
}

.cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cta .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* ----------------------------------------------------- form status notice */

.form-status {
  font-size: 0.92rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
}

/* ---------------------------------------------------------- contact list */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.6rem;
}

.contact-list dd {
  margin: 0;
}

.contact-list dt,
.contact-list__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.3rem;
}

.contact-list a {
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-list a:hover {
  color: var(--purple-bright);
  border-color: var(--purple-bright);
}

.contact-list p {
  color: var(--text-dim);
  margin: 0;
}

/* ---------------------------------------------------------------- faq */

.faq {
  border-top: 1px solid var(--ink-line);
}

.faq details {
  border-bottom: 1px solid var(--ink-line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--purple-bright);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--text-dim);
  padding-bottom: 1.4rem;
  max-width: 70ch;
}

/* ------------------------------------------------------------------ team */

.pillar {
  border-top: 1px solid var(--ink-line);
  padding-top: 1.5rem;
}

.pillar h3 {
  margin-bottom: 0.5rem;
}

.pillar p {
  color: var(--text-dim);
  font-size: 0.97rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.6rem;
  border-top: 1px solid var(--ink-line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--ink-line);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-bright);
  letter-spacing: -0.02em;
}

.timeline p {
  color: var(--text-dim);
  margin: 0;
}

@media (max-width: 620px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  background: #07070b;
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
}

.site-footer .logo img {
  height: 32px;
}

.footer-about p {
  color: var(--text-dim);
  font-size: 0.93rem;
  max-width: 34ch;
  margin-top: 1.25rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--purple-bright);
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------------------ animations */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Photography
   ========================================================================== */

/* ------------------------------------------------- hero with a background */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  filter: saturate(1.15) contrast(1.05);
}

/* keeps the headline legible over any photograph */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      var(--ink) 18%,
      rgba(11, 11, 16, 0.72) 48%,
      rgba(11, 11, 16, 0.35) 100%
    ),
    linear-gradient(to bottom, rgba(11, 11, 16, 0.85) 0%, transparent 32%),
    linear-gradient(to top, var(--ink) 2%, transparent 42%);
}

.hero::before {
  z-index: 1;
}

.hero .wrap {
  z-index: 2;
}

/* ------------------------------------------------------ full-width bands */

.band {
  position: relative;
  min-height: clamp(340px, 46vw, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to top,
      var(--ink) 4%,
      rgba(11, 11, 16, 0.55) 46%,
      rgba(11, 11, 16, 0.2) 100%
    ),
    linear-gradient(95deg, rgba(74, 31, 209, 0.38), transparent 62%);
}

.band .wrap {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.band__text {
  max-width: 34ch;
}

.band__text h2 {
  margin-bottom: 0.4em;
}

.band__text p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
}

/* ------------------------------------------------------- framed pictures */

.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  isolation: isolate;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s ease;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(120, 77, 245, 0.28),
    transparent 55%
  );
  mix-blend-mode: screen;
}

.media--tall img {
  aspect-ratio: 3 / 4;
}

.media--wide img {
  aspect-ratio: 16 / 9;
}

/* picture inside a service row */

.service__media {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  position: relative;
  isolation: isolate;
}

.service__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service:hover .service__media img,
.media:hover img {
  transform: scale(1.03);
}

.service__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(120, 77, 245, 0.3), transparent 58%);
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
  .service:hover .service__media img,
  .media:hover img {
    transform: none;
  }
}

/* --------------------------------------------------------- embedded form */

/* Tally renders the contact form inside an iframe, so its typography and
   colours are configured in Tally itself — only the frame is styled here. */
.tally-embed {
  margin-top: 2rem;
  min-height: 600px;
}

.tally-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  color-scheme: normal;
}
