@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype-variations");
}

:root {
  --red: #e54a4a;
  --coral: #ff7b7b;
  --salmon: #f2836b;
  --pink: #ffd7d7;
  --pink-soft: #fee5e5;
  --lilac: #7654bf;
  --purple: #7d34e8;
  --lime: #8bd000;
  --ink: #5b3b28;
  --paper: #f7f7f7;
  --content: min(1180px, calc(100vw - 48px));
  --display: "Space Grotesk", Arial, sans-serif;
  --body: "Space Grotesk", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--red);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 50%;
  padding: 30px 0;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: var(--content);
  z-index: 50;
}
.admin-bar .site-header { top: 32px; }
.site-logo img { height: auto; width: 126px; }
.desktop-nav { align-items: center; display: flex; gap: 42px; }
.desktop-nav a {
  color: var(--pink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  position: relative;
  text-transform: uppercase;
}
.desktop-nav a::after {
  background: currentColor;
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
  width: 100%;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 42px;
  padding: 8px 0;
  position: relative;
  width: 42px;
  z-index: 110;
}
.menu-toggle span:not(.screen-reader-text) {
  background: var(--pink);
  display: block;
  height: 2px;
  margin: 8px 0 8px auto;
  transition: transform .25s ease, width .25s ease;
  width: 34px;
}
.menu-toggle span:nth-child(2) { width: 23px; }
.menu-open .menu-toggle span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); width: 34px; }

.hero {
  background: var(--red);
  color: var(--pink);
  min-height: 900px;
  overflow: hidden;
  position: relative;
}
.hero__inner {
  align-items: center;
  display: grid;
  gap: clamp(40px, 7vw, 100px);
  grid-template-columns: minmax(310px, .8fr) minmax(450px, 1.2fr);
  min-height: 820px;
  margin: 0 auto;
  padding: 130px 0 170px;
  position: relative;
  width: var(--content);
}
.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.hero h1,
.section h2,
.project-case h1 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .86;
  margin: 0;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(68px, 8.2vw, 128px); }
.hero__visual {
  aspect-ratio: 1 / 1;
  position: relative;
}
.hero__grid {
  height: 92%;
  inset: 4% 2% auto auto;
  object-fit: contain;
  position: absolute;
  width: 92%;
}
.hero__arch {
  background: var(--purple);
  border-radius: 999px 999px 0 0;
  bottom: 0;
  height: 72%;
  left: 50%;
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  width: 47%;
}
.hero__arch::after {
  background: linear-gradient(180deg, rgba(118,84,191,.08), rgba(118,84,191,.33));
  content: "";
  inset: 0;
  mix-blend-mode: color;
  pointer-events: none;
  position: absolute;
}
.hero__arch img { height: 100%; object-fit: cover; width: 100%; }
.hero__socials {
  align-items: center;
  display: flex;
  gap: 26px;
  position: absolute;
  right: -84px;
  top: 50%;
  transform: rotate(90deg) translateY(-50%);
  transform-origin: center;
}
.hero__socials a {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__arrow {
  bottom: 112px;
  height: 96px;
  position: absolute;
  right: 15px;
  transition: transform .25s ease;
  width: 28px;
}
.hero__arrow:hover { transform: translateY(-8px); }
.hero__arrow img { height: 100%; width: 100%; }
.hero__wave {
  bottom: -2px;
  height: auto;
  left: 50%;
  max-width: none;
  position: absolute;
  transform: translateX(-50%);
  width: max(100%, 1500px);
}

.section { padding: clamp(96px, 11vw, 170px) 0; position: relative; }
.section-heading { margin: 0 auto clamp(60px, 8vw, 110px); max-width: 720px; text-align: center; width: var(--content); }
.section h2 { font-size: clamp(54px, 6.4vw, 94px); }
.section-heading h2 { color: var(--purple); }
.section-heading > p:last-child { color: var(--lilac); margin: 28px auto 0; max-width: 640px; }
.portfolio { background: var(--paper); padding-top: 135px; }
.portfolio-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 440px 280px;
  margin: 0 auto;
  max-width: 980px;
  width: var(--content);
}
.project-card {
  color: var(--paper);
  cursor: default;
  overflow: hidden;
  position: relative;
}
.project-card span {
  bottom: 28px;
  display: flex;
  flex-direction: column;
  left: 30px;
  position: absolute;
  z-index: 2;
}
.project-card small { font-family: var(--body); font-size: 11px; letter-spacing: .12em; }
.project-card strong {
  font-family: var(--display);
  font-size: 40px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .95;
  margin-top: 8px;
  text-transform: uppercase;
}
.project-card--red { background: #cd5155; grid-row: 1 / 3; }
.project-card--media { background: #ad7fe6; grid-column: 2; grid-row: 1 / 3; }
.project-card--coral { background: #f47f67; grid-column: 1; grid-row: 3; }
.project-card--blush { background: #f6c9cc; color: var(--red); grid-column: 2; grid-row: 3; }
.project-card--media img,
.project-card--image img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); width: 100%; }
.project-card--media::after,
.project-card--image::after {
  background: linear-gradient(180deg, transparent 48%, rgba(20,10,14,.62));
  content: "";
  inset: 0;
  position: absolute;
}
.project-card--media:hover img,
.project-card--image:hover img { transform: scale(1.035); }
.project-card--image { min-height: 420px; }

.about,
.services { background: var(--pink); }
.about { padding-bottom: 230px; }
.about__inner,
.services__inner {
  align-items: center;
  display: grid;
  gap: clamp(50px, 10vw, 150px);
  grid-template-columns: .8fr 1.2fr;
  margin: 0 auto;
  width: min(1000px, calc(100vw - 48px));
}
.about__portrait { margin: 0 auto; max-width: 290px; position: relative; }
.about__portrait > img:last-child { position: relative; width: 100%; z-index: 1; }
.about__star { left: -70px; position: absolute; top: -50px; width: 110px; }
.about__copy h2,
.services__copy h2 { color: var(--red); max-width: 650px; }
.about__copy > p:last-child { color: var(--red); margin: 34px 0 0; max-width: 600px; }
.soft-wave {
  background: var(--paper);
  bottom: 54px;
  height: 74px;
  left: 0;
  mask-image: url("../media/wave.svg");
  mask-position: center;
  mask-repeat: repeat-x;
  mask-size: 470px 75px;
  position: absolute;
  width: 100%;
}
.services { padding-top: 125px; }
.services__inner { grid-template-columns: .65fr 1.35fr; }
.services__art { margin: 0 auto; max-width: 260px; }
.services__copy h2 { margin-bottom: 58px; }
.service-item { border-top: 1px solid rgba(229,74,74,.35); display: grid; gap: 24px; grid-template-columns: .7fr 1.3fr; padding: 28px 0; }
.service-item h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  text-transform: lowercase;
}
.service-item p { margin: 0; }

.contact {
  background-color: var(--paper);
  background-image: url("../media/footer-pattern.svg");
  background-position: center;
  background-size: cover;
  min-height: 620px;
  place-items: center;
}
.contact__card { margin: 0 auto; max-width: 820px; padding: 60px 24px; text-align: center; }
.contact__card h2 { color: var(--red); }
.contact__actions { display: flex; gap: 16px; justify-content: center; margin-top: 42px; }
.button {
  background: var(--red);
  border: 2px solid var(--red);
  color: white;
  display: inline-flex;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .07em;
  min-width: 190px;
  padding: 14px 24px;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: transparent; color: var(--red); transform: translateY(-3px); }
.button--lime { background: var(--lime); border-color: var(--lime); }
.button--lime:hover { color: #568500; }

.site-footer {
  align-items: center;
  background: var(--red);
  color: var(--pink);
  display: grid;
  gap: 35px;
  grid-template-columns: 1fr auto;
  padding: 65px max(24px, calc((100vw - 1180px) / 2));
}
.site-footer > img { max-height: 86px; max-width: 180px; }
.site-footer__links { display: flex; font-family: var(--display); gap: 28px; text-transform: uppercase; }
.site-footer > p { font-size: 11px; grid-column: 1 / -1; letter-spacing: .06em; margin: 0; text-transform: uppercase; }

.mobile-menu {
  background: var(--purple);
  display: grid;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  place-items: center;
  pointer-events: none;
  position: fixed;
  transition: opacity .3s ease;
  z-index: 100;
}
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu__video { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.mobile-menu__veil { background: rgba(118,84,191,.72); inset: 0; position: absolute; }
.mobile-menu nav { display: flex; flex-direction: column; position: relative; text-align: center; z-index: 1; }
.mobile-menu a { color: white; font-family: var(--display); font-size: clamp(52px, 14vw, 88px); font-style: italic; font-weight: 700; line-height: 1; text-transform: uppercase; }

.content-shell { margin: 0 auto; max-width: 980px; min-height: 80vh; padding: 170px 24px 100px; }
.content-entry h1 { color: var(--red); font-family: var(--display); font-size: clamp(56px, 8vw, 100px); }

.single-portfolio_project .site-header {
  background: var(--red);
  left: 0;
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  transform: none;
  width: 100%;
}
.project-page { background: var(--paper); color: var(--ink); padding-top: 112px; }
.project-page__bar {
  align-items: center;
  background: var(--red);
  color: var(--pink);
  display: flex;
  font-family: var(--display);
  justify-content: space-between;
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  text-transform: uppercase;
}
.project-case__hero {
  align-items: center;
  display: grid;
  gap: clamp(42px, 8vw, 110px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) 0;
  width: var(--content);
}
.project-case__frame {
  background: var(--pink);
  clip-path: polygon(3% 0, 8% 2%, 13% 0, 18% 2%, 23% 0, 28% 2%, 33% 0, 38% 2%, 43% 0, 48% 2%, 53% 0, 58% 2%, 63% 0, 68% 2%, 73% 0, 78% 2%, 83% 0, 88% 2%, 93% 0, 100% 4%, 98% 12%, 100% 20%, 98% 28%, 100% 36%, 98% 44%, 100% 52%, 98% 60%, 100% 68%, 98% 76%, 100% 84%, 98% 92%, 96% 100%, 88% 98%, 80% 100%, 72% 98%, 64% 100%, 56% 98%, 48% 100%, 40% 98%, 32% 100%, 24% 98%, 16% 100%, 8% 98%, 0 96%, 2% 88%, 0 80%, 2% 72%, 0 64%, 2% 56%, 0 48%, 2% 40%, 0 32%, 2% 24%, 0 16%, 2% 8%);
  padding: clamp(18px, 3vw, 36px);
  position: relative;
}
.project-case__cover { aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.project-case__cover img { height: 100%; object-fit: cover; width: 100%; }
.project-case__orbit {
  border: 4px solid var(--salmon);
  border-radius: 50%;
  bottom: -22px;
  height: clamp(76px, 10vw, 130px);
  position: absolute;
  right: -22px;
  width: clamp(76px, 10vw, 130px);
}
.project-case__intro .eyebrow { color: var(--red); }
.project-case h1 { color: var(--red); font-size: clamp(60px, 8vw, 110px); }
.project-case__lead { font-size: clamp(17px, 1.7vw, 21px); margin: 34px 0 0; max-width: 580px; }
.project-case__meta {
  border-top: 1px solid rgba(91,59,40,.2);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  padding-top: 22px;
}
.project-case__meta span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.project-case__meta strong { color: var(--red); display: block; font-family: var(--display); font-size: 20px; margin-top: 7px; }
.project-case__gallery { background: var(--paper); }
.project-case__gallery > * { margin-left: auto; margin-right: auto; max-width: 1180px; }
.project-case__gallery > .alignwide { max-width: 1400px; }
.project-case__gallery > .alignfull { max-width: none; width: 100%; }
.project-case__gallery p,
.project-case__gallery h2,
.project-case__gallery h3 { width: min(820px, calc(100vw - 48px)); }
.project-case__gallery h2,
.project-case__gallery h3 { color: var(--red); font-family: var(--display); text-transform: uppercase; }
.project-case__gallery figure { margin-bottom: 2px; margin-top: 2px; }
.project-case__gallery figure img,
.project-case__gallery figure video { height: auto; width: 100%; }
.project-case__gallery .wp-block-gallery { gap: 2px; }
.project-next {
  align-items: center;
  background: var(--red);
  color: var(--pink);
  display: flex;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 70px) max(24px, calc((100vw - 1180px) / 2));
  text-transform: uppercase;
}
.project-next a { font-family: var(--display); font-size: clamp(30px, 5vw, 62px); font-style: italic; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero__inner { gap: 25px; grid-template-columns: .8fr 1.2fr; }
  .hero__socials { display: none; }
  .hero__arrow { right: 0; }
}

@media (max-width: 780px) {
  :root { --content: calc(100vw - 40px); }
  .admin-bar .site-header { top: 46px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-logo img { width: 104px; }
  .site-header { padding-top: 22px; }
  .hero { min-height: 900px; }
  .hero__inner {
    align-content: center;
    display: flex;
    flex-direction: column;
    gap: 42px;
    justify-content: center;
    min-height: 835px;
    padding: 120px 0 140px;
  }
  .hero__copy { align-self: flex-start; position: relative; z-index: 3; }
  .hero h1 { font-size: clamp(60px, 18vw, 96px); }
  .hero__visual { align-self: flex-end; max-width: 540px; width: 92%; }
  .hero__arch { width: 48%; }
  .hero__arrow { bottom: 90px; height: 65px; right: 10px; }
  .hero__wave { width: 1020px; }
  .portfolio { padding-top: 110px; }
  .portfolio-grid { display: grid; grid-template-rows: repeat(4, minmax(320px, 58vh)); }
  .project-card,
  .project-card--red,
  .project-card--media,
  .project-card--coral,
  .project-card--blush { grid-column: 1 / -1; grid-row: auto; }
  .about { padding-bottom: 190px; }
  .about__inner,
  .services__inner { gap: 55px; grid-template-columns: 1fr; }
  .about__portrait { max-width: 240px; }
  .about__copy h2,
  .services__copy h2 { font-size: clamp(52px, 15vw, 78px); }
  .services__art { max-width: 180px; }
  .services__copy { width: 100%; }
  .service-item { grid-template-columns: 1fr; }
  .contact__actions { align-items: center; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer > img { margin: 0 auto; }
  .site-footer__links { flex-wrap: wrap; justify-content: center; }
  .project-page { padding-top: 96px; }
  .project-case__hero { grid-template-columns: 1fr; }
  .project-case__frame { margin-right: 12px; }
  .project-case__meta { grid-template-columns: 1fr; }
  .project-next { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
